[Docs] Fragment masses are present

The parameter was removed here:
https://github.com/lazear/sage/commit/d1280a73152bf74e22d1c5a9dec3ec8231bd5074
But the documentation still shows it as existing:

https://sage-docs.vercel.app/docs/configuration
https://github.com/lazear/sage/blob/master/DOCS.md
... benchmark configs ... where you might want to leave it ... or not...

LMK if you want PR for the cleanup (I have no idea where the source for the vercel site is ...)

A PR would be great - docs are here: https://github.com/lazear/sage-docs


add uchiwa user to sensu group

ensure that the uchiwa user is a member of the sensu group.  This
is done upon new installation of the uchiwa package, but in the case
of an upgrade, if the uchiwa user already exists it will not be
modified.

it worked for me, but I could not make it needed


FLIR

Finish the FILR interface through the Spinnaker SDK.

I am currently working on controlling FLIR cameras with PySpin. Most of the required functions in the parent camera class for Fourier/wavefront calibration are implemented. However, to access the node map of PySpin,  I need to call an init() function after creating a FLIR object. And there seems to be a conflict if I call the init() function in the init part of the FLIR class.
For example, I will need to do
cam = FLIR(serial="00000000", verbose=True)
cam.init()

to initialize the camera.
I am working on this issue now.

Hi @Lufter,
Thanks much for tackling this!
I'm not precisely sure why there is an init() conflict. The PySpin camera handle should probably be a class attribute of the slmsuite wrapper (e.g. called .cam like some of the other wrappers), and then the PySpin .cam.Init() method should probably be called in the wrapper .__init__().
If you want another pair of eyes on this, you can make a branch for FILR either on the main repo or on a fork of the main repo. You will need a branch to create a pull request anyway (to integrate the code into the main repo).
Best,
Ian


Where is it saving the data?

Is it using a database like mysql etc?

No, it's only saving it locally. Keep in mind that this project is not actively maintained, but is only an example implementation of klarna/electron-redux


Can I use the health icon thing in me and my friends engine

What is your question?
I have to put something here

Is this a division pf psych or an entirely new engine?

new engine


pull request for e2e test at 01/24/2017 16:45:08

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Add Conditional Feature Removal (Tabular)

Next to interventional approaches also observational explanations should be created with shapiq. For this conditional modelling and sampling of and from the tabular data distributions is required. This arfpy package should do the job.
Tasks

[ ] Implement Conditional Feature Removal (imputer) for tabular data: Potenitally with arfpy.
[ ] Make this technique available for the tabular explainer
[ ] Create tests for the conditional imputer and explainer variants
[ ] Add documentation to the imputer with the correct links and citations
[ ] Add Jupyter notebook example that are visible in the documentation (visibility can be handled independently in #38)

look at https://link.springer.com/article/10.1007/s10618-024-01016-z


CI: try to fix docs building

Description

Motivation and Context

How Has This Been Tested?

Codecov Report

Merging #682 into master will increase coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #682      +/-   ##
==========================================
+ Coverage   84.05%   84.05%   +<.01%
==========================================
  Files          19       20       +1
  Lines        4428     4429       +1
==========================================
+ Hits         3722     3723       +1
  Misses        706      706

Impacted Files
Coverage Δ

bluesky/tests/utils.py

bluesky/callbacks/__init__.py
100% <0%> (ø)

bluesky/utils.py
75.67% <0%> (ø)

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 1623641...be6e603. Read the comment docs.

Self-merging to un-break all the other PRs.


Check that documentation app is created before trying to add global functions to it

At present, server.js adds utility functions to both the main prototype and documentation apps. Adding the utility function to the documentation app is done without first checking to see if the documentation app is enabled via the config.js var.
If the documentation app is disabled (false in config), the app will crash when started. The following code should probably be wrapped in an IF.
Server.js: 137
utils.addCheckedFunction(nunjucksDocumentationEnv)

This seems to already we wrapped in a check https://github.com/alphagov/govuk-prototype-kit/blob/master/server.js#L221 and the app no longer crashes if documentation app is disabled.

Yeh looks like we fixed it since it was reported :)


IAM-based Authentication for Kubernetes API

The Problem
We have a team of engineers responsible for maintaining our infrastructure, and these engineers will need access to our Kubernetes clusters. Right now I've been the only one accessing it, and if anyone else ever needs to access the cluster we either need to share the client certificates or generate new ones. As we scale the team, this approach isn't going to work.
In a dream world, Kubernetes would able to authenticate users using the same roles that we've defined in IAM. That would make it much easier for us to access and control who can see and modify our clusters.
It would also make it dead simple to integrate CI/CD with the cluster, without having to muck about with x509 certs.
Authentication modes in Kubernetes
Kubernetes supports a number of different authentication modes, documented here: http://kubernetes.io/docs/admin/authentication/
X509 Client Certs
Correct me if I'm wrong, but I think this is how it works right now. The API server verifies that the client's cert is signed by the same CA that generated the server's.
Static Token File
The server keeps a list of API tokens in a static file. When the client authenticates, it supplies a bearer token and the server matches it to the list of known tokens.
Static Password File
The server keeps a list of users in the format password,user,uid. When the client authenticates, it provides this information in the header and the server matches it to the list of username/password combos it know sabout.
Service Account Tokens
I still don't fully understand the function or mechanics of server accounts, but my understanding is these are primarily for headless users, not actual users. Service accounts can be created to generate bearer tokens and associate those tokens with the identity of the service account. Presumably, clients could just use those tokens for authentication.
OpenID Connect Tokens
This allows Kubernetes to authenticate users against an OAuth-like identity provider.
Webhook Token Authentication
Like static token file, but the server authenticates bearer tokens against a server over a webhook rather than a local file.
Keystone
I don't claim to know anything about this
The Proposal
Use webhooks to authenticate users against IAM. When the client connects, it should supply a bearer token of the form USERNAME:AWS_ACCESS_KEY_ID:AWS_SECRET_KEY. The API server will be configured to forward this request to a service running inside a container on the master node, which will call out to IAM. This request will look like this:
{
  "apiVersion": "authentication.k8s.io/v1beta1",
  "kind": "TokenReview",
  "spec": {
    "token": "USERNAME:AWS_ACCESS_KEY_ID:AWS_SECRET_KEY"
  }
}

The proxy service will run the equivalent of:
AWS_ACCESS_KEY_ID=AWS_ACCESS_KEY_ID AWS_SECRET_KEY=AWS_SECRET_KEY \
aws iam get-user USERNAME

And will return the following response for authentic users:
{
  "apiVersion": "authentication.k8s.io/v1beta1",
  "kind": "TokenReview",
  "status": {
    "authenticated": true,
    "user": {
      "username": "USERNAME",
      "uid": "42",
      "groups": [
        "developers",
        "qa"
      ],
      "extra": {
        "extrafield1": [
          "extravalue1",
          "extravalue2"
        ]
      }
    }
  }
}

We should also provide the option for the cluster administrator to override the default IAM proxy, so they can call out to their own identity providers if need be. Finally, Tack should bootstrap a superadmin IAM user at launch time.

@hughyoh @moore

Hi,
its look nice.
I was thinking to use OpenID Connect with dex and freeipa in my enviroment, what you think about?
cc: @guiocavalcanti

@yagonobre I think that looks interesting as well. I like that dex is capable of using one of their pluggable connectors. For example, we could benefit from tying in to our LDAP system.
The downside is that there isn't a great way of hooking in to IAM, as far as I know, but maybe that shouldn't be considered a hard requirement.
I could see a scenario where Tack ships with dex, backed by a "local" connector by default, with the option to override that to point to any of the supported authentication providers.
What are your thoughts? I'd like to hear opinions from others as well.

I plan to use RBAC for IAM. But the webhook aprouch looks interesting. Maybe we can do 2 webhooks, one for authentication and another for authorization. I can help you, what you think we write it in go?
For reference: https://www.youtube.com/watch?v=i75ysFcvCkk&list=PLlh6TqkU8kg_3FpXLlHMnoVqKZysIzXlK&index=32

@yagonobre Thanks for sharing that video. Very informative. I'm growing more convinced that Dex seems like a good approach. Could you share a bit more about what your plans are RE: dex and freeipa?

I'm plaining to use freeipa as ldap provide, and bind groups in freeipa with my clusters.


Unmarshal modifies input data

When input data contains strings with escaped characters (e.g. "/"), input byte array passed to gojay.Unmarshal is altered.
A sample code is given below
package main

import (
	"log"

	"github.com/francoispqt/gojay"
)

func main() {
	data := []byte(`"msn.com\/fr-fr"`)
	var s string
	if err := gojay.Unmarshal(data, &s); err != nil {
		log.Println(err)
	}
	log.Printf("buffer is: %s\n", string(data))
}

This outputs "msn.com/fr-fr"", while original buffer is "msn.com\/fr-fr".
This is a problem because we need to use the original buffer as is to do other processing.

I've encountered this problem, too. Input that contains escape characters is unescaped, and a quote is added to the end of the buffer for each escape character present in the input:
package main

import (
	"log"

	"github.com/francoispqt/gojay"
)

func main() {
	data := []byte(`"\/foo\/bar"`)
	var s string
	if err := gojay.Unmarshal(data, &s); err != nil {
		log.Println(err)
	}
	log.Printf("buffer is: %s\n", string(data))
}

Output:
→ go run main.go
2020/04/02 08:07:57 buffer is: "/foo/bar"""


[BUG]: [UAT | Accused submits the application, but in owners tab, name of the complainant is shown.]

Describe the bug
Accused submits the application, but in owners tab, name of the complainant is shown.
To Reproduce
Steps to reproduce the behavior:

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

Expected behavior
Accused submits the application, but in owners tab, name of the accused should be shown.
Screenshots
https://jam.dev/c/7e425d0c-e3c1-4e5f-bbf8-bc0a42d25946

Hi @vaibhavct, no advocate is joined to this case, but party name is displaying as N.A and moreover, party type and date added fields contain values.

@iknoorkaur The issue which you've mentioned in the comments is not related to Owner column for submissions. Can you create a new github ticket for the same and assign respective dev to it?

Tested in UAT Env, working as expected

cc: @Ramu-kandimalla @rajeshcherukumalli


Typescript server does not use DOM types

Issue Type: Bug
Typescript server does not use DOM types, even while tsconfig.json is set to use DOM library and even while it compiles* fine.

Create React + Typescript app (with DOM)
Try to use base DOM types like Element, anything from @types/react.
It compiles* (providing there is "lib" ["dom"]  in tsconfig.json), however, VS Code Typescript server does not want to use DOM types.

