Added mergerfs/unionfs option for deletion ability.

Set pool_choice to change the ability to use mergerfs vs unionfs. Tested and both options are working. Also moved options up in config to top to consolidate and make easier to read.

And more fully tested so this wont be an issue :) default will be /w unionfs /w options for mergerfs.

That is really awesome. Thank you.
Could you write a tiny section about MergerFS and how to install it beneath the UnionFS section in the readme file?

Will do

I can adjust I used the compile version because then don't have to worry
about varying distributions. What error did u see?
On Mon, Mar 5, 2018, 11:33 AM Antexa<EMAIL_ADDRESS>wrote:

@Antexa commented on this pull request.
In setup.sh
https://github.com/madslundt/cloud-media-scripts/pull/44#discussion_r172245102
:

@@ -49,6 +49,18 @@ if [ ! -d "${rclone_dir}" ]; then
mkdir -p "${rclone_dir}"
fi

+if [ "$(pool_choice)" = "1" ]; then

if [ -f "${mfs_bin}" ]; then

   git clone https://github.com/trapexit/mergerfs.git

   cd mergerfs

   sudo make install-build-pkgs

   # build-essential git g++ debhelper libattr1-dev python automake libtool lsb-release

   make deb

   sudo dpkg -i ../mergerfs_version_arch.deb

I got several errors with this code. Why not use precompiled packages?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/madslundt/cloud-media-scripts/pull/44#pullrequestreview-101229477,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACz8buPZBAlaOnzMOkGBh6NgJNS6V1Rxks5tbXb3gaJpZM4SbpnI
.

Nevermind, it seems to be correct now... I may have missed something the first time around.

OK, if you see a problem let me know for sure. May need to ensure the dependencies exist too.... I will look into that. Until @madslundt get's a chance to look over my PR https://github.com/madslundt/cloud-media-scripts/pull/45 the script is slightly off that it tried to build the package if you do have it, not if your don't. One day I'll be better at ensuring I don't break something lol
apt-get install g++ pkg-config git git-buildpackage pandoc debhelper libfuse-dev libattr1-dev -y


Show commit hash in dev environments

This will show the commit hash (which links to github :sunglasses:) instead of the version in the dev environment. This hopefully will make things less confusing :smile:.

I tested building the image locally which seemed to work, so hopefully it still works in Drone :grimacing:.


is there anyway to switch docking forward and backward in real time?

Hi, congratulations, you made a good work of this docking function, currently, my robot working place requires the robot can dock forward and backward( in different places) , I'm wondering  is there anyway to change the docking direction in real time? I've tried using CLI : ros2 param set /docking_server dock_backwards false , it was originally true, then I navigate robot on the back of the docking target place, but still, robot went backward, btw, my robot is a ackermann robot, with limited steer angle of +- pi/3, so, is there method to make the robot to dock in forward in one place and backward in other place wihout closing and rewrite the parameter and then relaunch the node ?

See https://github.com/ros-navigation/navigation2/issues/4695 where we discuss this in detail. At the moment, you can do this with 2 server instances. We could have this work using dynamic parameters pretty easily (less than 50 lines of new, mostly boilerplate code), but I think the better option is what I describe in that comment about how to change the plugin API itself to support forward and reversing plugin instances so that you can just set the dock_type as a forward or reversing dock and have a single server do this fine as a piece of dock-instance-specific metadata.
I think its probably worth continuing the discussion over there -- especially if you're interested in contributing that update!


Documentation does not describe how to offboard and remove the product

Hi,
The installer script options show that the -o|--onboard option can be used to onboard and offboard the device from the MDE service using the onboarding script.  Could you please clarify that the above switch and same onboarding script will in fact offboard a server that is currently onboarded?  If possible could you provide an example command line for offboarding and product removal?
Many thanks

fixed by #81


Build 32 and 64 bits under Windows

In order to successfully build for the two configuration under Windows I had to do the following tweaks and I'm wondering if there is value in adding those to the project.

Changed the Additional Dependencies from
kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;DelayImp.lib;"c:\Users\Laurent\.node-gyp\0.10.28\$(Configuration)\node.lib"
to
kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;DelayImp.lib;"c:\Users\Laurent\.node-gyp\0.10.28\$(Plateform)\node.lib"
Copy the file .node-gyp\0.10.28\ia32\node.lib to `.node-gyp\0.10.28\Win32\node.lib

closing due to staleness, I think this might be resolved now anyway?


Implement 'Delete Item' to remove an assignment from the gradebook

Hi @steveswinsburg,
I've had a quick go at implementing removeAssignment and surfacing it as an action from the grade item header menu.
My thinking was that we'll need to keep the orders and categorised orders in sync as items are added and especially when deleted.  I can imagine out-of-index exceptions galore if we don't keep it all in sync!
If you think it's looking ok, the next thing I'll do is update the categorised sort orders as an item is removed.
Thanks,
Payten

Yeah this looks good, nice one.


FHB-634: Finalise Find performance Tests

Added the scenarios we need to test find.
The tests are flaky as we do not have ids on some locators, need ticket: https://dfedigital.atlassian.net/browse/FHB-912 to be completed.
Test run scheduled for Dec 11th - locators to be updated then.

question: FHB-912 is such a small task I'm wondering if it's just worth rolling it into this? Then the test is not flaky.


Update kubectl-overview.md

Add link to kubectl installation instructions

@devin-donnelly Is the correct form for relative links documented somewhere?

@bgrant0607 are there any CI tests for documentation to catch those conventions and point to docs automatically?

@techtonik Link checking is an open issue: #310
The checker from the main repo needs to be modified in order for it to work with the different conventions here, if you want to help:
https://github.com/kubernetes/kubernetes/blob/master/cmd/mungedocs/links.go

It looks like the tool invoked is https://github.com/kubernetes/md-check however, I don't see any docs for it or explanations how it integrates with mungedocs and the links.go file above.

I also thought for some reason that this diff check is a separate service deployed on kubernetes. not a Travis job. =)

One nit. Docs LGTM otherwise.

@devin-donnelly done.


Remove iteration identifier from id map paths

Codecov Report

Merging #369 (823a4b8) into main (2cb036a) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #369   +/-   ##
=======================================
  Coverage   62.72%   62.72%
=======================================
  Files          81       81
  Lines        8072     8073    +1
=======================================
+ Hits         5063     5064    +1
  Misses       3009     3009

Flag
Coverage Δ

unittests
62.72% <100.00%> (+<0.01%)
:arrow_up:

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

Impacted Files
Coverage Δ

src/folio_migration_tools/folder_structure.py
70.78% <100.00%> (ø)

tests/test_folder_structure.py
100.00% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Hexadecimal _atom_site.id are written instead of decimal numbers

Describe the bug
For the file 1vvj.cif, hexadecimal _atom_site.id are written instead of decimal numbers.
To Reproduce
Steps to reproduce the behavior:
Call fpocket with fpocket -f 1vvj.cif -r '37:1MG:XY' -d -w cif -l 1
Expected behavior
Having atom site IDs in decimal numbers.
Screenshots

Desktop (please complete the following information):

OS: Ubuntu 22.04
fpocket image 4.1.5

Additional context
I run fpocket from its docker images with the command export UID && docker run -v $(pwd)/data/:/data/ -u $UID:$UID fpocket/fpocket fpocket -f /data/my_structures/1vvj.cif -r '37:1MG:XY' -d -w cif -l 1
File to reproduce :
1vvj.cif.zip

dropping changes to hexadecimal numbers for mmcif writing ONLY
same for residue numbers


Anchor the version of nerfacc

NerfAcc is currently being actively developed so there might be changes of API in the future. Anchor the version of it would be nice.
A side suggestion is maybe also add this for other dependences?

Thank you Ruilong! Good point, we'll consider adding major version restrictions for some dependencies.


Menu should close when clicking on the page "background"

When logged in click on the floating button to open the logged in menu. ATM it's only possible to close the menu by clicking on the "X" icon. It should also be possible to close it via clicking away (i.e. anywhere outside the menu).

Closed in https://github.com/TryGhost/members.js/commit/94c052bf18f882d5fb0a0cd0776d251243f4bd86


#3524 Convert SpinnerLanguagesAdapter to kotlin - converted to kotlin

Description (required)
Fixes ##3524 Convert SpinnerLanguagesAdapter to kotlin
What changes did you make and why?
Converted to kotlin for easier merging to structured data
Tests performed (required)
Tested betaDebug on Nexus5X with API level 8.1.0.

As this PR uses Kotlin Android Extensions, let us wait for #3530 to be finalized before merging this.

Codecov Report

Merging #3528 into master will decrease coverage by 0.16%.
The diff coverage is 0.00%.

@@             Coverage Diff             @@
##             master   #3528      +/-   ##
===========================================
- Coverage      7.19%   7.02%   -0.17%
  Complexity      297     297
===========================================
  Files           264     264
  Lines         11840   12122     +282
  Branches        961    1013      +52
===========================================
  Hits            852     852
- Misses        10919   11201     +282
  Partials         69      69

Impacted Files
Coverage Δ
Complexity Δ

...r/free/nrw/commons/upload/DescriptionsAdapter.java
0.00% <0.00%> (ø)
0.00 <0.00> (ø)

...free/nrw/commons/upload/SpinnerLanguagesAdapter.kt
0.00% <0.00%> (ø)
0.00 <0.00> (?)

...commons/nearby/fragments/NearbyParentFragment.java
0.00% <0.00%> (ø)
0.00% <0.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 9cb81fc...81096dc. Read the comment docs.


Unobserved Task Exception when using MetroLog

Hi,
I am hitting this unobserved task exception when using MetroLog:
Exception:
InnerException = {"Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))"}
StackTrace:
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.IO.WindowsRuntimeStorageExtensions.<OpenStreamForWriteAsyncCore>d__1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.IO.WindowsRuntimeStorageExtensions.<OpenStreamForWriteAsyncCore>d__1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MetroLog.FileTarget.<GetWritableStreamForFile>d__8.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MetroLog.Targets.FileTargetBase.<GetOrCreateStreamWriterForFile>d__28.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MetroLog.Targets.FileTargetBase.<WriteAsyncCore>d__26.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MetroLog.Targets.Target.<WriteAsync>d__5.MoveNext()

Any idea?
I am using the logger from multiple threads, is it thread safe?
Thanks,
Christian

Might be similar to https://github.com/onovotny/MetroLog/issues/74?

System.UnauthorizedAccessException occurred
Message: Exception thrown: 'System.UnauthorizedAccessException' in System.Runtime.WindowsRuntime.dll
Additional information: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
>	mscorlib.ni.dll!System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task task)	Unknown
 	mscorlib.ni.dll!System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task task)	Unknown
 	System.Runtime.WindowsRuntime.dll!System.IO.WindowsRuntimeStorageExtensions.OpenStreamForWriteAsyncCore(Windows.Storage.IStorageFile windowsRuntimeFile, long offset)	Unknown
 	mscorlib.ni.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder<System.__Canon>.Start<System.IO.WindowsRuntimeStorageExtensions.<OpenStreamForWriteAsyncCore>d__1>(ref System.IO.WindowsRuntimeStorageExtensions.<OpenStreamForWriteAsyncCore>d__1 stateMachine)	Unknown
 	System.Runtime.WindowsRuntime.dll!System.IO.WindowsRuntimeStorageExtensions.OpenStreamForWriteAsyncCore(Windows.Storage.IStorageFile windowsRuntimeFile, long offset)	Unknown
 	System.Runtime.WindowsRuntime.dll!System.IO.WindowsRuntimeStorageExtensions.OpenStreamForWriteAsync(Windows.Storage.IStorageFile windowsRuntimeFile)	Unknown
 	MetroLog.dll!MetroLog.FileTarget.GetWritableStreamForFile(string fileName)	Unknown
 	mscorlib.ni.dll!System.Runtime.CompilerServices.AsyncMethodBuilderCore.MoveNextRunner.InvokeMoveNext(object stateMachine)	Unknown
 	mscorlib.ni.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state)	Unknown
 	mscorlib.ni.dll!System.Runtime.CompilerServices.AsyncMethodBuilderCore.MoveNextRunner.Run()	Unknown
 	mscorlib.ni.dll!System.Runtime.CompilerServices.AsyncMethodBuilderCore.OutputAsyncCausalityEvents.AnonymousMethod__0()	Unknown
 	mscorlib.ni.dll!System.Runtime.CompilerServices.AsyncMethodBuilderCore.ContinuationWrapper.Invoke()	Unknown
 	mscorlib.ni.dll!System.Runtime.CompilerServices.TaskAwaiter.OutputWaitEtwEvents.AnonymousMethod__0()	Unknown
 	mscorlib.ni.dll!System.Runtime.CompilerServices.AsyncMethodBuilderCore.ContinuationWrapper.Invoke()	Unknown
 	mscorlib.ni.dll!System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action action, bool allowInlining, ref System.Threading.Tasks.Task currentTask)	Unknown
 	mscorlib.ni.dll!System.Threading.Tasks.Task.FinishContinuations()	Unknown
 	mscorlib.ni.dll!System.Threading.Tasks.Task.FinishStageThree()	Unknown
 	mscorlib.ni.dll!System.Threading.Tasks.Task<System.__Canon>.TrySetResult(System.__Canon result)	Unknown
 	mscorlib.ni.dll!System.Threading.Tasks.TaskCompletionSource<Windows.Storage.StorageFile>.TrySetResult(Windows.Storage.StorageFile result)	Unknown
 	System.Runtime.WindowsRuntime.dll!System.Threading.Tasks.AsyncInfoToTaskBridge<Windows.Storage.StorageFile, System.VoidValueTypeParameter>.Complete(Windows.Foundation.IAsyncInfo asyncInfo, System.Func<Windows.Foundation.IAsyncInfo, Windows.Storage.StorageFile> getResultsFunction, Windows.Foundation.AsyncStatus asyncStatus)	Unknown
 	System.Runtime.WindowsRuntime.dll!System.Threading.Tasks.AsyncInfoToTaskBridge<Windows.Storage.StorageFile, System.VoidValueTypeParameter>.CompleteFromAsyncOperation(Windows.Foundation.IAsyncOperation<Windows.Storage.StorageFile> asyncInfo, Windows.Foundation.AsyncStatus asyncStatus)	Unknown

Same here. Any news on this issue?

I want to add: I get the same Exception when i try to open a file which has allready been openend by MetroLog. So I believe that you "double open" a Log file in certain circumstances.

I've got the same issue but it only occurs when in RELEASE (.Net Native) mode not DEBUG.

Having same issue in the release mode .. Any hacks or updates on this issue ?

+1, on Xamarin Forms UWP


how can i write a "mian.go" and a "pubspec.lock"?

Flutter version 1.0.0
Thanks for your work than makes me successfully build the demo to a linux app.
But if i want to build a app for my own flutter project, how can i write a "mian.go" and the "pubspec.lock"?
I am new to go-lang as well as flutter.
can anybody tell me how to start?
Thanks a lot!

First of:
The README has a little arrow next to the Operating system that shows build instructions when you click on the OS.
Next up:
In the file simpleDemo/main.go, you have the specify the path to the flutter's build using gutter.ProjectAssetPath
Finally:
On the flutter side, the only requirement is to run flutter build bundle which will generate you the build/flutter_assets directory. Directory to use in gutter.ProjectAssetPath

First of:
The README has a little arrow next to the Operating system that shows build instructions when you click on the OS.
Next up:
In the file simpleDemo/main.go, you have the specify the path to the flutter's build using gutter.ProjectAssetPath
Finally:
On the flutter side, the only requirement is to run flutter build bundle which will generate you the build/flutter_assets directory. Directory to use in gutter.ProjectAssetPath

it`s ok with simpleDemo.
but i get this error when i use a hello_world project.
..............
$ go get -u -v github.com/Drakirus/go-flutter-desktop-embedder
github.com/Drakirus/go-flutter-desktop-embedder (download)
github.com/go-gl/glfw (download)
runtime/cgo
runtime/cgo
gcc: error: (copy): No such file or directory


