Why not leverage biocontainers?

... instead of (re-)writing those Dockerfiles under docker?
See: http://biocontainers.pro/
/cc @biocontainers

Hi @brainstorm Apologies I missed your issue when you filed it! We will look into Biocontainers, thanks for sharing!

Curious about what was the conclusions/outcomes on not using BioContainers? :)

Hi @brainstorm! We haven't specifically decided not to use BioContainers, but haven't pushed our dockers there yet either.
We are moving towards using a GCR hosted source for our dockers for production because of the scale we run our pipelines. We also plan to push the same docker images to multiple locations so they are accessible to more people. Would it make sense to push a docker image to GCR, dockerhub, and biocontainers? Or am I misunderstanding what biocontainers is?

Yes it could make sense to push to several locations for redundancy and availability (I guess).
The main advantage of biocontainers though is that you have already built (bio) scientific containers which you can "compose" without duplicating work. Also the community and practices around it are already established. Furthermore, the way to build such containers is already uniform and consistent, with documented guidelines and good practices.
Re-starting all that effort from scratch sounds redundant unless there are good reasons underneath?

I'm likely just not understanding where we are proposing duplicating or restarting. I'll have an engineer on my team help me understand tomorrow.
We use GCR for storing and calling out to our containers in production because of the scale we run at. We previously had issues with making too many docker pulls from Dockerhub, it was costing them a lot of money. On GCR we can cover the cost of hosting and pulling ourselves.

Sorry I did not mean the infrastructure or "Container Registry", GCR is perfectly fine. What I meant was the Dockerfile definitions/packaging/testing itself, i.e:
https://github.com/HumanCellAtlas/skylab/blob/master/docker/samtools/Dockerfile
vs
https://github.com/BioContainers/containers/tree/master/samtools
Contributing those Dockerfiles to biocontainers instead of creating them yourself at skylab can potentially save a lot of individual efforts by leveraging community work and create a more uniform/robust/predictable ecosystem.
Hope it makes sense now ;)

This is noted in our team backlog, closing issue as we are moving repositories.

Our backlog is not public, unfortunately, but the new repo is here https://github.com/broadinstitute/warp


[no-release-notes] attribute grammar scaffold for name resolution

New module for converting from ast.SQLNode -> sql.Node.
This first PR is a scaffold that rewrites most of parse.go required to run TestQueriesSimple_Experimental and TestQueryPlans_Experimental. The main file to review for this change is sql/planbuilder/builder.go. The rest of the files in sql/planbuilder are mostly boilerplate.
The new code path can be invoked using a new environment variable GMS_EXPERIMENTAL=1, or by creating an analyzer/engine pair with the Version=VersionExperimental attribute, or with a VersionedHarness.WithVersion(sql.VersionExperimental). The *sql.Context is initialized with the engine's value at the beginning of analysis to avoid threading the flag through every analyzer rule signature.
The new code path tries to planbuilder.Parse before falling back to parse.Parse. If planbuilder.Parse succeeds, we use a restricted ruleset in sql/analyzer/rules_experimental.go. We also linearize batches in the new mode, avoiding the node equality check.
Follow-ups:

Fix aggregation (+windows) and sort node logic.
Fix long-tail of enginetests that fail without expanding the number of nodes covered by experimental path.
Implement validation in planbuilder, so that we don't have to fallback to old parser for error checking.
Implement stored procedures, triggers, prepared statements and tests with the new setup.

The work above are verticals within one layer of changes that collapse into a replacement analyzer that converts ast.SQLNode -> sql.Node. The next layer of changes will replace sql.Node with a more efficient intermediate representation, swapped out by forking planbuilder. That layer will involve a similar pattern of verticals replacements that collapse into a full analyzer replacement.

I made some of the changes on the most recent PR here for merge convenience: https://github.com/dolthub/go-mysql-server/pull/1772. Sending this one now.


PDF Files are invisible after adding source

Greetings! First of all - thank you for a great plugin, really helping me a lot!
I encountered problem on my Arch Linux machine, where PDF files are "invisible" after adding.
There some info:

Installation

[mainanton@antonqt obs-ghostscript-1.3]$ make install
[100%] Built target obs-ghostscript
Install the project...
-- Install configuration: ""
-- Installing: /home/mainanton/obs-studio/obs-plugins/64bit/libobs-ghostscript.so
-- Set runtime path of "/home/mainanton/obs-studio/obs-plugins/64bit/libobs-ghostscript.so" to ""
-- Installing: /home/mainanton/obs-studio/data/obs-plugins/obs-ghostscript/
-- Installing: /home/mainanton/obs-studio/data/obs-plugins/obs-ghostscript//locale
-- Installing: /home/mainanton/obs-studio/data/obs-plugins/obs-ghostscript//locale/en-US.ini

Previous steps was fine, no errors reported, line starting with "Set runtime.." is creepy tho.

I moved my files to correct folders, PDF source showed up in OBS, but as tittle says, when i'm trying to add file, it's just invisible.

I launched OBS from terminal to debug stuff

Here what I got:
info: User added source 'PDF Document (Ghostscript)' (obs_ghostscript) to scene 'Scene'
Empty filename passed to function
GPL Ghostscript 9.52 (2020-03-19)
Copyright (C) 2020 Artifex Software, Inc.  All rights reserved.
This software is supplied under the GNU AGPLv3 and comes with NO WARRANTY:
see the file COPYING for details.
GPL Ghostscript 9.52 (2020-03-19)
Copyright (C) 2020 Artifex Software, Inc.  All rights reserved.
This software is supplied under the GNU AGPLv3 and comes with NO WARRANTY:
see the file COPYING for details.
GPL Ghostscript 9.52 (2020-03-19)
Copyright (C) 2020 Artifex Software, Inc.  All rights reserved.
This software is supplied under the GNU AGPLv3 and comes with NO WARRANTY:
see the file COPYING for details.
GPL Ghostscript 9.52 (2020-03-19)
Copyright (C) 2020 Artifex Software, Inc.  All rights reserved.
This software is supplied under the GNU AGPLv3 and comes with NO WARRANTY:
see the file COPYING for details.
GPL Ghostscript 9.52 (2020-03-19)
Copyright (C) 2020 Artifex Software, Inc.  All rights reserved.
This software is supplied under the GNU AGPLv3 and comes with NO WARRANTY:
see the file COPYING for details.

And this message keeps appearing every time I try to scroll document with mouse wheel or PgUp/PgDown
In addition, attaching log file, I could not find any useful stuff there tho.
Any ideas how to fix this, or at least where to look, I'm quite confused :confused:
Cheers,
Antony
2020-06-27 00-30-02.txt

Similar issue here on Ubuntu.
The source can be successfully  added. But as soon as you move to the next (or previous) page, the document disappears leaving you with a grey screen instead.

Hi, I am also having this issue. I am using Arch Linux. Interesting is that if I close obs and then open it again, the pdf is rendered! However, only the first time, because after the first attempt to go to the next page the image goes black.
PS: if anyone is interested in testing in arch, I created an AUR package here


⚠ Bofrost.at has degraded performance

In 5aad568, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1694 ms

Resolved: Bofrost.at performance has improved in 6a405a1 after 10 minutes.


Update readme file

friendlier intro
explain how to add a blog post

This was updated with a recent commit


Passengers get off bus and walk vehicle lane

I've noticed. since the new pathfinder was introduced in recent mod update, that passengers are doing strange things after getting off the bus...
Context:

4 lane road, 2 way, outer lanes are bus lanes
Bus stop is in the bus lane
Parking AI is off (not currently tested with it on so this might be irrelevant)
The city is left-hand traffic (I've not tested with right-hand traffic)

Some passengers get out and start walking down the road - in the vehicle lane next to the bus lane. When they reach a node (of any type, I assume, but not yet tested), they spawn pocket cars.
This looks really odd. It's similar to the weirdness that happens near outside connections when cims are moving in to the city - walking in the road then suddenly spawning cars.
While there has always been some post-bus pocket car spawning (even in vanilla game), it's always taken place on the pavement. This recent behaviour of them walking down the road has just make it much more obvious.
What I would expect to happen:

A cim using PT should not pocket car
If part of the journey would cause pocket car, it would be better to do whole trip by car (or taxi?)
Only time pocket car should occur is if part of the journey is only possible via PT and the remainder is only possible by car (eg. too far to walk after getting off bus) - even then, taxi or bicycle should be used instead if possible.
If a cim does pocket car, it should be from the pavement, where it's visually less obvious

https://github.com/VictorPhilipp/Cities-Skylines-Traffic-Manager-President-Edition/issues/193

On one occasion I have also seen a car driving on a monorail track. Might be a related problem.
https://youtu.be/V7BE9NiF-Y8

I also have seen that happening in the past, but only on the NExt2 3-lane and 4-lane roads (1+2, 1+3, 2+2).  Does the problem also occur on the vanilla 4-lane road (with median) or only on NExt(2) roads?

As far i have seen the Pocket Cars happen on the worst places, no matter if NExt2 Roads or Vanilla, running advanced parking AI luckily prevents those. Maybe a segment/Lane restriction for spawning Cars at all would be a solution, as I found out when replacing the street with the same street in many cases solves the problem, as well as rerouting some of the public transit to have a stop on the exact place where the spawning happens. Bu as I said as soon you use parking AI which actually with 1.10.10 works wonderfully without hitting the CPU load stops this behavior completely.

This is the road where I noticed people walking down the vehicle lane: https://steamcommunity.com/sharedfiles/filedetails/?id=1307053634&searchtext=uk+roads+bus
I only have 2 segments of vanilla road in my city currently (a 6-lane bridge over a motorway).

Here another Screenshot of this happen, with another issue on top of it. Some of those lane walkers stand then on the lane and stating they are taking public transit to go home. Guess they are waiting for taxi. They simply stand there and slow down traffic.

Created separate issue for cims that wait in road for taxis: #208

Does this issue still occur? I've not noticed it happening any more - maybe game/mod update fixed it?

Just seen it again, only this time I think she just got out of a taxi:

She's half way down the road now...

Is it vehicle-only lane?

It's vehicle/car lane:

However, there's a bunch of "none" lanes under it, for example:

The ped lanes are out at the edges and not overlapping road:

Road asset from: https://steamcommunity.com/sharedfiles/filedetails/?id=1601040013


Make AST generated by parser reversible

For #797, but might be useful for other purposes too, so I'm moving this to a separate issue.

@berekuk I am Ok with it...

Solved in #1723


[Bug]:

Version of the software
0.1.27
Operating system
window10
Browser / Native
Native
What happened?

Execute JS (PuppeteerExecuteJs) <<

Evaluated document.cookie
Got result: ps=%7B%22bid%22%3A%2261ae19ab21fda200087e7db2%22%2C%22extvid%22%3A%22ext1%3A90567621-c0e2-4d19-94e0-56f5c3347838%22%7D; _csrf=ToI0g9TuL9HkxazFznte-OYs; _dd_s=rum=0&expire=1638800691095

Get Cookies (PuppeteerGetCookies) <<

Got 0 cookies for
Why PuppeteerGetCookies cannot get cookies???

Relevant LoliCode if needed
No response

Did you write the correct domain in here? For example if you're on a page with URL https://example.com/test?blah=blah you need to write example.com otherwise it will not work.

Yes, I'm sure I filled in the correct domain. I only opened a website and checked the domain name of cookie with the browser .

Sorry, No bug, just Admin Permissions

Could you elaborate? And please close the issue after you do that, thanks

Sorry, I forgot that I am using selenium now. BUG still exists


Create a Chinese README？

Do you need to create a README _ zh.md or similar?

TODO.

A Chinese README had been created. More translation contributions about document are welcome.


Automatically Call DisposeAsync

It's unsafe to rely on a user calling DisposeAsync once they're done using the enumerator exposed by SqlAsyncCollector. If they do not call it, the SqlConnection and SqlDataReader will remain open, leaking resources. Ideally, we should find a way to have this method be called automatically once the user's function exits.

Check if other extensions do anything for this.


Current Behavior
Only the white pieces can move.
Possible Solution
Make the black pieces move.
Steps to Reproduce

Open the game

Context (Environment)
About 78 degrees outside
Detailed Description
When you play the game the black pieces don't move.
Possible Implementation
If you implemented movement for the black pieces that would fix it I think.

RESOLVED WONT_FIX


Unable to import modules

Steps to reproduce:

pip install climatic
create sample file as:

import climatic

a = climatic.connetions.Ssh("<IP_ADDRESS>", "admin")

This gives me: AttributeError: module 'climatic' has no attribute 'connections'

Hi @caioboffo, thanks for you interest in using Climatic.
Climatic is only supported in Python3. Certify that pip is calling the pip3 executable, or run pip3 install climatic.
Also, the way to use it is not as from your example. For using it with a SSH connection to a Linux Shell, please follow the documentations here: https://github.com/evedovelli/climatic#usage . The usage documentation also explains how to use it with a client library, and gives as example the usage with python3 CLI, which requires the installation of https://github.com/evedovelli/climatic-python
For other CLIs, the specific client library should be implemented, taking as example the https://github.com/evedovelli/climatic-python or https://github.com/evedovelli/climatic-ipinfusion (for OcNOS CLI, similar to Cisco's CLI).


Needs Xcode 7.2 UUID

maybe copy from here? https://github.com/travisjeffery/ClangFormat-Xcode/blob/master/ClangFormat/ClangFormat-Info.plist

yeah it's pretty easy to get, see the README :) just reminding myself to do it later today

I'd accept a PR if you have a moment, though!

closed by #43


Feature request: Add bug/feature request templates

To make it more user-friendly for users/contributors reporting bugs/feature requests, it would be great if there was a template to follow.
This is quite common in most framework, and this can be done by simply adding these templates in the .github/ISSUE_TEMPLATE/ directory. Then GitHub does its magic.
I can make a PR for this and tag to this issue.

Fixed in https://github.com/vanna-ai/vanna/pull/224/commits/e0458f09a22ee19f2152486b2a2f29d41390bd42


Backend Out of the Box Privacy Notices

❗ Blocked by product supplying the default privacy notices.
Is your feature request related to a specific problem?
Allows Ethyca to define default privacy notices that can be returned to the Compliance person as a starting point from which to tailor their Privacy Notices.
Describe the solution you'd like
See Design Doc: Out of the Box Privacy Notices
Describe alternatives you've considered, if any
A description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Blocked by needing privacy notices from product

@mfbrown to finalize tomorrow

oops, I meant to say I'd close this one out!

Note: I have a draft here: https://github.com/ethyca/fides/pull/3120, that creates a privacy notice template table, automatically populates on startup, and then creates notices from the templates.  If the templates change, they are automatically updated on restart, but notices created from those templates aren't changed.
Moving to blocked though because I was only able to create notices for a subset of the notices listed here due to missing data uses https://ethyca.atlassian.net/wiki/spaces/PM/pages/2656108545/Privacy+Notice+Templates, and many of these notices will change with fides lang 1.4.  Michael said he's okay waiting until fides lang 1.4.

We will need to update how we represent EU/European Economic Area countries. The GDPR applies to all EU countries, plus Iceland, Liechtenstein and Norway. Additionally, we'll need to include the UK, since they have a GDPR equivalent.

moving to done


Is VERSION now required?

After the latest bump, we're getting the following error after from mix compile:
** (File.Error) could not read file "VERSION": no such file or directory

I think the culprit line can be found here: https://github.com/Betree/burnex/blob/ebc62f3029409142d749c58cee8e1155baba4773/mix.exs#L7
Our project does following semantic versioning but we do not use the VERSION file as you do with this project. Would it be possible to exclude this file from being required in order to use this dependency?

@bradleygolden thank you for opening an issue, this change was only related to the internal release mechanism and shouldn't have impacted projects that depend on it. I'll make sure to push a fix for it today.

Fixed in https://hex.pm/packages/burnex/1.2.1


More lenient search is needed

Searching for something such as "iron gear wheels" is currently hard, as the natural search string is either "gear" or "wheel", but they need to be prefixed with "iron".

Yeah that would be really nice.


Update readme file and online guide page

same installation process should be explained on both, and should work
give more details on how to get local doc or delete it
choose between pip/conda/poetry (mixed in readme)

README.md updated for now
online doc still to be updated
see PR #55 : https://github.com/airbus/scikit-decide/pull/55


Change Dryopolystichum to Lomariopsidaceae

So that count of monophyletic taxa is correct.
See https://github.com/fernphy/ftol/issues/16

As work-around for now, exclude Dryopolystichum_phaeostigma from rogues table (fedaad9212fab24ad8800d25bcd11990d50d3f4a)


Filters break adding resources

Describe the bug
White screen when filtering and adding more than a few resources.
To Reproduce

Add a filter for AWS::CloudFormation::Stack and AWS::TAGS::TAG
Add more than a couple of resources to the screen
Watch the screen go white (entire Chrome window, Perspective toolbar, everything gone, like looking at about:blank ).
Reload and you're back to an empty canvas (toolbar and grid return)

Expected behavior
Not to whitescreen but to show the resources, like it does when I disable the filters, I can add many.
**Browser **
Chrome Version 85.0.4183.121 (Official Build) (64-bit) on OSX

Hey, I wasn't able to replicate this following your instructions, but i was able to replicate something similar following these steps:

create an architecture diagram using a lambda function
open the filters menu and select AWS::TAGS::TAG and AWS::CloudFormation::Stack
Expand a resource in the the architecture diagram and it excludes the filtered resources
open the filters menu and deselect AWS::TAGS::TAG and AWS::CloudFormation::Stack
Expand a resource in the architecture diagram and then the UI fails and the error can be seen.

We will investigate this further and update this ticket.

Thanks @thebutler12 . I can start with an empty canvas, enable 2 or more filters and start adding objects. A couple of EC2s, maybe an ALB, doesn't seem to matter what, but more than 3 or 4 objects will kill it for me.
From the console logs, it sounds like it is losing track of which objects are present and trying to create a edge to an object that a filter removed.


Patch svf example

Solid.

Though, we should do the same fix for the String/char* issue. I don't like the warnings.
I'll open an issue specifically for that.


Issues to address for v3 expanded test

[x] Abstract the notification time settings
[ ] Consistently use UTC in all displays (chart is currently local)
[ ] Make the x axis reflect time average over the full period (#62)
[x] Make the y limit the red threshold, or the blue line that's currently over it
[ ] Make change/update indicators more prominent (debug CSS animation fade in)
[ ] Error handle missing data or broken websocket
[ ] Look into the date parsing difference between Chrome and Safari
[ ] Ensure mobile display responsiveness, particularly on iPad
[ ] Update main dashboard to show overall red/yellow/green for each gas currently in danger (in any time-window) (ppt_1)
[x] Remove the graph on the default detail now view (it's the 10 min avg one) (ppt_2)
[x] Add a new live tab on the details page, remove it from the time views (ppt_3)
[x] Update the chart to be a line chart rather than area chart(ppt_4)
[x] Add chart to the Latest tab on the firefighter's page (i.e. history of sensor readings) (ppt_5)
[ ] Add labels to the chart lines on firefighter pages (e.g. 10 min limit, 10 min avg, probably don't need to label the yellow line) (ppt_6)
[ ] Enlarge the clickable area on the Red / Yellow / Green icons on the homepage and FF pages (ppt_9)
[x] Make authorization a configuration flag
[ ] Have the timestamp local reflect the i18n local storage language (needs to be set explicitly now)
[x] Add a tooltip over the datapoints in the chart

Added a few new ones - I'll slack you pics/slides for these:

Enlarge the clickable area on the Red / Yellow / Green icons on the homepage and FF pages (ppt_9)
Add chart to the Latest tab on the firefighter’s page (i.e. history of sensor readings) (ppt_5)
Add labels to the chart lines on firefighter pages (e.g. 10 min limit, 10 min avg, probably don’t need to label the yellow line) (ppt_6)

Changed this one

FROM Update main dashboard to show if any of the past readings are in danger, if not the live one
TO Update main dashboard to show overall red/yellow/green for each gas currently in danger (in any time-window) (ppt_1)
I hope this is OK - it's to reflect that there's no 'past danger', per-se - all of the gases and all of averaging periods are 'live' all the time. (i.e. they're all about what's likely to be present in a FF's body 'live' right now - either from a short-sharp-shock that's only just happened or from accumulation over a longer time)

Updated this one:

Make the x axis reflect time average over the full period (#62)
I added a note to #62. It's a change of mind from what I suggested on Tues, but I think probably better UX and simpler to implement.

@pedrocruzio these are the two bugs it would be great for you to look at:

[ ] Consistently use UTC in all displays (chart is currently local)
[ ] Look into the date parsing difference between Chrome and Safari (iPad and mobile devices, including Android)


Unable to login to comments via Twitter

From Kevin, on Twitter:

FYI: Being able to log-in via Twitter to write a comment doesn't work; on Safari & Chrome, I'm redirected to a blank page…

Also the /login-return handler seems to be broken if you an alternate log-in method… https://twitter.com/KevinLozandier/status/604673183036370944/photo/1

@murtaugh @marieconnelly
We need to update the module that handles the twitter login for the latest EE version. I think the error will be fixed after the update.

@michellekondou got it—thanks for the update!

The module update took care of the error - twitter login is working again.


ModelCompiler invalid code for abstract datatypes

Scenario:
Generating code from a NodeSet2.xml containing an abstract DataType and a non-abstract subtype of said abstract DataType.
In NodeSet2.xml the abstract DataType does not have any references to encoding nodes (Default Binary/XML).
In NodeSet2.xml the non-abstract DataType does have references to encoding nodes (Default Binary/XML).
Expected behavior:
Working Code ;)
Actual behavior:
The generated code for the abstract DataType looks like this:
/// <summary cref="IEncodeable.BinaryEncodingId" />
public virtual ExpandedNodeId BinaryEncodingId => throw new NotSupportedException();

/// <summary cref="IEncodeable.XmlEncodingId" />
public virtual ExpandedNodeId XmlEncodingId => throw new NotSupportedException();

/// <summary cref="IJsonEncodeable.JsonEncodingId" />
public virtual ExpandedNodeId JsonEncodingId => throw new NotSupportedException();

This causes the a .NET server using the OPCFoundation Stack (version 1.4.372.107) to crash since no encoding id is defined for the OPC DataType in the C# class (thats neither an interface nor abstract).
Find the files and a server sample attached.
IssueDemoServer.zip

Can you provides a simple model that demonstrates the issue?

In the original issue, in the IssueDemoServer.zip you find a simple model and server implementation demonstrating the issue.

It is not clear what the issue is.
Decoding/Encoding instances of the subtype works fine.
Obviously you cannot decode/encode instances of the abstract base type but that is expected for abstract types.

Obviously thats expected :D
Whats not expected is the model generator generating code that causes the server to crash, since the DataType class is not marked as abstract in the generated code. So when the nodemanager is importing all types contained in the assembly into the encoding factory it causes a crash due to missing encoding Ids.
From my sample I've copied the code snippet where the exception/crash occurs:
(IssueDemoServer.cs#14)
protected override MasterNodeManager CreateMasterNodeManager(IServerInternal server, ApplicationConfiguration configuration)
{
    //THIS IS WHERE THE SERVER FAILS TO START --> SEE ./GeneratedCode/Demo.DataTypes.cs#81/84/87

    try
    {
        server.Factory.AddEncodeableTypes(GetType().Assembly);
    }
    catch (Exception ex)
    {
        Console.WriteLine(ex.Message);
    }
    return base.CreateMasterNodeManager(server, configuration);
}

I would expect the model compiler to mark abstract datatypes differently or generate them differently so the stack can handle this appropriately and does not try to load the encoding information for an abstract type like this:

To clarify:
The generated code looks like this:
    [System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "<IP_ADDRESS>")]
    [DataContract(Namespace = Demo.Namespaces.Demo)]
    public partial class AbstractParentDataType : IEncodeable, IJsonEncodeable
    {

while it should look like this (added abstract keyword):
    [System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "<IP_ADDRESS>")]
    [DataContract(Namespace = Demo.Namespaces.Demo)]
    public abstract partial class AbstractParentDataType : IEncodeable, IJsonEncodeable
    {

So this (excerpt from EncodableFactory.cs#L447-455)
  for (int ii = 0; ii < systemTypes.Length; ii++)
  {
      if (systemTypes[ii].GetTypeInfo().IsAbstract)
      {
          continue;
      }

      AddEncodeableType(systemTypes[ii], unboundTypeIds);
  }

does not attempt to add abstract types to the encodable factory.


fix: remove race condition bug in refresh logic and increase threadpo…

Fixes #87

Shall we add a test that verifies the refresh operation only gets called once during multiple calls to force refresh?

Added a new test. Thanks for suggesting it.


fix(Python): Ensure we don't call cuMemAlloc with 0 bytesize

According to the CUDA docs for cuMemAlloc:

If bytesize is 0, cuMemAlloc() returns CUDA_ERROR_INVALID_VALUE.

We end up calling cuMemAlloc() with 0 bytesize when allocating device buffers with no null mask. Thus, the following change was causing nanoarrow_device_cuda_test to fail:
@@ -207,7 +207,8 @@ TEST_P(StringTypeParameterizedTestFixture, ArrowDeviceCudaArrayViewString) {
   ASSERT_EQ(ArrowArrayStartAppending(&array), NANOARROW_OK);
   ASSERT_EQ(ArrowArrayAppendString(&array, ArrowCharView("abc")), NANOARROW_OK);
   ASSERT_EQ(ArrowArrayAppendString(&array, ArrowCharView("defg")), NANOARROW_OK);
-  ASSERT_EQ(ArrowArrayAppendNull(&array, 1), NANOARROW_OK);
+  ASSERT_EQ(ArrowArrayAppendString(&array, ArrowCharView("defg")), NANOARROW_OK);
+  // ASSERT_EQ(ArrowArrayAppendNull(&array, 1), NANOARROW_OK);
   ASSERT_EQ(ArrowArrayFinishBuildingDefault(&array, nullptr), NANOARROW_OK);

   ASSERT_EQ(ArrowDeviceArrayInit(cpu, &device_array, &array, nullptr), NANOARROW_OK);

In this PR, I've fixed this by simply skipping the call to cuMemAlloc. The resulting buffer will have nullptr as its data member and 0 as its size_bytes, which I believe is the desired outcome.
I also modified the test above to include cases with no nulls.

I see that this logic is being overhauled in https://github.com/apache/arrow-nanoarrow/pull/509/. If the maintainers want to close this PR out, that's fine by me!
It's probably worth including the changes to the tests though.


Possible to hide/not include readme panel?

I'm using the withDocs option to include the readmes with the story in the main panel (working great, thank you for your work on this!) But the readme tab in the add-ons panel is still over there telling me "README.md was not added." Is there any way to hide or not include the readme tab in the add-ons panel?

Agreed, would be nice to remove the README.md was not added when using withDocs as it doesn't provide value:

"Solution" 1:
Delete the message in the panel.:
import { doc, withReadme }  from 'storybook-readme';
storiesOf('Good story', module)
  .addDecorator(withReadme(" "))
  .add('Chapter title', doc(Chapter_1))

"Solution" 2:
Hide panel:
import { configure } from '@storybook/react';
import { setOptions } from '@storybook/addon-options';

setOptions({
  showDownPanel: false,
});

// automatically import all files ending in *.stories.js
const req = require.context('../stories', true, /.stories.js$/);
function loadStories() {
  req.keys().forEach(filename => req(filename));
}

configure(loadStories, module);

@goodinmech The problem with Solution 1 is that the README tab still shows, even though it has nothing in it. The problem with Solution 2 is if you are using other addons you still need the addons panel. I would instead suggest that when withDocs is used (instead of withReadme) that the README addons tab be hidden.

@ndelangen any news about this feature request?)

Close issue because of inactivity.
If it is still actual - open issue at storybook.
https://github.com/storybooks/storybook/issues

Hello! I had the same question, and I have found ugly, but working way to disable readme panel. But maybe someone will come in handy, so here is it:
Create file manager-head.html in your .storybook directory and put there this code:
<script>
    // disable README tab
    !function hideReadmeTab() {
        if (document.body) {
            [...document.querySelectorAll('.Pane button[role="tab"]')]
                .find(tab => tab.textContent.includes('README')).style.display = 'none';
        } else {
            setTimeout(hideReadmeTab, 500)
        }
    }()
</script>


feat: add C implementation for stats/base/dists/triangular/kurtosis

Resolves #3813
Description

What is the purpose of this pull request?

This pull request:

adds C implementation for @stdlib/stats/base/dists/triangular/kurtosis along with relevant tests, benchmarks and examples.

Related Issues

Does this pull request have any related issues?

This pull request:

resolves #3813

Questions

Any questions for reviewers of this pull request?

No.
Other

Any other information relevant to this pull request? This may include screenshots, references, and/or implementation notes.

No.
Checklist

Please ensure the following tasks are completed before submitting this pull request.

[x] Read, understood, and followed the contributing guidelines.

@stdlib-js/reviewers

/stdlib lint-autofix


Apply default resource limits to operator containers

The following resource limits will be applied to all operators by default:
resources:
limits:
cpu: 100m
memory: 128Mi
requests:
cpu: 100m
memory: 128Mi
These will only be applied if users do not specify resources in their values.yaml file. Anything specified there will override the defaults.

Haven't looked into the code: Can we give commons-op a bit higher resources (e.g. 200m and 1024Mi) as it does watch all the Pods, and customers had problems in the past?

Easiest way would be to put that into the values.yaml of commons..
Failing that ... I could introduce variables that get written out of course which would allow us to override this per operator.

ping @sbernauer
done

Thx! Currently don't have the time to do a proper review of all the helm stuff, maybe someone with better helm knowledge is better suited. I would try to finish the resources on products first if that is ok?

Closed this in favor of directly setting resource limits in the values.yaml of the operators to limit complexity.


Text for resource section

Here is a long list to be copied into the Resources section:
Resources
Infrastructures
COVID-19 HPC Consortium
https://www.xsede.org/covid19-hpc-consortium
The consortium encompasses computing capabilities from some of the most powerful and advanced computers in the world. It is possible to request allocations of up to 6 months.
ELIXIR Computing Resources
https://elixir-europe.org/services/tag/compute
ELIXIR nodes have made available a broad variety of computing resources.
European Galaxy COVID-19 Project
https://covid19.galaxyproject.org/
Publicly accessible infrastructure and workflows for SARS-CoV-2 data analyses from different scientific domains (genomics, proteomics, metabolomics, cheminformatics ...).
Partnership for Advanced Computing in Europe (PRACE)
https://prace-ri.eu/prace-support-to-mitigate-impact-of-covid-19-pandemic/
PRACE provides access to world-class high performance computing resources for researchers from academia and industry. PRACE has a fast review track for project proposals requesting computing resources to contribute to the mitigation of the impact of the COVID-19 pandemic.
SciLifeLab BioImage Informatics
https://www.scilifelab.se/facilities/bioimage-informatics/
The BioImage Informatics Facility provides support and training needed to perform state-of-the-art analyses on image data, including machine learning. It also organizes monthly Call4Help sessions.
Swe-Clarin
https://sweclarin.se/
Swe-Clarin makes text-based materials and text analysis tools available. It is a national node in the European CLARIN (Common Language Resources and Technology Infrastructure).
Swedish National Infrastructure for Computing (SNIC)
https://www.snic.se/
SNIC is a national research infrastructure that makes available large-scale high performance computing resources, storage capacity, and advanced user support, for Swedish researchers.
Data
Text data
CDC COVID-19 Research Articles
https://www.cdc.gov/library/researchguides/2019novelcoronavirus/researcharticles.html
A downloadable database of COVID-19 literature. This database is updated by systematically searching various bibliographic databases and hand searching selected grey literature sources.
CORD-19 dataset
https://pages.semanticscholar.org/coronavirus-research
Large collection of scientific articles (currently 128000) related to coronaviruses from Pubmed, biorxiv, medrxiv and other sources. All articles are provided in a standardized json format.
CORD-19-on-FHIR
https://github.com/fhircat/CORD-19-on-FHIR
A version of the CORD-19 dataset with semantic annotations in FHIR RDF format.
Elsevier Novel Coronavirus Information Centre
https://www.elsevier.com/connect/coronavirus-information-center
Bulk download of Elsevier fulltext articles related to COVID-19 and other resources.
LitCovid
https://www.ncbi.nlm.nih.gov/research/coronavirus/
A curated database of COVID-19 articles in PubMed compiled by the National Library of Medicine.
medRxiv and bioRxiv COVID-19 preprints
https://connect.medrxiv.org/relate/content/181
Combined page for all COVID-19 publications posted on medRxiv and bioRxiv.
Elsevier COVID-19 articles
https://www.elsevier.com/connect/coronavirus-information-center
Articles available for bulk download.
WHO database of COVID-19 publications
https://www.who.int/emergencies/diseases/novel-coronavirus-2019/global-research-on-novel-coronavirus-2019-ncov
Clinical data and clinical trials
Clinicaltrial.gov
https://clinicaltrials.gov/
US clinical trials register.
EU Clinical Trials Register
https://www.clinicaltrialsregister.eu/ctr-search/search?query=covid-19&page=2
Official database of clinical trials within the EU.
Global Clinical Trial Tracker
https://www.covid-trials.org/
Map of clinical trials related to COVID-19 world wide.
International Clinical Trials Registry Platform
https://www.who.int/ictrp/en/
https://apps.who.int/trialsearch/
WHO database of clinical trials.
LEOSS register
https://leoss.net/
Anonymous register with COVID-19 patient data from over 200 hospitals.
LIF coronavirus overview
https://www.lif.se/forskningsoversikt-coronavirus/
Overview over global vaccine and drug development projects
Epidemiology and mobility data
Apple Mobility Trends
https://www.apple.com/covid19/mobility
COVID-19 mobility data from Apple Maps.
COVID-19 Global Forecasting Kaggle Competition
https://www.kaggle.com/c/covid19-global-forecasting-week-5
Training and testing data for a weekly competition in forecasting COVID-19 cases and fatalities.
COVID-19 Symptom Tracker
https://www.covid19app.lu.se/
Maps with self-reported symptom data from a Swedish self-reporting app.
European Centre for Disease Prevention and Control (ECDC)
https://www.ecdc.europa.eu/en/covid-19-pandemic
Reports on worldwide COVID-19 cases.
GISAID/Nexstrain genomic epidemiology
https://nextstrain.org/ncov
https://www.gisaid.org/epiflu-applications/next-hcov-19-app/
Evolution and worldwide distribution of SARS-CoV-2 genotypes.
Google Mobility Reports
https://www.google.com/covid19/mobility/
COVID-19 mobility data from Google Maps.
Institute for Health Metrics and Evaluation (IHME) - COVID19 Projections
https://covid19.healthdata.org/
Predictions for cases, tests, deaths and required hospital resources.
Johns Hopkins COVID-19 Dashboard
https://www.arcgis.com/apps/opsdashboard/index.html#/bda7594740fd40299423467b48e9ecf6
https://systems.jhu.edu/research/public-health/ncov/
Our World in Data
https://ourworldindata.org/coronavirus
Worldwide COVID-19 statistics.
Swedish Intensive Care Register
https://www.icuregswe.org/data--resultat/covid-19-i-svensk-intensivvard/
Statistics about ICU admissions in Sweden.
Swedish Public Health Authorities (Folkhälsomyndigheten)
https://www.folkhalsomyndigheten.se/smittskydd-beredskap/utbrott/aktuella-utbrott/covid-19/bekraftade-fall-i-sverige/
Official statistics about COVID-19 cases and tests in Sweden.
UNCOVER COVID-19 Challenge
https://www.kaggle.com/roche-data-science-coalition/uncover
This dataset is a curated collection of over 200 publicly available COVID-19 datasets from sources like Johns Hopkins, the WHO, the World Bank, the New York Times, and many others. It includes data on a wide variety of potentially powerful statistics and indicators, like local and national infection rates, global social distancing policies, geospatial data on movement of people, and more. The data comes with a Kaggle competition hosted by the Roche Data Science Coalition (RDSC) which comprises number of tasks developed and evaluated by global frontline healthcare providers, hospitals, suppliers, and policy makers.
Image data
Structural data
Deepmind structure predictions
https://deepmind.com/research/open-source/computational-predictions-of-protein-structures-associated-with-COVID-19
Structure predictions for COVID-19-related proteins from AlphaFold.
Xchem fragment screen data
https://covid.postera.ai/covid
Results from a large crystallographic fragment screen against the SARS-CoV-2 main protease (MPro, PDB ID: 6YB7) conducted by XChem at the Diamond Light Source.
Tools and other resources
Artificial intelligence models
COVID_BERT_base model
https://huggingface.co/deepset/covid_bert_base
A BERT base model fine-tuned on Covid-19-related texts for natural language processing.
National Library of Sweden - SweBERT models
https://github.com/Kungbib/swedish-bert-models
Swedish BERT and ALBERT models for natural language processing.
Swedish Public Employment Service – Swedish BERT models
https://github.com/af-ai-center/SweBERT
Swedish BERT models for natural language processing.
Other COVID-19 tools
COVID-19 Cell Atlas
https://www.covid19cellatlas.org/
Repository for cell-specific expression data.
COVID-19 Disease Map
https://covid.pages.uni.lu/
The COVID-19 Disease Map is an assembly of molecular interaction diagrams, established based on literature evidence. The focus is on host-pathogen interactions specific to the SARS-CoV-2 virus.
Skåne University Hospital 3D Printing Centre
http://3dskane.se/
Project descriptions for COVID-19 3D printing projects and contacts for volunteers.
General tools
BIAFlows
https://biaflows.neubias.org/
BIAFLOWS is an open-source web platform to benchmark and reproducibly deploy Bio Image Analysis (BIA) workflows.
Bioimage Informatics Search Engine (BISE)
http://biii.eu/
BISE is a search engine for tools, training materials and data for bioimage analysis.
ImJoy
https://imjoy.io/
ImJoy is a plugin powered hybrid computing platform for deploying deep learning applications such as advanced image analysis tools.
scispaCy
https://allenai.github.io/scispacy/
scispaCy is a Python package containing spaCy models for processing medical text.
spaCy
https://spacy.io/
spacy is a natural language processing library which integrates deep learning models for a variety of text analysis tasks.
Discussion groups, online workshops, networks
AI Innovation of Sweden
https://www.ai.se
National centre for applied AI research and innovation. Hosts projects, data lab, workshops and networking events.
AI Lund
http://ai.lu.se/
AI Lund is a network for research, education and innovation in the area of artificial intelligence. It is hosted by Lund University and open to everyone. AI Lund organizes a bi-weekly online discussion (AI Lund drop-in), regular workshops, training events and other activities. The website also has a channel with videos from past events.
Crowdfight Covid-19
https://crowdfightcovid19.org/
A platform that connects COVID-19 researchers with expert volunteers from various domains.
Data-against-Covid.org forum
https://discourse.data-against-covid.org/
A forum that connects clinicians, virologists, immunologists with machine learners, bioinformaticians, epidemiologists and statisticians. For posting questions and finding collaborations.
ELLIS against Covid-19 online workshops
https://ellis.eu/covid-19
This series of online workshops presents projects on how to tackle Covid-19 using methods of machine learning and AI, carried out by leading international researchers. Research topics include outbreak prediction, epidemiological modelling, drug development, viral and host genome sequencing, and health care management. Meetings can be attended by live streaming or watched as recordings.
Image.sc Forum
https://forum.image.sc/
The forum’s focus is software-oriented aspects of scientific imaging, particularly (but not limited to) image analysis, processing, acquisition, storage, and management of digital scientific images. It is the primary discussion forum of the bioimaging community.
NEUBIAS
http://eubias.org/NEUBIAS/
NEUBIAS is a network of bioimage analysts in Europe, aiming at strengthening the bridge between life science, computer science and digital image processing. It also offers many training activities including online workshops and a youtube channel: https://www.youtube.com/channel/UC-oy7UpEhRfHQ-5ePCviKFg.
MakersofSweden Forum – Pandemihack channel
https://forum.makersofsweden.se/c/pandemihack/
Discussion forum and link list for makers engaged in COVID-19 projects.
SciLifeLab Forum – Covid-19 channel
https://forum.scilifelab.se/c/covid-19/
Discussion forum for the Swedish Covid-19 community and SciLifeLab infrastructures.
Training and teaching resources
AI Competence for Sweden
https://ai-competence.se/
Artificial intelligence courses and training for professionals provided by Swedish universities.
AI Lund TV
http://ai.lu.se/tv/
Videos from AI Lund workshops, seminars and training events, including technology-oriented topics and topics related to medicine, ethics and privacy.
Aitslab training collection
https://github.com/Aitslab/training
List of training resources related to data science and artificial intelligence curated by the Cell Death, Lysosomes and Artificial Intelligence Group at Lund University.
ELLIS against Covid-19
https://ellis.eu/covid-19
Recordings from workshops presenting different AI projects related to COVID-19.
Galaxy Training
https://training.galaxyproject.org/
Collection of tutorials developed and maintained by the worldwide Galaxy community.
NEUBIAS youtube channel
https://www.youtube.com/channel/UC-oy7UpEhRfHQ-5ePCviKFg
Videos related to bioimage analysis.
Link lists with COVID-19 projects and resources
Aitslab COVID-19 Resource List
https://github.com/Aitslab/corona
List of COVID-19 resources curated by the Cell Death, Lysosomes and Artificial Intelligence Group at Lund University.
data-against-covid.org community wiki
https://discourse.data-against-covid.org/t/community-wiki-resources-on-data-science-and-friends-vs-covid-19/731
A list of data, services and other resources compiled by the data-against-covid.org community.
CDC Link list
https://www.cdc.gov/library/researchguides/2019novelcoronavirus/datastatistics.html
Secondary data and statistics sources for COVID-19 researchers compiled by the CDC.
Open-Source-COVID-19
http://open-source-covid-19.weileizeng.com/index
A global collection of Open Source projects related to COVID-19.
Hack the Crisis – Inspiration & resources
https://www.hackthecrisis.se/inspiration
A list of resources compiled to support participants of the Swedish Hack the Crisis hackathon.
Swelife COVID-19 Resource List
https://swelife.se/verktyg/covid-19/
A list of funding opportunities and other resources for COVID-19 projects.
Utveckling i VGR – COVID-19 Resource List
https://vgrblogg.se/utveckling/2020/03/31/covid19-resurser-for-dig-som-vill-hacka-krisen/
A list of resources compiled to support participants of the Swedish Hack the Crisis hackathon.
COVID-19 Biohackathon Resources
https://github.com/virtual-biohackathons/covid-19-bh20/blob/master/datasets_and_tools.md
A list of resources compiled to support participants of the COVID-19 Biohackathon.

Many thanks for this @SonjaAits - super impressive!
This is now merged and up on the website: https://www.covid19dataportal.se/support_services/resources/
Note that I moved the Text Data section to the Text and literature page: https://www.covid19dataportal.se/support_services/text_and_literature/
If you'd like to edit / add to this, the relevant files are:

content/english/support_services/resources.md
content/english/support_services/text_and_literature.md
content/svenska/support_services/resources.md
content/svenska/support_services/text_and_literature.md

I made the Swedish translations by simply passing through Google Translate. Feel free to do the same yourself. If any native Swedes spot stuff that looks strange then they can submit fixes directly. It's better to have the content on the Swedish version, even if the language is poor I think.
Thanks again, and let me know if you have any questions (here, or on Slack).
Phil


Installation issues

Hello,
I'm getting an error when installing the package using:
devtools::install_url("https://github.com/immunomind/immunarch/raw/master/immunarch.tar.gz")

Here's the error:
Error: (converted from warning) package 'dtplyr' was built under R version 3.6.2
Execution halted
ERROR: lazy loading failed for package 'immunarch'
Error: Failed to install 'unknown package' from URL:
(converted from warning) installation of package ‘C:/Users/X/AppData/Local/Temp/RtmpQ1Pgsx/file3b747cab2090/immunarch_0.5.4.tar.gz’ had non-zero exit status

I also tried installing it locally and get the same message. How can I fix this?
Thanks

@EugeneRumynskiy  I was running into the same problem. Your work around fixed the issue for me! Thanks a bunch!!! :)

@jcs3632 it seems that the issue can be easily fixed. Feel free to try the solution above and re-open the issue in case it didn't work.


Mod won't update, and the scroll icons show blank in inventory

Hi!
I updated my mods today, and for some reason, this is the only mod that won't actually update (Despite the Mod Manager saying it updated), and for some reason, the icons for the scrolls from this mod show blank on inventory as well as on merchant's stock and chests. Attached are screenshots.

Already tried uninstalling and re-installing the mod to no avail.
Any ideas?
Thanks!

I second this, also not working for me.

I third this, I'm getting both of those errors on my end

Came here to report this as well.

Thanks for reporting!
I'm going to take a look, this is likely due to the mod format changes of Patch 7 that the mod has not been updated for yet.


Include FSH source information in log statements

This comes with several test cases that check the source information, but not the specific text associated with the error being thrown.
I ended up only using the WithSource interface on ParentNotDefinedError, since that's the only error that gets caught and logged in a location where the source information would not normally be accessible.
Also, as it turns out, jest's SpyInstance can do some pretty handy stuff.

Looks great and works great, @mint-thompson ! You're right, the SpyInstance is a very cool feature. I like it.
Could you just rebase to resolve some conflicts here, and then once you do that, we should be good to go? Additionally, could you also just check the new tests for ProfileExporter and ExtensionExporter to see if it makes sense to add error checks to those?
After that, we are good to go!


What is the license for it?

I'd like to use this project as a starter for my flutter application. I want to make sure such use is acceptable to the authors.
If it is the desired goal of this app, I'd also recommend setting license to "unlicense" https://choosealicense.com/licenses/unlicense/ .

Hi @vinkaga, thanks for prompting me to add a license.
I maintain this project because I find it is a useful testbed for new Flutter features and projects. Glad to see it help you too.
I've released FlutterGames under the BSD Zero Clause License unencumbered, so anyone can do with it as they wish!

Perfect! Thanks for updating it so quickly.

You're welcome :)


Fix for active viewport focus loss when creating a new SWindow with an active ImGuiViewportFlags_NoFocusOnAppearing flag

Looking at the Win32 implementation it seems that when windows are shown in the case that the ImGuiViewportFlags_NoFocusOnAppearing is active, they are shown but not activated. This CL implements the equivalent for SWindows via the EWindowActivationPolicy.
Reproduction steps:

Create a ImGui window with a button.
Use the following tooltip below the button.

if (ImGui::IsItemHovered(ImGuiHoveredFlags_ForTooltip))
{
	if (ImGui::BeginTooltipEx(ImGuiTooltipFlags_None, ImGuiWindowFlags_NoFocusOnAppearing))
	{
		ImGui::Text("This is a tooltip...");
		ImGui::EndTooltip();
	}
}

Drag the window to the edge of the viewport so that the window is still in the viewport but the tooltip will be outside of it.
This will cause loss of focus on anything in the current viewport as the new SWindow is focused due to the default EWindowActivationPolicy::Always.

Examples:

Fix:

Merged without the SImGuiOverlay move in https://github.com/VesCodes/ImGui/commit/d95586c43c79ccc6c8512fee3256f6d9eb4fa03e


[BugFix][seatunnel-api] fix bug-6201 After submitting a task to the dev branch through st web an error is reported with inconsistent serialization IDs

…, an error is reported with inconsistent serialization IDs

Purpose of this pull request

Does this PR introduce any user-facing change?

How was this patch tested?

Check list

[ ] If any new Jar binary package adding in your PR, please add License Notice according
New License Guide
[ ] If necessary, please update the documentation to describe the new feature. https://github.com/apache/seatunnel/tree/dev/docs
[ ] If you are contributing the connector code, please check that the following files are updated:

Update change log that in connector document. For more details you can refer to connector-v2
Update plugin-mapping.properties and add new connector information in it
Update the pom file of seatunnel-dist

[ ] Update the release-note.

@Hisoka-X @ruanwenjun  PTAL

Wait for the CI


Support for Pushover notifications

I really like the Pushbullet and IFTTT notifications. Pushover.net is another popular notification service.
My proposal:
Add the following config parameters:
# Pushover API User and Application Key
# Leave User key empty or comment out to disable Pushover notifications
PO_USER_KEY="<User key>"
PO_APP_KEY="<application key>"

Add the following to notify.sh:
#Notification via Pushover
#Trigger onl if variable is set
if [ -z "$PO_USER_KEY" ]; then
        echo "Pusover notifications not enabled" >> "$LOG"
else
        echo "Sending Pushover notification" >> "$LOG"
        curl -s --form-string "token=$PO_APP_KEY"  --form-string "user=$PO_USER_KEY" --form-string "message=$MSG" https://api.pushover.net/1/messages.json
        echo "Pushover notification sent" >> "$LOG"
fi

More info available here: https://pushover.net/faq#library-shell

I think this look good, would you mind doing a pull request for this?

I would like to but I'm not a developer and I have basically no knowledge in using git beyond cloning a repo.

NP, I'll add it next time I get a chance.

Added Pushover support @sco01.  Let me know if you have any trouble with it.


Cleanup apply_model_to_raster naming and API

Previously, apply_model_to_raster would do just that:  apply a model to one raster.
Now, apply_model_to_raster accepts a list of rasters to which the model should be applied.
Assuming that there are significant speed-ups from having a function like apply_model_to_rasters, we should:

rename the current version of apply_model_to_raster to apply_model_to_rasters to reflect the API
create a function apply_model_to_raster that accepts only one raster file
share code between those two functions as appropriate

@pgbrodrick :  Thoughts?

Hey @nsfabina,
If we rename, it should be 'apply_model_to_site' or something of the like.  The list of feature files is not a list of different sites, but rather a list of different feature files per site.  Previously, it wasn't possible to do an application this way, despite the fact that we supported that style of input data, hence the change.
Does this shift your thoughts?

It depends. You say this is applying the model to a "site". Does the code actually care whether this is all the same site, or could I simply pack all of my feature files into the same "site" even though they're global?
If the notion of "site" does matter, then this should be reflected in the name and hopefully have some sort of check to be sure it's not being misused within the function.
If it doesn't matter, then I think the important point is whether there's any sort of efficiency gain from passing all the rasters at once, and being clear about naming.
The motivation for this is that I'm handling my application flow with file locks for large sets of rasters. I realize I can just pass in a list containing a single raster (and this is how I've modified my code in the short term), but the naming and API still matters.

I suppose in the long-term we can streamline more of this by following the same pattern for DataContainer, Experiment, and Reporter, where with have an Applicator(?) that handles the data and experiment states, calculates any of the information that's necessary for applying models to rasters, and then can be efficient about applying the model to arbitrary rasters.

I think you might be slightly missing the point here, let me be more clear.
I am using the term 'site' in the same way I did for training data - any region (which could be the entire globe, whatever you want) that you want to build data or apply data too.  A site can be composed of multiple raster files, each of which may have multiple bands.
IE, when you generate your training set you pass in a list of lists:
[[site_a_file_1, site_a_file_2,...,site_a_file_n],[site_b_file_1,site_b_file_2,...,site_b_file_n],...,[site_q_file_1,site_q_file_2,site_q_file_n]]
The update is not a matter of efficiency, but rather a way in which the multiple files associated with a single site can be passed in together.
So your case (single raster), passing a single-element list is appropriate.
I generally agree that the term 'raster' in the function has the potential to be confusing.  With the above in mind, do you think the term 'site' helps, or is there something better?
Your last comment goes to our ongoing discussion about whether it is appropriate to move the application to a different module or not.  As far as I can tell, that is the only change you're proposing, as the application does all of the things you mention already, being passed only a data_container and a model.  Correct me if I'm wrong.

I'm not missing the following, we're on the same page about the following intentions:

site is identical to the list of lists format from data builds, where the list of lists is a list of sites
the function currently allows the user to pass in multiple rasters as a single site
a user can pass in a list with a single raster

Here's where we're not on the same page:

Why are sites important for this function? From your answer, apparently there's nothing special about a site and there are no restrictions on how the user defines a site for passing in data. If so, then structuring this function around the idea of a site is unnecessary and lacks clarity. It gives the user the impression that there's something special about a site that they should understand and they'll need to understand why they're doing that, when this could simply refer to a list of rasters and everyone knows what that is and how to use the function.

Is there an efficiency gain from passing in multiple rasters at the same time? From your answer, it sounds like there is no efficiency gain and it simply provides an interface to pass multiple files at the same time. If so, it's more common that functions provide an interface to do an operation once, and leave it to the user to loop through if they're applying that multiple times, since that simplifies the API; e.g., it's more common to pass a file path as a string than to pass a list of file paths as strings. At the very least, we should have a function that allows a user to apply the model to a single raster and, if the functions are named clearly and appropriately, we can have an additional function that does that looping for the user and prints out a progress bar, I suppose... but again, these two should share code where possible to reduce the maintenance cost.

To summarize, I think the action items are still the same from the first post in this issue.

(Note that "site" matters in data builds and I'm supportive of it there, where there are concepts and characteristics that are shared between files from a single site, like a boundary file, and the code will fail or the outcome will be incorrect if this is misused. It's just that it doesn't really do anything here.)

There is no efficiency gain from running multiple sites, nor are multiple sites currently supported.
I disagree, however, that the concept of a site is not relevant.  It is how we have previously defined a group of rasters, and separated out the idea of applications to multiple areas and applications using multiple files.  That is absolutely relevant here.  Renaming the file to 'apply_model_to_rasters'  is potentially confusing to a user who only has one raster per site, as it implies you are applying to multiple sites.  I find no reason to support the ability to pass in a single raster, as single rasters are never something that should be considered, only raster sets (ie, a site).  Since we already have a name for this, why not keep using it?  I would imagine consistency is our best mechanism to deter confusion.
In short, I'd rather have a user say 'I don't know what a site is, let me look it up' than 'This name implies a particular thing that it doesn't do' (e.g., apply to multiple sites simultaneously).

I'm not sure if the coffee hasn't kicked in yet today, but we may need to video chat about this if you still find this controversial because the miscommunication is making it difficult to resolve this issue.

There is no efficiency gain from running multiple sites, nor are multiple sites currently supported.

I make no mention of multiple sites, only multiple rasters.

Renaming the file to 'apply_model_to_rasters' (...)

I have not suggested renaming the file to 'apply_model_to_rasters'. I have suggested renaming the function called 'apply_model_to_raster" to 'apply_model_to_rasters' because it applies the model to multiple rasters. This should not be controversial because this is what the function actually does.

Renaming the file to 'apply_model_to_rasters' is potentially confusing to a user who only has one raster per site (...)

The reason I started this issue is because the function is currently named in a confusing way. I am applying my model to single rasters, one-by-one. The function is called apply_model_to_rasters. Yet, for some reason, I need to pass a list of rasters to the function? Moreover, if we add a function called apply_model_to_raster that simply applies the model to a single raster, that's even clearer and we have two use cases clearly covered.

'apply_model_to_rasters' is confusing (...) as it implies you are applying to multiple sites

Incorrect, it implies that you are applying the model to multiple rasters. I would agree with you had I suggested renaming the function apply_model_to_multiple_sites or apply_model_to_sites, which is not what I suggested.

I find no reason to support the ability to pass in a single raster, as single rasters are never something that should be considered, only raster sets (ie, a site).

Again, I have already provided a use case for passing in a single raster and I don't think this is all that unusual.
To quote from my comment above:  "The motivation for this is that I'm handling my application flow with file locks for large sets of rasters. I realize I can just pass in a list containing a single raster (and this is how I've modified my code in the short term), but the naming and API still matters."

Since we already have a name for this, why not keep using it? I would imagine consistency is our best mechanism to deter confusion.

As scientists, we love creating simple terms to describe complex patterns or processes. This is not a complex object:  it's a list of raster file paths. How does "list of raster file paths" confuse anyone?
I'm not sure what your definition of site is any longer, since you state that the sites could represent "even the entire globe". I don't want to have to know how you define sites if it doesn't matter for the purpose of the function, as I want to be able to pass in rasters however I see fit for my needs.


Add prop to show/hide weekend day columns

A workaround could be to hide the content via formatters like so
formats={{
  dayFormat: () => "",
  weekdayFormat: () => ""
}}

+1

This request is over one year old, however, it would be nice to have such option. Is it possible to hide weekends columns (on month and week view)?


consumption_metrics: next steps

Next steps:

remove the deduplication possibility, fix tests to expect all metrics to be always sent
add more logging
fix metric posting retry, align with proxy

Rationale for deduplication removal
Before configuration change (private repo PR) we were running with configuration:
metric_collection_interval="X"
cached_metric_collection_interval="X"

This was thought to disable deduplication done in pageserver, but did not. Instead the cached_metric_collection_interval="0s" needs to be used. The deduplication was added in originally as a response to #3485 but since then the infrastructure has changed, and we are expected to send values even if there was no change.
We cannot just remove the cache, because the incremental metric MetricsKey::written_size_delta needs the previous timestamp it was sent and the previous MetricsKey::written_size.
At minimum we should fix the tests to reflect this new configuration and assert that all metrics are always sent. This is a bit tricky because synthetic_size will not be sent if it is zero.
Rationale for more logging
Currently we don't know anything about how the loop is doing, how long it is taking. We could add something like https://github.com/neondatabase/neon/pull/5174 so next time it would be easy to rule out executors being very busy and forcing us to miss ticks, or posting just being very slow.
Rationale for retrying
In the logs we see mistakenly judged 502 Bad Gateway responses as "remote refused metrics" which are most likely due to redeploys. Instead we should retry these. It seems proxy is running with similar upload code, so perhaps we should both use something better.

Now that I think of it, #3485 requested the opposite of deduplication at configurable intervals, so the dedup was always in from the start.


researchgate icon is not working

I'm trying to add a social icon, but it is not showing up.
https://fontawesome.com/icons/researchgate?style=brands
[[menu.icon]]
url = "https://www.researchgate.net/profile/user"
name = "researchgate"
weight = 3
What is wrong?

I changed some Lines and fixed this Problem for me:
in

themes/minimal/layouts/partials/css.html

change
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
to
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.6.3/css/all.css" integrity="sha384-UHRtZLI+pbxtHCWp1t77Bi1L4ZtiqrqD80Kn4Z8NTSRyMA2Fd33n5dQ8lWUE00s/" crossorigin="anonymous">
in

themes/minimal/layouts/partials/css.html

change

to

and in your root path change the config.toml for every icon entry
like this:
[[menu.icon]]
    url = "https://exampleurl"
    Identifier = "fab fa-researchgate"
    weight = 1

fab fa-researchgate
here you must take the full name of the icon

take from here:
https://fontawesome.com/icons?d=gallery
there are many fas and fab icons..
hope this helps some other people ;)


R 64-bit vs Arcmap 32-bit

Hi,
I succesfully installed the background geoprocessing extension and the bridge in arcmap 10.6 as instructed in the tutorial.
My problem is that when I run the arc.check_product() command, I get this message:
Error: Could not bind to a valid ArcGIS Pro installation.
Found ArcGIS Desktop (32-bit) Version 10.6.9270.
You'll need to use the 32-bit version of R.
I can't run arcmap 32-bits through R 64-bits, even after installing background geoprocessing and R bridge. Is the use of R 32-bits mandatory? Is there a way to get around this issue? I thought that this was background geoprocessing's reason to exist.
Thank you

Hello @username272727,
Unfortunately, it is not possible on Windows for a 64-bit process to load 32-bit DLLs, which would be required when going from 64-bit R to the ArcGIS Desktop installation. We tried to lay this out in the prerequisites section of the README, definitely open to suggestions on how to make this more clear. The background geoprocessing does allow you to create R script tools and have them executed against 64-bit R, so for example if you wrapped your functionality in a tool, it can call 64-bit R as covered in Section E of the tutorial you're following and illustrated with tools from the r-sample-tools repository. The other option if available to you is to use ArcGIS Pro which is a native 64-bit application and only works with 64-bit R.


Can't upload files with authenication

Hi,
I'm trying to upload a files from supertest (the server is using multer) and the upload demand authentication.
When I only use the attach method, it works fine; When only using auth it also works fine.
But when using both of them - nothing happens.
Example code that does not work:
request(app)
    .post('/upload')
    .auth(username, password)
    .attach('upload', fileToUpload)
    .expect(200)

Am I missing something?
Thanks!

I have a similar issue. I can't use .send w/ a token, and attach w/ a file.


Update next version in repo to 4.5 or 5.0?

Steps to reproduce
Expected result
Actual result
(include screen grabs where appropriate)
Environment and GUI version

We have a new logo?


Static file serving

It should serve files inside ./public at root path, for example ./public/style.css will be accessible at /style.css

This project seems interesting. I'm going for it to get started if no one else is making a PR.

Now this is a built-in feature of Vite 😄


Make build run with Community Edition.

Part of #1933.
Fixes a couple of unit test and ultimate dependencies to work under CE. Pending final fix when IJ gradle plugin is released.

@etanshaul I removed snapshot dependency and left updates for CE edition build to work properly with fixed IJ gradle plugin, PTAL.


Functionality of the Search Widget

@tmcgee Following up on my question from Search Widget #3 I am attempting to determine if/and how you can exclude a layer from the Search by Attributes tab, but still show it in the Search by Shape tab. The image below should sort of help depict what I mean.

You can also hit the Public URL if you're interested.
Second I am curious to know how you can go about having the bottom pane closed upon opening the application. I tried to go and change the following code in the viewer.js to reflect the following change open: false as shown in the code below:
panes: {         bottom: {          	id: 'sidebarBottom',         	placeAt: 'outer',         	splitter: true,         	collapsible: true,         	region: 'bottom',                 open: false,                 style: 'height:200px;',                 content: '

'          } }
Is there some other location that I need to change this function?

For anyone wondering I was able to look back over the config/Search.js file that comes with the master widget files. I noticed you cannot change the following: open: false; you must use open: 'none' as indicated in the notes.
bottom: {          	id: 'sidebarBottom',         	placeAt: 'outer',         	splitter: true,         	collapsible: true,         	region: 'bottom',                 open: 'none',                 style: 'height:200px;',                 content: '

' }

@drusexton Thanks. This new issue helps clarify your objective. For the first part, currently there is no way to exclude a layer from the By Attribute tab. You can already exclude from the By Shape tab so this is a good addition.
I am testing a very simple enhancement to the widget that would accomplish this. Hopefully I will have that added to the repo in the next day or so.

@tmcgee have you made an progress on the enhancement?

@drusexton I did complete this soon after my last post. With the current version, If you have no attribute searches configured for a layer, that layer will not  appear in the By Attribute tab.

@tmcgee I apologize for being such a newbie but am not sure I follow... I understand I need to have no attribute searches configured on the layer, but I am not sure where to implement this.

@tmcgee I went back to the original files because I changed the original parameters, and I was getting lost. Anyhow I went back and commented out the attributes section and this omitted the layer which is included in the By Shape search, from the By Attribute search. However whenever I attempt to run a search By Shape, there is no result. I check the console and I am not sure how to fix the issue (init.js.174) which seems to be on the font draw icon? Here is the PU, and below is my code:
{
                name: 'All Suppliers',
                expression: '', // additional where expression applied to all queries
                idProperty: 'objectid',
                labelWidth: 110,
                queryParameters: {
                    type: 'spatial', // spatial, relationship, table or database
                    layerID: 'apegWoodProducts', // from operational layers
                    sublayerID: 0,
                    outFields: ['*']
                },
                infoTemplates: {
                    buffer: {
                        title: 'Search Buffer',
                        content: function (feature) {
                            if (feature.geometry) {
                                return number.format(geometryEngine.geodesicArea(feature.geometry, 'acres'), {
                                    places: 2
                                }) + ' Acres';
                            }
                            return '';
                        }
                    }
                }/*,
                attributeSearches: [
                    {
                        name: 'Search For Assessments',
                        searchFields: [
                            {
                                field: 'Inspector Name',
                                label: 'Inspector Name',
                                expression: '(inspector LIKE \'[value]%\')',
                                width: 'calc(100% - 130px)'
                            },
                            {
                                field: 'Type of Damage',
                                label: 'Type of Damage',
                                expression: '(typdamage LIKE \'[value]%\')',
                                values: ['*', 'Destroyed', 'Major', 'Minor'],
                                width: 125
                            }
                        ],
                        title: 'Company Search Results',
                        topicID: 'companySearch',
                        gridOptions: {
                            columns: [
                                {
                                    field: 'CompanyName',
									label: 'Company Name',
									sortable: true,
									resizable: false,
									width: 150
                                },
                                {
                                    field: 'FullAddress',
                                    label: 'Address',
                                    sortable: false,
									resizable: true
                                },
                                {
                                    field: 'PhoneNumber',
                                    label: 'Phone Number',
                                    sortable: false,
									resizable: true
                                },
                                {
                                    field: 'ContactName',
                                    label: 'Contact',
                                    sortable: false,
									resizable: true
                                },
								{
                                    field: 'SecondaryCategory',
                                    label: 'Main Industry Sector',
                                    sortable: true,
									resizable: true
                                },
								{
                                    field: 'DescriptiveSummary',
                                    label: 'Descriptive Summary',
                                    sortable: false,
									resizable: true
                                }
                            ],
                            sort: [
                                {
                                    attribute: 'CompanyName',
                                    descending: false
                                }
                            ]
                        }
                    }
                ]*/
            },

@tmcgee Thanks for your assistance.


run scripts, no error,no result

I did't know why

./scripts/inference_cogvideo_pipeline.sh: line 38: 99675 Killed
just this

I got the same problem with you. Have you sloved it?

Hi, what's your GPU memory?

你好，请问你的GPU显存是多少？

16G 是不是显存不足都会这样 但是我用nvidia-smi显示GPU只占用了2MB top命令显示CPU占用100% 每次都是在这一句话之后kill进程

v100 32G GPU memory, also got process killed problem.
Yet I could successfully load stage1, and stage2 models, but got killed when loading cogview2-dsr model every time.


Mouse Interaction Animations

It looks like a rate-limiter on iconify api, atm it's blocked to https://github.com/nuxt-modules/icon/issues/131


Missing copyright infos in license file

Hello, we want to ship an app with swift-protobuf and want to add the copyright notice on our license list, but we couldn't find it in the LICENSE.txt file. Would be much appreciated if you could add them in the line 189.

Thanks.  I'll get back to you on this.

@PaulForstner, It's not actually missing; this is the intended behavior. See https://github.com/firebase/firebase-ios-sdk/issues/7105 for more details.

@tbkka were you able to get an official reply for this so we can close it out?

As @revolter pointed out, this is a misunderstanding of that file.  The individual source code files have the correct attribution:  "Copyright Apple, Inc. and the project authors"


Artifact 'com.google.code.findbugs:jsr305:1.3.9@jar' not found.

[root@localhost suro]# ./gradlew clean build
FAILURE: Build failed with an exception.

What went wrong:
Could not resolve all dependencies for configuration ':classpath'.

Artifact 'com.google.code.findbugs:jsr305:1.3.9@jar' not found.

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED
Total time: 5.438 secs
[root@localhost suro]#

Same here. Thanks quidryan and petercm.

I also found this problem. Thank you for your solution.


manual build via rollup

Putting this up here to see if CSB & co work. Still got some work to do.

I guess letting this sit around any longer won't do any good -merging it in :)


[2022-08-01] Elastic Pool ARM API swagger changes for vbs enclaves

…-preview API release
ARM API Information (Control Plane)
MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Azure 1st Party Service can try out the Shift Left experience to initiate API design review from ADO code repo.  If you are interested, may request engineering support by filling in with the form https://aka.ms/ShiftLeftSupportForm.
Changelog
Add a changelog entry for this PR by answering the following questions:

What's the purpose of the update?

[ ] new service onboarding
[ ] new API version
[x] update existing version for new feature
[ ] update existing version to fix swagger quality issue in s360
[ ] Other, please clarify

When are you targeting to deploy the new service/feature to public regions? Please provide the date or, if the date is not yet available, the month. January 2023
When do you expect to publish the swagger? Please provide date or, the the date is not yet available, the month. January 2023
By default, Azure SDKs of all languages (.NET/Python/Java/JavaScript for both management-plane SDK and data-plane SDK, Go for management-plane SDK only ) MUST be refreshed with/after swagger of new version is published. If you prefer NOT to refresh any specific SDK language upon swagger updates in the current PR, please leave details with justification here.

Contribution checklist (MS Employees Only):

[x] I commit to follow the Breaking Change Policy of "no breaking changes"
[x] I have reviewed the documentation for the workflow.
[x] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

Applicability: :warning:
If your changes encompass only the following scenarios, you should SKIP this section, as these scenarios do not require ARM review.

Change to data plane APIs
Adding new properties
All removals

Otherwise your PR may be subject to ARM review requirements. Complete the following:

[ ] Check this box if any of the following apply to the PR so that the label "ARMReview" and "WaitForARMFeedback" will be added by bot to kick off ARM API Review.  Missing to check this box in the following scenario may result in delays to the ARM manifest review and deployment.

Adding a new service
Adding new API(s)
Adding a new API version
-[ ] To review changes efficiently, ensure you copy the existing version into the new directory structure for first commit and then push new changes, including version updates, in separate commits. You can use OpenAPIHub to initialize the PR for adding a new version. For more details refer to the wiki.

[x] Ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

[ ] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If you have any breaking changes as defined in the Breaking Change Policy, request approval from the Breaking Change Review Board.
Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Additional details on the process and office hours are on the Breaking Change Wiki.
NOTE: To update API(s) in public preview for over 1 year (refer to Retirement of Previews)
Please follow the link to find more details on PR review process.

@microsoft-github-policy-service agree [company="Microsoft}"]

@microsoft-github-policy-service agree company="Microsoft"

@microsoft-github-policy-service agree company="Microsoft"


check if ns exists before create

Signed-off-by: Mike Ng<EMAIL_ADDRESS>closes https://github.com/open-cluster-management-io/community/issues/59

/lgtm


Login into ecotrend ista is not possible any more

I am uncertain if this is a temporary problem because the web portal page was completely off this morning with a message, but the web portal is now working. However, it continues not to work with pyecotrend-ista.
I saw, in Home Assistant, an issue (started at 2:40am) with fetching data from ista. Furthermore, I checked this morning a small script to access ista with the pyecotrend-ista.
This exception is inside the login part:
Exception has occurred: ContentTypeError
0, message='Attempt to decode JSON with unexpected mimetype: text/plain', url=URL('https://api.prod.eed.ista.com/login')
  File ".\ecoread.py", line 20, in main
    await ecotrend.login(forceLogin=True)
  File ".\ecoread.py", line 29, in <module>
    asyncio.run(main())
aiohttp.client_exceptions.ContentTypeError: 0, message='Attempt to decode JSON with unexpected mimetype: text/plain', url=URL('https://api.prod.eed.ista.com/login')

This is the script:
import asyncio
import json
import logging
from datetime import datetime

from pyecotrend_ista.pyecotrend_ista import PyEcotrendIsta

_LOGGER = logging.getLogger(__name__)

asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy())

EMAIL = "YOUACCOUNT"
PASSWORD = "YOURPASSWORD"

async def main():
    ecotrend: PyEcotrendIsta = PyEcotrendIsta(email=EMAIL, password=PASSWORD, logger=_LOGGER)
    print(ecotrend.getVersion())
    await ecotrend.getUA()
    await ecotrend.login(forceLogin=True)

    raw = await ecotrend.get_raw()

    with open (f"ecotrend_response{datetime.now().strftime('%Y%m%d-%H%M%S')}.json", "w") as file:
        json.dump(raw, file, indent=4, default=str)

if __name__ == "__main__":
    asyncio.run(main())

In the meanwhile, the web portal is working, with this extra note:

This also breaks the home assistant integration.

Hi @arittner They have changed the login function (internal) I'm already working on fixing it.

Great, thank you!

Works now. 👍 and HA Integration also works :-)


[Extensibility Bug ] table 5740 "Transfer Header" -OnBeforeGetNoSeriesCode

Describe the request
local procedure GetNoSeriesCode(): Code[20]
var
    NoSeriesCode: Code[20];
    IsHandled: Boolean;
begin
    GetInventorySetup();
    IsHandled := false;
    OnBeforeGetNoSeriesCode(Rec, InvtSetup, NoSeriesCode, IsHandled);
    if IsHandled then
        //+CHANGE
        //-exit;
        exit(NoSeriesCode);
        //-CHANGE

    NoSeriesCode := InvtSetup."Transfer Order Nos.";
    OnAfterGetNoSeriesCode(Rec, NoSeriesCode);
    exit(NoSeriesCode);
end;

Additional context
The event OnBeforeGetNoSeriesCode is useless in its current form, since the exit does not return the NoSeriesCode.Internal work item: AB#495252

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: 14915.


Fixed program.ys loop program in Control Flow documentation

I'm starting to experiment with yamlscript, but I ran into a little wall. The program.ys in https://yamlscript.org/doc/control/ has a couple of bugs. The first is easy, the main function doesn't have a colon delimiter at the end of the line.
The second one is that nothing is output when using the for function. I believe it needs to be each.

@kcaran Sorry for late reply. Been traveling too much :\
Thanks for that! Looks good and I'll merge now...
I need to do some work on that doc, and a ton of work on all the docs.
You are right about each vs for. The for is clojure's for is lazy (the print side effects don't take place unless you realize its return value.
I made up each to solve that. It calls for in a doall which is made to assist in this kind if thing:
https://github.com/yaml/yamlscript/blob/ffdf7f5fcc090abfcd7fa95eef6b7fdfebe6a32d/core/src/ys/std.clj#L491-L492
I'm super thankful for your interest and PR. Hope to see more!!
You can also files issues on what parts of the doc should be worked on next (or added if they don't exist).

I pushed the changes back to your branch.
I merged your changes onto the documentation branch.
I guess I need to change the target branch first, because the push didn't close the issue.
Your code is merged here: https://github.com/yaml/yamlscript/commit/5eef64ea08eafe5d2424143868d5876f6249e48d
And live on the YS site here: https://yamlscript.org/doc/control/
Closing this PR. Thanks again!

Er, closing this time :)


Join replaced by implode...

... until here, no problem.
But when you have a function named join, PHP-CS-Fixer changes it name.
Eg. :
class Tagada
{
    public function join()
    {
        //...
    }
}

Will be transformed in :
class Tagada
{
    public function implode()
    {
        //...
    }
}

Oups... I watch the code after posting this issue and it's resolved in v1.4.
Sorry.


Supporting HTTP proxy

Some environments don't allow direct any outbound connections. Digdag client users in such environments need to use HTTP proxy to connect to digdag server.
Idea here is to add support for HTTP proxy to all client commands (push, log, sessions, etc.)

We may need document?


Dev/alha

Build v1.4.0-pre1 has been created at 2ada99d

Build v1.4.0-pre1 has been created at ed96f44

Build v1.4.0-pre3 has been created at d313559

@it-hms @TomKimsey @oliver-walker-hms This PR consists mainly of changes that I had pending until the implementation of the new connector I've been working on, but...
Today, I discovered a simple and quick fix to our local time offset calculation system using existing EBD functionality, albeit with our exact use case not being explicitly defined in the documentation. I have tested these changes both in time zones with +UTC and -UTC offsets. The requirement to enter a device username/password has been a consistent nuisance for users, but can now be removed across most, if not all of our connectors.

@it-hms @TomKimsey @oliver-walker-hms This PR consists mainly of changes that I had pending until the implementation of the new connector I've been working on, but... Today, I discovered a simple and quick fix to our local time offset calculation system using existing EBD functionality, albeit with our exact use case not being explicitly defined in the documentation. I have tested these changes both in time zones with +UTC and -UTC offsets. The requirement to enter a device username/password has been a consistent nuisance for users, but can now be removed across most, if not all of our connectors.

Thats great news that we can remove the ftp user requirement!


support adding optional ingress path

some ingress' (e.g. Traefik) can benefit from "paths.path" set,
in addition to "paths.backend" - this change allows adding path

/test all

change is pretty trivial and benign, would anyone with write access spare 30 seconds?

/ok-to-test

/retest

/lgtm


bug: Lambda runtime version numbers are sorted improperly when minor versions exceed 9

What is the problem?
Once a minor version gets to 10, Eg: python3.10, the LambdaLatestVersion.ts nag rule considers it to be the same as python3.1, causing nags where there shouldn't be any.
Reproduction Steps
Run cdk_nag on a stack which declares
my_lambda = lambda_.Function(
    handler = "some_handler",
    runtime=lambda_.Runtime.PYTHON_3_10,
    code=lambda_Code.from_asset("my_code"),
    description="Some description")

What did you expect to happen?
I'd expect not to get an CDK Nag to upgrade my python runtime.
What actually happened?
"data": "AwsSolutions-L1: The non-container Lambda function is not configured to use the latest runtime version. Use the latest available runtime for the targeted language to avoid technical debt. Runtimes specific to a language or framework version are deprecated when the version reaches end of life. This rule only applies to non-container Lambda functions.\n",
cdk-nag version
v2.26.5
Language
Python
Other information
If no one is presently working on this, I do have a fix available and can send in a PR.

Thanks for reporting. PRs are welcome!Here are links to the Contributing Guidlines and Rule Creation/Editing docs to help get started


Update Blog “i-lost-my-job-for-sleeping-in-the-restroom”

Automatically generated by Netlify CMS

👷 Deploy Preview for quiet-chimera-c1d66f processing.

Name
Link

🔨 Latest commit
399a9eab3da62feae512ec628175035d4d366be0

🔍 Latest deploy log
https://app.netlify.com/sites/quiet-chimera-c1d66f/deploys/64e289f3e7d630000793077e


blank_password config is ignored

blank_password config options seems to be ignored.

Thanks for reporting, fixed as of 2892559ea26993e0e96fdef2a7d5777a03ee3baa


changes to contributing.md to include directions to installation

Reference Issues/PRs
Making it simpler for new users to directly link to installation steps from the CONTRIBUTING.md file

What does this implement/fix? Explain your changes.
Adding in a few extra lines to the CONTRIBUTING.md documentation to help new users avoid some easy bugs that they may first encounter if they don't have the environment properly set up.

Does your contribution introduce a new dependency? If yes, which one?
No

What should a reviewer concentrate their feedback on?
Seeing if the edit is well positioned or should be changed

Any other comments?
None

PR checklist

For all contributions

[x ] I've added myself to the list of contributors.
[ ] Optionally, I've updated sktime's CODEOWNERS to receive notifications about future changes to these files.
[ x] I've added unit tests and made sure they pass locally.

None needed

For new estimators -- not needed

[ ] I've added the estimator to the online documentation.
[ ] I've updated the existing example notebooks or provided a new one to showcase how my estimator works.

Thanks @kanand77 - seems like a code quality check didn't pass, let me know if you need help with those.

Thanks, @kanand77 I also had it in my mind to have such changes. Hoping it gets fixed and merged.

Nicely done, thanks @kanand77, now merged!


added prompt for user input

Hi, i've added a prompt which will ask for user input

Thank you for the contribution but there's few issues. Input prompt is working but it's not updating the date on index.html and further the countdown also stops working. Kindly look into the code again. Thanks.

Hi, these lines in the script.js are changing the date on index.html and as for the countdown there's no issue when i'm running it. The input prompt is supposed to take input date of future like year 2024,2025 and start a countdown from now till then right?

Sorry, there might have been a bit confusing on my side. I couldn't properly check the code due to an issue with my pc. I just checked, and yes the code works fine. Thank you for your contribution. Have a great day !


Write a Swift program to merge two strings

Description
Write a Swift program to merge two strings
Input  : ABC DEF
Output : ABCDEF

How to contribute

Save the solution in MergeTwoStrings.swift file
Add MergeTwoStrings.swift file in program/merge-two-strings folder

!assign


Problems with MIA

The official implementation of MIA is inductive learning, but GCN is often transductive learning, and the training method is different, how to judge whether it is forgotten? Can you provide the code for MIA? Thank you!

压根不想维护的，丢个库就跑了

压根不想维护的，丢个库就跑了

Hello! Is this code worth trying to run?

压根不想维护的，丢个库就跑了

Hello! Is this code worth trying to run?

Yes, there are many necessary files are absent.

压根不想维护的，丢个库就跑了

Hello! Is this code worth trying to run?

Yes, there are many necessary files are absent.

Thank you very much! Have you ever run the GraphEraser?

压根不想维护的，丢个库就跑了

Hello! Is this code worth trying to run?

Yes, there are many necessary files are absent.

Thank you very much! Have you ever run the GraphEraser?

Yes, it could be successfully ran.

压根不想维护的，丢个库就跑了

Hello! Is this code worth trying to run?

Yes, there are many necessary files are absent.

Thank you very much! Have you ever run the GraphEraser?

Yes, it could be successfully ran.

Could you please share your grapheraser code? I want to repeat this experiment recently, but there seems to be a lack of files, because I saw that the author deleted some files in June, 23, and I don't know whether it was caused by these files.

压根不想维护的，丢个库就跑了

Hello! Is this code worth trying to run?

Yes, there are many necessary files are absent.

Thank you very much! Have you ever run the GraphEraser?

Yes, it could be successfully ran.

Could you please share your grapheraser code? I want to repeat this experiment recently, but there seems to be a lack of files, because I saw that the author deleted some files in June, 23, and I don't know whether it was caused by these files.
I took a look and found that at that time, I was running GIF under the same framework as GraphEraser. Please see if it is useful for you

压根不想维护的，丢个库就跑了

Hello! Is this code worth trying to run?

Yes, there are many necessary files are absent.

Thank you very much! Have you ever run the GraphEraser?

Yes, it could be successfully ran.

Could you please share your grapheraser code? I want to repeat this experiment recently, but there seems to be a lack of files, because I saw that the author deleted some files in June, 23, and I don't know whether it was caused by these files.
I took a look and found that at that time, I was running GIF under the same framework as GraphEraser. Please see if it is useful for you

Thank you. Could you please provide your contact information


Fix the timer field for the solver

The way the default timer is defined now could lead to the "world age issue" as it evaluates differently each time

Also possibly the action_distrib_fn parameter. This seems replaceable with the simple actions(mdp, s).


Set aggregate datasets on openalyx to exists = True once fix in ONE is released

All aggregate datasets on openalyx have file records set to exists=True


Add link to new Energy Sparks blog from main Energy Sparks website

Suggest you add Blog as a link in the main site header bar

Duplicate


Failed to import - @react-three/fiber

Esm.sh resolves the incorrect version.
<EMAIL_ADDRESS>should resolve to react 18 according to its package.json  (https://unpkg.com/browse/zustand@3.7.1/package.json).
:
"peerDependencies": {
--
71 | "react": ">=16.8"
72 | },

Still, it will resort to 17.0.2 rather than 18.0.0. This causes libraries resolving react to 18 to also bundle react 17 if they depend on Zustand. My guess that the devDependency is respected. It should not be looked at when considering the bundling.
https://github.com/pmndrs/react-three-fiber/issues/2171

https://esm.sh/zustand?deps=react@18
https://esm.sh/@react-three/fiber?deps=react@18
you need to specify the react dep by ?deps query

That will not work. The problem appears when importing https://esm.sh/@react-three-fiber. It will resolve React to version 18 and then refer to Zustand. Zustand allows for semver >=16.8```` so there should not be a problem. However, esm.sh will respect the devDependency``` which is incorrect.
This results in both React 17 and React 18 being loaded which is not the behaviour of other bundlers. I believe the problem is that devDependencies has a say when it should not.

@lje
Zustand is imported by @react-three/fiber. When setting ?deps for the root module, it is not carried down to its subdependencies. This causes @react-three/fiber to import two versions of React.
Follow https://esm.sh/@react-three/fiber?deps=react@18 and you will find that it will try to mix imports of both React 17 and React 18 causing runtime bugs.

@lje
I tried to make the author accept a pull request aligning the devDependencies and dependencies but this is their conclusion:

I have no problem resolving this here but this is pretty clearly an issue with esm.sh (from IMO a poor design decision). I would prefer to resolve this over there rather than go through the entire ecosystem.


Fix for the issue that LogManager.GetCurrentClassLogger returns only …

Currently LogManager.GetCurrentClassLogger returns the full class name of CorelatorSharp, not the class that's using the logger. This fix will change the behaviour so that it correctly displays the calling class name

Can you add a test for this too please. Thanks in advance!

I've updated the pull request

Added a unit test for LogManager
Removed mscorlib.dll dependency