Typescript version: 4.3.5
React version<EMAIL_ADDRESS>/<EMAIL_ADDRESS>(I don't think I can update major versions, breaking changes to current project). Also, I don't think its react issue since it compiles* well...
VS Code version: Code 1.58.1 (2aeda6b18e13c4f4f9edf6667158a6b8d408874b, 2021-07-13T06:58:28.115Z)
OS version: Windows_NT x64 10.0.19043
Restricted Mode: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz (12 x 2208)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledskia_renderer: enabled_onvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
15.85GB (4.91GB free)

Process Argv
--crash-reporter-id 5ed677a1-ca62-442b-ab0a-0140314bf2c5

Screen Reader
no

VM
0%

Extensions: none
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
pythonvspyt602:30300191
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492cf:30256860
pythonvspyt639:30300192
pythontb:30283811
pythonvspyt551cf:30311713
vspre833:30321513
pythonptprofiler:30281270
vsdfh931:30280409
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
vscus158:30321503
pythonvsuse255:30335481
vscod805cf:30301675
pythonvspyt200:30331937
vscextlangct:30333562
binariesv615:30325510
vsccppwtct:30329789
bridge0708:30335490

Screenshot:

* - at the screen I have other issues within the file, but it compiles after I choose to fix those. Yet, the VS Code Typescript server still does not see valid DOM types...

I think the issue was there before, I just updated before posting issue just to check maybe new release fix it.

What exact problem is? Because it looks like lib.dom.d.ts is included (even if from built-in TS version) so "Typescript server does not use DOM types" doesn't look true

Do you have typescript package properly installed in workspace?
Do you have workspace configuration to use local TS version instead of built-in? See https://code.visualstudio.com/docs/typescript/typescript-compiling#_using-the-workspace-version-of-typescript

What exact problem is?

It finds and list it (as on your clip from the screenshot), but it does not use them.

Do you have typescript package properly installed in workspace?

I guess so? It compiles fine usually. Anything I should maybe check?

Do you have workspace configuration to use local TS version instead of built-in?

I tried using local TypeScript version 4.3.5. Before VS Code update it was running the VS Code 4.3.4 (default), after VS Code update it was 4.3.5 - nothing changes.

What is exact error because it's not showed anywhere? It will only be listed if used
If variable has bare Element type - value doesn't exist on it.

The error, and the variable source:

Actually, its also refuses to compile :/
My bad with assumption that no warning/error listed means it compile.


Investigate what "attributes" to show on Component Tree

Hey @sumitarora  do you think I might be able to take this story from you? I would absolutely love to work on this feature & figure out how we can add some directives & additional info to our tree view. But if you are already working on it I'll leave you alone .. just let me know :) thank you


update to master

Just a heads up, I get inStream errors like this when I try to test:
/src/test_art.zig:88:22: error: no member named 'inStream' in struct 'std.fs.file.File'
    const stream = &f.inStream();

Thanks for the heads up @mattnite. :+1: :zap:

Thanks for the heads up @mattnite. :+1: :zap:


Update publications

This PR updates the overview of all Unipept publications, as well as the publications in the footer of the respective parts.

@bmesuere I've now also updated the list of publications on the about page.


Why showing this error?

Where the problem you faced?

Brother problem solved.

how to solve you need to describe, not only for you for other users.... Use only Api list Method in READ.md file .

Where the problem you faced?

that was solved brother, i have mistaken to understand one method how to use. but later i got that.thank you.

Test Issue

Comment from Ostad Class


Support for Azure function

I'm trying to get this working with Azure functions.
Here's my startup class
 public class Startup : FunctionsStartup
    {
        // https://docs.microsoft.com/en-us/azure/azure-functions/manage-connections
        private static readonly Proxy CloudSqlProxy = Proxy.GetInstance();

        [HandleProcessCorruptedStateExceptions]
        public override void Configure(IFunctionsHostBuilder builder)
        {
           ...
            logger.Information("Configuring services");

            try
            {
                ...

                StartCloudSqlProxy(config, logger);

                logger.Information("Services configured");
            }
            catch (Exception e)
            {
                logger.Error(e, "Failed to configure services");
            }
            finally
            {
                logger.Information("Done configuring services");
            }

        private static void StartCloudSqlProxy(IConfiguration configuration, Logger logger)
        {
            var cloudSqlProxyEnabled = configuration.GetValue<bool>("CloudSqlProxyEnabled");
            if (!cloudSqlProxyEnabled)
            {
                logger.Information("Cloud SQL proxy disabled");
                return;
            }

            var creds = configuration.GetValue<string>("CloudSqlProxyCreds");
            var instance = configuration.GetValue<string>("CloudSqlProxyInstance");

            logger.Information("Starting cloud SQL proxy instance {instance}", instance);

            try
            {
                CloudSqlProxy.StartProxy(AuthenticationMethod.JSON, instance, creds);
            }
            catch (Exception e)
            {
                logger.Error(e, "Error starting cloud SQL proxy");
            }
        }
        }

On a local machine, the proxy behaves as intended.
When CloudSQL proxy is disabled the functions work as intended.
When it is enabled, on the other hand, logs only show the Configuring services message and the function returns 502 Bad Gateway. No exception is logged.
Apparently, the host cannot start properly as indicated by the Azure log stream
Unable to fetch the host status of your function app. To use log streaming, please make sure your function host is running.

I suspected that the DLL was missing in the deployment package so I explicitly added a win-x64 DLL to the project. This didn't fix anything.
To validate this assumption, I added startup logging and annotated the method with the HandleProcessCorruptedStateExceptions attribute that should allow exception handling of unmanaged exceptions but the behavior was the same - the exception was not handled.
What's more, inspecting Kudu Console shows that the site/wwwroot contains .so files and site/wwwroot/bin contains both x86 and x64 .dll files.
Is this setup even possible in practice? Perhaps I'm wasting my time and should just create a dedicated VM to spin up the proxy. Any input would be appreciated.

Hi @pavisalavisa,
Thanks for giving the package a go! Sorry you are having troubles with it.
We have not tested this on Azure Functions yet. But we have used cloudsql-proxy in a .NET WebAPI. The context in which we used it was with a using block where needed, not at app startup. We connect to the proxy, then create an connection to the db inside our function.
I have not tried using it via dependency injection/ instance at start up yet in a web based project. Our implementation was contextual.

Thanks for a quick answer.
Out of curiosity, have you seen a performance penalty when starting a new connection on every DB call?

I imagine there would be. For our use case it hasn't been a problem. The Proxy also won't create a new connection to the same instance if there is one already present. So if your volume is high enough, you shouldn't have much overhead.
Have you tried the dependency injection approach? Maybe write your own proxy service class to wrap the proxy calls? It would allow clean up via dispose as well.
https://docs.microsoft.com/en-us/azure/azure-functions/functions-dotnet-dependency-injection

I experimented with the approach you suggested and created a new proxy per DB call.
using (StartCloudSqlProxy(_configuration, _logger))
{
    await using var postgres = new NpgsqlConnection(connString);
    // do something with DB connection
}
...

private static Proxy StartCloudSqlProxy(IConfiguration configuration, ILogger logger)
        {
            var proxyInstance = Proxy.GetInstance();

            var cloudSqlProxyEnabled = configuration.GetValue<bool>("CloudSqlProxyEnabled");
            if (!cloudSqlProxyEnabled)
            {
                logger.Information("Cloud SQL proxy disabled");
                return proxyInstance;
            }

            var creds = configuration.GetValue<string>("CloudSqlProxyCreds");
            var instance = configuration.GetValue<string>("CloudSqlProxyInstance");

            logger.Information("Starting cloud SQL proxy instance {instance}", instance);

            try
            {
                proxyInstance.StartProxy(AuthenticationMethod.JSON, instance, creds);

                return proxyInstance;
            }
            catch (Exception e)
            {
                logger.Error(e, "Error starting cloud SQL proxy");
                throw;
            }
        }

This didn't make any difference. The function host would crash when the proxy gets started.
Sporadically, the following message would appear in the log file (I assume logger woulnd't get a chance to flush so I couldn't get the message reliably)
========================================================
 Dump Analysis for w3wp__func__PID__3920__Date__06_28_2022__Time_06_53_43AM__497__Second_Chance_Exception_E0434352.dmp
========================================================
Thread 7036
ExitCode E0434352
ExitCodeString CLR EXCEPTION
DefaultHostName func-***.azurewebsites.net
Managed Exception = System.BadImageFormatException:An attempt was made to load a program with an incorrect format. (0x8007000B)
CallStack - Managed Exception
========================================================
     System.Runtime.Loader.AssemblyLoadContext.InternalLoadUnmanagedDllFromPath(System.String)
     System.Runtime.Loader.AssemblyLoadContext.LoadUnmanagedDllFromPath(System.String)
     Microsoft.Azure.WebJobs.Script.Description.FunctionAssemblyLoadContext.LoadUnmanagedDll(System.String)
     System.Runtime.Loader.AssemblyLoadContext.ResolveUnmanagedDll(System.String, IntPtr)
     cloudsql_proxy_cs.StaticProxy.StartProxyWithCredentialJsonx64(Byte[], Byte[], StatusCallback)
     cloudsql_proxy_cs.Proxy.StartProxyWithCredentialJson(System.String, System.String, System.String)
     cloudsql_proxy_cs.Proxy.RunJob(System.Object)
     System.Threading.ThreadHelper.ThreadStart_Context(System.Object)
     System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
     System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
     System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
     System.Threading.ThreadHelper.ThreadStart(System.Object)
CallStack - Crashing Thread
========================================================
     HelperMethodFrame
     System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
     System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
     System.Threading.ThreadHelper.ThreadStart(System.Object)
     GCFrame
     DebuggerU2MCatchHandlerFrame

 Native Call Stack
========================================================
KERNELBASE!RaiseException
coreclr!RaiseTheExceptionInternalOnly
coreclr!IL_Throw
System_Private_CoreLib
System_Private_CoreLib
coreclr!CallDescrWorkerInternal
coreclr!MethodDescCallSite::CallTargetWorker
coreclr!ThreadNative::KickOffThread_Worker
coreclr!ManagedThreadBase_DispatchMiddle
coreclr!ManagedThreadBase_DispatchOuter
coreclr!ThreadNative::KickOffThread
coreclr!Thread::intermediateThreadProc
kernel32!BaseThreadInitThunk
ntdll!__RtlUserThreadStart
ntdll!_RtlUserThreadStart

Some people mentioned that this happens when the incorrect version of the DLL is loaded (e.g. wrong bitness or wrong platform). I tried changing the bitness of my Azure function but the behavior did not change.

It's running on Windows. I tried building the application targeting different runtimes, yet again, without any luck.
I'm using a class library setup.

Is the windows platform for azure functions ARM based or x64? What version of .NET are you using?

It's not ARM-based and from what I can tell it's 32bit by default. .NET Core 3.1.

Possibly try running the function as an isolated process?

Unfortunately, that's not an option because I'm using Durable Functions and there's no support for Isolated Process until .NET 7.

I can't see why it isn't working.
Here is a similar issue without a resolution:
https://github.com/Azure/Azure-Functions/issues/1630
Maybe raise an issue in the AzureFunctions github?

Thank you for your support. 🙏
I will do as you suggested to see if they can help us.
If that fails I'll probably spin up a separate VM to act as a proxy.


xmake lua helper scripts

Added a couple xmake tasks to streamline the mod authoring process. See the readme for usage.
Differences from the old bat scripts are

Semantic version checking instead of sorting the git tags alphabetically
Idempotent behavior when running the newmod command with the same parameters
Added a /Mods/ directory to remove the need to append includes("NewMod") whenever someone makes a new mod. This makes the gitignore situation simpler and allows for mod removal to just require deleting the /Mods/NewMod/ dir instead of having to manually remove includes("NewMod") from xmake.lua
New ue4ss management command to allow modders to more easily swap between release tags/branches
Cross platform compatibility

Need to delete the existing bats

Need to edit this docs page https://docs.ue4ss.com/dev/guides/installing-a-c++-mod.html#automation

set_toolchains only really works at the top level xmake.lua. In the case of a mod, the package doesn't use the compiler configured by set_toolchains.
Not sure if any other configurations are affected by it.


struct_test.aly fails

error: [struct_test.aly:9:9] Expected semi-colon at the end of expression, found .x

Weird, have we changed the way it's parsed these things? Perhaps you forgot to consume a token somewhere so it's a step behind?

Ok, I've had a look and so far I don't really have any clues on why it's not working.

Hmmm, this specific error is actually fixed. Making a new issue for the new error.


Empty space under tabulation

Current behaviour
Empty space under tabulation

Expected behavior
Appearing header

Code sample
https://snack.expo.io/@satya164/collapsible-header-with-tabview

Screenshots (if applicable)

I tried to make my own view based on example.
And after changing tab it looks like this:

And after scrolling even for a pixel header appears again:

My code:
https://pastebin.com/rYwwMtzG

Created snack on expo with cutted logic from app to show behavior
https://snack.expo.io/ryxqr7HYX
To reproduce: scroll page down, then change tab

same problem

Hey, I just released a new alpha 2.0.0-alpha.0 of the library. It's rewritten using react-native-gesture-handler and react-native-reanimated addresses a many platform specific bugs and performance problems. The documentation is updated as well.
Please try the new version and see if it addresses your issue. If not, please open a new issue following the issue template.


python37Packages.zeroconf: 0.26.0 -> 0.26.1

Semi-automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/python3.7-zeroconf/versions.
meta.description for python37Packages.zeroconf is: "A pure python implementation of multicast DNS service discovery"
meta.homepage for python37Packages.zeroconf is: "https://github.com/jstasiak/python-zeroconf"
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

Warning: a test defined in passthru.tests did not pass

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

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

found 0.26.1 with grep in /nix/store/iv1jswlp34h3alsb61n0wn0jq6i5f7lc-python3.7-zeroconf-0.26.1

directory tree listing: https://gist.github.com/c176b1ba1264bfc3dcee6bab6be916ec

du listing: https://gist.github.com/8b4da5ce12eb94504b76c0b21e51d19c

Rebuild report (if merged into master) (click to expand)

73 total rebuild path(s)

19 package rebuild(s)

19 x86_64-linux rebuild(s)
19 i686-linux rebuild(s)
16 x86_64-darwin rebuild(s)
19 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
catt
cura
curaLulzbot
gnomecast
home-assistant
home-assistant-cli
python37Packages.HAP-python
python37Packages.PyChromecast
python37Packages.aioesphomeapi
python37Packages.netdisco
python37Packages.pyatv
python37Packages.python-miio
python37Packages.zeroconf
python38Packages.HAP-python
python38Packages.PyChromecast
python38Packages.aioesphomeapi
python38Packages.netdisco
python38Packages.python-miio
python38Packages.zeroconf

Instructions to test this update (click to expand)

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

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python37Packages.zeroconf https://github.com/r-ryantm/nixpkgs/archive/601f963affba339d631ac73f2e1eb543d6ee4044.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/iv1jswlp34h3alsb61n0wn0jq6i5f7lc-python3.7-zeroconf-0.26.1
ls -la /nix/store/iv1jswlp34h3alsb61n0wn0jq6i5f7lc-python3.7-zeroconf-0.26.1/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review 1

1 package marked as broken and skipped:
- python38Packages.hass-nabucasa

1 package failed to build:
- python37Packages.pyatv

16 packages built:
- catt
- cura
- curaLulzbot
- gnomecast
- home-assistant
- home-assistant-cli
- python37Packages.HAP-python
- python37Packages.PyChromecast
- python37Packages.netdisco
- python37Packages.python-miio
- python37Packages.zeroconf
- python38Packages.HAP-python
- python38Packages.PyChromecast
- python38Packages.netdisco
- python38Packages.python-miio
- python38Packages.zeroconf

Maintainer pings
cc @abbradar for testing.

fix for pyatv https://github.com/NixOS/nixpkgs/pull/89041


Fixed function go-errcheck to strip prefix from absolute path

It seems as errcheck does not (no longer?) support absolute paths for the directory to be checked, but the current version of this package does still send such.
This fix solves that by stripping recognized path prefices from both GOROOT and GOPATH from the absolute path and call errcheck only with the suffix.
This also makes it run on windows now.

Upstream sort of budged, and importing "." works, so the fix got a lot simpler: 75e0b95


Enable cycle reporting when scalac isn't invoked

Hi @ephemerist,
Thank you for your contribution! We really value the time you've taken to put this together.
Before we proceed with reviewing this pull request, please sign the Lightbend Contributors License Agreement:
https://www.lightbend.com/contribute/cla

To validate this pull request against other sbt modules, please visit this link.


Add support for GrB_select

@eriknw: We have talked about potential notation in the past. We should capture that here and work towards an implementation.

Yes!  This is the main missing piece in grblas.
Primary usage of select:

grblas.selectop.tril
A.select(selectop, k)
Auto-convert op.gt to selectop.gt where appropriate

This means allowing A[op.gt(A, 1)] and A[1 > A]

A[A < 1]
op.tril(A, 1)
A[op.tril(A, 1)]

Also support:

A[B < 1]
A[(A > 1) & (A < 10)]
A(B.S & C.S | D.V)  # set logic for masks

Don't support B.V - C.V yet--need to work through

Need to explore:

A[A > 1] = x
A(M.S)[A > 1] = x
Adding a "strict" config to not include recipes such as these

Support masks as values

C << A.S | B

Similarly, perhaps support bool dtype as value masks

C(B) << expr
More generally, allow masks and bool matrices to be used interchangeably

SelectOps:

tril
triu
diag
offdiag
eq
ne
lt
gt
ge
row_index
col_index
diag_index
col_le
col_gt
row_le
row_gt

Additional GxB SelectOps:

nonzero
eq0
gt0
ge0
lt0
le0
Should we expose these?
Should we use them when the scalar thunk is 0?

This is just a plan/sketch.  I wouldn't be surprised if we're missing edge cases and need to do some things a little differently.

Lots of thoughts after spending half a day thinking about this. I'll try to break my ideas into logical sections.
Two different kinds of IndexUnaryOps
Some of the predefined IndexUnaryOps (row_index, col_index, diag_index) only make sense in the context of apply because they do not return bool.
Let's separate these 3 to live in grblas.unary and all others live in grblas.select.
grblas.select namespace
This will function both as a namespace for ops and as a pseudo-function call.
Rather than calling
A.select(gb.op.tril)

We will instead call
gb.select.tril(A)

This makes it behave like many of our other ops where the specific function is front-and-center to the call.
However, while our other ops have symbols to help distinguish them (@ for mxm, & for ewise_mult, | for ewise_add), it could be difficult to quickly distinguish an apply from select. By not including selectops in the main ops namespace, it encourages users to call them as gb.select.<opname>, making it more apparent what is actually happening.
gb.select.triu(A, 1)  # TRIL with thunk=1
gb.select.diag(A)  # DIAG with thunk=0
gb.select.offdiag(A)  # OFFDIAG with thunk=0

The row, column, and value ops can be made more elegant by accepting delayed comparators.
gb.select.value(A<=5)  # VALUELE with thunk=5
gb.select.row(A>3)  #ROWGT with thunk=3
gb.select.col(A<2)  #COLLE with thunk=1 (because only COLLE and COLGT exist)

What about A[A<1]?
I went back and forth on this and decided that it causes too much confusion with extract. Both select and extract have obvious similarities, but one key difference is that indices are reindexed when doing extract, but not when doing select.
So I am voting against using [] for select to avoid any confusion. Square brackets are only for extract and assign.
And while A[A<1] is very elegant, it requires stating A twice. We would run into the same issue if we did something like A.select(A<1). But select.value(A<1) reads nicely and doesn't require any repeat.
What about using B.S in select?
A[B<1] or A[B.S] are both elegant, but they are ultimately a mask operation, not a select operation. I tried to fit this usage into my propsal -- something like A.select(B.S) or A.select(B<1), but it feels like it would complicate things. After all, A.select(B<1) and A.select(A<1) look similar, but would be rewritten as totally different operations. The former is a two-step masked assignment while the latter is a select.
I ultimately decided it's not worth the complication. Instead, I propose upgrading masks in general to be more flexible.
More flexible masks
Let's allow this:
A(A<0) << 0

This requires two changes to masks:

Allowing delayed objects as masks, assuming they resolve to boolean type.
Allow boolean objects without requiring the .V suffix

Note that we still won't allow A[A<0] << 0. That would be assignment with a boolean. We can give a nice error message in this case, suggesting they put the boolean expression as the mask rather than the assignment parameter.
Let's wait on set operations for .S and .V
(A < 5) & (A > 1) feels useful. So does A.S & B.S or even A.V - B.S.
However, we don't need to bite off everything at first. Getting select into grblas has already taken too long. These set operations can come later without impacting existing code.
User-defined IndexUnaryOps
I'm punting on this for now (again, this proposal has already taken too long and we need select quickly).
User-defined selectops will likely not be able to take advantage of something like select.custom_op(A<5). Instead, they will need to function like tril and diag, passing the thunk as a separate parameter: select.custom_op(A, 5).
Using all available IndexUnaryOps in Apply
Technically, the spec allows the boolean IndexUnaryOps to be used by apply. I don't think we need to support this use case.
For values, users can already do A == 1 and get a value comparison. If they need a row comparison, they could do it in two steps:

A_rows = unary.row_index(A)
A_rows <= 2

A similar set of steps could recreate TRIL, TRIU, DIAG, and OFFDIAG comparisons.

Woo!  This will be so great to get in.


Use stable sort when computing price feed median

Price feed median computation uses std::nth_element which is not stable.

It's computing the median of each field in GRAPHENE_PRICE_FEED_FIELDS which is defined here.  Instability doesn't matter, as these are all either price or integer.  Thus it doesn't matter which of the equal objects is returned.


API Management Direct Control Plane SDK

Control Plan SDK Swagger for Direct access client. Previous attempt was made in pr https://github.com/Azure/azure-rest-api-specs/pull/2202 @sergey-shandar
PR information

[x] The title of the PR is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.
[x] Except for special cases involving multiple contributors, the PR is started from a fork of the main repository, not a branch.
[x] If applicable, the PR references the bug/issue that it fixes.
[x] Swagger files are correctly named (e.g. the api-version in the path should match the api-version in the spec).

Quality of Swagger

[x] I have read the contribution guidelines.
[x] My spec meets the review criteria:

[x] The spec conforms to the Swagger 2.0 specification.
[x] The spec follows the guidelines described in the Swagger checklist document.
[x] Validation tools were run on swagger spec(s) and have all been fixed in this PR.

@mcardosos anything blocking this now?

This commit was treated and no generation was made for Azure/azure-sdk-for-python

This commit was treated and no generation was made for Azure/azure-sdk-for-go

@mcardosos added the suppression and fixed the last bunch of errors.

This commit was treated and no generation was made for Azure/azure-sdk-for-python

This commit was treated and no generation was made for Azure/azure-sdk-for-go

This commit was treated and no generation was made for Azure/azure-sdk-for-python

Was unable to create SDK Azure/azure-sdk-for-python PR for this closed PR.

This commit was treated and no generation was made for Azure/azure-sdk-for-go

Swagger to SDK encountered an unknown error: (Azure/azure-sdk-for-go)
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/swaggertosdk/github_tools.py", line 29, in exception_to_github
    yield context
  File "/usr/local/lib/python3.6/dist-packages/swaggertosdk/restapi/github.py", line 180, in rest_handle_action
    return rest_pull_close(body, github_con, restapi_repo, sdk_pr_target_repo, sdkbase)
  File "/usr/local/lib/python3.6/dist-packages/swaggertosdk/restapi/github.py", line 311, in rest_pull_close
    rest_pr.create_issue_comment("Was unable to create SDK %s PR for this closed PR.", sdkid)
TypeError: create_issue_comment() takes 2 positional arguments but 3 were given


New version: Photon v0.7.0

Registering package: Photon
Repository: https://github.com/neurallayer/Photon.jl
Created by: @jbaron
Version: v0.7.0
Commit: 883dddb5937fe0021c314767ec540d1097948485
Git reference: master
Release notes:

Updated version

Can close this one, new PR for fixed version exists.


move-home doesn't jump to top of list

Expected behaviour: move-home jumps to topmost title in list.
Observed behavior: move-home jumps to currently playing (highlighted title).
move-end does behave as expected, i.e. it jumps to the bottom of the list.

Configuration error. Sorry for the noise!


Format issues

The latest update only downloads in webm format, no matter what settings are set.

I'm sorry but I'll not be able to solve this soon. I have joined the army and I will only be back home at weekends so if you need some urgent downloading I suggest using another program (I recommend youtube-dl)
If you can wait I think I'll be able to fix it this weekend (November 15-17)

I just got back home and tried to replicate the issue, but I just checked and all formats work for me
Could you please tell me what settings were you using?

I have a feeling it’s a broken setting that has stuck through me uninstalling and reinstalling it because it works perfectly fine for my friend and I see no other reports about it. I'll see if I can figure it out when i get home.

No, it was my bad, I fixed that bug. it occurred when you checked the "Download clean audio" checkbox and then unchecked it, it wouldn't recognize that you unchecked it
Its fixed now, let me know if it works so I can close this issue
If it doesn't work, give me the link to the video you're trying to download and the full settings you used when downloading

Works flawlessly, keep up the good work!


Add "db shell" command

Description
Oftentimes while I'm developing with Craft, I want to open up a database shell for manual querying. This can be helpful for both debugging and developing new features in Craft. With Nitro, I don't see a very easy way to do this right now. It is possible to get a MySQL shell by ssh'ing into the DB container and running mysql -h localhost -u nitro. To be a little easier, might it be possible to add in a nitro db shell command to open the current site's database?
If this is desirable, I'd be happy to help develop this feature in Nitro and submit a pull request.

I think this is a great idea. It could work similar to nitro db ssh or nitro craft. If you have the time a PR would be 💯!

Hi, we are closing this issue as we have decided to retire Nitro, so no additional work will occur on this project. You can read the official blog post here https://craftcms.com/blog/retiring-craft-nitro. We appreciate everyones feedback and involvement and we look forward to refocusing our efforts on Cloud!
If you're looking for a new local development environment, we recommend DDEV and have a knowledge base article to help you with the transition: https://craftcms.com/knowledge-base/migrating-from-craft-nitro-to-ddev.


Cleanup old NS name format

We changed nameserver name format, but for migration puposes we need to
take care and drop entries with an old format. Each cluster will take
care of its own entries.
Signed-off-by: Dinar Valeev<EMAIL_ADDRESS>

I see your concern. But cleaning up old naming should go away in one release. We don't have anything else yet to put into "migration machinery". This affects only infoblox implementation. The rest is handled by DNSEndpoint NS object, which shouldn't be affected by this.

approving based on plan we made during meeting, good job @k0da !

@somaritane yeah

@somaritane , sure, thx. Let's keep it blocked pls to not accidently push into master..


Structured Logging

Replaces RIO's HasLogFunc with Blammo. This also removed all our own log formatting and coloring-related code for Blammo's.
This results in our logs being structured:

Other user-facing changes:

-v can be passed more than once, to increase from App DEBUG to App+Amazonka DEBUG to App+Amazonka TRACE
The format of version changed slightly, from simply {version} to Stackctl v{version}

Architectural changes:
I moved the fetching of the current AWS Account/Region (called AwsScope) to app initialization and made it available anywhere by the HasAwsScope class. This is more efficient and allows us to add this information via withThreadContext around most logging, rather than in specific places, only once we'd fetched it.
At this point, the only reason for RIO is the base of our Prelude module. I plan to remove that as well, possibly for Relude.
TODO: I think I want to integrate this version in PlatformCLI and run its integration tests before merging. PlatformCLI's Integration tests look good!

I'll follow up with documentation updates after.

What it looks like over in PlatformCLI,

Kind of neat (and also kind of the point) that the withThreadContext I call in PlatformCLI merges with the ones call in Stackctl to make for fully context-aware lines like that. :ok_hand:


Added download progress for the containers

Signed-off-by: zed-rishabh<EMAIL_ADDRESS>

Hahaha! This is such an elegant solution. I’ve been working with the library owners to add formal download progress, and this just bypasses the issue. Nicely done.
Of course, this doesn’t solve the percentage complete issue, does it? Even if we know total bytes downloaded, it doesn’t give us percentage, does it?

I am not sure about the percentage complete issue, what is it? I tested these changes with an ignition container of size 750MB approx. And download progress is clearly visible on UI and in logs like 12%,22%,67% so on.

How? This reports byte count downloaded , but for percentage you need the total expected. Where did you get that?

How? This reports byte count downloaded , but for percentage you need the total expected. Where did you get that?

manifestsDescImg function in oci utils returns the size of the image along with manifest.
https://github.com/lf-edge/eve/blob/a66e3291235e26126bba82763ba1a20d7b114c90/pkg/pillar/zedUpload/ociutil/common.go#L12

Oh. I wrote that. I just forgot!

Oh. I wrote that. I just forgot!

Yeah, we are calculating size by adding sizes in the config and layers.


Adsk Contrib - Adjust FileRules API

FileRules was exposing some functions that were using a reference to a Config. This was not aligned with other API functions. These have been removed from the API.
Functions are now part of Config.
Signed-off-by: Bernard Lefebvre<EMAIL_ADDRESS>

Following the two-weeks rule, here is a friendly reminder that the branch can be merged next week unless there are some objections.


CI: check links

coverage: 80.0%. remained the same when pulling 11bbc33b9d03c80a9a343363fd63bd162c43b02d on ci/link-check into 7fd07afbb6ee92d051794ff5b64baec751cacd5d on master.


WEB SEC batch entry detail support

Closes #105

Coverage increased (+0.6%) to 95.438% when pulling e1c1962d661801768374c212d0d46374593af53a on wadearnold:WEB-SEC-batch-entry-detail-support into fdbace73ff23e0537e2ad948ed2eff34ee3517b7 on moov-io:master.


Add feature to read excel files from local file / remote url

Refers to issue #27.
Points to note:

Using npm package xlsx.
Assuming the following format: The first non-empty row represents column array and next rows represent data until the last non-empty row in the Excel file. Refer the sample file (SampleData.xlsx) to get clarity.
Added tests for the same.
Created a new folder /tests/samples to store sample data files being used for testing.

If you think we can do better for point 2, let's discuss it. It may become surprisingly complex if we don't make the assumption.

The code is ok, but I think is useful to use snake case to define variables or functions, this to have consistency of the rest of the base code.
For the second assumption, I think you can pass a parameter to the read_excel like index_col in pandas, and with this you select what row is the columns name, if the user don't send index_col param you can set this to 1 for default

Cool. I will refactor the code to the snake case and will add optional param to identify column row.

I have added support to optionally specify the index from which header/column names' start, and also the index from which data/body/content starts. Please have a look. Thanks.

Nice work @adzo261 .
I just want to ask. if the user must specified the excel file base on the current working directory or absolute directory (e.g ~/directory/example_folder/SampleData.xlsx')

I just want to ask. if the user must specified the excel file base on the current working directory or absolute directory (e.g ~/directory/example_folder/SampleData.xlsx')

I think both should work. For relative paths, one can use path.join from path npm package. And for absolute paths, one can specify directly. Note that the function used by XLSX internally is same as readFile which we use as usual.

Nice work @adzo261 .

Thanks for merging.
Nice work by you guys as well. Great going so far. :1st_place_medal:
Had a great time working on it!

Nice work @adzo261 .

Thanks for merging.
Nice work by you guys as well. Great going so far. 🥇
Had a great time working on it!

Thanks @adzo261 and well done!

Seems this functionality currently accepts array indices for the sheet param not the name
in documentation  it says for danfo.readExcel(source, options) , options accepts sheet param like so:
{
sheet : string, (Optional) Name of the sheet which u want to parse. Default will be the first sheet.
}
however,  in the readExcel code workbook.SheetNames   in line below returns an array of sheet names i.e. ['sheet 1','sheet 2' ..]  which means the sheet param has to be an int representing the index of the sheet
const worksheet = workbook.Sheets[workbook.SheetNames[sheet]];


Task Scheduler Like Cron job

There should be package that allow to handle task scheduler / cron job cross platform

The Cron job has the two key components.

Cron expression parser.
Cron job task manager/scheduler.

Should we implement these all components?

You also mention about the cross platform.
I am not familiar with the cron job task on Windows.
I also am familiar with cron job on Linux.

Yes should implemented all components.
in windows there is Task Scheduler
when you send your proposal as a pull request i will add Win task scheduler support
write in such a way it has option to add support for windows

@lablnet, when I think this deeply,  I found the following way to do Cron job package to support cross platform.

Using the schedule.php to let package run on every minute.
On every minute, we check the specific job should be executed.

@peter279k  Yes but this approach has few drawbacks
Using the scheduler.php to let this program run on every minute
First if any developer want to set schedule to set for 30 seconds then what result expected?
Also i think this make framework slightly slower
How can we execute scheduler.php on every mints, without task scheduler or cron?
The approach i think
there should be four files

AbstractScheduler.php => expression parser
Cron.php => Crons commands {extend AbstractScheduler}
Schedule.php => Task Scheduler {extend AbstractScheduler}
Scheduler.php => Scheduler which use {Cron or Schedule}

we can do following in Scheduler,php
namespace Zest\Scheduler;

class Scheduler
{
      public function __construct()
     {
           $this->scheduler = php_os() === 'win' ? new Schedule() : new Cron();
     }
}

What do you think?

It looks good, but we don't want to let developer set less than one minute
on cron job.
I think it is fine to use the following code you mention.
Muhammad Umer Farooq<EMAIL_ADDRESS>於 2019年3月24日 週日 下午5:43 寫道：

@peter279k https://github.com/peter279k Yes but this approach has few
drawbacks
Using the scheduler.php to let this program run on every minute
First if any developer want to set schedule to set for 30 seconds then
what result expected?
Also i think this make framework slightly slower
How can we execute scheduler.php on every mints, without task scheduler
or cron?
The approach i think
there should be four files

AbstractScheduler.php => expression parser
Cron.php => Crons commands {extend AbstractScheduler}
Schedule.php => Task Scheduler {extend AbstractScheduler}
Scheduler.php => Scheduler which use {Cron or Schedule}

we can do following in Scheduler,php
namespace Zest\Scheduler;class Scheduler{      public function __construct()     {           $this->scheduler = php_os() === 'win' ? new Schedule() : new Cron();     }}
What do you think?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/zestframework/Zest_Framework/issues/154#issuecomment-475943242,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AImpMwJAPY4En_l_cg-3xQJoHe7gBDQoks5vZ0i4gaJpZM4bdx3m
.

Sure, so we can start before started actual development it good to write Contracts First
so you can write Contracts/Interfaces and pull here => https://github.com/zestframework/Zest_Framework/tree/master/src/Contracts
with sub folder
the interface name should same as class
we can use somthing like
`use \Zest\Contracts\Sitemap\SItemapIndex as SitemapIndexContract``

@Lablnet, consider following code:
$jobs = [
    [new Expression('cron job time'), new TaskName()],
    [new Expression('cron job time'), new TaskName()],
];

$scheduler = new Schedule();
$scheduler->run();

What do you think about that?

Yes you are right
but instead of saying CronExpression it better say TaskExpression or SchedulerExpression


TLS certificate requires grpc.addr to be include as SAN

Given that the HTTP server makes an immediate upstream connection to the gRPC server using grpc.addr, if the gRPC TLS certificate doesn't have the grpc.addr added as a SubjectAlternativeName (aka SAN) then the TLS connection fails and the startup fails.
The error that is reported is ver vague, context deadline exceeded. When you enable GRPC debug logging you can see the tls: bad certificate failure.
Most of the time, grpc.addr will be <IP_ADDRESS>:<port>, which essentially means currently the TLS cert must have <IP_ADDRESS> added as an IP SAN for TLS to be enabled along with HTTP.
The HTTP server needs to allow disabling host verification or, probably preferably, an http.upstreamServerName configuration options needs to be added and used as the server name when making the upstream connection.

@jon-whit @rhamzeh Any news on this?

After careful consideration and review, we have decided to close this issue as it is not high priority right now. Thank you for taking your time and providing us the feedback


event change

May be you can add change event ? Because sometimes you need do anything else.

Yes, i solve my problem with input and bind, "anything else" was a constructor form, when I did't know what kind of element fire this event


Return Value is unclear

The Returns Types paragraph is not clear on what is actually returned. Perhaps rewording it as "The return type for this method is dynamic. It will return the same data type as the argument supplied for the date."
Because this is unclear, I naturally assumed that the next section "Return Value" would have more information, but it appears to be providing sanity check information for some of the arguments. Is "Return Value" supposed to be describing possible error messages? Shouldn't there be an error section instead to better describe how to troubleshoot errors?
The expected format for code documentation is generally a small blurb on return describing the happy path, followed by an exceptions or errors section describing the errors that can be returned and what state causes them.
A good example of this format is the .NET entry for File.Open
https://docs.microsoft.com/en-us/dotnet/api/system.io.file.open?view=netframework-4.8

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

ID: a16b2e33-bcd1-2502-949f-de24d0f687b0
Version Independent ID: 1dd3a1c6-957f-288a-c12d-02bedb92d6cc
Content: DATEADD (Transact-SQL) - SQL Server
Content Source: docs/t-sql/functions/dateadd-transact-sql.md
Product: sql
Technology: t-sql
GitHub Login: @MikeRayMSFT
Microsoft Alias: mikeray

@cabbruzzese - thanks for the recommendation. We've updated the return type information.


[POC] Simplified message hierarchy

POC for a simplified message hierarchy that uses discriminated unions instead of generics

I found the message hierarchy quite confusing. PoC to see if this form is simpler and to see if I missed someething.


Style 2

@rasienko
This isn't ready yet, but figured you might want to take a look. Things I've tackled:

Update logo
Rearrange nav into tabs
Duplicate introduction for home page content
Remove smooth scroll
Update colors
Font updates
Remove ripple

Outstanding

Updates to footer presentation
Potentially move search
Investigate code block styles

Thanks! Just took a look and had some thoughts...

Logo looks good. What do you think of using a lowercase "developers" to match the Koji logo?
I like the general styling of the tabs, but the placement in the sidebar feels too crowded/not optimal. I'd love to see some options here (I'll send you a mockup with some ideas)
Margin-top above the H1 seems too big because it's pushing the title below similar content (e.g. top of sidebar, TOC).
The rest looks good to me (duplicate intro page, remove smooth scroll, update colors/fonts, remove ripple)

Let me know when the next version is ready. Thanks for all this great work!


Include a PGP signed APK in releases

consider a setup similar to what blockstream is doing: https://github.com/Blockstream/green_android/releases

available on the site


Substring project filtering

Hello, first of all, thank you for the great plugin, I find it really nice.
I wanted to check the possibility of adding a feature, plus reporting a minor aesthetic bug.
Feature: I wanted to check the possibility of filtering projects by substring. I usually use a dot to separate project from subproject, e.g. +p.sp. Right now, if I try to filter filter:project:p, the task doesn't appear on my list. This could be solved if I add also +p, but I guess it would end being too cluttered.
Visual bug: On the other hand, currently using it like this anyway, I've noticed that the highlighting in the "Viewer" view goes until the end of the string (i.e. the sp), whereas in the editor view it just stops at the dot.

Thanks!

The visual bug is the same as #3, and will be improved in the next update.
The substring filter, in the other hands, will unlikely be implemented as I want the filter to be exact match. If we allow fuzzy logic then there is no going back as you longer can match "+p" only anymore, a regex based matching is too complex, so it is not an option either.
That being said, there is a "Quick Search" feature in my backlog, which basically a secondary filter that will match with fuzzy logic and may work for your case. It is not very high in my priority at the moment though.

Understood, thanks :).
On the other hand, is there a reason why whitespaces at the beginning of each line are trimmed in the display view? I find them useful as a way to visually represent subprojects / dependency between tasks.

It is not a usage supported by Todo.txt specification. Moreover, the dependency will be lost when you sort or filter, so I don't want to endorse that setup.


Invalid Docker version require?

Hello, Helm v3 started using 0.7.0 of your library and I cannot seem to build it due to this error:
go: finding github.com/docker/docker v0.0.0-00010101000000-000000000000
go<EMAIL_ADDRESS>unknown revision<PHONE_NUMBER>00

It looks like your module references the above version, but I don't think it exists:
https://github.com/deislabs/oras/blob/master/go.mod#L17

Yes, I am using go modules.

I'm going to close this as I don't think the issue is with this repository.


[SPARK-29968][SQL] Remove the Predicate code from SparkPlan

What changes were proposed in this pull request?

This is to refactor Predicate code; it mainly removed newPredicate from SparkPlan.
Modifications are listed below;

Move Predicate from o.a.s.sqlcatalyst.expressions.codegen.GeneratePredicate.scala to o.a.s.sqlcatalyst.expressions.predicates.scala
To resolve the name conflict,  rename o.a.s.sqlcatalyst.expressions.codegen.Predicate to o.a.s.sqlcatalyst.expressions.BasePredicate
Extend CodeGeneratorWithInterpretedFallback  for BasePredicate

This comes from the @cloud-fan suggestion: https://github.com/apache/spark/pull/26420#discussion_r348005497
Why are the changes needed?

Better code.
Does this PR introduce any user-facing change?

No.
How was this patch tested?

Existing tests.

@cloud-fan @viirya How about this refactoring?

Test build #114125 has started for PR 26604 at commit fcc9d22.

Test build #114125 has finished for PR 26604 at commit fcc9d22.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
      class SpecificPredicate extends $
abstract class BasePredicate

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/114125/
Test FAILed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/18984/
Test PASSed.

Test build #114127 has started for PR 26604 at commit 4b1e311.

IIUC newMutableProjection, newOrdering and newNaturalAscendingOrdering can be removed from SparkPlan, too.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/18985/
Test PASSed.

Hi, @maropu . So, are you going to make a few PR for them one by one?
cc @cloud-fan .

Thanks for the comment, @dongjoon-hyun. I just wanted to check if this refactoring is right first, and all the tests passed for this fix because this change might increase the test coverage for interpreted predicates (e.g., in SQLQueryTestSuite). So, I'm ok that all the refactoring is done in this pr. Should I do so?

Test build #114129 has started for PR 26604 at commit 73588fc.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/18987/
Test PASSed.

Test build #114132 has started for PR 26604 at commit bed96f4.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/18990/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/18993/
Test PASSed.

Test build #114135 has started for PR 26604 at commit 0896afe.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/18994/
Test PASSed.

Test build #114127 has finished for PR 26604 at commit 4b1e311.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
      class SpecificPredicate extends $
abstract class BasePredicate

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/114127/
Test PASSed.

Test build #114140 has started for PR 26604 at commit 74183e6.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/18999/
Test PASSed.

Test build #114141 has started for PR 26604 at commit 164507c.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/19000/
Test PASSed.

Test build #114141 has finished for PR 26604 at commit 164507c.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Test build #114140 has finished for PR 26604 at commit 74183e6.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Test build #114132 has finished for PR 26604 at commit bed96f4.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Test build #114135 has finished for PR 26604 at commit 0896afe.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Test build #114129 has finished for PR 26604 at commit 73588fc.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/114129/
Test FAILed.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/114141/
Test FAILed.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/114140/
Test FAILed.

Merged build finished. Test FAILed.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/114132/
Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/114135/
Test FAILed.

retest this please

Test build #114142 has started for PR 26604 at commit 164507c.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/19002/
Test PASSed.

Test build #114142 has finished for PR 26604 at commit 164507c.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/114142/
Test PASSed.

thanks, merging to master!

@maropu can you create JIRA tickets to do the same thing for newMutableProjection, newOrdering and newNaturalAscendingOrdering?

Yea, sure. Better to fix them in a single next PR?

sounds good

ok

@maropu Thanks for your change . This PR makes my work easier.


problem of filename of extract stylesheets file

var ExtractTextPlugin = require('extract-text-webpack-plugin');
var config = {
  entry: './app/app.js',
  output: {
    publicPath: '/app/',
    path: './build/app/',
    filename: 'js/bundle.js',
    chunkFilename: 'js/[name].chunk.js?[hash]'
  },
  module: {
    loaders: [
      {
        test: /\.scss$/,
        loader: ExtractTextPlugin.extract('style-loader', 'css-loader!autoprefixer?{browsers:["last 2 version"]}!sass-loader')
      }
      // ...
    ]
  }
  plugins: [
    new ExtractTextPlugin('css/[name].css');
  ]
}

My stylesheets file : style.scss
Why the file name of stylesheet file is 'main.css' , not 'style.css' ????

Can you add your entry configuration?

@bebraw I have update the issue with entry and output

I guess you are referring to the CSS at ./app/app.js then. If you wanted style.css, you could set up an entry like this:
entry: {
  main: './app/app.js',
  style: [... paths to your css ...]
}

This should generate what you expect.

@bebraw In this case you adviced, how to assign different filename for multipule entries?
filename: [name].js will generate files named style.js and main.js.
How can I generate a file named style.css

You can discard the style.js it generates. That 'css/[name].css' postion at ExtractTextPlugin generates the CSS file you want (css/style.css). That entry configuration is needed to get that name right.

@bebraw Thanks a lot.
I have just tried to  replace new ExtractTextPlugin('css/[name].css') with new ExtractTextPlugin('css/style.css', {allChunks: true}), and this works successfully.
I don't know why css/[name].css does not generate app.css.
All of my stylesheets are imported into app.scss finally.

I don't know why css/[name].css does not generate app.css (actually it generated main.css).

That might have to do with your entry configuration. Instead of main: './app/app.js', you could try app: './app/app.js', since that key maps to [name].

@bebraw
entry: './app/app.js',
...,
new ExtractTextPlugin('css/[name].css')

This leads to css/main.css.
Is that to say webpack will change one-point-entry into entry: {main: filename} ?
And stylesheets will extend this name of entry main, which finally leads to css/main.css ?

Is that to say webpack will change one-point-entry into entry: {main: filename} ?

Yeah, I think it defaults to main by default. So if you want control over the resulting name, use the object syntax instead.

All [name] actually means the name of entry ?

It figures out the output [name] based on the entry name, yup.

@bebraw Thanks a lot :)


mise self-update does not work on Windows

Describe the bug
Mise self-update errors out, saying it cannot find the binary it is looking for.
To Reproduce
Run mise self-update on windows.
PaulM1@P5750-GJGC0B3:~
at 13:44:08 psh ❯ mise self-update
Checking target-arch... mise-v2024.11.1-windows-x64.tar.gz
Checking current version... v2024.9.1
Checking latest released version... v2024.11.1
New release found! v2024.9.1 --> v2024.11.1
New release is compatible
mise ReleaseError: No asset found for target: `mise-v2024.11.1-windows-x64.tar.gz`
mise Run with --verbose or MISE_VERBOSE=1 for more information

Expected behavior
mise should self-update to the latest version.
mise doctor output
version: 2024.9.1 windows-x64 (2024-09-11)
activated: no
shims_on_path: no

build_info:
  Target: x86_64-pc-windows-msvc
  Features: DEFAULT, NATIVE_TLS
  Built: Wed, 11 Sep 2024 15:49:54 +0000
  Rust Version: rustc 1.81.0 (eeb90cda1 2024-09-04)
  Profile: release

shell:
  (unknown)

dirs:
  data: ~\.local\share\mise
  config: ~\.config\mise
  cache: ~\.cache\mise
  state: ~\.local\state\mise
  shims: ~\.local\share\mise\shims

config_files:
  ~\.config/mise/config.toml

backends:
  cargo
  core
  go
  npm
  pipx
  spm
  ubi
  vfox

plugins:

mise failed to resolve toolset: Failed to resolve ubi:zellij-org/zellij@latest from ~\.config/mise/config.toml: Dependency cargo:ubi, cargo, rust not installed for ubi:zellij-org/zellij: Failed to resolve ubi:dandavison/delta@latest from ~\.config/mise/config.toml: Dependency cargo:ubi, rust, cargo not installed for ubi:dandavison/delta: Failed to resolve ubi:casey/just@latest from ~\.config/mise/config.toml: Dependency cargo, cargo:ubi, rust not installed for ubi:casey/just: Failed to resolve ubi:cantino/mcfly@latest from ~\.config/mise/config.toml: Dependency cargo, cargo:ubi, rust not installed for ubi:cantino/mcfly: Failed to resolve ubi:ajeetdsouza/zoxide@latest from ~\.config/mise/config.toml: Dependency rust, cargo:ubi, cargo not installed for ubi:ajeetdsouza/zoxide: Failed to resolve cargo:sleek@latest from ~\.config/mise/config.toml: Dependency rust, cargo not installed for cargo:sleek: Failed to resolve cargo:fd@latest from ~\.config/mise/config.toml: Dependency rust, cargo not installed for cargo:fd: Failed to resolve cargo:eza@latest from ~\.config/mise/config.toml: Dependency rust, cargo not installed for cargo:eza: Failed to resolve cargo:bat@latest from ~\.config/mise/config.toml: Dependency rust, cargo not installed for cargo:bat: error resolving versions

toolset:
  rust@latest  (missing)

env_vars:
  (none)

settings:
  activate_aggressive = false
  all_compile = false
  always_keep_download = false
  always_keep_install = false
  asdf = false
  asdf_compat = false
  cargo_binstall = true
  color = true
  disable_default_shorthands = false
  disable_hints = []
  disable_tools = []
  experimental = true
  go_default_packages_file = "~/.default-go-packages"
  go_download_mirror = "https://dl.google.com/go"
  go_repo = "https://github.com/golang/go"
  go_set_gopath = false
  go_set_goroot = true
  go_skip_checksum = false
  http_timeout = 30
  jobs = 4
  legacy_version_file = true
  legacy_version_file_disable_tools = []
  libgit2 = true
  node_compile = false
  not_found_auto_install = true
  paranoid = false
  pipx_uvx = false
  plugin_autoupdate_last_check_duration = "7d"
  python_default_packages_file = '~\.default-python-packages'
  python_pyenv_repo = "https://github.com/pyenv/pyenv.git"
  raw = false
  trusted_config_paths = []
  quiet = false
  use_versions_host = true
  verbose = false
  vfox = true
  yes = false
  ci = false
  debug = false
  trace = false
  log_level = "info"
  python_venv_auto_create = false

  [status]
  missing_tools = "if_other_versions_installed"
  show_env = false
  show_tools = false

No warnings found
4 problems found:

1. mise is not activated, run mise help activate or
   read documentation at https://mise.jdx.dev for activation instructions.
   Alternatively, add the shims directory ~\.local\share\mise\shims to PATH.
   Using the shims directory is preferred for non-interactive setups.

2. shims are missing, run mise reshim to create them
   Missing shims: bat.exe, eza.exe, just.exe, mcfly.exe, sleek.exe, zoxide.exe

3. unused shims are present, run mise reshim to remove them
   Unused shims: bat.cmd, eza.cmd, just.cmd, mcfly.cmd, sleek.cmd, zoxide.cmd

4. new mise version 2024.11.1 available, currently on 2024.9.1

Additional context
I think this is straightforward; the command is looking for a .tar.gz file instead of a .zip file.

this was fixed https://github.com/jdx/mise/commit/d2c4cf3a7dc0a5a1d28796f18b5eb16c91c02582


Fix hardcoded password does not work with postgreSQL issue

Please review the changes, thanks!

Looks good except for the logging. This module uses slf4j not java.util.logging. See https://github.com/eurekaclinical/cas/blob/65dde3ef70f999aea8efcc3ba877b8c270566008/src/main/java/edu/emory/cci/aiw/cvrg/eureka/cas/AbstractProperties.java for an example.

Please review it, thanks!

Please change the calls to ex.getMessage() to ex. We want the logger to record the entire stack trace. Thx.

FYI the example in AbstractProperties that uses ex.getMessage() uses that second argument for variable substitution. You can see the {} in the string. It inserts the exception's message where the curly braces are.

Thanks for the suggestion! Please review the code.

Thanks, merging.


Ensure container disks are pulled before starting virt-launcher

Virt-launcher has a 3 minute timeout. If no qemu process is started after 3 minutes, the container fails. That's intended to free cluster resources in the event that we schedule a VMI pod that isn't being processed for some reason out of our control.
Here's the issue.
When a containerdisk is being used, especially a large container disk, it might take longer than 3 minutes to pull. This means the virt-launcher container can start long before the containerDisk container starts, which causes virt-launcher to hit the 3 minute timeout while the containerdisk is being pulled.
To fix this, i've added a no-op init container that ensures every container disk is pulled before virt-launcher starts. The init containers simply start and immediately exit. Since init containers have to execute before normal containers, we've removed the race between pulling a containerDisk and the virt-launcher timeout.
Fixes timeout failure that occurs when pulling large containerDisk images

/retest


MSMQ collector

Hi There,
Within the environment I wish to monitor we use MSMQ for some legacy applications.
I understand that this is exposed via WMI (Win32_PerfRawData_MSMQ, Win32_PerfFormattedData_MSMQ_MSMQService etc...) - I am wondering if this can be added as a collector to WMI exporter or if there is another method exists that will get me up and running?
Thanks.
Pete

Hi!
Yes, this would fit in perfectly as a collector to WMI exporter! We have a script which can be used to generate most of the code necessary. Are you familiar with Go programming? There is often some amount of tuning required to get good results (WMI is not quite as uniform as one could hope, so it is hard to generate "perfect" code, unfortunately).

Hi Carlpett.
I'm afraid I am not familiar with Go programming. If its any help I am looking to get current queue sizes and identify if a queue has become stuck / not processing.

Hi there.
Any further advice with this ? When will be the next release with this included?
Many thanks
Pete

Hi @VR6Pete,
Please understand that this is a project being developed in our spare time. Implementing this will not only require some coding, but also a non-trivial amount of time in setting up the required services so that it is testable.
As it stands, I am unfortunately not able to give any promises regarding when anyone will have time to implement it.

I know some projects have methods for letting those who are not able to contribute directly instead sponsor the requisite development time. Perhaps we should look into that, since the overlap between operators of Windows systems and Go programmers is quite small.
As a very non-formal poll, would that sort of "feature request purchase" be interesting to you/your employer, @VR6Pete?

Good call, @carlpett

depends what sort of costs we are looking at :)

Any update on the above? Keen to explore options here?

@VR6Pete Sorry for the slow response, I've been out on a business trip this week.
We could arrange something, I'm sure. Do you have some contact details?
Also, a basic collector was actually contributed earlier this morning: #159. Does this fulfill your needs?

I think that is a good starter for 10 - Do you know when a new MSI will be packaged?

Great! I'm tagging the release now, msi:s should be available in a few minutes

Fab. Updated and working great!


Bypass /wt confirmation

We can bypass /wt confirmation by:

trying to /wt a lvl 1 pokemon
trying to /wt another pokemon in the same slot an hour later (or 10 hours later even)

Solution: maybe should add a confirmation reset after 5 minutes

This needs replicating before moving this ticket to https://github.com/EnvyWare/WonderTrade-Forge/issues

unable to replicate, after resetting cooldown and wondertrading slot 1

the exact steps were:
/wt anything on the first slot
Wait (no matter how long)
switch your slot with a new pokemon
/wt this new pokemon on this same slot
This should bypass the confirmation but I doubt this is still an issue as this post was made almost a year ago

as I manually reset my cooldown, and still had to confirm, I am considering this fixed.


swc custom type fails to load

Hi,
I tried to load hundreds of standardized glial cells in neurom from neuromorpho but the loader fails. Example file: A1-CA1-L-A63x1zACR3.CNG.swc.zip
I think this is because of the partial support of neurom for the swc types (http://www.neuronland.org/NLMorphologyConverter/MorphologyFormats/SWC/Spec.html). Would it be possible to "relax" the neurom types, by allowing the user to define a custom type?
import neurom
nrn = neurom.load_neuron('A1-CA1-L-A63x1zACR3.CNG.swc')

---------------------------------------------------------------------------
IndexError                                Traceback (most recent call last)
<ipython-input-2-d35986bfd206> in <module>
----> 1 nrn = neurom.load_neuron('A1-CA1-L-A63x1zACR3.CNG.swc')

~/Projects/ASTROCYTE_SYTHESIS/venv/lib/python3.7/site-packages/neurom/io/utils.py in load_neuron(handle, reader)
    120     else:
    121         name = None
--> 122     return FstNeuron(rdw, name)
    123
    124

~/Projects/ASTROCYTE_SYTHESIS/venv/lib/python3.7/site-packages/neurom/fst/_core.py in __init__(self, data_wrapper, name)
     43     def __init__(self, data_wrapper, name='Neuron'):
     44         self._data = data_wrapper
---> 45         neurites, sections = make_neurites(self._data)
     46         soma_check, soma_class = _SOMA_CONFIG[self._data.fmt]
     47         soma = make_soma(self._data.soma_points(), soma_check, soma_class)

~/Projects/ASTROCYTE_SYTHESIS/venv/lib/python3.7/site-packages/neurom/fst/_core.py in make_neurites(rdw)
     87                           points=rdw.data_block[sec.ids],
     88                           section_type=_TREE_TYPES[sec.ntype])
---> 89                   for i, sec in enumerate(rdw.sections))
     90
     91     # One pass over nodes to connect children to parents

~/Projects/ASTROCYTE_SYTHESIS/venv/lib/python3.7/site-packages/neurom/fst/_core.py in <genexpr>(.0)
     87                           points=rdw.data_block[sec.ids],
     88                           section_type=_TREE_TYPES[sec.ntype])
---> 89                   for i, sec in enumerate(rdw.sections))
     90
     91     # One pass over nodes to connect children to parents

IndexError: tuple index out of range

This is related to the neurite type (type=7 in file). These neurites should be loaded as undefined by default.

undefined type is 0 and custom 7. Should we merge these two as one generic type?

After discussion with @lidakanari I think the best way to have the neurite types would be:
undefined: 0 (Including any type that is not an already a defined type)
soma: 1
axon: 2
basal_dendrite: 3
apical_dendrite: 4
custom: 7

5 and 6 are reserved for fork points and terminations and should fall under the undefined neurite type, because they define a point property, not a neurite one.
@wizmer is it possible for such a type spec to be implemented in MorphIO?
In addition, is it possible for .all to be something else than a positive integer type? For example it could be -1, or something outside the class type numbering.

@eleftherioszisis In your file, is the custom type a dendrite ?

@eleftherioszisis In your file, is the custom type a dendrite ?

It is a neurite type yes, i.e. the whole tree is of type 7.

But I mean, it is a dendrite right ? Not an axon ?

Well, it is an astrocyte, so it is a glia process to be more specific.

The standard types in http://www.neuronland.org/NLMorphologyConverter/MorphologyFormats/SWC/Spec.html are
Standardized swc files (www.neuromorpho.org) -
0 - undefined
1 - soma
2 - axon
3 - (basal) dendrite
4 - apical dendrite
5+ - custom

After a brief discussion with @eleftherioszisis and @lidakanari, we decided that it would make sense to implement the "custom" type and associate all type id >= 5 with it.
The custom type will be considedered as a 'neurite' (ie. neurom.iter_neurites will iterate over these object) but not as a dendrite.

Implemented in #736


Missing Assets Error

Sometimes the program works nearly perfectly, as can be seen in my previous post. However, sometimes, I get the following output in terminal an on the screen when run "python Code/Smart-Mirror/smartmirror.py ":
Traceback (most recent call last):
  File "Code/Smart-Mirror/smartmirror.py", line 174, in get_weather
    image = Image.open(icon2)
  File "/usr/lib/python2.7/dist-packages/PIL/Image.py", line 2251, in open
    fp = builtins.open(fp, "rb")
IOError: [Errno 2] No such file or directory: 'assets/PartlyMoon.png'
Error: [Errno 2] No such file or directory: 'assets/PartlyMoon.png'. Cannot get weather.
Traceback (most recent call last):
  File "Code/Smart-Mirror/smartmirror.py", line 238, in get_headlines
    headline = NewsHeadline(self.headlinesContainer, post.title)
  File "Code/Smart-Mirror/smartmirror.py", line 251, in __init__
    image = Image.open("assets/Newspaper.png")
  File "/usr/lib/python2.7/dist-packages/PIL/Image.py", line 2251, in open
    fp = builtins.open(fp, "rb")
IOError: [Errno 2] No such file or directory: 'assets/Newspaper.png'
Error: [Errno 2] No such file or directory: 'assets/Newspaper.png'. Cannot get news.

Can anyone help?

I had this issue too. Make sure there is only one file called smartmirror.py because when you edit with nano you might save it in the wrong place.

I solved my problem. It didn't have anything to do with multiple files of the same name. It was about running the script while in another directory in the terminal. Seems I should have made my way to Code/Smart-Mirror before executing the command "python smartmirror.py" I'm guessing the script was looking for the assets in the folder in which I made the call. So, it was looking for an assets folder in the home directory, when it should have been looking for them in the assets sub-directory of Smart-Mirror.
Alternatively, and what I ended up doing was changing the code:
assets/WHATEVERWEATHER.png
to
SOMEHOMESUBDIRECTORY/SUBDIR/SUBDIR/...SUBDIR/assets/WHATEVERWEATHER.png
I hope that makes sense.


Sample with computed symbol

Some examples at https://github.com/dotnet/templating/blob/rel/vs2017/3-Preview2/template_feed/Microsoft.DotNet.Web.ProjectTemplates.2.0/content/StarterWeb-CSharp/.template.config/template.json#L66

Added


[Event Request] Codeunit 1620 "PEPPOL Validation" - OnAfterSetServiceLineFilter

Describe the request
I would like to add a filter for a custom field on the Service Line record. Therefore, I request the following event:
procedure CheckServiceHeader(ServiceHeader: Record "Service Header")
var
	ServiceLine: Record "Service Line";
	SalesHeader: Record "Sales Header";
	SalesLine: Record "Sales Line";
begin
	PEPPOLManagement.TransferHeaderToSalesHeader(ServiceHeader, SalesHeader);
	SalesHeader."Shipment Date" := SalesHeader."Posting Date";
	CheckSalesDocument(SalesHeader);
	ServiceLine.SetRange("Document No.", ServiceHeader."No.");
	//NEW BEGIN
	OnAfterSetServiceLineFilter(ServiceLine, ServiceHeader);
	//NEW END
	if ServiceLine.FindSet() then
		repeat
			PEPPOLManagement.TransferLineToSalesLine(ServiceLine, SalesLine);
			OnCheckServiceHeaderOnBeforeCheckSalesDocumentLine(SalesLine, ServiceLine);
			CheckSalesDocumentLine(SalesLine);
		until ServiceLine.Next() = 0;
end;

[IntegrationEvent(false, false)]
local procedure OnAfterSetServiceLineFilter(var ServiceLine: Record "Service Line"; ServiceHeader: Record "Service Header")
begin
end;

Additional context
I would like to add a filter for a custom field on the Service Line record.
Internal work item: AB#544599

Added in build 24750

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 24747.


Helm CRDS are installed despite turning off helm-controller

What's the source for the helm CRDs, they are getting installed even when the helm controller is not enabled
 journalctl -u k3s | grep -i helm
Oct 19 18:51:02 ip-XXXX.us-west-2.compute.internal k3s[6713]: time="2023-10-19T18:51:02Z" level=info msg="Applying CRD helmcharts.helm.cattle.io"
Oct 19 18:51:02 ip-XXXX.us-west-2.compute.internal k3s[6713]: time="2023-10-19T18:51:02Z" level=info msg="Applying CRD helmchartconfigs.helm.cattle.io"
Oct 19 18:51:02 ip-XXXX.us-west-2.compute.internal k3s[6713]: I1019 18:51:02.106789    6713 handler.go:232] Adding GroupVersion helm.cattle.io v1 to ResourceManager
Oct 19 18:51:02 ip-XXXX.us-west-2.compute.internal k3s[6713]: I1019 18:51:02.107290    6713 handler.go:232] Adding GroupVersion helm.cattle.io v1 to ResourceManager
Oct 19 18:51:02 ip-XXXX.us-west-2.compute.internal k3s[6713]: I1019 18:51:02.109724    6713 handler.go:232] Adding GroupVersion helm.cattle.io v1 to ResourceManager
Oct 19 18:51:02 ip-XXXX.us-west-2.compute.internal k3s[6713]: I1019 18:51:02.112423    6713 handler.go:232] Adding GroupVersion helm.cattle.io v1 to ResourceManager
Oct 19 18:51:13 ip-XXXX.us-west-2.compute.internal k3s[6713]: time="2023-10-19T18:51:13Z" level=info msg="Imported docker.io/rancher/klipper-helm:v0.8.2-build20230815"
Oct 19 18:51:15 ip-XXXX.us-west-2.compute.internal k3s[6713]: I1019 18:51:15.329574    6713 resource_quota_monitor.go:210] "QuotaMonitor created object count evaluator" resource="helmchartconfigs.helm.cattle.io"
Oct 19 18:51:15 ip-XXXX.us-west-2.compute.internal k3s[6713]: I1019 18:51:15.329681    6713 resource_quota_monitor.go:210] "QuotaMonitor created object count evaluator" resource="helmcharts.helm.cattle.io"
Oct 19 18:56:00 ip-XXXX.us-west-2.compute.internal k3s[6713]: I1019 18:56:00.098836    6713 handler.go:232] Adding GroupVersion helm.cattle.io v1 to ResourceManager
Oct 19 18:56:00 ip-XXXX.us-west-2.compute.internal k3s[6713]: I1019 18:56:00.098869    6713 handler.go:232] Adding GroupVersion helm.cattle.io v1 to ResourceManager

Environmental Info:
K3s Version:

k3s -v
k3s version v1.28.2+k3s1 (6330a5b4)
go version go1.20.8
Node(s) CPU architecture, OS, and Version:

Linux ip-XXXX.us-west-2.compute.internal 5.14.0-375.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Oct 9 16:32:37 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Cluster Configuration:

Single control-plane node.
Describe the bug:

Expected helm CRDs to be not installed when
Steps To Reproduce:

Installed K3s:
Relevant config

protect-kernel-defaults: true
disable-cloud-controller: true
disable-helm-controller: true
disable-network-policy: true
disable:
  - traefik
  - servicelb
  - helm-controller

Expected behavior:
Helm CRDs to not install when disable-helm-controller
Actual behavior:

kubectl api-resources | grep helm
helmchartconfigs                               helm.cattle.io/v1                      true         HelmChartConfig
helmcharts                                     helm.cattle.io/v1                      true         HelmChart

Additional context / logs:

The intent of this flag is to disable the controller on this node; it is not intended to change what CRDs are installed to the cluster. Ref:
https://github.com/k3s-io/k3s/blob/5b6b9685e9205c52873398bab537494661330d65/pkg/server/context.go#L79-L80
We would probably entertain a PR to change this behavior, but I don't believe it is a bug.

Thanks @brandond. It makes sense and I agree that it's not a bug but a slight nuance. I'll send over a PR.

I am thinking of adding something like
disable-crds:
  - helm
  - addons

We try to avoid adding more flags whenever possible. Also, you can't disable the addon CRDs as those support the deploy controller that cannot be disabled.
I would probably just keep it minimal, and modify that code to not add the helm CRDs to the list of CRDs to be created, when the helm controller is disabled.

Validated on branch <branch_name> with commit <commit_id> / version
Environment Details

Infrastructure

[X] Cloud
[ ] Hosted

Node(s) CPU architecture, OS, and Version:

Linux ip-172-31-26-200 5.14.21-150400.24.60-default #1 SMP PREEMPT_DYNAMIC Wed Apr 12 12:13:32 UTC 2023 (93dbe2e) x86_64 x86_64 x86_64 GNU/Linux
NAME="SLES"
VERSION="15-SP4"
VERSION_ID="15.4"
PRETTY_NAME="SUSE Linux Enterprise Server 15 SP4"
ID="sles"
ID_LIKE="suse"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:suse:sles:15:sp4"
DOCUMENTATION_URL="https://documentation.suse.com/"

Cluster Configuration:

1 server node

Config.yaml:

cluster-init: true
write-kubeconfig-mode: 644
protect-kernel-defaults: true
disable-cloud-controller: true
disable-helm-controller: true
disable-network-policy: true
disable:
  - traefik
  - servicelb
  - helm-controller

Additional files

N/A

Testing Steps

Copy config.yaml

$ sudo mkdir -p /etc/rancher/k3s && sudo cp config.yaml /etc/rancher/k3s

Install k3s
Run the following command kubectl api-resources | grep helm

Replication Results:

k3s version used for replication:

k3s -v
k3s version v1.28.3+k3s2 (bbafb86e)
go version go1.20.10

kubectl api-resources | grep helm
helmchartconfigs                               helm.cattle.io/v1                      true         HelmChartConfig
helmcharts                                     helm.cattle.io/v1                      true         HelmChart

Validation Results:

k3s version used for validation:

k3s -v
k3s version v1.28.4-rc1+k3s1 (3f237230)
go version go1.20.11

ec2-user@<IP>:~> kubectl api-resources | grep helm
ec2-user@<IP>:~>

Returns a new line to show the Helm CRDS are not installed
Additional context / logs:
N/A


Brightcove "ERROR: Empty playlist; please report this issue...."

URL: http://www.thestar.com/news/2015/05/10/father-of-epileptic-girl-wants-marijuana-treatment-legalized.html
Output:
youtube-dl.py -v "http://www.thestar.com/news/2015/05/10/fathe
r-of-epileptic-girl-wants-marijuana-treatment-legalized.html"
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'http://www.thestar.com/news/2015/05/10/fath
er-of-epileptic-girl-wants-marijuana-treatment-legalized.html']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2<IP_ADDRESS>
[debug] Python version 2.7.6 - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg N-71727-g46778ab, rtmpdump 2.4
[debug] Proxy map: {}
[generic] father-of-epileptic-girl-wants-marijuana-treatment-legalized: Requesti
ng header
WARNING: Falling back on generic information extractor.
[generic] father-of-epileptic-girl-wants-marijuana-treatment-legalized: Download
ing webpage
[generic] father-of-epileptic-girl-wants-marijuana-treatment-legalized: Extracti
ng information
[generic] Brightcove video detected.
[download] Downloading playlist: Video | Father of epileptic girl wants marijuan
a treatment legalized | Toronto Star
[generic] playlist Video | Father of epileptic girl wants marijuana treatment le
galized | Toronto Star: Collected 1 video ids (downloading 1 of them)
[download] Downloading video 1 of 1
[Brightcove] AQ~~,AAAAuO4KaJE~,gatFNwSKdGDsWXPp37fXNe5r7qx0iE2S: Downloading pla
ylist information
ERROR: Empty playlist; please report this issue on https://yt-dl.org/bug . Make
sure you are using the latest version; type  youtube-dl -U  to update. Be sure t
o call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "C:\Transmogrifier\youtube-dl.py\youtube_dl\YoutubeDL.py", line 650, in e
xtract_info
ie_result = ie.extract(url)
File "C:\Transmogrifier\youtube-dl.py\youtube_dl\extractor\common.py", line 27
3, in extract
return self._real_extract(url)
File "C:\Transmogrifier\youtube-dl.py\youtube_dl\extractor\brightcove.py", lin
e 212, in _real_extract
return self._get_playlist_info(player_key[0])
File "C:\Transmogrifier\youtube-dl.py\youtube_dl\extractor\brightcove.py", lin
e 250, in _get_playlist_info
raise ExtractorError('Empty playlist')
ExtractorError: Empty playlist; please report this issue on https://yt-dl.org/bu
g . Make sure you are using the latest version; type  youtube-dl -U  to update.
Be sure to call youtube-dl with the --verbose flag and include its complete outp
ut.

It uses AMF (at least on desktop) that is not currently supported.


Bug using with  in react-native-web: Unknown event handler property onPress. It will be ignored.

react-native-chart-kit causes the above js console warning when running on react-native-web.
This is using code for a sample LineChart based on the sample from the repo documentation.  It works fine on android and ios.
If the  is removed, the error disappears (even though there is no mention of an onPress in the code).
Thanks

What did you remove?

I found this error as well.

Same here.
I also have other warnings as soon as the LineChart is rendered for web:
Unknown event handler property onStartShouldSetResponder. It will be ignored
Unknown event handler property onResponderTerminationRequest. It will be ignored
Unknown event handler property onResponderGrant. It will be ignored
Unknown event handler property onResponderMove. It will be ignored
Unknown event handler property onResponderRelease. It will be ignored
Unknown event handler property onResponderTerminate. It will be ignored
any suggestions ?

Same here. Any updates regarding this?

Same here. Any updates regarding this?

I would really love to get a fix for this asap.

Hello, I have the same problem.
Some solution?

#609