Graphics pipeline basics - Drawing a Triangle

Setup and configure the graphics pipeline in order to draw the triangle.

git fetch origin
git checkout 4-graphics-pipeline-basics-drawing-a-triangle


KAFKA-14740: Add source tag to MirrorSourceMetrics - KIP-911

New add.source.alias.to.metrics setting to add the source cluster alias to the MirrorSourceConnector metrics
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

(I did not notice that the KIP voting thread has not closed yet. This should probably only be merged after that happens 😄)

I've now closed the voting thread. Test failures are not related, merging to trunk.


Type narrowing on a property with disjoint set of values

TypeScript Version:  2.3.4 / Current playground version
Code
export interface AuthenticatedProfile {
    readonly userId: string;
    readonly name: string;
}
export interface AnonymousProfile {
    readonly userId: undefined;
    readonly otherProp: string;
}
export type Profile = AnonymousProfile | AuthenticatedProfile;

function handleProfile(prof: Profile) {
    if (prof.userId !== undefined) {
        console.log(prof.name);
    }
}

Expected behavior:
Code would compile, since by checking that the userId property is not undefined we definitely know we are handling an AuthenticatedProfile instance.
Actual behavior:
Type checks fail and you need workarounds such as the ones on this question: https://stackoverflow.com/q/44583342/625581.
What makes me think this is a bug (or at least can be added as a feature) is that this other similar code works. I've read the handbook and it seems that casting is an option, but the userId property is already part of both instances and I wouldn't want to add the boilerplate of casting when there's information right there.

Duplicate of #12600.

Automatically closing this issue for housekeeping purposes. The issue labels indicate that it is unactionable at the moment or has already been addressed.


Feature: Add Example to Cookbook for Informed Consent for PDs

Feature Details

[ ] Add an example to the Cookbook in the vignette  that shows how to run a custom KRI related to PD informed consent.

Vignettes will undergo major refactor in v2.


[Bug]: MudExUploadEdit Crashes Dialogs

Contact Details
<EMAIL_ADDRESS>What happened?
Created a MudDialog containing only a MudExUploadEdit. Upon trying to open said dialog, the screen darkens as if a dialog was opened, but nothing renders. Tried testing with another component (Mud DataGrid) within the dialog, same issue. Removing the MudExUploadEdit and just leaving the DataGrid made the dialog render correctly. The MudExUploadEdit uses the following definition (also included in screenshots):
<MudExUploadEdit MimeTypes="@mimeTypes" TextDropZone="Drop Files Here or Click Upload Files" T="UploadableFile"
                 DropZoneClickAction="DropZoneClickAction.UploadFile" ShowFileUploadButton="false" @ref="component" MinHeight="68"
                 AllowFolderUpload="false" AllowExternalUrl="false" Style="border: grey 3px dashed;" AllowRename="true"
                 ShowProgressForLoadingData="true" ColorizeIcons="true">
</MudExUploadEdit>
//Which has MudExUploadEdit<UploadableFile> component; and a string[] of valid mimeTypes in the code block.

Expected Behavior
The dialog should display the MudExUploadEdit, either alone or with another component within the dialog.
Screenshots

Reproduction link
No response
What application type are you referring to?
ServerRendered
Custom Application Type
No response
MudBlazor.Extension Version
1.7.76
MudBlazor Version
6.11.0
What browser are you using?
Chrome
Sample Solution
No response
Pull Request
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Can you try to create a sample app with this problem?

Sorry for the delay, seems that a hard reboot on the PC worked to fix the issue. Didn't see any improvement through restarts last week but after leaving it off for the weekend it works flawlessly.


Basic filter implementation, similar to Sinatra.

Sinatra Filters implementation as a middleware. http://www.sinatrarb.com/intro.html#Filters

@werner thanks a lot :+1:


chore(slab): log details and waiting on the instance

:tada: This PR is included in version 1.4.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Test tls browserify

Currently getting<EMAIL_ADDRESS>not found within tls browserify.

Alternatively, remove the support altogether.


Point class

Implemented a point class with it's basic methods.
Added tests

A solution for issue#5


fix the CUDA support description in install_windows DOC

Currently, the paddle on windows can support CUDA 8/9, so the description for install_window need to be updated.

Need to add that we do not support CUDA 9.1/9.2/10.0/10.1
“注意：Windows 仅支持 CUDA 8.0/9.0 的单卡模式；不支持 CUDA 9.1/9.2/10.0/10.1”


ecco_phys.F and adjoint recomputations

Hello
I am still having major recomputations associated with ecco_phys.F lines 141 to the end
This happens even for very basic setups. Others must be getting this...correct? Does this not happen in ECCOv4?
This is a specialized part of the code; it seems harmless to put it in a CPP #ifdef statement for this
Can we do this? Or what is the trick I am missing!

I dont think I see this recomputation in the daily tests of the ECCOv4 config but maybe I am just not looking closely enough or in the right place. Could you please double check by setting up and running, e.g., the adjoint cs32 experiment as explained in section 10 the MITgcm manual (https://mitgcm.readthedocs.io/en/latest/ocean_state_est/ocean_state_est.html#test-cases-for-estimation-package-capabilities).

These recomputations are gone in the latest global_oce_cs32!
I found the trick: If in CPP_OPTIONS.h for that setup one sets
#undef NONLIN_FRSURF
#undef DISABLE_SIGMA_CODE
The recomputation is back. (And I am not using these options in my setups.)
So I assume #define NONLIN_FRSURF triggers some store that is fixing this recomputation. I suspect it is in forward_step.F, but am uncertain...
Thanks for the help Gael!

@mmazloff is this fixed? We can't quite decide from the previous message.

Not fixed yet. We need to determine what store needs to be taking out of CPP flags
NONLIN_FRSURF and DISABLE_SIGMA_CODE
so package ecco doesn't cause major recomputations with
#undef NONLIN_FRSURF
#undef DISABLE_SIGMA_CODE

Sigma-Coord code is not ready to use so, for now, there is no point
of trying to fix TAF storage directive. In addition, it cannot be used
without Non-Linear Free-surf (see lines 615-620 of config_check.F ).
So my recommendation would be to always have #define DISABLE_SIGMA_CODE
when pkg/autodiff is compiled.
I could add a STOP there to catch this case.
On Mon, May 07, 2018 at 06:16:11PM -0700, Matt Mazloff wrote:

Not fixed yet. We need to determine what store needs to be taking out of CPP flags
NONLIN_FRSURF and DISABLE_SIGMA_CODE
so package ecco doesn't cause major recomputations with
#undef NONLIN_FRSURF
#undef DISABLE_SIGMA_CODE
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/MITgcm/MITgcm/issues/68#issuecomment-387254242

Sorry - I may have complicated this thread by adding DISABLE_SIGMA_CODE. I believe one gets it with simply
#undef NONLIN_FRSURF
I'm on travel and will check next week

@mmazloff What's the status of this issue?

@ifenty   Thanks for checking in. As far as I know the issue still exists. At SIO we are hiding everything below line 141 in ecco_phys.F behind an #ifdef. I suggest it is either hidden behind
#ifdef NONLIN_FRSURF
in the main tree or we find the missing store. But currently if you run without NONLIN_FRSURF you will have major recomputations due to this piece of code.
Also this is a specialized piece of code and many users will not need this. So it could also be behind its own CPP definition.

@mmazloff @ifenty To eliminate those recomputations, one could add the following #else block yo checkpoint_lev1_directives.h after line 84.
#else
CADJ STORE detahdt            = comlev1, key = ikey_dynamics,
CADJ &     kind = isbyte
ifndef ALLOW_ADAMSBASHFORTH_3
CADJ STORE gsnm1,gtnm1        = comlev1, key = ikey_dynamics,
CADJ &     kind = isbyte
CADJ STORE gunm1,gvnm1        = comlev1, key = ikey_dynamics,
CADJ &     kind = isbyte
else
CADJ STORE gsnm,gtnm          = comlev1, key = ikey_dynamics,
CADJ &     kind = isbyte
CADJ STORE gunm,gvnm          = comlev1, key = ikey_dynamics,
CADJ &     kind = isbyte
endif
CADJ STORE wvel     = comlev1, key = ikey_dynamics,
CADJ &     kind = isbyte
CADJ STORE etaH          = comlev1, key = ikey_dynamics,
CADJ &     kind = isbyte

@mmazloff @ifenty To eliminate those recomputations, one could add the following #else block to checkpoint_lev1_directives.h after line 84.
#else
CADJ STORE detahdt            = comlev1, key = ikey_dynamics,
CADJ &     kind = isbyte
#ifndef ALLOW_ADAMSBASHFORTH_3
CADJ STORE gsnm1,gtnm1        = comlev1, key = ikey_dynamics,
CADJ &     kind = isbyte
CADJ STORE gunm1,gvnm1        = comlev1, key = ikey_dynamics,
CADJ &     kind = isbyte
#else
CADJ STORE gsnm,gtnm          = comlev1, key = ikey_dynamics,
CADJ &     kind = isbyte
CADJ STORE gunm,gvnm          = comlev1, key = ikey_dynamics,
CADJ &     kind = isbyte
#endif
CADJ STORE wvel     = comlev1, key = ikey_dynamics,
CADJ &     kind = isbyte
CADJ STORE etaH          = comlev1, key = ikey_dynamics,
CADJ &     kind = isbyte

@owang01 Do you want to introduce your proposed fix into the repository?
@mmazloff

fixed with PR #250 (just merged in).


feat: add config support for role

What kind of change does this PR introduce?
Feat
What is the current behavior?
Added the option to set Config at creation time, which we can now use to manage the Config of the Role, such as search_path
What is the new behavior?
We can set role when create.

@soedirgo Pls help me review this pr 🙏

Reping @soedirgo

Hey there, a couple things:

Can you check what happens when the of a config is quoted? I see that you do a literal(v) there - I don't think that's correct, e.g. for search_path="extention,public" in your test (that's a typo btw) it's interpreted as a single element named "extention,public", rathen than two elements extention and public.
Can we turn nulls into [] so the type is consistent?
Can we remove "op": "test"? That seems unused, afaict we only need "add", "replace", and "remove".

I remove literal
Done
Why we need change null 2 [], i don't get point.
Done

Thanks for the PR!

Why we need change null 2 []

This would be {} now instead of [] - the reason is to make the type simpler, since Record<string, string> can already represent an empty config, so we don't need it to be Record<string, string> | null.


TensorBoard callback: step is always 0 for batch_steps_per_second

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): macOS 11.2.1
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary): binary
TensorFlow version (use command below): v1.12.1-51814-gb08c055e840 2.5.0-dev20210301
Python version: 3.8.8
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version:
GPU model and memory:

Describe the current behavior
The current tf-nightly (for 2.5.0) has  a new parameter  write_steps_per_second to tf.keras.callbacks.TensorBoard.
If that is used with update_freq > 0, the resulting batch_steps_per_second all have 0 as step value, which makes the graph unreadable in tensorboard.
Describe the expected behavior
The step number is the corresponding training step
Standalone code to reproduce the issue
import shutil
import glob
import tensorflow as tf
from tensorflow.core.util import event_pb2

workdir = 'tmp_workdir/'
shutil.rmtree(workdir, ignore_errors=True)

x = [[0, 0], [0, 1], [1, 0], [1, 1]]
y = [0, 1, 1, 0]

inputs = tf.keras.Input(shape=(2,))
outputs = tf.keras.layers.Dense(units=1, activation='sigmoid')(inputs)
model = tf.keras.Model(inputs=inputs, outputs=outputs)

model.compile(optimizer=tf.keras.optimizers.Adam(), loss=tf.keras.losses.MeanSquaredError())

model.fit(x=x, y=y, batch_size=2, epochs=2, callbacks=[
    tf.keras.callbacks.TensorBoard(log_dir=workdir, write_steps_per_second=True, update_freq=1,
                            profile_batch=0)])

max_step = 0
for record in tf.data.TFRecordDataset(glob.glob(workdir + 'train/events.out*')[0]):
    event = event_pb2.Event.FromString(record.numpy())
    if event.HasField('summary') and event.summary.value[0].tag == 'batch_steps_per_second':
        max_step = max(max_step, event.step)

if max_step == 0:
    print("FAILURE")
else:
    print("OK")

Other info / logs
The step number 0 comes from passing step.value() instead of step in _push_writer. There is a TODO saying # TODO(b/151339474): Fix deadlock when not using .value() here. above that line - I suppose the details are in some internal google bug database.
But as the batch_steps_per_second event is only written during training, this can easily be fixed by explicitly passing  self._train_step  as step when writing it.
I'll add a pull request.

PR is #47521


Amazon Kindle enhancements

Used for adding new ideas to enhance or bugs to fix.

From Abhay via Slack.

Add option for putting highlight color and location on same line.

Is there a way to pull chapter info like in that screenshot?


path doesnt exist /mnt/sda/ava/frames/{}/

I use ava dataset to evaluate tubeR and meet this problem，but I have set the path, as shown in the picture.Desire for help, thanks!

@salmank255 fix this problem, thanks!


Support for custom rules as streams

I am creating this issue to have a discussion around having the support to consume rules as streams.
Today we only have the file based approach - where the rules are  written in C# and compiled into a dll or as PowerShell scripts.
From Tobias - for more context:
"ScriptAnalyzer may well become a generic service for script analysis. So it will be consumed not only by end users running cmdlets, but also from within software created by ISVs.
Having to load rules as files limits usability. There may be scenarios where it can be useful to dynamically create rules, or use rules for other purposes than script analysis. In these cases, rules would need to come from streams because these rules may never exist as files, and it would be an awkward workaround having to convert streams to files, then read the files into ScriptAnalyzer, then have ScriptAnalyzer convert the files back to streams. In general, the more scenarios you enable, the more impact will ScriptAnalyzer have, and I can see no reason why rules should have only a file-based way to get to ScriptAnalyzer.
It is similar to the –Path parameter where you specify the script to check. This, too, should accept streams or at least strings. Interfacing to ScriptAnalyzer should not be limited to file based content. In ISESteroids beta, for example, we added real-time checks. It is a burden having to save the current editor content to file just to feed this into ScriptAnalyzer, and would be much more efficient if it could be submitted as text. Your file based input, for example, prevents Untitled scripts from being checked.
"

Hi Tobias.
We have added the support for consuming Scripts as Streams - check out the latest build from the development branch:
https://github.com/PowerShell/PSScriptAnalyzer/pull/357

Closing this issue as this seems to be an extremely corner case use scenario. If there is enough interest in this issue we will revisit it, but for now we will not be implementing this feature.


Max tax token not working if 12% contract posted also it buys

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Additional context
Add any other context about the problem here.
No Screenshots Please

I fixed that earlier today. Please use the issue template I provided and don't type everything in the title please.


Use ITableEntity for data binding to table rows

In new versions of the Azure SDK binding a model to table storage row means the model has to implement ITableEntity.
Furthermore, CloudTable and TableQuery are no longer available, and are replaced by TableClient and TableClient.Query.
I've updated all these thinges... but I couldn't test it, so proceed with caution

Thank you so much @rhvdpols!


Please document the limit of 90 days for wait tiles

in
https://learn.microsoft.com/en-us/dynamics365/marketing/real-time-marketing-tile-reference#wait
please document that a wait tile at maximum can wait for 90 days / 12 weeks
(even when selecting fixed dates, they can only be 90 days ahead)
GUI checks are currently being added to prevent setting longer periods,
but if a journey was created on a marketing version that doesn't yet have this check
the journey will not publish with an error like
""The customer journey could not be published due to an error understanding the current definition. "

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

ID: a35d62cf-9810-ea5b-b76e-5a7d6ebaae7c
Version Independent ID: 7ba6345d-edf8-72e5-81ba-e68e82cd9b09
Content: Real-time marketing journey tile reference (Dynamics 365 Marketing)
Content Source: ce/marketing/real-time-marketing-tile-reference.md
Service: dynamics-365-marketing
GitHub Login: @alfergus
Microsoft Alias: alfergus

Thanks @CarstenMS -- I've gone ahead and updated this.


Remove dead pages: Product Direction, KubeCon

The content is outdated and basically no one is looking at them.
Hello (created for a prior KubeCon)

Product Direction

cc @victorwuky i think the product direction page was something Victor would point people to at customer meetings, tho true i don't think it's up-to-date anymore

cc @victorwuky i think the product direction page was something Victor would point people to at customer meetings, tho true i don't think it's up-to-date anymore

This is correct. I'd love to revive it at a future point. But certainly I have no problem in removing it now.


[Unit Test] Unit test for HttpConvertsUtils.java

Search before asking

[X] I had searched in the issues and found no similar issues.

Read the unit testing guidelines

[X] I have read.

Unit test request
Add Unit Test for HttpConvertsUtils.java
Describe the unit tests you want to do
Module name: eventmesh-common
Located at: eventmesh/eventmesh-common/src/main/java/org/apache/eventmesh/common/utils
Task status: ×(unfinished)
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Is this task finished?Can I submit a pr for this as my first issue?


feat(avatar): avatar component rfc

i made some assumptions here in regards to a fallback state since design input is to be determined.
added a StatefulAvatarContainer to contain behavior related to supplying the img element either the primary or fallback src.
<Avatar name="Jane Doe" src="https://url-of-img.jpg" />

default image is fine with me, or even a simple color may be most appropriate while waiting for direction from design

Looks great! I am wondering if instead of the srcFallback property, we would simply ship a default image that would be used?

Do we have a "profile" SVG icon anywhere? Might be more preferable than an image


[R] String notation of nanoarrow types

From https://github.com/pola-rs/r-polars/pull/730#issuecomment-1906192408
Data types of the arrow package can be converted to string notation.
> arrow::int16()$ToString()
[1] "int16"

Since it is easier to filter string vectors using the %in% operator, it would be great if the nanoarrow data type also had a string representation that matched the arrow data type.

I think what you want is nanoarrow_schema_parse(schema)$type!

Oh, this is useful!
It would be great if the documentation described how to use this.


http4s 0.23 support

Compiles for all the crossScalaVersions
Upgrade Scala 2.13.5 -> 2.13.6 and 3.0.0 -> 3.0.1
Various things had to be changed to accommodate for different behaviour of Scala 3 such as how circe is handled (Internal class), and defining implicit types explicitly.

Please if you can release this asap :-) quite a few people (and organizations) are waiting for this!
Closes #379

quite a few people (and organizations) are waiting for this!

+1

Just to confirm for @ChristopherDavenport , all tests pass and you've tried this out locally? This would be great to use for the latest http4s projects, and I agree that lots of people/orgs are waiting for tsec to support Scala 3 -- I'd love to see this get merged! 😄

This has passed locally, I'm merging. We are moving to davenverse and trying to release from the new org. As I'm not an admin on this repo, this is necessary for this build to get sufficiently modernized.

Fantastic - thank you @ChristopherDavenport ! very excited for the new release


Should update file 'packages' in '.meteor'

Packages should be added to .meteor/packages files.

This shouldn't happen by default. In many cases the package may be pulled in because another package depends on it, and the app itself should not list it as a dependency.

It makes sense. Thx


tab limiter

Description of the new feature / enhancement
only lets you open a certain amount of tabs in the browser
Scenario when this would be used?
to keep browsing from becoming a mess and eating up memory. Might prevent redirection in some cases
Supporting information
No response

My first thought is that this would be something that every user can and should keep control themselfs.

@MZedalis I'd suggest looking for tab limiter extensions for a specific browser.


How to disable Scrolling while Refreshing?

PtrFrameLayout setEnable(false) not work

@liaohuqiu

I think you should disable recyclerview or nestedscrollview not the PtrFrameLayout

@raquezha your_recyclerView.setLayoutFrozen(true);   I just use this method


Wrong description of inequalities with NaN results

[Enter feedback here]
Any comparision with double.NaN returns false. But this page says that inequalities between values and double.NaN returns true. That is wrong.

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

ID: e6bf1c84-36bb-3d48-d632-5473070c5701
Version Independent ID: dff2500c-c6d4-2cfd-5409-663feb6805e4
Content: CA2242: Test for NaN correctly (code analysis) - .NET
Content Source: docs/fundamentals/code-analysis/quality-rules/ca2242.md
Product: dotnet-fundamentals
GitHub Login: @gewarren
Microsoft Alias: gewarren

Inequality with NaN returns true:
https://sharplab.io/#v2:EYLgtghgzgLgpgJwDQxAgrgOwD4AEBMADALABQBAjGWbhQJwAUFAdIQAQCEAvGwCYD26YABs4zAHIRxASgDcQA==

Inequality with NaN returns true:
https://sharplab.io/#v2:EYLgtghgzgLgpgJwDQxAgrgOwD4AEBMADALABQBAjGWbhQJwAUFAdIQAQCEAvGwCYD26YABs4zAHIRxASgDcQA==

Well, I guess that was ambigous usage of inequality term. I thought that here inequality means something like the following:
double.NaN > 1.0     // true

Ok, then, I've misunderstood the point


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target_7f0cc782-1b87-49b6-bd02-67b0af95578d/pull/1 is merged into live branch.
Auto archive content to https://github.com/VSC-Service-Account/docs-archive-test-target_7f0cc782-1b87-49b6-bd02-67b0af95578d.git

Docs Build status updates of commit 282e6ed:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error-ServiceAccountCannotAccessRepository] Your repository https://github.com/VSC-Service-Account/docs-archive-test-source has enabled Docs Build service account. It seems that at least one of the accounts, e2ebd1, does not have Read permission to the repo. Please ask your repo admin to grant correct permission to service accounts (refer to this document: https://review.docs.microsoft.com/en-us/engineering/projects/ops/engdocs/how-to-grant-service-account-permission-in-your-repository?branch=master#vsc-service-account) and then retry the build. Don't know who to contact? Refer https://repos.opensource.microsoft.com/VSC-Service-Account/repos/docs-archive-test-source/permissions/ to get admin list of the repo.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Starting an empty kapacitord and registering the alerts later is fragile

I am running kapacitor in swarm mode.
kapacitord is a running container that I start using:
docker service create
--name kapacitor
--network appnet
-p 9092:9092
--constraint 'node.labels.monitoring == true'
--mount type=bind,src=/mnt/glusterfs/kapacitor/kapacitor.conf,dst=/etc/kapacitor/kapacitor.conf,readonly
kapacitor

This service is quite useless I have to run another service and do a trick to tell swarm that it is not a long running service and when it ends this is normal do not try to restart it (--restart-condition none):
docker service create
--name kapacitor_tick1
--network appnet
--restart-condition none
--constraint 'node.labels.monitoring == true'
--mount type=bind,src=/mnt/glusterfs/kapacitor/cpu_alert.tick,dst=/root/cpu_alert.tick,readonly
-w=/root
-e KAPACITOR_URL='http://kapacitor:9092'
kapacitor bash -c "kapacitor define cpu_alert -type stream -dbrp telegraf.default -tick /root/cpu_alert.tick && kapacitor enable cpu_alert"

Ok so I can include that in my ansible script so everything is fine at startup.
Now I can receive alerts if anything goes wrong.
If for whatever reason the kapacitord container crash, swarm will restart it automatically but the new container will not have the cpu_alert registered anymore. So it will look like everything is ok but it is not
I think a more robust option will be to be able to start kapacitord with some tick scripts included (without using the CLI to register them).

@rolele Are you preserving the kapacitor.db file across restarts? If so then your alerts will be remembered and start when Kapacitor starts back up.
From the looks of it your mounts section is saving the specific tick file you want but not the data that Kapacitor stores. By default Kapacitor stores data in /var/lib/kapacitor and it should be persisted across restarts or the new instance will act as if its never been started before.

This was not clear to me. Thanks a lot. I will try that soon.
I can close this for now.


Able to generate PDF & PNG at only once, next time gives error

I'm able to generate the PDF and PNG image only at ones, for the second time it gives the errors as
Uncaught TypeError: Cannot read properties of null (reading 'style')     at Elements.fixLocation (content_script.js:201:17)     at downloadThread (content_script.js:112:12)     at downloadButton.onclick (content_script.js:89:5)
and
content_script.js:201 Uncaught TypeError: Cannot read properties of null (reading 'style')     at Elements.fixLocation (content_script.js:201:17)     at downloadThread (content_script.js:112:12)     at downloadPdfButton.onclick (content_script.js:97:5)

fixed in https://github.com/liady/ChatGPT-pdf/pull/28/files


Adds capability for arbitrary ES HTTP request/response transformation

Thank you for submitting a pull request!
Please make sure you have signed our Contributor License Agreement (CLA).
We are not asking you to assign copyright to us, but to give us the right to distribute your code without restriction. We ask this of all contributors in order to assure our users of the origin and continuing existence of the code.
You only need to sign the CLA once.

[x] I have signed the Contributor License Agreement (CLA)

I'm not sure this is something that we will want to do in ES-Hadoop at the moment. Whatever functionality is added here will need to be removed or mirrored to the Low Level Rest Client before we can move forward on #932. This has been some functionality that we've thought about adding to the LLRC, so it's not unreasonable for this functionality to eventually make its way into ES-Hadoop, but this is most likely not the right time to introduce it.


Init method not visible to ObjC

You seem to be using optional parameters within the constructors which can't be bridged to ObjC.
Thus this library is not usable in ObjC projects.
See: https://stackoverflow.com/questions/26470771/swift-init-not-visible-in-objecitve-c

Thanks for pointing this out.
As you can guess from this bug, I have no experience with Objective-C, so I’m gonna need a little help on this one. How would you go around fixing this? I’m not sure if/how closures are represented in Obj-C, or how to represent them in types that can be bridged. If you could possibly file a PR, that would be great.

You can add a init constructor like this (if you don't care about the animation blocks) and it will be bridged to objective-c
   public init(presentDuration: TimeInterval, dismissDuration: TimeInterval) {         self.presentDuration = presentDuration         self.presentAnimation = nil         self.presentCompletion = nil         self.dismissDuration = dismissDuration         self.dismissAnimation = nil         self.dismissCompletion = nil     }

Thanks! Is there any way to represent the various closures in Obj-C though? Would hate for Obj-C users to not be able to access the full capabilities.

Could you folks take a look at the ObjCTest branch? I don't know a lick of Objective-C, so just going by some random stuff I'm coming across

Works fine for me, tested that all the callbacks work.
You might consider adding an additional objc init that only has args for the various blocks/closures so we don't have to guess at durations to provide if we just want it to use the defaults.

Nice, good to know. Just put this out there to see if the closures work

Anyone know how to mark a method as visible in Objective-C but not in Swift?

I don't think you can do that.
If you're wanting to just have one ctor, you could switch those TimeInterval arguments to NSNumber, which would be compatible with obj-c.  Then, you can just unbox the doubleValue inside your init.
public init(presentDuration: NSNumber? = nil,
    presentAnimation: (() -> ())? = nil,
    presentCompletion: ((Bool) -> ())? = nil,
    dismissDuration: NSNumber? = nil,
    dismissAnimation: (() -> ())? = nil,
    dismissCompletion: ((Bool) -> ())? = nil) {
  self.presentDuration = presentDuration?.doubleValue;
  self.presentAnimation = presentAnimation
  self.presentCompletion = presentCompletion
  self.dismissDuration = dismissDuration?.doubleValue;
  self.dismissAnimation = dismissAnimation
  self.dismissCompletion = dismissCompletion
}

Of course, that forces Swift callers to pass in NSNumber instances if they choose to specify durations, so you may not be happy with that.

Actually, I just tried that and it doesn't affect swift callers, so this still works fine:
let transition = DeckTransitioningDelegate(presentDuration: 2.5)

Hmm, good find. One tiny issue is it breaks existing code if you've set it up with types variables and not just numbers the type for which can be inferred to be whatever is needed. Not sure about this

NSNumber it is. Don't think there's gonna be many issues, and none that won't be easily fixed


Connection via VPN was not recognized as an active internet connection

The used library (react-native-netinfo) to determinate the online state of the device is currently not capable to detect an active VPN Connection as a connection to the internet. An issue for this library was created: Issue #87

A PR has been submitted to the library: react-native-netinfo/pull/95

Done: PR 95


Interactive Periodic Table Extension added

Description
i have added Interactive Periodic table extension.
Fixes:  #1014
Type of change

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

Checklist:

[x] I have made this from my own
[x] I have taken help from some online resourses
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings

ATTACH SCREEN-SHOTS / DEPLOYMENT LINK

hey @Sulagna-Dutta-Roy , i have added Periodic Table Exntesion


allow referencing participant data internals

Description
This change makes it possible to selectively include parts of the participant data in prompts and input formats.
For example:
{participant_data.name}
{participant_data.schedules.0.is_complete}

If any attribute or item access fails, the result will be an empty string (see test cases).
The use cases for this are probably quite niche but likely to be useful in routing. It also makes it possible to split up the participant data in the prompt (since you can reference the variable multiple times)
Docs
TODO

:x: 4 Tests Failed:

Tests completed
Failed
Passed
Skipped

750
4
746
0

View the top 3 failed tests by shortest run time

apps/service_providers/tests/test_prompt_context.py::::test_calls_with_different_vars_returns_correct_context

Stack Traces | 0.003s run time

.../service_providers/tests/test_prompt_context.py:62: in test_calls_with_different_vars_returns_correct_context
    assert result == {"participant_data": ""}
E   AssertionError: assert {'participant...7eff1e69e390>} == {'participant_data': ''}
E     Differing items:
E     {'participant_data': <apps.service_providers.llm_service.prompt_context.SafeAccessWrapper object at 0x7eff1e69e390>} != {'participant_data': ''}
E     Full diff:
E     - {'participant_data': ''}
E     + {'participant_data': <apps.service_providers.llm_service.prompt_context.SafeAccessWrapper object at 0x7eff1e69e390>}

apps/service_providers/tests/test_prompt_context.py::::test_retrieves_participant_data_when_authorized

Stack Traces | 0.003s run time

.../service_providers/tests/test_prompt_context.py:82: in test_retrieves_participant_data_when_authorized
    assert context.get_participant_data() == "participant data"
E   AssertionError: assert <apps.service...x7eff1e68ac10> == 'participant data'
E     (pytest_assertion plugin: representation of details failed: <frozen abc>:123: TypeError: issubclass() arg 1 must be a class.
E      Probably an object has a faulty __repr__.)

apps/service_providers/tests/test_prompt_context.py::::test_returns_empty_string_when_unauthorized_participant

Stack Traces | 0.003s run time

.../service_providers/tests/test_prompt_context.py:88: in test_returns_empty_string_when_unauthorized_participant
    assert context.get_participant_data() == ""
E   AssertionError: assert <apps.service...x7eff1e68a850> == ''
E     (pytest_assertion plugin: representation of details failed: <frozen abc>:123: TypeError: issubclass() arg 1 must be a class.
E      Probably an object has a faulty __repr__.)

To view more test analytics, go to the Test Analytics Dashboard
Got feedback? Let us know on Github


cmd/cue/cmd: fix bug with help flag

Fixes https://github.com/cuelang/cue/issues/340

[x] add more tests for help system
[x] find and fix bug

It's sort of weird that the cue cmd --help does not behave like the other subcommands, but it is different from the others and how it is used.

I have a changeset on Gerrit with the fixes needed here, so I updated GitHub with a force and abandoned the Gerrit CL.

@verdverm Ah, I didn't notice the Gerrit CL.

@mpvl I'm all setup with Gerrit, so I'll be doing that going forward.


tfgrid client docs

see what needs to be moved to new development branch

same for

merged and removed development_db


fatal error: ATen/autocast_mode.h: No such file or directory compilation terminated.

🐛 Describe the bug
error information:
Building wheel torchvision-0.13.0a0+7bb5e41
PNG found: True
libpng version: 1.6.37
Building torchvision with PNG image support
libpng include path: /home/chy/anaconda3/envs/maskrcnn_benchmark/include/libpng16
Running build on conda-build: False
Running build on conda: True
JPEG found: True
Building torchvision with JPEG image support
NVJPEG found: False
FFmpeg found: True
ffmpeg include path: ['/home/chy/anaconda3/envs/maskrcnn_benchmark/include', '/home/chy/anaconda3/envs/maskrcnn_benchmark/include/x86_               64-linux-gnu']
ffmpeg library_dir: ['/home/chy/anaconda3/envs/maskrcnn_benchmark/lib', '/home/chy/anaconda3/envs/maskrcnn_benchmark/lib/x86_64-linux-               gnu']
video codec found: False
The installed version of ffmpeg is missing the header file 'bsf.h' which is required for GPU video decoding. Please install the latest                ffmpeg from conda-forge channel: conda install -c conda-forge ffmpeg.
running install
running bdist_egg
running egg_info
writing torchvision.egg-info/PKG-INFO
writing dependency_links to torchvision.egg-info/dependency_links.txt
writing requirements to torchvision.egg-info/requires.txt
writing top-level names to torchvision.egg-info/top_level.txt
reading manifest file 'torchvision.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching 'pycache' found under directory ''
warning: no previously-included files matching '.py[co]' found under directory '*'
writing manifest file 'torchvision.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
copying torchvision/version.py -> build/lib.linux-x86_64-3.6/torchvision
running build_ext
building 'torchvision.C' extension
gcc -pthread -B /home/chy/anaconda3/envs/maskrcnn_benchmark/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wa               ll -Wstrict-prototypes -fPIC -DWITH_CUDA -I/home/chy/github/vision/torchvision/csrc -I/home/chy/anaconda3/envs/maskrcnn_benchmark/lib/               python3.6/site-packages/torch/include -I/home/chy/anaconda3/envs/maskrcnn_benchmark/lib/python3.6/site-packages/torch/include/torch/cs               rc/api/include -I/home/chy/anaconda3/envs/maskrcnn_benchmark/lib/python3.6/site-packages/torch/include/TH -I/home/chy/anaconda3/envs/m               askrcnn_benchmark/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda-9.0.176/include -I/home/chy/anaconda3/envs/maskrcnn               benchmark/include/python3.6m -c /home/chy/github/vision/torchvision/csrc/ops/autocast/deform_conv2d_kernel.cpp -o build/temp.linux-x86               64-3.6/home/chy/github/vision/torchvision/csrc/ops/autocast/deform_conv2d_kernel.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION               NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=image -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++11
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
:0:0: warning: "TORCH_EXTENSION_NAME" redefined
:0:0: note: this is the location of the previous definition
/home/chy/github/vision/torchvision/csrc/ops/autocast/deform_conv2d_kernel.cpp:3:32: fatal error: ATen/autocast_mode.h: No such file o               r directory
compilation terminated.
error: command 'gcc' failed with exit status 1
(maskrcnn_benchmark) chy@guest-PR4908P:~/github/vision$ python setup.py build
Building wheel torchvision-0.13.0a0+7bb5e41
PNG found: True
libpng version: 1.6.37
Building torchvision with PNG image support
libpng include path: /home/chy/anaconda3/envs/maskrcnn_benchmark/include/libpng16
Running build on conda-build: False
Running build on conda: True
JPEG found: True
Building torchvision with JPEG image support
NVJPEG found: False
FFmpeg found: True
ffmpeg include path: ['/home/chy/anaconda3/envs/maskrcnn_benchmark/include', '/home/chy/anaconda3/envs/maskrcnn_benchmark/include/x86_64-linux-gnu']
ffmpeg library_dir: ['/home/chy/anaconda3/envs/maskrcnn_benchmark/lib', '/home/chy/anaconda3/envs/maskrcnn_benchmark/lib/x86_64-linux-gnu']
video codec found: False
The installed version of ffmpeg is missing the header file 'bsf.h' which is required for GPU video decoding. Please install the latest ffmpeg from conda-forge channel: conda install -c conda-forge ffmpeg.
running build
running build_py
copying torchvision/version.py -> build/lib.linux-x86_64-3.6/torchvision
running build_ext
building 'torchvision._C' extension
gcc -pthread -B /home/chy/anaconda3/envs/maskrcnn_benchmark/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -I/home/chy/github/vision/torchvision/csrc -I/home/chy/anaconda3/envs/maskrcnn_benchmark/lib/python3.6/site-packages/torch/include -I/home/chy/anaconda3/envs/maskrcnn_benchmark/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/chy/anaconda3/envs/maskrcnn_benchmark/lib/python3.6/site-packages/torch/include/TH -I/home/chy/anaconda3/envs/maskrcnn_benchmark/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda-9.0.176/include -I/home/chy/anaconda3/envs/maskrcnn_benchmark/include/python3.6m -c /home/chy/github/vision/torchvision/csrc/ops/autocast/deform_conv2d_kernel.cpp -o build/temp.linux-x86_64-3.6/home/chy/github/vision/torchvision/csrc/ops/autocast/deform_conv2d_kernel.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=image -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++11
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
:0:0: warning: "TORCH_EXTENSION_NAME" redefined
:0:0: note: this is the location of the previous definition
/home/chy/github/vision/torchvision/csrc/ops/autocast/deform_conv2d_kernel.cpp:3:32: fatal error: ATen/autocast_mode.h: No such file or directory
compilation terminated.
Versions
cuda 9.0
pytorch 1.1.0
Linux Ubuntu 16.04
install torchvision 0.3.0

Pytorch 1.1.0 is an older version. Could you try with the latest nightly building of pytorch and see if you still get this error when building torchvision?

For instructions on building from source, please refer to: https://github.com/pytorch/vision/blob/main/CONTRIBUTING.md#development-installation.


Add async/long-running processes to the webserver for computationally expensive tasks

Is your feature request related to a specific problem?
There is no way to run a blocking, long-running job async within the webserver
Describe the solution you'd like
Using something like Dask to handle multi-processing and spinning up additional processes to handle long-running jobs.
Describe alternatives you've considered, if any
An alternative like celery or rolling our own multi-processing implementation
Additional context
Add any other context or screenshots about the feature request here.

FastAPI blocking functions are run in a threadpool so they don't block (more info here) and run asynchronously. There is also an option in FastAPI to run things as background tasks.
I'm not sure if either of these are solutions for what you have in mind, but wanted to mention them in case they might be easy solutions.

absolutely! I was thinking of using something like Dask but I much prefer native implementations. Thanks for the tip @sanders41 !

@seanpreston @pattisdr we're using Celery for this right? or in some cases using a local worker that is blocking?

I might've misremembered, just wanted to confirm we were good here (this was from pre-unified when ctl didn't have the concept of workers/subprocesses), thanks!


undo breaks save

do stuff
save: OK
undo: OK
save: doesn't work

Ok, I can reproduce that. Thanks for reporting.
That

To be a bit more specific, it's when you have to undo a unit creation/deletion. There is a counter that gets out of sync. It gets caught by safety checks and saving fails. That's actualy a good thing, we ensure we are not writing garbage into the PUD file :-)


[BUG]: if a user changes title or description and then moves to another configuration, the system does not warn them that they will lose those changes

Scenario:
Step:
Link to the project:

Describe the issue
A clear and concise description of what the bug is.

Please rephrase the modal to explain that the user will loose all the changes on top of changing the state.


Fix typo in readme introduced in #1530

Pretty simple, just fixed a typo I noticed when reading the doco.

Thanks!


Can't access WU

I've installed the plugin and can see it registered. When WoW Classic starts WU say's hello in the chat window.
If I then type /wu I get the help text.
But if I type /wy config I can't press return.
What am I doing wrong?

Just confirming that /wy config is a typo in your post, command should be /wu config.

Sorry, yes, it's /wu config I've also tried /warlockutilities and /warlockutils
All show the help text, but as soon as I try /wu config I can't press return. Weird.

Thanks for confirming. Unfortunately I am unable to replicate the issue on the latest release with an up to date client. May be an interaction with another addon, would recommend disabling other addons and seeing if you are able to execute the config command again.
Could also see if you can get to the options window via the game menu (options, addons, WarlockUtilities).

I've disabled all but WU, same problem, are their any dependencies I need to install?

Hmm. The addon is built on the Ace3 framework, but that is all packaged in the install, shouldn't be anything else needed. If you try to go in through the game menu (menu, options, addons, WU), are the config options available? Trying to see if the issue lies in registering the options panel or registering the command lines to open it. The fact that the help dialog appears as normal makes me think it is related to the former.

I've just uploaded this video to youtube if it helps:-
https://www.youtube.com/watch?v=-DKu55QUqHc

Ah yes that does help, you are on Classic Era on an old version of the addon. This is currently only being supported for Classic (WotLK). I can look into forking a copy of the v1.x version to work with Classic Era.

Sorry, I perhaps should've been clearer. If it helps I installed it via CurseForge which seemed to intimate it would work on Classic Era.

No worries. I'm actually surprised that the CurseForge client treats 1.13.x compatible addons as valid for 1.14.x clients. There were a myriad of client side API changes that occurred over the changes to 2.x and 3.x client versions. The major issue here was an update to the Ace3 library files that occurred at the update to 2.x (Burning Crusade). I have uploaded a new version (3.4.1) to CurseForge that will add compatibility for the Classic Era client. Please note that the Demon Manager UI will still show an option for summoning the Felguard, although it will always be flagged as disabled. Due to the way the localization file is structured, it is not a simple fix to remove the option. The new version has been flagged as valid for 3.4.2 and 1.14.4 clients, so the CurseForge client should prompt you to update for both WotLK and Classic.


Brave Shields block IPFS Companion's request hand off to localhost gateway

Filled upstream issue: https://github.com/brave/brave-browser/issues/13641

Fixed upstream: https://github.com/brave/brave-browser/issues/13641#issuecomment-763240395

Fixed upstream: https://github.com/brave/brave-browser/issues/13641#issuecomment-763240395

Reopening:

This had to be reverted because Brave doesn't allow localhost access for websites, because websites could probe the available services of a user and use that for fingerprinting.
If the fish page was ipfs:// though top level, then it should allow the subresources to show.

We need to disable redirect of subresources on http*:// pages in Brave.

Reopening:

This had to be reverted because Brave doesn't allow localhost access for websites, because websites could probe the available services of a user and use that for fingerprinting.
If the fish page was ipfs:// though top level, then it should allow the subresources to show.

We need to disable redirect of subresources on http*:// pages in Brave.


Help in Saving Hand Keypoints for MultipleHandTracking in dekstop and in both iOS and Android Application

Hello,
I need help in Saving Hand Keypoints for MultipleHandTracking in dekstop and in both iOS and Android Application
I am looking to save the coordinates of all the keypoints of 2 hands.
I need to save them in both desktop and for mobile applications.
Saving as in getting the exact coordinates with respect to the bounding boxes of the detection or their coordinates in general

Please look at the example source code. It shows you how to get hand landmarks for both single hand and multi-hand apps in Android and iOS on the application layer (Java/Objective-C).


Feature Request: automatic keyboard layout switch

I have a problem: using two keyboard layouts on my computer spoils expirience of using Quicksilver. When I type some text in Russian and want to open some application I'm pressing a hotkey, starting to type and I see that the keyboard layout is still Russian and I can't open the Application I want. After that I switch the keyboard layout and re-type the name of appication I want. This process takes some time and attention. I don't know a solution, this question was discussed on some forums and people doesn't know the solution either.
I would be great if we have an option: "Use english layout as a default". It means when I press a Qucksilver hotkey - the layout automaticaly changes to english.

+1, I've never been happy to find out i'm typing in Russian in Quicksilver.

Here's a workaround -
Get the changeInput command line tool from:
http://allancraig.net/index.php?option=com_content&view=article&id=88:changing-keyboard-input-command-line-utility&catid=39:objective-c&Itemid=86
Unzip it and put it in ~/Scripts/ (or wherever, but you'll need to change the following script to match though).
Save the following script in AppleScript Editor:
--
do shell script (POSIX path of (path to home folder)) & "Scripts/changeInput toggle British U.S."
delay 0.5
tell application "System Events" to key code 49 using command down
(Change British and U.S. to the two languages you want to toggle. The first should be the one that makes QS work correctly. The "System Events" line presses ⌘space, my shortcut for QS. The delay 0.5 stops the Trigger shortcut interfering with the System Events key press.)
Put the script in QS's Catalog and make a Trigger for [script]⇥Run. I suggest changing QS's shortcut to something else, and telling System Events to key code that, then your regular QS shortcut can be the Trigger shortcut instead.
QS should now activate with the correct language, and revert back to your default on dismissal.


MAUI support

Will maui be supported?

Yes, MAUI will be supported for 6 months after the new released version.

A major version of .NET MAUI will receive support for a minimum of 6 months after a successor (the next major release) ships. For example, .NET MAUI 6.0 will be supported for 6 months after .NET MAUI 7.0 ships. Similarly, .NET MAUI 7.0 will receive support for 6 months after .NET MAUI 8.0 ships.

Source: https://dotnet.microsoft.com/en-us/platform/support/policy/maui

Um, there must be some kind of misunderstanding. I'm interested if Xamarin.Forms.Nuke MAUI will be supported?

There will be a Maui.Nuke :)


redis and google-api-core version conflict

Describe the bug
When installing label-studio I get conflicting requirements versions for redis and google-api-core
To Reproduce
Just following the pip installation guide from the documentation

Create virtual environment
python3 -m venv ~/venv/label-studio-venv/
Activate it
source ~/venv/label-studio-venv/bin/activate
And install label studio using pip
pip install label-studio
I see the error:

ERROR: django-redis-cache 3.0.0 has requirement redis<4.0, but you'll have redis 4.1.0 which is incompatible.
ERROR: google-cloud-core 1.7.2 has requirement google-api-core<2.0.0dev,>=1.21.0, but you'll have google-api-core 2.4.0 which is incompatible.

When trying a compatible version of redis (version 3.3.11) for django-redis-cache 3.0.0, then I get the error:
ERROR: rq 1.10.0 has requirement redis>=3.5.0, but you'll have redis 3.3.11 which is incompatible.
ERROR: label-studio 1.4 has requirement redis>=3.5.0, but you'll have redis 3.3.11 which is incompatible.

Label-studio works with this error, but label-studio-ml-backend (following the steps in the github) doesn't.
When trying label-studio-ml init yolov5-backend --script ~/Projects/yolov5-backend/ I get the error: pkg_resources.ContextualVersionConflict: (redis 4.1.0 (~/venv/label-studio-venv/lib/python3.8/site-packages), Requirement.parse('redis<4.0'), {'django-redis-cache'})
Expected behavior
label-studio-ml-backend inits successfully
Environment (please complete the following information):

Ubuntu 20.04
Label Studio Version 1.4

Hi @ebayo
Could you please try ML backend from branch fix/HTX-2224-no-ls?

Hi @KonstantinKorotaev
Using the stated branch I'm able to start the ML backend

@ebayo If you problem is solved, please close this issue :slightly_smiling_face:


[Feature Request] Add .NET Standard Support

+1
Exception being thrown
"Method 'Plugin.Settings.Abstractions.ISettings.GetValueOrDefault' not found."

In 3.0


Error on dataframe count using arrow dataset

Describe the bug
When using a pyarrow.dataset as your source and performing a dataframe count operation you get an error.
To Reproduce
You can point the below snippet to any parquet file.
from datafusion import SessionContext
import pyarrow.dataset as ds

ctx = SessionContext()
file_path = "/some-path/datafusion-python/examples/tpch/data/lineitem.parquet"
pyarrow_dataset = ds.dataset([file_path])

ctx.register_dataset("pyarrow_dataset", pyarrow_dataset)
df = ctx.table("pyarrow_dataset").select("l_orderkey", "l_partkey", "l_linenumber")

df.limit(3).show()
df.count()

This generates the following output. The show is to demonstrate the file is read appropriately.
DataFrame()
+------------+-----------+--------------+
| l_orderkey | l_partkey | l_linenumber |
+------------+-----------+--------------+
| 1          | 155190    | 1            |
| 1          | 67310     | 2            |
| 1          | 63700     | 3            |
+------------+-----------+--------------+
Traceback (most recent call last):
  File "/Users/tsaucer/src/personal/arrow_rs_dataset_read/count_dataset_read.py", line 16, in <module>
    df.count()
  File "/Users/tsaucer/src/personal/datafusion-python/python/datafusion/dataframe.py", line 507, in count
    return self.df.count()
           ^^^^^^^^^^^^^^^
Exception: External error: Arrow error: External error: ArrowException: Invalid argument error: must either specify a row count or at least one column

Expected behavior
count() should return the number of rows in this dataset.
Work around is to aggregate and count
from datafusion import col, functions as f
df.aggregate([], [f.count(col("l_orderkey"))]).show()

Additional context
In my investigation, I found that we register arrow datasets by creating a TableProvider in src/dataset.rs and then the execution calls happen in src/dataset_exec.rs.

I cannot reproduce this in the datafusion repo because arrow-rs doesn't appear to have the concept of dataset in the same way as pyarrow that I can find.

I tracked down the error.
It occurs when attempting to convert the pyarrow result into an arrow-rs RecordBatch
https://github.com/apache/datafusion-python/blob/ae7470e99cad4650675ea361aebc64da78dd1f39/src/dataset_exec.rs#L61-L65
arrow-rs does have an option for creating "count" like RecordBatches but it requires an additional config in RecordBatchOptions: https://github.com/apache/arrow-rs/pull/1552
However, the from_pyarrow_bound method only uses the default options.
https://github.com/apache/arrow-rs/blob/b711f23a136e0b094a70a4aafb020d4bb9f60619/arrow/src/pyarrow.rs#L334-L392


Add myself to variant-plugin

Description

This is a request to become maintainer of the variant plugin, https://github.com/jenkinsci/variant-plugin/.
I would like to get permissions to be able to release it i the short term, and I'll happily review PRs if any comes in.
The main context of this request is to publish a release with a fix for running with PCT currently on master, but not in any release. This is a change we'd like to push out in the context of the ongoing Java 11 support effort.
Please @kohsuke @andresrc as current maintainers, and last releasers, can you review and possibly approve this?
Thanks!
Submitter checklist for changing permissions

Always

[x] Add link to plugin/component Git repository in description above

For a newly hosted plugin only

[ ] Add link to resolved HOSTING issue in description above

For a new permissions file only

[ ] Make sure the file is created in permissions/ directory
[ ] artifactId (pom.xml) is used for name (permissions YAML file).
[ ] groupId / artifactId (pom.xml) are correctly represented in path (permissions YAML file)
[ ] Check that the file is named plugin-${artifactId}.yml for plugins

When adding new uploaders (this includes newly created permissions files)

[x] Make sure to @mention an existing maintainer to confirm the permissions request, if applicable
[x] Use the Jenkins community (LDAP) account name in the YAML file, not the GitHub account name
[x] All newly added users have logged in to Artifactory at least once

Thanks Andres!


add freepik res

@Mazen-Embaby Thank you for your contribution.
Credit given here: https://devfree-resources.netlify.app/contributors


ocamlPackages.hacl-star-raw: fix build

Description of changes
Fixes build of hacl-star-raw and subsequently ligo

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] 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/)
23.05 Release Notes (or backporting 22.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

[x] Fits CONTRIBUTING.md.

For the x86_64-darwin failure, probably override stdenv with darwin.apple_sdk_11_0.stdenv?

For the x86_64-darwin failure, probably override stdenv with darwin.apple_sdk_11_0.stdenv?

That seems reasonable. In the bigger picture it might make sense to move all of nixpkgs to a newer apple sdk since the currently default one is quite old right?

That seems reasonable. In the bigger picture it might make sense to move all of nixpkgs to a newer apple sdk since the currently default one is quite old right?

I hope #101229 will be fixed for 23.11 or 24.05, but I'm not optimistic about it at all.


Add riemann package

I am submitting

[x] a new package
[ ] an update for a package

Description: A package to draw Riemann sums (and their plots) of a function with CeTZ.

I have read and followed the submission guidelines and, in particular, I

[x] selected a name that isn't the most obvious or canonical name for what the package does
[x] added a typst.toml file with all required keys
[x] added a README.md with documentation for my package
[x] have chosen a license and added a LICENSE file or linked one in my README.md
[x] tested my package locally on my system and it worked
[x] excluded PDFs or README images, if any, but not the LICENSE

selected a name that isn't the most obvious or canonical name for what the package does

🤔 imo this is quite descriptive for what it does
but I also can't think of sth more creative rn

yeah, the name would need to be changed to something more unique

What else would you suggest? riemann-plot maybe?

well that would be even worse ig

I mean, it plots Riemann sums. It's to the point 🤷

selected a name that isn't the most obvious or canonical name for what the package does

the name shouldn't describe what it does

Maybe rman then? Short and sweet

shortenings are also generally not ideal. the idea is that another person can submit a package which fulfills a similar purpose without any of the packages having an obvious naming advantage. The name should be something creative that hints at what the package does without describing it. You can browse the list at https://typst.app/docs/packages for inspiration.

Maybe riesketcher?

That would be okay.

@laurmaedje done :)

@laurmaedje @max397574 all done now :)

Thanks! Sorry for the delay.


ImportError: cannot import name 'GITLAB' from 'browser_env.env_config'

When the dataset is "visualwebarena", it seems that there is no GITLAB in env_config

reproduce: set the dataset as "visualwebarena" and run "bash prepare.sh"


implement dynamodb streams

Contains an implementation of the DynamoDB Streams API based on http://docs.aws.amazon.com/dynamodbstreams/latest/APIReference/API_Operations.html. There are integration tests included that run against local dynamodb.

Added! Thanks!

Good stuff, thank you!

Hey so, did you try actually running this against AWS? Because based on the testing I'm doing it's got signature errors.

This has been reverted as I couldn't easily make it work. I confess I'm a bit annoyed that this was submitted without ever having tested it against the actual AWS service. Merging it to master in that state is however my fault. Please include some tests that actually hit AWS like list_streams and when those pass we can try merging this again.

I sincerely apologize - I am upset with myself as well for this oversight. Thank you for your patience and the time you put into this project!


SPARKC-620 closed classloader workaround

During shutdown hive-exec (used in spark-sql) closes context class
loader that was used to load all the SCC classes.
This happens before shutdown hooks invocation. It results in errors
when an additional SCC/Java Driver/Netty class needs to be loaded
during shutdown hook execution.
Unfortunately the class loading errors cause our hook to hang forever
(we use the hook to close all the remaining Driver sessions and
session.close() invocation simply doesn't ever return).
Since there is no way to avoid class loader closing, we need to fix
things on our end.
This PR introduces a workaround for this problem. An attempt to load
a marker class is made just before the shutdown hook invocation. In
case of an error the process exits without calling close on the
remaining sessions.
The proper solution would require removing the hook completely.

As we discussed on slack, I think we should do the try catch in the shutdown hook itself rather than in the general class, then we can hopefully avoid the special case handling

I created this https://datastax-oss.atlassian.net/browse/SPARKC-622. The initial idea would require a contribution to Spark - a close method in CatalogPlugin interface.


[read-fonts] cmap4 iterator fix

The cmap4 subtable iterator would give up when encountering an out of bounds range offset. The equivalent HB code continues to the next character in this case so now we do the same.
Should fix #897

Added a test containing a subset of the failing sparse range from Gentium Basic. #903 contains just the test proving that it fails before the fix.


⚠ Bofrost.de has degraded performance

In 549edd2, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1495 ms

Resolved: Bofrost.de performance has improved in 298fcf9 after 6 minutes.


Roll engine 206cab6e7013..b4ed3039fac2 (9 commits)

https://github.com/flutter/engine/compare/206cab6e7013...b4ed3039fac2
git log 206cab6e701392fe0433f15a248516e94d4f8025..b4ed3039fac2454009dd9f54d7b8e5a92f606359 --no-merges --oneline
b4ed3039f Revert "RTL handling for ghost runs, NotoNaskhArabic test font (#8638)" (flutter/engine#8681)
8b5f77630 Remove support for downloading dynamic patches. (flutter/engine#8663)
1bcb96bf3 Add framework test in engine presubmit checks (flutter/engine#8664)
6e79dcd0c RTL handling for ghost runs, NotoNaskhArabic test font (flutter/engine#8638)
c37d45981 Roll src/third_party/skia 1c0b05afdef8..a76fad2d494a (4 commits) (flutter/engine#8665)
2e4f0a4a7 Put the testing lib in the flutter namespace. (flutter/engine#8661)
1239df96a Allow native bindings in secondary isolates. (flutter/engine#8658)
b0cbce417 Replace ThreadLocal with ThreadLocalUniquePtr<T> (flutter/engine#8659)
bd8c5b135 Only allow mappings for ICU initialization. (flutter/engine#8656)
The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
If the roll is causing failures, please contact the current sheriff (liyuqian@google.com), and stop
the roller if necessary.

Trybots failed. These were the failed builds: https://cirrus-ci.com/task/4686091704598528

Commit queue failed; closing this roll.


[network] Drop incoming self dials

Motivation
In my investigation of how to check that a node is up on its own, I found this fun nugget.  We're basically hoping that we accidentally don't dial ourselves which would crash the node.  That or, for some reason two nodes have the same peer id.
Commit Message
In the event of a self dial, send a disconnect and drop the connection, rather than crash the node with an assert.

/land


Fix code scanning alert - Pinned-Dependencies - soak.yaml

core is 7: third-party GitHubAction not pinned by hash
Remediation tip: update your workflow using [https://app.stepsecurity.io](https://app.stepsecurity.io/secureworkflow/defenseunicorns/pepr/soak.yaml/main?enable=pin)
Click Remediation section below for further remediation help

Tracking issue for:

[ ] https://github.com/defenseunicorns/pepr/security/code-scanning/108

addressed in PR


Be able to choose venue

Some kinda JS and localstorage thing that saves their preferred venue and stickies it into their navbar.
This functionality would include:

Choose initial venue (first run)
Change their venue
Give anonymous feedback for this venue (nice to have) - but form should also encourage them to engage their venue host directly

Yes sir they can now.


Implement dataset tests

Is your feature request related to a problem? Please describe.
Currently unit tests for datasets raise notimplemented errors.
Describe the solution you'd like
Modular test suite for dataset modules
Describe alternatives you've considered
N/A
Additional context
N/A

Test suite is no longer being developed as part of this project. Consider making a new project specifically for reusable ML tests.


increase OI caps from $10k to $1m

pending governance https://github.com/Synthetixio/SIPs/pull/1813

approved https://github.com/Synthetixio/SIPs/pull/1823


Added Book Reading Time Calculator

Fixes Issue🛠
Closes #465
Description👨💻

Type of change📄

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

How this has been tested✅

Checklist✅

[✅] My code follows the style guidelines of this project
[✅] I have performed a self-review of my own code
[✅] I have commented my code, particularly in hard-to-understand areas
[✅] I am an Open Source Contributor

Screenshots/GIF📷

Pls add your calculator section in main index.html file as well @hoozierdaddy17

Merged, Congrats on getting your PR merged to this repo under JWOC 🎉🎉 @hoozierdaddy17


chore(main): release ngx-intl 2.1.1

:robot: I have created a release beep boop
2.1.1 (2023-05-26)
Bug Fixes

update code documentation (f62e72f)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/haiilo/ngx-intl/releases/tag/ngx-intl-v2.1.1 :sunflower:


New Compatibility Problem of Stateful Random Binomial Operators

hi,
When tf is upgraded from 1.15 to 2.4.1, the implementation of the StatefulRandomBinomial operator is different in the two versions, and the verification rules for the input count and probs shape are changed. So what's the reason for this change? What are the differences between the two versions? In addition, the StatefulRandomBinomial operator is not found in API 1.15. Is this operator not supported in API 1.15?

Are there any relevant conclusions?

Hi feiyouliang,
Can you please clarify what you mean by "implementation is different"? Can you provide a piece of code to show the difference you were describing?

Hi @feiyouliang , the shape restrictions were relaxed by https://github.com/tensorflow/tensorflow/commit/5396e7a3cd91b5f7895fa3dbe9809400e032d68a to allow broadcasting.

@JW1992 The tf2.4.1 version is incompatible with tf1.5.1. For example, the input parameter shape is [3] and the value is [2, 2, 3], and the input parameter count is [1] and the value is [2]. The shape of the input parameter probs is [1] and the value is [0.5]. This example can work in version 1.15, but does not meet the verification requirements of version 2.4.1.

Hi @JW1992 , you are right that the semantics changed from broadcasting counts and probs from the leftmost dimension of shape to the rightmost. But we don't guarantee backward compatibility between TF1 and TF2.
BTW your example happen to work in both TF1 and TF2 because the leftmost and the rightmost dimension of shape [3] are the same thing.


[Doc Improvemet][Update learn module link publish to Teams store][2718874]

Added the learn module link Publish Teams apps in Microsoft Teams store to the hub page, landing page, plan your app article, and publish to team overview article.

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/concepts/deploy-and-publish/appsource/publish.md
92
13
link
:white_check_mark:

msteams-platform/concepts/design/understand-use-cases.md
96
3
link
:white_check_mark:

msteams-platform/index.yml
94
1
link
:white_check_mark:

msteams-platform/mstdd-landing.yml
100
0
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Learn Build status updates of commit 26bc424:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/concepts/deploy-and-publish/appsource/publish.md
:white_check_mark:Succeeded
View

msteams-platform/concepts/design/understand-use-cases.md
:white_check_mark:Succeeded
View

msteams-platform/index.yml
:white_check_mark:Succeeded
View

msteams-platform/mstdd-landing.yml
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/concepts/deploy-and-publish/appsource/publish.md
92
13
link
:white_check_mark:

msteams-platform/concepts/design/understand-use-cases.md
96
3
link
:white_check_mark:

msteams-platform/index.yml
94
1
link
:white_check_mark:

msteams-platform/mstdd-landing.yml
100
0
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Learn Build status updates of commit aa7d5d8:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/concepts/deploy-and-publish/appsource/publish.md
:white_check_mark:Succeeded
View

msteams-platform/concepts/design/understand-use-cases.md
:white_check_mark:Succeeded
View

msteams-platform/index.yml
:white_check_mark:Succeeded
View

msteams-platform/mstdd-landing.yml
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel


Updated ActionLoop Python Runtimes

using changes to the goproxy to support  better error handling and better detection termination
an actionloop based runtime for python2.7, python3.7 and python3.6 with AI (tensorflow)

actually the various launcher and compiler have small differences so ... there is not really a repetition


Book ID's shown as 0-based, code simplification.

Now the Book ID's are shown as a number going from 0 to XX, to make it simpler to read.
Simplified the code by removing redundant if statements :)
Good project! Love this!

Tx


Another very minor issue with the new C# list syntax

Hey again, just found another very minor issue.
host.AddSection(
    name: "Kontakt Libraries (Third Party)",
    tags: Tags.SamplesUsed,
    tasks:
    [
        // TODO: Add any used third party instruments below as you discover them.
    ]
);

Is being formatted to:
host.AddSection(
    name: "Kontakt Libraries (Third Party)",
    tags: Tags.SamplesUsed,
    tasks:
    [
    // TODO: Add any used third party instruments below as you discover them.
    ]
);

I think that any code (comments included) inside the square brackets should be indented. What do you think?
Cheers
Fotis

Thank you so much for your help! 😊


Bulk Insert/Update API

Hi!
I'm trying to setup a syslog message forwarding with Xapiand as a target. Syslog server implementation (rsyslog) performs message batching by default, so I'm wondering if there is an option for bulk insert/update of data via Xapiand's API. And if there is not, are there any blockers that would prevent such a functionality in Xapiand (I'm not familiar with libxapian internals).
Thanks a lot.

Yes, there is, you can use :restore, here is an example: https://kronuz.io/Xapiand/docs/exploring/#loading-the-sample-dataset

Thank you for the answer.
I've tried the examples you've linked but I'm getting some strange behaviour of restore functionality.
When I try to restore sample dataset (accounts.ndjson) as shown in example, the response code is 200 OK but actual resonse body shows 0 indexed documents (see below).
 curl -v -H 'Expect:'  -X POST -H 'Content-Type: application/x-ndjson'<EMAIL_ADDRESS>'http://localhost:8880/bank/:restore?pretty'
Note: Unnecessary use of -X or --request, POST is already inferred.
*   Trying ::1...
* TCP_NODELAY set
* Connected to localhost (::1) port 8880 (#0)
> POST /bank/:restore?pretty HTTP/1.1
> Host: localhost:8880
> User-Agent: curl/7.58.0
> Accept: */*
> Content-Type: application/x-ndjson
> Content-Length: 1314686
>
* We are completely uploaded and fine
< HTTP/1.1 200 OK
< Server: Xapiand v0.14.0_20190312201201 (2427bdf)
< Database: xapian://<IP_ADDRESS>:9880/bank
< Response-Time: 0.052745
< Operation-Time: 3e-6
< Content-Type: application/json; charset=utf-8
< Content-Length: 85
<
{
  "processed": 0,
  "indexed": 0,
  "total": 0,
  "items": [],
  "took": "3.0µs"
* Connection #0 to host localhost left intact

When I try to query index metadata I get 404 as no documents were actually inserted.
curl -v -X GET 'http://localhost:8880/bank/:info?pretty'
Note: Unnecessary use of -X or --request, GET is already inferred.
*   Trying ::1...
* TCP_NODELAY set
* Connected to localhost (::1) port 8880 (#0)
> GET /bank/:info?pretty HTTP/1.1
> Host: localhost:8880
> User-Agent: curl/7.58.0
> Accept: */*
>
< HTTP/1.1 404 Not Found
< Server: Xapiand v0.14.0_20190312201201 (2427bdf)
< Database: xapian://<IP_ADDRESS>:9880/bank
< Response-Time: 0.001223
< Content-Type: application/json; charset=utf-8
< Content-Length: 57
<
{
  "#status": 404,
  "#message": [
    "Not Found"
  ]
* Connection #0 to host localhost left intact

When I try to restore reduced dataset, the cause becomes more apparent:
accounts-short.ndjson:
{"accountNumber": 121931, "balance": 221.46}
{"accountNumber": 148040, "balance": 1494.65}

same HTTP response from server:
curl -v -H 'Expect:'  -X POST -H 'Content-Type: application/x-ndjson'<EMAIL_ADDRESS>'http://localhost:8880/bank/:restore?pretty'
Note: Unnecessary use of -X or --request, POST is already inferred.
*   Trying ::1...
* TCP_NODELAY set
* Connected to localhost (::1) port 8880 (#0)
> POST /bank/:restore?pretty HTTP/1.1
> Host: localhost:8880
> User-Agent: curl/7.58.0
> Accept: */*
> Content-Type: application/x-ndjson
> Content-Length: 89
>
* upload completely sent off: 89 out of 89 bytes
< HTTP/1.1 200 OK
< Server: Xapiand v0.14.0_20190312201201 (2427bdf)
< Database: xapian://<IP_ADDRESS>:9880/bank
< Response-Time: 0.000492
< Operation-Time: 4e-6
< Content-Type: application/json; charset=utf-8
< Content-Length: 85
<
{
  "processed": 0,
  "indexed": 0,
  "total": 0,
  "items": [],
  "took": "4.0µs"

In xapiand output I see following error:
▊20190319150426 Cannot load object: ../src/database_utils.cc:165 at json_load: JSON parse error at line 1, col: 45 : The document root must not be followed by other values.
1. {"accountNumber": 121931, "balance": 221.46}{"accountNumber": 148040, "balance": 1494.65}
                                               ^

So there seems to be some issue with JSON payload splitting but I was unable to find the exact cause. Also, the fact that failed import (restore) is not propagated to the client is problematic for my use case.
I'm using docker image of Xapiand 0.14.0 but I've observed same problem with non-dockerized 0.10.0 version.
Any ideas?

You should be using --data-binary, as ndjson requires receiving line breaks:
curl -v -X POST -H 'Content-Type: application/x-ndjson' --data-binary @/tmp/accounts.ndjson 'http://localhost:8880/bank/:restore?pretty'

Also, note I’ll be releasing v0.15.0 with breaking changes in the schema and quite a few optimizations very soon

That did the trick! Thank you.

Also, note I’ll be releasing v0.15.0 with breaking changes in the schema and quite a few optimizations very soon

Yes, I'm aware of potential breaking changes. I'm attempting to use Xapiand for some non-essential data (as an alternative to elastic) at the moment. So far, it looks very promising.


[HOLD for payment 2024-03-26] HIGH: Fix Update received was older than or the same as current state

@danieldoglas said here he understands why it's happening and can fix it.

Closing this for now.


[Storage] Enable playback in PR validations - feature/storage - storage-queue

@jeremymeng The failed builds should get fixed with the Symbol.asyniterator polyfills, right ?

yea, I am merging the polyfill for tests now to get the build green. We can revert it after taking dependency on the not-yet-created core-asyncitertor-polyfill package.

Done!


fixed-Responsiveness

The website has been made responsive using media queries...

looks good to me
Thanks for the contribution.