risk model sometimes does not calculate risk

Here was a report that did not have any segments that were colored

When I check the logs the report was mentioned as an input for the risk model:
2024-12-04T12:28:53.953231400Z 2024-12-04 12:28:53 DBG risk_segments.go:126 > risk model started with data: [{"station_id":"SU-WF","lines":["U9","S41","S42"],"direction":"","timestamp":"2024-12-04T12:11:00Z"},{"station_id":"UM-VIN","lines":["U2"],"direction":"U-Rl","timestamp":"2024-12-04T11:35:00Z"},{"station_id":"U-He","lines":["U8"],"direction":"SU-HMS","timestamp":"2024-12-04T11:53:00Z"},{"station_id":"U-Hö","lines":["U5"],"direction":"SUM-HBF","timestamp":"2024-12-04T12:02:00Z"},{"station_id":"M-Zk","lines":["M1"],"direction":"","timestamp":"2024-12-04T11:30:00Z"},{"station_id":"SU-HMS","lines":["S42"],"direction":"","timestamp":"2024-12-04T11:41:00Z"},{"station_id":"S-Ost","lines":["S5"],"direction":"S-Grw","timestamp":"2024-12-04T11:41:00Z"},{"station_id":"SUM-A","lines":["M2"],"direction":"","timestamp":"2024-12-04T12:03:00Z"},{"station_id":"SU-Ts","lines":["S41"],"direction":"","timestamp":"2024-12-04T11:33:00Z"},{"station_id":"U-Hpu","lines":["U7","U8"],"direction":"","timestamp":"2024-12-04T11:37:00Z"},{"station_id":"S-BR","lines":["S3"],"direction":"SU-S","timestamp":"2024-12-04T11:42:00Z"},{"station_id":"U-Me","lines":["U7"],"direction":"U-RSp","timestamp":"2024-12-04T12:13:00Z"},{"station_id":"SUM-A","lines":["U5"],"direction":"U-Hö","timestamp":"2024-12-04T11:37:00Z"},{"station_id":"U-Hpu","lines":["U7"],"direction":"U-Rd","timestamp":"2024-12-04T11:43:00Z"},{"station_id":"U-RP","lines":["U2"],"direction":"SUM-PA","timestamp":"2024-12-04T11:43:00Z"},{"station_id":"SU-Ts","lines":["S42"],"direction":"","timestamp":"2024-12-04T12:04:00Z"},{"station_id":"SUM-A","lines":["U5"],"direction":"U-Hö","timestamp":"2024-12-04T11:58:00Z"},{"station_id":"S-Be","lines":["S5"],"direction":"S-Grw","timestamp":"2024-12-04T12:17:00Z"},{"station_id":"U-WR","lines":["U5"],"direction":"","timestamp":"2024-12-04T12:27:00Z"},{"station_id":"UM-Ft","lines":["U5"],"direction":"","timestamp":"2024-12-04T12:28:00Z"},{"station_id":"SU-Bs","lines":["S41"],"direction":"","timestamp":"2024-12-04T11:30:00Z"},{"station_id":"SM-HM","lines":["S3"],"direction":"S-Er","timestamp":"2024-12-04T11:48:00Z"},{"station_id":"SU-HMS","lines":["S42"],"direction":"","timestamp":"2024-12-04T12:20:00Z"},{"station_id":"UM-EB","lines":["M1"],"direction":"","timestamp":"2024-12-04T12:07:00Z"}]
2024-12-04T12:28:54.865483695Z 2024-12-04 12:28:54 DBG risk_segments.go:142 > amount of segments generated: 121

This was the result:{
"segment_colors": {

    "M1-10": "#A92725",

    "M1-11": "#F05044",

    "M1-12": "#F05044",

    "M1-13": "#F05044",

    "M1-14": "#FACB3F",

    "M1-6": "#FACB3F",

    "M1-7": "#F05044",

    "M1-8": "#F05044",

    "M1-9": "#F05044",

    "M10-16": "#FACB3F",

    "M10-17": "#F05044",

    "M10-18": "#F05044",

    "M10-19": "#A92725",

    "M10-20": "#A92725",

    "M10-21": "#A92725",

    "M10-22": "#F05044",

    "M10-23": "#F05044",

    "M10-24": "#FACB3F",

    "M2-13": "#FACB3F",

    "M2-14": "#F05044",

    "M2-15": "#F05044",

    "M2-16": "#F05044",

    "M2-17": "#F05044",

    "S41-20": "#FACB3F",

    "S41-21": "#F05044",

    "S41-22": "#F05044",

    "S41-23": "#A92725",

    "S41-24": "#A92725",

    "S41-25": "#A92725",

    "S41-26": "#F05044",

    "S42-1": "#A92725",

    "S42-11": "#FACB3F",

    "S42-12": "#A92725",

    "S42-13": "#A92725",

    "S42-14": "#A92725",

    "S42-15": "#A92725",

    "S42-16": "#A92725",

    "S42-17": "#A92725",

    "S42-18": "#A92725",

    "S42-19": "#A92725",

    "S42-2": "#A92725",

    "S42-20": "#F05044",

    "S42-3": "#A92725",

    "S42-4": "#F05044",

    "S42-5": "#F05044",

    "S42-6": "#FACB3F",

    "S5-10": "#F05044",

    "S5-11": "#FACB3F",

    "S5-12": "#FACB3F",

    "S5-2": "#F05044",

    "S5-3": "#F05044",

    "S5-4": "#F05044",

    "S5-5": "#A92725",

    "S5-6": "#F05044",

    "S5-7": "#A92725",

    "S5-8": "#A92725",

    "S5-9": "#F05044",

    "U5-1": "#FACB3F",

    "U5-10": "#FACB3F",

    "U5-11": "#F05044",

    "U5-12": "#A92725",

    "U5-13": "#A92725",

    "U5-14": "#A92725",

    "U5-15": "#A92725",

    "U5-16": "#A92725",

    "U5-17": "#A92725",

    "U5-18": "#A92725",

    "U5-19": "#A92725",

    "U5-2": "#FACB3F",

    "U5-20": "#F05044",

    "U5-21": "#FACB3F",

    "U5-22": "#FACB3F",

    "U5-23": "#FACB3F",

    "U5-24": "#FACB3F",

    "U5-25": "#FACB3F",

    "U5-3": "#FACB3F",

    "U5-4": "#FACB3F",

    "U5-5": "#FACB3F",

    "U5-6": "#FACB3F",

    "U5-7": "#FACB3F",

    "U5-8": "#FACB3F",

    "U5-9": "#FACB3F",

    "U7-10": "#A92725",

    "U7-11": "#A92725",

    "U7-12": "#A92725",

    "U7-13": "#A92725",

    "U7-14": "#A92725",

    "U7-15": "#A92725",

    "U7-16": "#A92725",

    "U7-17": "#A92725",

    "U7-18": "#A92725",

    "U7-19": "#A92725",

    "U7-20": "#F05044",

    "U7-21": "#FACB3F",

    "U7-8": "#FACB3F",

    "U7-9": "#F05044",

    "U8-15": "#FACB3F",

    "U8-16": "#FACB3F",

    "U8-17": "#FACB3F",

    "U8-18": "#FACB3F",

    "U8-19": "#FACB3F",

    "U8-20": "#FACB3F",

    "U8-21": "#FACB3F",

    "U8-22": "#FACB3F",

    "U8-23": "#FACB3F",

    "U9-10": "#F05044",

    "U9-11": "#F05044",

    "U9-12": "#A92725",

    "U9-13": "#A92725",

    "U9-14": "#A92725",

    "U9-15": "#F05044",

    "U9-16": "#F05044",

    "U9-17": "#FACB3F",

    "U9-9": "#FACB3F"

}

}

This could be due to an invalid direction that the final station of the S5 from the segments does not match with the StationList/LinesList.json. But this is just a guess


get input name on normalize

I would like to request the name attribute on normalize function... I mean, it is possible to get the value, but no the name...
I'm requesting it because I have a very specific case...
I'm rendering multiples Fields through a map, and most of the times I'm not aware of what question's name is changing...
That would be possible?

@Gtosta96 It sounds like you should be using an FieldArray with which you can declaratively creating the normalize functions along with rendering the Field components. Could you please clarify your use case with some code?


Reference linking with generics

So Sphinx has the concept of aliasing reference links using the following syntax:
.. dn:class:: Foobar

:dn:cls:`LinkAlias<Foobar>`

This references the class object Foobar, but prints the text LinkAlias. This of course overlaps with the .NET signature syntax of:
.. dn:class:: Foobar<T>

* This is hacked to work, using link object T as a special case:
  :dn:cls:`Foobar<T>`

.. dn:class:: Foobar<TNode>

* This will fail to reference, because TNode is not a special case:
  :dn:cls:`Foobar<TNode>`
* The correct way to reference the later case is the very unappealing, but
  Sphinx Approved:
  :dn:cls:`Foobar\<TNode\>`

The question here is do we drop the ability to have aliased links in Sphinx on the .NET domain completely, and fix all cases of the generic type syntax?
For reference: https://github.com/rtfd/sphinxcontrib-dotnetdomain/blob/525fb4fe71c4a1299df017d3243989f756bc6a5e/sphinxcontrib/dotnetdomain.py#L425-L444

cc @danroth27

Looks like on MSDN they have a convention of using (T) instead of <T> in some places.
Example: https://msdn.microsoft.com/en-us/library/6sh2ey19(v=vs.110).aspx

Is that just a type in a normal argument list, or signature type declaration?

Maybe we provide some special syntax here?
* .NET Link with an alias:
  :dn:cls:`Alias<<Foobar>>`
* .NET Link with an alias to generic:
  :dn:cls:`Alias<<Foobar<T>>>`

This is closed with #29


Fix for query select command text in manage tab for Kusto tables

This PR fixes ##13295

Pull Request Test Coverage Report for Build 464848251

0 of 0   changed or added relevant lines in 0 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.001%) to 43.19%

Files with Coverage Reduction
New Missed Lines
%

extensions/import/src/wizard/pages/fileConfigPage.ts
1
73.46%

Totals

Change from base Build 464687599:
0.001%

Covered Lines:
24279

Relevant Lines:
51507

💛  - Coveralls

Pull Request Test Coverage Report for Build 464848251

0 of 0   changed or added relevant lines in 0 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.001%) to 43.19%

Files with Coverage Reduction
New Missed Lines
%

extensions/import/src/wizard/pages/fileConfigPage.ts
1
73.46%

Totals

Change from base Build 464687599:
0.001%

Covered Lines:
24279

Relevant Lines:
51507

💛  - Coveralls


How to transfer 'outputkeypoints_3d.npz' to csv file ?

Thank your project, I want use this to analysis human pose angle,
So I need to transfer 'outputkeypoints_3d.npz' to csv file.
for example: I want from this

to this ↓↓↓

However, when I np.load the npz, I was confuse by some many checkpoints and I cannot figure which point means which body section. I hope you can give me some tip to handle this data~
(loading figure ↓↓↓)

Thx ! Best wish!

OK, I figure it out~ anyone who meet same problem can saw the code below:  (put it in the same directory to main.py and run it)
Start Work.zip

@jianlai123-123 ,no, i use this algorithm to solve other problem

Okay, thank you for your reply.@RvMe

Hello, how can I visualize data? For example, the data shown in Figure 6 in the paper. Compare the visualization of ground true with the visualization of the model. Looking forward to your reply, thank you.@RvMe

你好，请问你知道怎么可视化3D姿态吗？@RvMe

作者已经做出了了呀,你看看跑demo的那个代码生成的视频,已经它生成的附属的文件夹

1059696078
@.***

------------------ 原始邮件 ------------------
发件人: @.>;
发送时间: 2023年9月7日(星期四) 晚上10:14
收件人: @.>;
抄送: @.>; @.>;
主题: Re: [Vegetebird/GraphMLP] How to transfer 'outputkeypoints_3d.npz' to csv file ? (Issue #1)
@.***
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

好的，谢谢。


Firebug 3.0.0-alpha.13 - "extensions.firebug.netexport.defaultFileName" not working

Hello,
I have been following this previous thread (https://github.com/firebug/netexport/issues/9#issuecomment-95105384) in attempting to name an exported HAR file to my Selenium/Java script that was previously working with Firebug 2.x that I was using before. Per the suggestions from the linked page above, I updated to the newest Firebug (3.0.0-alpha.130), and updated my code to point to this XPI. Looking in "about:config", I cannot find the defaultFileName extension. I confirmed within the plugin list that it is indeed using the newest Firebug.
Furthermore, after changing my code to the XPI name of the newest Firebug, no longer captures the HAR files as it did before. There simply is no record of the HAR files in either the assigned directory in the code, nor any previously used folder.
As a java beginner, I am confused how such a little change would break my ability to download the HAR files.
For reference, here is my code. Please let me know if I'm just making a stupid mistake or if I have actually encountered a bug!
_________________________________________-
import java.io.*;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.*;
import java.lang.InterruptedException;

import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.firefox.FirefoxProfile;
import org.openqa.selenium.remote.CapabilityType;
import org.openqa.selenium.remote.DesiredCapabilities;
import org.openqa.selenium.firefox.internal.ProfilesIni;

import org.openqa.selenium.support.ui.Wait;
import org.openqa.selenium.support.ui.WebDriverWait;

public class UsingBMP {
public static void main(String[] args) {
System.out.println(System.getProperty("user.dir"));

    // auto-install FireBug and NetExport into Firefox profile
	File firebug = new File("firebug-3.0.0-alpha.13.xpi");
	File netExport = new File("netExport-0.9b7.xpi");

	FirefoxProfile profile = new FirefoxProfile();
	try {
		profile.addExtension(firebug);
		profile.addExtension(netExport);
	} catch (IOException e) {
		e.printStackTrace();
	}

	// Setting Firebug preferences
	profile.setPreference("extensions.firebug.currentVersion", "3.0.0-alpha.13");
	profile.setPreference("extensions.firebug.addonBarOpened", true);
	profile.setPreference("extensions.firebug.console.enableSites", true);
	profile.setPreference("extensions.firebug.script.enableSites", true);
	profile.setPreference("extensions.firebug.net.enableSites", true);
	profile.setPreference("extensions.firebug.previousPlacement", 1);
	profile.setPreference("extensions.firebug.allPagesActivation", "on");
	profile.setPreference("extensions.firebug.onByDefault", true);
	profile.setPreference("extensions.firebug.defaultPanelName", "net");

    // Setting netExport preferences
            // see exported HAR in new tab? doesn't seem to be working...
	profile.setPreference("extensions.firebug.netexport.alwaysEnableAutoExport", true);
	profile.setPreference("extensions.firebug.netexport.autoExportToFile", true);
	profile.setPreference("extensions.firebug.netexport.Automation", true);
	profile.setPreference("extensions.firebug.netexport.showPreview", true);
	profile.setPreference("extensions.firebug.netexport.defaultLogDir", "C:\\Users\\myid\\OneDrive @ My Company\\HAR_Exports");
	// this preference does not seem to be in "about:config"
             profile.setPreference("extensions.firebug.netexport.defaultFileName", "testHar");

	// Launch Firefox with the desired capabilities
	DesiredCapabilities capabilities = new DesiredCapabilities();
	capabilities.setBrowserName("firefox");
	capabilities.setPlatform(org.openqa.selenium.Platform.ANY);
	capabilities.setCapability(FirefoxDriver.PROFILE, profile);

	WebDriver driver = new FirefoxDriver(capabilities);

	// Wait until Firebug is loaded - 5s
	driver.manage().timeouts().implicitlyWait(5, TimeUnit.SECONDS);

	// Load tested website mainpage
	driver.get("http://www.example.com");

	// Wait for page to load (10s)
    driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);

    // Clicking "Login" from the main page
    driver.findElement(By.cssSelector("#login-block a")).click();

    // Wait until tested website's login page is loaded - 10s
    driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);

    // Enter username
    driver.findElement(By.id("username")).sendKeys("myusername");

    // Waiting after entering in Username, 5s (increase if script failing persists)
    driver.manage().timeouts().implicitlyWait(5, TimeUnit.SECONDS);

    // Enter password
    driver.findElement(By.id("password")).sendKeys("mypassword");

    // Clicking "Sign in" after entering UN and PW
    driver.findElement(By.name("loginbutton")).click();

    // Waiting for page to load - implicitly wait 10s
    driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);

	// Capture traffic
    try {
    	//arbitrary wait time to avoid "issues"
    	Thread.sleep(3000);

    	//searching for product
    	driver.findElement(By.id("parts")).sendKeys("searchable_product");
        driver.findElement(By.cssSelector("#keyword-button-div button")).click();

        //Time to process request, print to file, and quit.
    	Thread.sleep(6000);
    	} catch(InterruptedException ie) {
    	ie.printStackTrace();
    	}

            driver.quit();

	}

}

HAR export is now natively supported by Firefox, plus there is an extension HAR Export Trigger that makes the automation quite flexible. Please read this page:
http://www.softwareishard.com/blog/har-export-trigger/
Does it work for you?
I am not planning to work on NetExport anymore. Its functionality should be fully replaced by native support + HAR Export Trigger extension and I am happy to fix any related issues of this new combo.
Honza

Hi, Hanza - thank you for replying!
This looks like it might work - I'll have to tinker my current script around it and see what I can do.
Is there a way to enable the HAR export trigger after I have already made the page visit a site and login? Essentially, I'm creating a Firefox profile with nothing but what I need loaded, but I only want to capture (and export) a single event that records a tracking pixel request.
I realize that this outside of the scope of this support question, but I figured I'd ask while I have you here. :)

I think it's valid requirement, but I don't think it's supported now. So, if I understand correctly, you don't wan't to export HAR after every page load, but only if special condition happens correct?
But, it would be ok to have the extension installed and trigger the export only when needed, no?
Honza

That would be correct. I have no need to capture anything but the 3rd page loaded (which is to simulate a user searching for a product), which triggers a tracking pixel - I wish to generate a HAR for that search to verify a query string value equals what it is supposed to. I previously had this working in the old firebug/netexport setup, but realized that I was going to need to actually specify a file name in order to get it systematically uploaded to the online HAR viewer. And that's where I'm at now. :)
Quick question - is there a location that shows how the variables should be set up? The test page linked on the HAR Export Trigger site wasn't working for me, and I couldn't find any other example pages or sample script.

ok, please file a new report for me in har export issue list:
https://github.com/firebug/har-export-trigger/issues
(but, it might require change on the Fx platform)
The only example page I know about is:
http://janodvarko.cz/har/tests/har-export-trigger/har-export-api.html
What doesn't work on the page? I'll fix it too.
Please also file a report for it in the same issue list, so it's not forgotten.
Thanks!
Honza

I am closing this one.
The focus is entirely going to HAR Export Trigger.
Honza


Favour class-based REPL wrappers (2)

Supersedes #81.

Pushed publically (follow the link at https://github.com/lightbend/scala-team/issues/122)


Example in README doesn't compile

I'm not fluent in go, so I could be missing something, but as I was trying to use the example in the README I noticed it doesn't seem to compile.
For example, VEX.Vulnerability is a struct, not a string, yet in the README's example:
Vulnerability: "CVE-2023-12345",

cannot use "CVE-2023-12345" (untyped string constant) as vex.Vulnerability value in struct literal

Similarly, VEX.Products is a list of Product struct, not a []string, yet in the README's example:
Products: []string{
	"pkg:oci/git@sha256:23a264e6e429852221a963e9f17338ba3f5796dc7086e46439a6f4482cf6e0cb",
},

Same goes for VEX.Subcomponents.
To help me get started, I ended up writing my own example, based the example in the spec
If I've got this wrong somehow, I'm happy to learn :) Thanks!

Resolved by https://github.com/openvex/go-vex/pull/57


Arbitrary resources specification

I wonder can spot what I'm doing wrong here or whether this is a bug. I am attempting to define an limited arbitrary resource available to the workers so that I can constrain how certain jobs are run as described in the example here
This is my attempt. I would expect the workers to have specified resources but it is instead empty values:
from dask_jobqueue import SLURMCluster
n_workers = 2
cluster = SLURMCluster(
    queue='norm',
    memory =  '8g',
    processes=1,
    threads = 8,
    resources={'foo':2},
    job_extra = ["--time=03:00:00"] )
cluster.start_workers(n_workers)

[2, 3]

from dask.distributed import Client
client = Client(cluster)

client

Client

Scheduler: tcp://<IP_ADDRESS>:34243
  Dashboard: http://<IP_ADDRESS>:39569/status

Cluster

Workers: 2
Cores: 16
Memory: 16.00 GB

client.scheduler_info()

{'type': 'Scheduler',
 'id': 'Scheduler-f91e76b3-1acf-43cc-878f-7d067a5b69f0',
 'address': 'tcp://<IP_ADDRESS>:34243',
 'services': {'bokeh': 39569},
 'workers': {'tcp://<IP_ADDRESS>:41307': {'name': 'dask-worker-2',
   'memory_limit':<PHONE_NUMBER>,
   'host': '<IP_ADDRESS>',
   'resources': {},
   'ncores': 8,
   'services': {'nanny': 36619, 'bokeh': 8789},
   'local_directory': '/gpfs/gsfs10/users/DSST/template_making/dask-worker-space/worker-x8c8i_f9',
   'pid': 55064,
   'cpu': 4.0,
   'memory': 77385728,
   'time':<PHONE_NUMBER>.8669972,
   'read_bytes': 2321.9966783571076,
   'write_bytes': 2511.9964065603162,
   'num_fds': 25,
   'executing': 0,
   'in_memory': 0,
   'ready': 0,
   'in_flight': 0},
  'tcp://<IP_ADDRESS>:35588': {'name': 'dask-worker-3',
   'memory_limit':<PHONE_NUMBER>,
   'host': '<IP_ADDRESS>',
   'resources': {},
   'ncores': 8,
   'services': {'nanny': 38422, 'bokeh': 8789},
   'local_directory': '/gpfs/gsfs10/users/DSST/template_making/dask-worker-space/worker-_oieon0d',
   'pid': 8994,
   'cpu': 2.0,
   'memory': 79437824,
   'time':<PHONE_NUMBER>.882559,
   'read_bytes': 290916709.90968,
   'write_bytes': 3363344.64549749,
   'num_fds': 25,
   'executing': 0,
   'in_memory': 0,
   'ready': 0,
   'in_flight': 0}}}

@leej3 - Best place to start for how to debug these sorts of things is here: https://dask-jobqueue.readthedocs.io/en/latest/debug.html
In particular, I would start by printing the job script (print(cluster.job_script())). We generally find, iterating to get this job script right is pretty straightforward given most HPC users knowledge of their system.

Thanks. I realized I was using a rather old version of the package anyway. With the most recent version from conda-forge I am getting an error.
Using:
dask                      1.0.0                      py_0    conda-forge
dask-core                 1.0.0                      py_0    conda-forge
dask-jobqueue             0.4.1                      py_0    conda-forge
With the command:
cluster = SLURMCluster(processes=6, cores=24, memory="20GB")
cluster.start_workers(n_workers)

I get the error:
ValueError: Could not parse job id from submission command output.

The job script:
ipdb>  print(Path('/tmp/tmp8p0fptda.sh').read_text())
#!/bin/bash

#!/usr/bin/env bash
#SBATCH -J dask-worker
#SBATCH -p norm
#SBATCH -A woodshole
#SBATCH -n 1
#SBATCH --cpus-per-task=2
#SBATCH --mem=15G
#SBATCH -t 01:00:00
JOB_ID=${SLURM_JOB_ID%;*}

/data/rodgersleejg/python/envs/dask/bin/python -m distributed.cli.dask_worker tcp://<IP_ADDRESS>:38849 --nthreads 0 --nprocs 4 --memory-limit 4.00GB --name dask-worker--${JOB_ID}-- --death-timeout 60

I will open a different issue for this when I get a chance. Thanks for the pointers.

I wouldn't be surprised if we just didn't pass through the resources=
keyword argument to the workers.  I'm not sure.  I suspect that you could
take a look at the core file to find out decently quickly (it's not a large
codebase).
On Fri, Dec 14, 2018 at 7:47 PM john lee<EMAIL_ADDRESS>wrote:

Closed #208 https://github.com/dask/dask-jobqueue/issues/208.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/dask/dask-jobqueue/issues/208#event-2028213495, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AASszBUNq1hw67thegSzF9y0z7n534P7ks5u5EalgaJpZM4ZUYHT
.

For using reources, see @lesteve comment here: https://github.com/dask/dask-jobqueue/issues/181#issuecomment-436711950.
resources is not a kwarg, you must use extra kwarg to pass resources to the worker command.
For the second problem, this error is raised when dask-jobqueue is not able to parse the String returned by your job submission command. If you raise another issue, please try to submit the job_script you printed, using sbatch on a command line, and copy the output you get here. For Slurm, we expect something like https://github.com/dask/dask-jobqueue/blob/master/dask_jobqueue/tests/test_jobqueue_core.py#L89.

Thanks for the help with this. The following code now assigns resource contraints to the workers as I would expect:
from distributed import Client
from dask_jobqueue import SLURMCluster
n_workers = 3

cluster = SLURMCluster(
    queue='norm',
    memory =  '8g',
    processes=1,
    cores = 8,
    extra=['--resources foo=2'],
    job_extra = ["--time=03:00:00 "],
env_extra=['export OMP_NUM_THREADS="8"'])

client = Client(cluster)
cluster.start_workers(n_workers)

client.scheduler_info()['workers']['tcp://<IP_ADDRESS>:38056']

{'type': 'Worker',
 'id': 'dask-worker--15834153--',
 'host': '<IP_ADDRESS>',
 'resources': {'foo': 2.0},
 'local_directory': '/gpfs/gsfs10/users/DSST/template_making/worker-2pfpfv4w',
 'name': 'dask-worker--15834153--',
 'ncores': 8,
 'memory_limit':<PHONE_NUMBER>,
 'last_seen':<PHONE_NUMBER>.4479392,
 'services': {'nanny': 36292, 'bokeh': 43603},
 'metrics': {'cpu': 4.0,
  'memory': 77275136,
  'time':<PHONE_NUMBER>.9508224,
  'read_bytes': 2491.014388221522,
  'write_bytes': 1364.5556729052835,
  'num_fds': 30,
  'executing': 0,
  'in_memory': 9,
  'ready': 0,
  'in_flight': 0}}


Possible error in the "Display claims" section

The Display Claims section includes the following paragraph:
"The DisplayClaims element contains a list of claims to be presented on the screen for collecting data from the user. To prepopulate the values of output claims, use the input claims that were previously described. The element may also contain a default value."
Should this say "To prepopulate the values of display claims"? (Is the output word left over from before the cutover to Display Claims?)

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

ID: 1c33bed9-7e41-92cb-e093-80e5fda0e718
Version Independent ID: 94d903c4-a70f-5357-53b4-6d17afee2aaa
Content: Define a self-asserted technical profile in a custom policy - Azure AD B2C
Content Source: articles/active-directory-b2c/self-asserted-technical-profile.md
Service: active-directory
Sub-service: b2c
GitHub Login: @mmacy
Microsoft Alias: marsma

@dotnetgator Thank you for reaching out. We will investigate and update the thread further.


[Do Not Merge][Analysis] Feature/Evaluate Django-Eraserhead [PLAT-495]

Purpose
Evaluate integrating https://github.com/dizballanze/django-eraserhead for finding places where we can defer fields.
Changes
Analysis work, just installs package here.  See ticket for evaluation notes.
QA Notes

Documentation

Side Effects

Ticket
https://openscience.atlassian.net/browse/PLAT-495

Closing--see analysis in ticket.


[BUG] Version increment workflow was not triggered

Describe the bug
Version increment workflow introduced in #1816 was not triggered. An identical workflow was triggered in common-utils (https://github.com/opensearch-project/common-utils/actions/workflows/version.yml, https://github.com/opensearch-project/common-utils/actions/runs/1741497956), but wasn't in OpenSearch and job-scheduler either.
Expected behavior
Auto-increment workflows should have run when we tagged 1.2.4.

@downsrob @saratvemulapalli @peterzhuamazon How did you create https://github.com/opensearch-project/job-scheduler/releases/tag/<IP_ADDRESS> vs. https://github.com/opensearch-project/OpenSearch/releases/tag/1.2.4 vs. https://github.com/opensearch-project/common-utils/releases/tag/<IP_ADDRESS>?

@dblock I manually created the release, the tag did already exist. Just used the github release drafter to release it.

@abhinavGupta16 Did you create tags manually for 1.2.4?

No, we used https://github.com/opensearch-project/opensearch-build/issues/378#issuecomment-999700848 script to create tags for 1.2.4
@peterzhuamazon

@abhinavGupta16 Did you create tags manually for 1.2.4?

No, we used https://github.com/opensearch-project/opensearch-build/issues/378#issuecomment-999700848 script to create tags for 1.2.4
cc - @peterzhuamazon


Python 3 Support

Hi guys,
is python 3 supported? If yes, maybe would be nice to add it to setup.py so that others would know and script could detect that :)

It's not at the moment, it would be advertised as such if.

Are there any plans on supporting it?

@tspecht Even better, the app is part of Jazzband now, and you can become a member and work on it yourself! More info if you're interested.

I'm working django-robots in python3.5 without problem.

I'd be happy to do that! In fact I just joined the organization, pulled the code and ran modernize. Apparently no changes are needed? Since there are no tests present I'm struggling to verify it in a CI-compatible way... would it then be enough to simply add the compatibility to the setup.py file?

@tspecht It would be preferable to add CI.

I know, I'd also prefer that. Any clues on how to get that started code-wise (I'm familiar with travis-ci and all the rest)

@tspecht I've enabled Travis, that's a common choice for Django projects


Add total results number to facet

Adds the total results number to the Facets title.
There are a couple of things that I think are maybe not ideal about this approach:

Clicking on a facet doesn't always change the results count
Depending on how far you've scrolled down the facet modal, the title text may not be visible
There's a bit of a disconnect between the number of results (which are collections) and the number of hits (which are the actual matches.

Curious for your thoughts. It may be that we want to do a bit more research to figure out other UI patterns that work for this sort of thing.
Fixes #387

The added bonus of this is that we could throw aria-live=polite' aria-atomic='true' as properties in the h2 element, and screenreaders would state the number of results of they change when someone selects a checkbox. That would fix an existing usability problem for folks using assistive tech to traverse the modal.
That does leave the possible confusion around the disconnect between the number of results and the number of hits (which no one in testing has struggled with yet on the current site, but the information hasn't been presented to them in this more obvious way).
Idea: Keep the total results in the title (with the aria properties added), and also add a blue button at the bottom of the modal with the label "Save" that closes the modal. That may help with the need for folks to click on a thing to feel like they've safely applied something, but is not misleading like an "Apply" button.

Cool cool, will make those accessibility changes - thanks for that!
Building on the button idea, how about changing the close button at the top of the page with a blue button that says "Save" or "Save and Close"? That way we could avoid adding an additional UI element.


useLocalStorage converts Infinity to null

const [number, setNumber] = useLocalStorage("number", Infinity);
console.log(number); // null

Seems to be related to JSON.stringify.
You can workaround this issue by not using Infinity but it would be nice to use this interface as you expect it.

Related: https://github.com/uidotdev/usehooks/issues/253

I disagree that this belongs here as an issue. This is exactly how the standard was defined to behave:
https://stackoverflow.com/questions/1423081/json-left-out-infinity-and-nan-json-status-in-ecmascript

It's not necessarily a software issue but coming across this I had the expectation, given that it's a blackbox function, that there were no restrictions. Only after looking at the source code I realised that it uses JSON.stringify to convert it to a string for localStorage, hence it is not able to handle Infinity and NaN. It might just come down to mentioning this in the docs.

I agree with @SteveVanOpstal here: the use of JSON.stringify adds further constraints to the already existing constraints in place when using localStorage.setItem.
If, for example, you decide to send in an object and thus get [object Object] back, that's on you for not supplying a primitive, same as if you were using .setItem directly. It isn't the place of a hook to serialise input, particularly when there is no corresponding deserialising of the output; there is no JSON.parse wrapping localStorage.getItem in getLocalStorageItem...


Create TOC for Markdown

Create a table of contents for Readme.md file

[ ] create a table of contents in our readme.
[ ]  create journal folder.


Need to cleanup state-related terms

AIM doc link: https://github.com/ainblockchain/ain-docs/blob/master/AIM_docs/AIM-007_State_vs_Status-20210513.pdf

Fixed.


How do I remove-and-commit + fs.unlink(... and have git know that everything is up to date / commited?

If I create new files in my repo and use .addAll(file_paths), commit and then run git-cola in the directory I get 0 reports on files being in the directory which haven't been added to the repo.
The same thing happens when I use .removeAll(file_paths) but that only removes it from the index, not the actual files like git rm file.txt does, so I experimented with doing fs.unlink(... before and after doing removeAll but it always results in git-cola reporting modified files.
That is:
git init
touch test.txt
git add test.txt
git commit -m "test"
git rm test.txt
git commit -m "rm test"
git-cola

Will show 0 reports on changes needing to be committed but my nodejs equivilant does show changes needing to be commited, why is that and what can I do about it?

<EMAIL_ADDRESS>
My nodegit removeAll code:
...
function removeAndCommitFiles(root, file_paths, message) {
  var dotgit = path.join(root, ".git");

  var repository;
  var index;
  var oid;

  nodegit.Repository.open(dotgit)
  .then(function(repo) {
    repository = repo;
    return fs.ensureDir(repository.workdir());
  })
  .then(function() {
    return repository.openIndex();
  })
  .then(function(indexResult) {
    index = indexResult;
    return index.read(1);
  })
  .then(function() {
    return index.removeAll(file_paths);
  })
  .then(function() {
    return index.write();
  })
  .then(function() {
    return index.writeTree();
  })
  .then(function(oidResult) {
    oid = oidResult;
    return nodegit.Reference.nameToId(repository, "HEAD");
  })
  .then(function(head) {
    return repository.getCommit(head);
  })
  .then(function(parent) {
    return repository.createCommit("HEAD", author, committer, message, oid, [parent]);
  })
  .done(function(commitId) {
    // ...
  });
}
...

This seems to work for me: https://gist.github.com/yofreke/20ed3ab5e15707fcc050
A few notes:

Make sure to return all promises
Best to include which libraries you are using in the issue
Your code didn't remove the files from the FS, so I added some code to do that part
Don't do path.join(root, ".git"), as this will result in things like path/to/my/repo/.git

The gist will result in the file test.txt being removed from the filesystem, as well as updating HEAD to the new commit.  Running git status in the directory shows that everything is as expected.
Hope this helps!


[WARN] .File.UniqueID on zero object

Not sure if anyone got this warning?
.File.UniqueID on zero object. Wrap it in if or with: {{ with .File }}{{ .UniqueID }}{{ end }}
I have done some quick checks and it seems this doesn't affect page generation.

Duplicate of #350


Fix for: incorrect single-line ruby-haml comments.

I have no idea what I am doing, but at least it fixes the problem with ruby-haml single-line comments (#37).

Should be fixed in latest version.

I am still having this issue in 0.23.8

@jonesmac I made a small update in 0.23.9. Does that fix the issue?

@ezekg doesn't look like it.  :(
Let me know if you want more information.

Weird. Looks fine on my end:

Are you on Windows? Are you using tabs or spaces for indentation?

I reverted the last update to support multiline comments (https://github.com/ezekg/language-haml/issues/52), as I found a few more issues. Sorry about that. Update to latest for the fix.

@jonesmac I think everything should be fixed up now. Can you test out the newest version (v0.23.12)?

@ezekg that seems to have done it!  Thanks.

@jonesmac, great. Thanks for the report!


Thaleia

This is basically LTS work I am reworking because there are/were many issues.
Trash Pack 1, Thaliak, Llymlaen and Oschon seem done except maybe minor details. Eulogia is still WIP and has visible problems.
Things that could be done:

Rewriting triangle border and shape code as they look AI generated
Investigating why knockback from source is direction 6 now
consider adding support for concave polygon arena shapes
making timelines

seems like i am finished for now except maybe some minor additions to Quintessence at Eulogia, found 41 ENVC/AID combos in 14 logs and probably would find more if I had more logs


Missing Reference

Nice work!
Targeted structured pruning seems to be similar to WID (https://arxiv.org/abs/2305.09098).
Please consider discussing it in the related work section.
Thanks!

Thanks for the pointer -- The work you mentioned is very relevant and we will include it in our next revision!

One kind reminder to add our paper as a reference. I appreciate your time. Thanks!

@xiamengzhou

Hi, we are still in the process of preparing for camera ready. Will update the arxiv version soon!

Really appreciate it, thanks~


Update http4s-blaze-client, http4s-client to 0.23.3

Updates

org.http4s:http4s-blaze-client
org.http4s:http4s-client

from 0.23.2 to 0.23.3.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.http4s" } ]

labels: library-update, semver-patch

Codecov Report

Merging #320 (f0d43f3) into main (8d5edd8) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #320   +/-   ##
=======================================
  Coverage   60.26%   60.26%
=======================================
  Files          30       30
  Lines         969      969
  Branches       73       73
=======================================
  Hits          584      584
  Misses        385      385

Continue to review full report at Codecov.

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


Update sbt-scalafmt to 2.2.1

Updates org.scalameta:sbt-scalafmt from 2.2.0 to 2.2.1.
Release Notes/Changelog
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scalameta", artifactId = "sbt-scalafmt" } ]

labels: semver-patch

Codecov Report

Merging #737 into develop will increase coverage by 0.08%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           develop    #737      +/-   ##
==========================================
+ Coverage    89.21%   89.3%   +0.08%
==========================================
  Files          114     114
  Lines         8955    8955
  Branches       330     330
==========================================
+ Hits          7989    7997       +8
+ Misses         966     958       -8

Impacted Files
Coverage Δ

.../src/main/scala/com/twitter/algebird/ExpHist.scala
95.55% <0%> (-1.12%)
:arrow_down:

.../main/scala/com/twitter/algebird/BloomFilter.scala
94.69% <0%> (+1.32%)
:arrow_up:

.../main/scala/com/twitter/algebird/Successible.scala
91.66% <0%> (+4.16%)
:arrow_up:

...src/main/scala/com/twitter/algebird/Interval.scala
80% <0%> (+4.34%)
:arrow_up:

Continue to review full report at Codecov.

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


xpath searching in fragments is inconsistent

In the following session I'd expect three text nodes"
[1] pry(main)> require 'nokogiri'
=> true
[2] pry(main)> Nokogiri::VERSION
=> "<IP_ADDRESS>"
[3] pry(main)> doc = Nokogiri::HTML.fragment 'some text
more text
 excess text'
=> #(DocumentFragment:0x2acb9d91fc60 {
  name = "#document-fragment",
  children = [
    #(Text "some text "),
    #(Element:0x2acb9d91f7b0 { name = "p", children = [ #(Text "more text")] }),
    #(Text " excess text")]
  })
[4] pry(main)> doc.xpath('//text()')
=> []
[5] pry(main)> doc.xpath('text()')
=> [#<Nokogiri::XML::Text:0x2acb9d91f8a0 "some text ">, #<Nokogiri::XML::Text:0x2acb9d91f65c " excess text">]
[6] pry(main)> RUBY_VERSION
=> "2.1.5"
[7] pry(main)> RUBY_PLATFORM
=> "x86_64-linux"

I didn't do any special. Just gem install.

There are some known edge cases around xpath-searching fragments; the workaround is to search with ".//" as the prefix:
2.3.1 :007 > doc.xpath ".//text()"
 => [#<Nokogiri::XML::Text:0x86e1d8 "some text ">, #<Nokogiri::XML::Text:0xadd950 "more text">, #<Nokogiri::XML::Text:0xaddf7c " excess text">]

We should really fix this. Leaving open.

This is the same issue described in #572, closing.


feat(avoidance): imporove avoidance near goal

Description

https://tier4.atlassian.net/browse/RT1-3023 の修正
https://github.com/autowarefoundation/autoware.universe/pull/4467
https://github.com/autowarefoundation/autoware.universe/pull/4706
https://github.com/autowarefoundation/autoware.universe/pull/5029
https://github.com/autowarefoundation/autoware.universe/pull/5051
Related links

Tests performed

Notes for reviewers

Interface changes

Effects on system behavior

Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[x] I've confirmed the contribution guidelines.
[x] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.
[ ] The PR has been properly tested.
[ ] The PR has been reviewed by the code owners.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.
[ ] The PR is ready for merge.

After all checkboxes are checked, anyone who has write access can merge the PR.

https://github.com/autowarefoundation/autoware.universe/pull/5051 のcherry-pickの参考
https://github.com/tier4/autoware.universe/commit/ccfea63b94225166a6e3771a1ab26e3cf25cb51a by @kyoichi-sugahara


0.12.0

Coverage remained the same at 54.795% when pulling 032418c38ca8104574623cb68d40e6b385e7c0e7 on release/29 into 7f6954ff4eee6423519020568586b4ceeb8a0501 on master.


insertColumn issue

Hi,
Thanks for this, great script so far!  I am having an issue with the insertColumn, in a nutshell I'm building the data array from PHP and wanting to add a column with checkboxes for the user to select rows which I'll be dealing with when I export the data again.
I'm using ...
table1.insertColumn(1, 0, 1, {title:'Available', width:80, type:'checkbox'})
... after the sheet is loaded and it's inserting the column in the right place but the parameters are ignored.
It's been a long week so I probably doing something daft, any guidance would be appreciated.
Thanks!

This should work.
var prop = [{title:'Available', width:80, type:'checkbox'}];
table1.insertColumn(1, 0, 1, prop);

Thanks Paul,
It should, but....  Here's the full script, any guidance much appreciated;
    data = <?php print_r(json_encode($_SESSION['gigimport'])); ?>;
    table1 = jexcel(document.getElementById('gigspreadsheet'), {
        data:data,
        colHeaders: [<?php echo $selrow; ?>], //using this because the columns are variable and also putting a dropdown in there so the user can define what's in the column
        colWidths: [<?php echo $widths; ?>], //because variable number of columns
    });

var prop = [{title:'Available', width:80, type:'checkbox'}];
table1.insertColumn(1, 0, 1, prop);

As mentioned the table draws perfectly, one column gets added where it should but title, width and type is ignored.
Thanks again.

Please update from the repository. This issue has been fixed.

Awesome, works perfectly. Thanks so much Paul.


[flyte deck] Streaming Decks

Tracking issue
https://github.com/flyteorg/flyte/issues/5574
Why are the changes needed?
What changes were proposed in this pull request?
How was this patch tested?
Setup process
Screenshots
Check all the applicable boxes

[ ] I updated the documentation accordingly.
[ ] All new and existing tests passed.
[ ] All commits are signed-off.

Related PRs

Docs link

I would love to see an example of tqdm

replaces https://github.com/flyteorg/flytekit/pull/1704

I would love to see an example of tqdm

will try it, just let me ship the MSGPACK IDL first.

New Demo Video (not included Flyte Console's change)
cc @pingsutw @kumare3 @eapolinario @EngHabu
https://github.com/user-attachments/assets/ddf86143-b21a-49d5-b763-6012025b6324

Nice, I just would make a small refresh icon in grey next to the name, but all good

Nice, I just would make a small refresh icon in grey next to the name, but all good

okok, I will change this

this is the new video!!!
https://drive.google.com/file/d/1TpTqMjWJURN7q35ZOB5rIkPQPkIztjCq/view?usp=sharing
cc @kumare3 @pingsutw @eapolinario @EngHabu @wild-endeavor

@Future-Outlier this is excellent. Let's go

FYI @fg91 since you also want to use it. would love to get your feedback

FYI @fg91 since you also want to use it. would love to get your feedback

I'm a big fan of such a feature - being able to publish realtime updates from a task to flyte console was the topic of various discussions in the past (e.g. this or this):
    # A very similar API was discussed back then:
    deck = flytekit.Deck("Summary", ...)
    deck.append(MarkdownRenderer.to_html(f"... {run.link} ..."))
    deck.flush()

I have one question about the implementation. Does flytepropeller need to detect whenever the deck html in the bucket changed for the change to be reflected in the UI or does propeller only indicate to the task where to upload the deck to but a request from flyteconsole directly "goes to the bucket" without flytepropeller having to do further work?

FYI @fg91 since you also want to use it. would love to get your feedback

I'm a big fan of such a feature - being able to publish realtime updates from a task to flyte console was the topic of various discussions in the past (e.g. this or this):
    # A very similar API was discussed back then:
    deck = flytekit.Deck("Summary", ...)
    deck.append(MarkdownRenderer.to_html(f"... {run.link} ..."))
    deck.flush()

I have one question about the implementation. Does flytepropeller need to detect whenever the deck html in the bucket changed for the change to be reflected in the UI or does propeller only indicate to the task where to upload the deck to but a request from flyteconsole directly "goes to the bucket" without flytepropeller having to do further work?

I will reply this later, just finished an amazing solution about the backend with backward compatibility.

FYI @fg91 since you also want to use it. would love to get your feedback

I'm a big fan of such a feature - being able to publish realtime updates from a task to flyte console was the topic of various discussions in the past (e.g. this or this):
    # A very similar API was discussed back then:
    deck = flytekit.Deck("Summary", ...)
    deck.append(MarkdownRenderer.to_html(f"... {run.link} ..."))
    deck.flush()

I have one question about the implementation. Does flytepropeller need to detect whenever the deck html in the bucket changed for the change to be reflected in the UI or does propeller only indicate to the task where to upload the deck to but a request from flyteconsole directly "goes to the bucket" without flytepropeller having to do further work?

old:
flytepropeller called a head request to see if the deck exists or not.
new:
flytepropeller check if we put FLYTE_ENABLE_DECK=true in the task template.


No more sound once application is interupted by a phone call.

When a phone recieves a phone call, and call is completed. Mumble application seems to be running just fine and is sending pings to server (seen in logs), but no audio is played.
I should also note that no more red status bar is displayed when you press the home button once the app is in this state.

Is there a solution for this issue?

Any news?


Merge scopes branch into develop-2.0

ℹWork for #398

Merged the scopes branch into develop-2.0 (which is now the new default branch as of 15 July 2024)
The significant changes are in the following folders:

\Cql\Cql.CqlToElm
\Cql\CqlToElmTests
\Cql\Elm

Some Microsoft Nuget package versions went back to a previous major version, so they had to be changed back to the latest
The ExpressionBuilderContext.InvokeDefinedFunctionThroughRuntimeContext() had to be reverted to the original 2.0 behavior. Some new unit tests are failing because of that and is ignored for now. An issue was created to fix this in #397

Replaced by PR #419


Fix for Enable and document running with TLS

https://github.com/jeroenheijmans/sample-angular-oauth2-oidc-with-auth-guards/issues/62

@jeroenheijmans Can you please give this a look?

@jeroenheijmans Can you please have a look on this?

Thanks for the PR!
I've been absolutely swamped at work this week, and will be for the next two days most likely as well. So I might not get to thinking about this PR some more.
The PR itself does seem to fit the bare minimal requirements I thought of initially in #62. I'd prefer to test it locally on both Windows and Linux before merging though.
Did you by any chance think about and/or try stuff with the e2e tests? And what would you think about making running with TLS the default? Or would that block many users? I'd love to make the world a bit more secure by default, but don't want to alienate folks if it creates hurdles...

Thanks for the PR!
I've been absolutely swamped at work this week, and will be for the next two days most likely as well. So I might not get to thinking about this PR some more.
The PR itself does seem to fit the bare minimal requirements I thought of initially in #62. I'd prefer to test it locally on both Windows and Linux before merging though.
Did you by any chance think about and/or try stuff with the e2e tests? And what would you think about making running with TLS the default? Or would that block many users? I'd love to make the world a bit more secure by default, but don't want to alienate folks if it creates hurdles...

Hi @jeroenheijmans  I have tested this on windows and macos ,it's working fine. I didnt think about e2e test but for making the TLS default,we need to add steps to generate the certificate and place it in the folder as described in the article.
https://medium.com/@rubenvermeulen/running-angular-cli-over-https-with-a-trusted-certificate-4a0d5f92747a
I know you are super busy but if it is possible can you add a hacktoberfest-accepted tag to this PR that will be great.

if it is possible can you add a hacktoberfest-accepted tag to this PR that will be great.

Fair enough! I've applied the label. You're good to go. If you want you can leave this PR sit for a while, when I have time I might check it out locally and maybe add some stuff to it, and then merge.
Thx for the help!


What is chatkit?

Doesn't chatkit have an account system? When you visit chatkit you see a conversation with Rspack

that’s your local history
杨兆雨 @.***>于2023年4月25日 周二15:39写道：

Doesn't chatkit have an account system? When you visit chatkit
https://chatkit.app you see a conversation with Rspack
[image: image]
https://user-images.githubusercontent.com/50061726/234207478-8c856fe7-1031-4755-94fc-efecbbd1d9ab.png
—
Reply to this email directly, view it on GitHub
https://github.com/egoist/chatkit-docs/issues/1, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACDAWSFKUPNPK7TG243ADWLXC55TVANCNFSM6AAAAAAXKTEMOY
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Well, I found out I was accessing it through ChatKit Share, leaving a history locally, how interesting! 😂

it only creates a chat when you click "Continue this conversation on
ChatKit"
杨兆雨 @.***>于2023年4月25日 周二15:53写道：

Well, I found out I was accessing it through ChatKit Share
https://chatkit.app/s/xsmWIMDFqDzazar9XPycC, leaving a history locally,
how interesting! 😂
—
Reply to this email directly, view it on GitHub
https://github.com/egoist/chatkit-docs/issues/1#issuecomment-1521327781,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACDAWSCDYZUBBKL7STPKVETXC57GPANCNFSM6AAAAAAXKTEMOY
.
You are receiving this because you commented.Message ID:
@.***>


D405 Specs

I apologize in advance, as I am not sure where to ask this question...
The document Intel-RealSense-D400-Series-Datasheet-November-2022.pdf is missing info on the D405 camera.
I am looking for The operating range and precision, and the FOV data.
Also, that document refers to Table 3-48. Depth SKU Properties, which doesn't exist on the document.
Many thanks!

Hi @DaveBGld  The ideal depth sensing range of the D405 is 7 cm to 50 cm.  The 7 cm minimum distance can be reduced to 4 cm using the Disparity Shift setting, at the cost of a reduced maximum range.
--
The D405 produces high accuracy, high quality images at close range.  Its depth accuracy is <2% at 50 cm, as stated by Intel's camera model comparison chart at the link below.
https://www.intelrealsense.com/compare-depth-cameras/
This chart lists depth FOV as 84° × 58° and RGB FOV as 87° × 58°.
Table 3-11 on page 37 of the current edition of the data sheet should act as an appropriate substitute for 3-48 that will provide the required information.  the D405's sensors are listed under the D401 column on that chart, as the D401 depth module is the camera circuit board used in the D405's casing.

Hi @DaveBGld  Do you require further assistance with this case, please?  Thanks!

Case closed due to no further comments received.


[web] Introduce the Link widget

This PR introduces the Link widget and provides an implementation for the web.
The design of this widget has been discussed in:

https://flutter.dev/go/link-widget
https://flutter.dev/go/link-widget-2

Issues:

https://github.com/flutter/flutter/issues/59690
https://github.com/flutter/flutter/issues/44865
https://github.com/flutter/flutter/issues/54281

Closing this in favor of the split PRs: https://github.com/flutter/plugins/pull/3154 and https://github.com/flutter/plugins/pull/3155.

(Moved my review to the PRs above)


Adding bulding_model.rst (Documentation for model-building API)

This commit adds a page to the dlpy documentation. It also updates the index to show the new page and fixes
spelling in the example notebook that motivated this page.
Note that this is just an update to the rst files. In order for the doc to reflect these changes, we need to run Sphinx and update the html files in the gh-pages branch. Please reach out if I can be of assistance for that.

Looks good. Thank you for the contribution!


docker ps hang and not able to create containers

Description

Docker1.12.0 is hanging and not able to create container (docker run) or list the containers (docker list). Stack dump shows one of the go routine stuck in device-mapper call
goroutine 226734806 [syscall, 67 minutes, locked to thread]:
github.com/docker/docker/pkg/devicemapper._Cfunc_dm_udev_wait(0xca0d4d2d0c, 0xca00000000)
    ??:0 +0x41
github.com/docker/docker/pkg/devicemapper.dmUdevWaitFct(0xd4d2d0c, 0x441a8e)
    /go/src/github.com/docker/docker/pkg/devicemapper/devmapper_wrapper.go:222 +0x22
github.com/docker/docker/pkg/devicemapper.UdevWait(0xca167ab4f0, 0x0, 0x0)
    /go/src/github.com/docker/docker/pkg/devicemapper/devmapper.go:259 +0x3b
github.com/docker/docker/pkg/devicemapper.activateDevice(0xcaa2eda990, 0x22, 0xcc57547380, 0x57, 0xbdf1, 0x280000000, 0x0, 0x0, 0x0, 0x0)
    /go/src/github.com/docker/docker/pkg/devicemapper/devmapper.go:750 +0x8b8
github.com/docker/docker/pkg/devicemapper.ActivateDevice(0xcaa2eda990, 0x22, 0xcc57547380, 0x57, 0xbdf1, 0x280000000, 0x0, 0x0)
    /go/src/github.com/docker/docker/pkg/devicemapper/devmapper.go:711 +0x78
github.com/docker/docker/daemon/graphdriver/devmapper.(*DeviceSet).activateDeviceIfNeeded(0xc82009a9c0, 0xc8fc801080, 0xc82009a900, 0x0, 0x0)
    /go/src/github.com/docker/docker/daemon/graphdriver/devmapper/deviceset.go:539 +0x58d
github.com/docker/docker/daemon/graphdriver/devmapper.(*DeviceSet).MountDevice(0xc82009a9c0, 0xc85abb2410, 0x45, 0xc919beee00, 0x76, 0x0, 0x0, 0x0, 0x0)
    /go/src/github.com/docker/docker/daemon/graphdriver/devmapper/deviceset.go:2269 +0x2cd
github.com/docker/docker/daemon/graphdriver/devmapper.(*Driver).Get(0xc82097abe0, 0xc85abb2410, 0x45, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
    /go/src/github.com/docker/docker/daemon/graphdriver/devmapper/driver.go:185 +0x62f
github.com/docker/docker/daemon/graphdriver.(*NaiveDiffDriver).Get(0xc820882700, 0xc85abb2410, 0x45, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
    <autogenerated>:30 +0xa6
github.com/docker/docker/layer.(*layerStore).initMount(0xc820882880, 0xcd94d93c00, 0x40, 0xc8201e4c40, 0x40, 0x0, 0x0, 0xcb75851c10, 0xcac667ec90, 0x0, ...)
    /go/src/github.com/docker/docker/layer/layer_store.go:589 +0x274
github.com/docker/docker/layer.(*layerStore).CreateRWLayer(0xc820882880, 0xcd94d92fc0, 0x40, 0xc85abb23c0, 0x47, 0x0, 0x0, 0xcb75851c10, 0xcac667ec90, 0x0, ...)
    /go/src/github.com/docker/docker/layer/layer_store.go:469 +0x46a
github.com/docker/docker/daemon.(*Daemon).setRWLayer(0xc82009a340, 0xc9ae5bc960, 0x0, 0x0)
    /go/src/github.com/docker/docker/daemon/create.go:207 +0x203
github.com/docker/docker/daemon.(*Daemon).create(0xc82009a340, 0xcc381ff223, 0x29, 0xca15f888c0, 0xc84f4ac380, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
    /go/src/github.com/docker/docker/daemon/create.go:106 +0x3ec
github.com/docker/docker/daemon.(*Daemon).containerCreate(0xc82009a340, 0xcc381ff223, 0x29, 0xca15f888c0, 0xc84f4ac380, 0x0, 0xca2f975500, 0x0, 0x0, 0x0, ...)
    /go/src/github.com/docker/docker/daemon/create.go:55 +0x4c3
github.com/docker/docker/daemon.(*Daemon).ContainerCreate(0xc82009a340, 0xcc381ff223, 0x29, 0xca15f888c0, 0xc84f4ac380, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
    /go/src/github.com/docker/docker/daemon/create.go:29 +0xc2

Steps to reproduce the issue:
Issue is occurring randomly and occasionally
Output of docker version:
docker version
Client:
 Version:      1.12.0
 API version:  1.24
 Go version:   go1.6.3
 Git commit:   535b3ac-unsupported
 Built:        Tue Sep  6 10:25:57 2016
 OS/Arch:      linux/amd64

Server:
 Version:      1.12.0
 API version:  1.24
 Go version:   go1.6.3
 Git commit:   535b3ac-unsupported
 Built:        Tue Sep  6 10:25:57 2016
 OS/Arch:      linux/amd64

Output of docker info:
Server Version: 1.12.0

Storage Driver: devicemapper
 Pool Name: docker-8:6-1572870-pool
 Pool Blocksize: 65.54 kB
 Base Device Size: 10.74 GB
 Backing Filesystem: ext4
 Data file: /dev/vg-docker/data
 Metadata file: /dev/vg-docker/metadata
 Udev Sync Supported: true
 Deferred Removal Enabled: true
 Deferred Deletion Enabled: true

Swarm: inactive
Runtimes: runc
Default Runtime: runc
Security Options: apparmor
Kernel Version: 4.4.0-34-generic
Operating System: Ubuntu 14.04.4 LTS
OSType: linux
Architecture: x86_64

Additional environment details (AWS, VirtualBox, physical, etc.):
lvm2                             2.02.98-6ubuntu2
libdevmapper1.02.1:amd64         2:1.02.90-2ubuntu1

ping @rhvgoyal

This activation of device seems to be waiting on UdevWait(). That is waiting on a cookie from libdevmapper point of view. Which is basically a semaphore on which a put() operation is done
by udev rules when certain event happens. So in this case, somehow event has not happened, or
rule has not executed or something else went wrong, so library is waiting infinitely, hence docker is waiting infinitely, hence blocking everything else behind it.
Now question is, why did we reach in this stage, and there are no good answers. So many thing could be wrong. There are many components which could have some kind of issue.
Are you able to reproduce it?
dmsetup udevcookies can show you the cookies libdm is waiting on. To force system out of this manually, you can try dmsetup udevcomplete <cookie>. This is artificial completion which actually should have happpened from udev rules.
Make sure you are running latest packages. Try rhel/fedora/centos and see if problem is reproducible therere too.

Check your logs. We have had cases where due to memory pressure, udev worker was terminated by OOM. That means a certain udev rule never executed, that means completion never happened on cookie and we experieced this hang.
In your logs if you find that some udev work was killed, that might be contributing to this issue.

@rhvgoyal Thanks Vivek
Scanned the kernel logs, no OOM message.
We are using Ubuntu 14.04, currently cannot move to other destro. Will try Docker 1.12.3 with lvm2_2.02.133

@rhvgoyal completing cookie works for me. thanks !

Another report for this on Ubuntu 14.04: https://github.com/docker/docker/issues/25993#issuecomment-288513872
I'd recommend upgrading to 14.04.5 which uses kernel 4.4 instead of 3.13, in which case you can just use overlay2 instead, but also more likely to have fixes for issues like this.
@nkkashyap Any news?

closing as this one went stale


Add support for "contains" filters for output options

We need to have contents support in order to test the files lucifer outputs. Lucifer outputs a timestamp which will change on each run.

Done :)


Publish uaa-singular to NPM

It would make it easier to integrate singular with a modern web application if it was published to NPM.
That way it could be added to a project using the npm cli
npm --save install uaa-singular

Thanks for creating this issue. We have published a uaa-singular npm package. See https://www.npmjs.com/package/uaa-singular


.net core

Hi !
I want to know : Can we use Divert dot net with .net core ?
If we can, there is something special to do ?
Thank's.

Just use my other repository which is simply a single .CS source file. Not however that it is only compatible with WinDivert 1.3. WinDivert does not use semantic versioning, so 1.4 is not API compatible.
https://github.com/TechnikEmpire/DivertPInvoke
I use WinDivert in .net standard library myself here:
https://github.com/TechnikEmpire/CitadelCore.Windows


refactor: add return type for prefetch

add the return type Promise for the Vue prefetch function for
cleaner development
close issue #241

What is accomplished by your PR?
description...
Add return type for the VueConstructor.prefetch function to be Promise
Is there something controversial in your PR?
please take a moment to tell us about your choices...
Link to the Issue
or a link to a ticket system...
#241
Checklist
New Feature / Bug Fix

[X] Run unit tests to ensure all existing tests are still passing
[ ] Add new passing unit tests to cover the code introduced by your PR
[X] Add new documentation for the code introduced by your PR

@jmcdo29 thanks for your help!
Can you please remove the package-lock file from the PR? There was no update to the package.json
regards,
Johannes

Okay, I think I got it removed correctly.

hey @jmcdo29,
unfortunately not. This will delete the package-lock.json from the /next branch.
Can you try to copy the package-lock.json file from the next branch into yours and commit to this branch?
This should exclude the file from the changeset of the PR (hopefully).
In the end, the file should not appear in the "Files changed" tab.

@devCrossNet
There we go! Sorry for the problems with that!

Perfect 👍 it’s all fine 🙂
Thanks for contributing.


HTTP Error 404

Hello, when running the command:
edgar.download_index(path, year, user_agent, skip_all_present_except_last=False)
I'm repeatedly getting the following error:
urllib.error.HTTPError: HTTP Error 404: Not Found
It was working fine for several months but suddenly started breaking down yesterday.
Could you please check?
Thanks!

I'm able to run the code by using this trick: https://github.com/edgarminers/python-edgar/issues/23
Set the user agent to a random string:
user_agent = "XYZ/3.0"

I think this issue solves the issue when running it locally.
I'm having the same issue with my Project as well.
I was able to narrow down a couple of things:

The SEC API is having issues parsing Email (specifically the '@' character) in the User-Agent header. Which was working fine before.
I tried using just the name, still adhering to the [SEC Guidelines] (https://www.sec.gov/os/accessing-edgar-data), and this works locally but not on a remote server.
I tried using a few mock Browser User-Agents and had similar unsuccessful results.
SEC could be cracking down on using automated requests to their non-api endpoints.

I am having the same issue.  Removing the @ symbol from the user agent worked for me, but this does not seem like a long term solution.  I download all filings daily.

Its been a while since I've run this, could we be creating the issue with too many calls? If so do we have internal controls to rate limit the number of times to be compliant with their disclosed 10 calls per second limit?
If you would let me know a rough idea where to start I could take a peak at the code to look for a solution.
@jakemdrew when you say you 'download all filings daily' how much space does that take up?

I think this issue was resolved for me by reinstalling the package.
@datatalking My current 10Q folder goes back to 2019, has 76,082 full XBRL filings, and takes up 668GB of space.  Having said this, if you etract GAAP data and other features for ML, my entire EdgarData folder has 841,024 files and takes up 964GB.  A lot of this is XBRL taxonomy files for the GAAP data.

@jakemdrew what trading platform or python based system are you using, that is quite a bit of data as I thought I had a lot at 600GB. Are you using any other open source trading software?

I have my own Python for Edgar and use ib_insync for trading thru interactive brokers. The XBRL schemas for the GAAP data also take up a substantial amount of space. Sent from my iPhoneOn Nov 30, 2023, at 5:38 PM, Andrew Schell @.***> wrote:
@jakemdrew what trading platform or python based system are you using, that is quite a bit of data as I thought I had a lot at 600GB. Are you using any other open source trading software?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>


ldapAuth should have some level of caching

I have a Kibana server behind Traefik (v2.9.1) with the ldapAuth plugin (v0.0.17) and I can see 14 authentication requests via the ldapAuth logs just by accessing / on the server. The browser seems to cache the credentials, or perhaps that is happening in ldapAuth but it does show 14 requests being sent to my LDAP server and all of them are authenticated successfully. This isn't a fail-and-retry scenario. I was able to replicate this with a simpler web service just by refreshing the page it authenticates against LDAP in the log even though I don't get a credential prompt in the browser.  Is there some way to cache an authentication for an hour or any other configurable amount of time?

Hi @evan-chaney,
Unfortunately, this behavior comes from the browser's cache.
This StackOverflow question details more about this.

We can create a parameter for cacheTimeout and read these headers:
X-Forwarded-Host:[whoami.localhost]
X-Forwarded-Port:[80]
X-Forwarded-Proto:[HTTP]

to create a 302 redirect in the format: X-Forwarded-Proto://logout@X-Forwarded-Host:X-Forwarded-Port that will force the browser to request password again.

Better than this, we already have a RequireAuth method that requests the user to authenticate again:
https://github.com/wiltonsr/ldapAuth/blob/546a5c5305d1013da1c7f85d1d5c8062dd6ff7de/ldapauth.go#L263-L275
Just need to validate the cacheTimeout.

Hello, @evan-chaney
I created a new branch add-session, could you test this and report if there is any problem?
The CacheTimeout config param is set to 300s by default, but you can change it to fit your needs.
With this, only one request will be made to LDAP server while the session is valid.

Hello @wiltonsr,
First off thanks for your quick work, this is great stuff!
I'm running Traefik in Docker stack and I don't think I can specify a branch for the plugin, only tags. Any chance you could tag the branch or otherwise have it show up as a version on plugins.traefik.io?

I created v0.0.18-beta.
Just wait for refresh on plugins.traefik.io

Ok I got a chance to play with this at work this morning. It seems awesome! No problems over here and things may even be faster. Thanks for your extremely quick response and turnaround!

Glad to know.
I will improve this feature, cause we only read the session cookie, I need to add some level of cryptography to prevent fake/malicious requests to be validated.
For now, you could keep using the v0.0.18-beta release.


Contact

Hi, sorrry for post here, I'm currently working to fix the death error, do you have discord to talk with you, i'm interested to help in this mod. I'll be waiting for your messsage to eliminate the issue.
Sorry for my bad english.

Floris0106#0981
Send me a dm


[QoI] Improve diagnostics for generic subscripts

While diagnosing index expression associated with subscript call
validateContextualType didn't look through TupleType to identify
potential nullability of the contextual type related to generic
parameters.
Resolves: rdar://problem/31724211

@swift-ci please smoke test

Apparently some of the tests in Compatibility/tuple_arguments.swift are commented out, I'll deal with them tomorrow.

@slavapestov please take a look, because I think it's worth getting this in and dealing with selector problem separately because it's related to 'KeyPathApplication' constraint itself which is a different problem.

LGTM

@swift-ci please smoke test and merge


feat(codegen): angular element support 244

Add Angular Element code generation support.
The solution tries to streamline the process described in ngx-build-plus by Manfred Steyer (https://github.com/manfredsteyer/ngx-build-plus).
If you generate the assets with the editor and follow the README you will create a minimal toolchain to create Angular Elements in general.
Closes #244
PR Checklist
Please check if your PR fulfills the following requirements:

[ ] Tests for the changes have been added (for bug fixes/features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature (codegen)
[x] Code style update (formatting, local variables) -> Whitespace in codegen.service.ts
[ ] Refactoring (no functional changes, no API changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?

Issue Number: #244
What is the new behavior?
Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

[x] add Component codegen
[x]  add spec file codegen (if applicable)
[x]  add HTML codegen
[x]  add styles codegen
[x]  add readme codegen
[ ]  add export to stackblitz (or other external editor) -> May not make sense because the generation needs manual steps afterwards at the moment.
[x]  add unit test -> However it's very basic!
[x]  add entry to the editor menu

@manekinekko @Jefiozie Could you please have a look whether this Angular Element codegen approach would fit your needs? It basically does some streamlining to the process described in ngx-build-plus (https://github.com/manfredsteyer/ngx-build-plus).
Assuming it is ok, you may help me by getting everything ready for the final PR:

Are there any additional docs that need to be updated for the Angular Element support?
I have minimal unit testing support. Are there any e2e tests or unit tests that would make sense to add here?
I will squash and reword the commit in order to align with the defined commit message format. Is that ok and the typical the way to go?

This is awesome!!!! I'm gonna review it asap 👍

@devinmotion @davidwuerfel The PR looks good. You have done an incredible job! Thank you so much! Everything is working as expected.
@devinmotion no worries about the tests and e2e. We are still thinking about the best strategy for testing the custom code generators. Any suggestions?

@Shikanime can we get #303 reviewed and merged asap so we can merge this PR after and have it ready for next release?

@devinmotion @davidwuerfel,  great work guys on this PR, it looks good!! Thank you for working on this PR 🙏🏻

@devinmotion @davidwuerfel, great work guys on this PR, it looks good!! Thank you for working on this PR 🙏🏻

Thank you ❤ , you're really welcome! Had a lot of fun, it was a pleasure. Ready to do some more in the future 🚀. Actually devinmtion is my private account whereas davidwuerfel is my company account. A bit confusing, depending on the mail adress that has been configured in git on different machines. I will soon change/transfer from devinmotion (which is really an old relict) to something that aligns with my Twitter handle. Prepare to be even more confused! 😆

I'll have a look into merging the current master back into this branch soon.

@manekinekko @Jefiozie I merged current master, rebased, squashed and aligned to your commit message format. Should be ready to review (again 😁) and to be merged into master.
Some remarks while merging the current master:

make does not work on Windows out-of-the-box. I tried to use an npm-library, however multiple npm run lines in the make file did not work. Had no solution for this atm, and ran the scripts by hand.
Are you using any formatters? I missed a project-wide .prettierrc.
Some refactorings in the new codegen approach result in any-typed parameters. Are you planning to add types back again?

If you would like to fix some of these, could I help creating some issues?

awesome! Thank you for rebasing and thank you for the feedback.
The other codegen redactor was a huge work and we might have missed some small changes. Will plan this rework for our next sync, next week.


Can't install in versions below 1.50 of VS Code.

Hey, @loiane. Where I work we can't get de latest version of VS Code. I Saw that this pack is set to work with ^1.50.0 version, but all extensions in this packs works fine with my version, 1.41.0.
The Java Extensions Pack use this config:
"engines" : {
"vscode": "^1.32.0"
}
Thanks :)

Hi @ericsouza please feel free to raise a PR to make this change, I'm ok with it, otherwise I can also apply it.

Fixed.


Nadelhoffer and Nave 2011; UMBS_FASET

[x]  Evaluate dataset
[ ]  Complete template checklist
[ ]  Write up summary report narrative
[ ]  Good commenting
[ ]  External review by someone else

duplicate, #64


WSL uninstalls after Windows 10 update

Last night, Windows 10 did an update - Cumulative update for ver 1903, KB4514359 - and this morning when I logged in and brought up bash it had to reinstall a new user.  This has happened once before and I chalked it up to chance but now it appears that this type of update is deleting all the user info.  The bash window was there but when I brought it up, the message was 'installing, please wait... and then I had to re-create my user name and a password.  Unfortunately, I have to reinstall my aliases, reconfigure .bashrc and my .ssh keys.  Annoying.
Does anybody have insights as to why this is happening and if there's anything I can do to mitigate it other than save all my keys and .bashrc outside of the wsl directories?  This is a ubuntu installation.
The only other thing that occurs to me is that I did some updates via the cli but not the version number, which I believe is 18.04 LTS.
Thanks in advance...

Build 19002 has a fix that could potentially explain this.  Thanks for reporting the issue.


Update ci-theme.css

Turned 2 vertical boxes into horizontal view. When we first prepared there were 3 versions of CI there : 4 - 3 and 2.. But then, only with 2 vertical boxes the page look was not meaningful without the third box.

Pull Request Test Coverage Report for Build 953118104

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 75.938%

Totals

Change from base Build 949690073:
0.0%

Covered Lines:
243

Relevant Lines:
320

💛  - Coveralls

Before:

After:

Looks better! Thanks for this. No need to leave comments on the old versions of things as that will all be available in the revision history. I made suggestions to remove these - if you click the "Files" tab you can use the "Add suggestion to batch" buttons to add all of them to a new commit and GitHub will update the PR for you.

Is there anything I should do now? or was your warning for the future?

You need to update the PR. You can use the process I outlined above, or you can submit a new PR without the comments if that is easier. I recommend learning how to add commits from GitHub suggestions - it saves a lot of time for small changes.


[Bug Report] About time picker: sometimes need the start time to be greater than the end time

Element UI version
2.4.11
OS/Browsers version
chrome v71.0.3578.98
Vue version
2.5.21
Reproduction Link
https://jsfiddle.net/kywp8d79/7/
Steps to reproduce

visit https://jsfiddle.net/kywp8d79/7/
select start time like 23:00:00
select end time less than the start time like 8:00:00

What is Expected?
the end time 8:00:00 can be chosen
What is actually happening?
the selection of 8:00:00 including others less than the start time is disabled

StartTime greater than endTime in a same component seems very strange without other hits.
In your case, I think you can use two TimePicker or one DateTimePicker.

You need to explain why you want to do this. We won't support this usage unless there are compelling reasons.

时分秒和年月日又不一样，22:00-8:00  这样的时间段不是很常见吗


Add Institute of Photonics and Electronics, Czech Academy of Sciences

@mnich Pull request merged. Please notice that free educational license if for educational purpose only, and if the researchers in your organization who are not students nor teachers, need the license too, they are better contect<EMAIL_ADDRESS>to get an academic discount for regular license. Thank you!


"View on Marketplace" Button is Broken

Seems like it shouldn't be broken 😁

I just released a new version and made sure "release to marketplace" was ticked so I guess it's fixed now 🤷 I tested it myself but let me know if it's still not working for you (in case as the owner of the repo I can see something you can't)
I'll close this for now but if it's still broken do let me know 👍


Call testutils.VerifyGoLeaks in cmd/internal/printconfig tests

Which problem is this PR solving?

Solves part of https://github.com/jaegertracing/jaeger/issues/5006

Description of the changes

There doesn't seem to be goroutine leaks in this package, so there's no reason for it to be excluded

How was this change tested?

go test ./cmd/internal/printconfig

Checklist

[x] I have read https://github.com/jaegertracing/jaeger/blob/master/CONTRIBUTING_GUIDELINES.md
[x] I have signed all commits
[ ] I have added unit tests for the new functionality
[ ] I have run lint and test steps successfully

for jaeger: make lint test
for jaeger-ui: yarn lint and yarn test

please make sure commits are signed

thanks!


I can't understand the training way

Dear author
From your paper and source code, it is known that the target category is chosen to be tested, and other categories in the datasets are used for training. I am extremely confused about it. In my opinion,  It should be that the target category is chosen to be tested, and all categories in the datasets are used for training.
I will appreciate it if you can help me.

This is exactly the setting of few-shot anomaly detection. This setting targets to evaluate the anomaly detection performance on an unseen category in order to test the generalization ability of the anomaly detection model. Thus, we should remove all the data of the target category from the training set, while only very few data of the target category are given in the support set during the test.
Of course, you can add all training data of the target category into both the training set and the support set. Higher performance will be gotten than the paper. But it is no longer few-shot anomaly detection but vanilla anomaly detection.

Dear author
Thanks for your answer. In my view, it is an excellent idea, which has benefited me a lot. Hundreds of thanks.
I have another doubt. The "Individual training" mentioned in the paper refers to that only samples of the target category are used for training,  and when the testing, only samples of the target category are tested?

Yes but only the given few-shot data are used in the indivisual training.

Dear Author,
May I ask how the .pt file that supports_set is trained in detail? I see that what you share here is a pre-trained file, but there is no specific explanation.

@Nanala5 The support set is a set of images. It is NOT a pre-trained file.

Dear Author,
Sorry to bother you, I may be inaccurate in my expression, the support data set is indeed in the form of a group of. pt files, so I would like to ask how it is handled here.

@Nanala5 The support set is a set of images. It is NOT a pre-trained file.

Dear Author,
Sorry to bother you, I may be inaccurate in my expression, the support data set is indeed in the form of a group of. pt files, so I would like to ask how it is handled here.

Dear Author,
Sorry to bother you, I may be inaccurate in my expression, the support data set is indeed in the form of a group of. pt files, so I would like to ask how it is handled here.

Dear Author,
Sorry to bother you, I may be inaccurate in my expression, the support data set is indeed in the form of a group of. pt files, so I would like to ask how it is handled here.

Dear Author, Sorry to bother you, I may be inaccurate in my expression, the support data set is indeed in the form of a group of. pt files, so I would like to ask how it is handled here.

Simply open the image data, transform them into tensors, and then save the tensors as a pt file. That's all. Please refer to #1 for the codes. Sorry, but I cannot understand "supports_set is trained" you mentioned before. It is an image support set for the few-shot testing, which contains the tensor-type images and needn't be trained.

Dear Author,
Thank you very much for your answer.


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

ID: 5552e8c4-b0c2-f3ff-c69a-607166afb611
Version Independent ID: 8e73c13c-9b2b-0eac-45ec-4bd3a8d01bb1
Content: Create a multi-platform pipeline - Azure Pipelines
Content Source: docs/pipelines/get-started-multiplatform.md
Product: devops
Technology: devops-cicd
GitHub Login: @steved0x
Microsoft Alias: sdanie

@da2018  Thank you for the feedback and we apologize for any issues you're having.
Unfortunately we can only address concerns with documentation in this forum.  For product-related issues, please use the Azure DevOps community.
See if this post or one of these posts relates to your issue and add your comments there to solicit feedback directly from the product team.

Closing this issue now.


Sensors fixes

Yes, I was using
[janc@ix ~]$ arm-none-eabi-gcc --version
arm-none-eabi-gcc (Fedora 9.2.0-1.fc31) 9.2.0

oh wow, its a bummer though. Anyways, I think the changes look fine.


improve and unify cli execution

make the IDE utils take a main method so that we can eventually deprecate the fake cucumber CLI
should be possible to use parallel runner via native CLI and specify threads. problem is reports because the cucumber reporting is optional and not in classpath by default. perhaps use the JUnit HTML in this case - to investigate, maybe an additional command line option
we need a clean task for the runner, needed for the standalone

add the task of updating the results json in real time: https://github.com/intuit/karate/issues/561#issuecomment-433594640
so that the karate-runner VS code plugin can display test execution status in real time: https://github.com/kirksl/karate-runner/blob/master/src/commands.ts#L114

released 0.9.5


/tmp plugin struggles with multi-line strings

The hard-coded /tmp plugin doesn't handle multi-line strings very well. Maybe some code could be borrowed from the SQL injection plugin.
In this example, only lines 1 and 3 are in the report. Line 2, with "/tmp" itself, is missing:
x = """
/tmp
"""
In this example, only line 4 (the closing """) is emitted in the report:
def f():
"""
/tmp
"""

Launchpad bug to Github issue import error


502 error on detailsDisplay

Describe the bug
502 error on detailsDisplay
To Reproduce
Steps to reproduce the behavior:

Go to 'https://dev.endhealth.co.uk/#/directory/folder/http:%2F%2Fendhealth.info%2Fim%23903031000252104'
See error on the Network

Issue was due to node_api not running.


Make it easier for switching between branches

@lirantal Another .gitignore to make it easy to switch back and forth

@codydaig Would this really work? What if I'm working on a unfinished module, and don't want the new folder/files showing up (loading) when I switch branches?

Wait.. didn't see this was for the gh-pages branch :) forgive my insolence


DO NOT MERGE: Investigate invalid notifier

Description
A detailed explanation of the changes in your PR.
Feel free to remove this section if it is overkill for your PR, and the title of your PR is sufficiently descriptive.
Checklist

[ ] Investigated and inspected CI test results
[ ] Unit test and regression tests added
[ ] Evaluated and added CHANGELOG entry if required
[ ] Determined and documented upgrade steps
[ ] Documented user facing changes (create PR based on openshift/openshift-docs and merge into rhacs-docs)

If any of these don't apply, please comment below.
Testing Performed
TODO(replace-me)
Use this space to explain how you tested your PR, or, if you didn't test it, why
you did not do so. Valid reasons include, for example, "CI is sufficient",
"No testable changes". Feel free to attach JSON snippets, curl commands,
screenshots.
In addition to reviewing your code, reviewers must also review your testing
instructions and make sure they are sufficient.

Current dependencies on/for this PR:

master

PR #6304

PR #6316

PR #6317

PR #6335   👈

This comment was auto-generated by Graphite.


Default option group: make the name and help globally configurable

This is a minor enhancement, a refinement, to implement (maybe) in the future.
Specs

The name and the help of the default OptionGroup should be globally configurable.
Important: as it is implemented now, if the command has no option groups defined, the default group name should be just "Options" and the help should be empty.

Notes

Consider changing the default from "Other options" to "General options".
There should be an analogous issue relative to subcommand sections; these configurations should be released together.

Actually, this is only an instance of a bigger problem of Click: the help formatting strategy should be implemented in a separate class (strategy pattern). There's an open issue on Click repo about this. Click is the right place to fix the problem, not Cloup. Adding "help formatting parameters" to command classes like I did with show_constraints or align_sections is inelegant.

Related: #15. This feature can be implemented with a context attributed
default_option_group: Optional[OptionGroup] = OptionGroup('Other options')

This allows for specifying thehelp parameter if one wants. Passing None could be equivalent to: "I don't want to show those options in a titled help section; show them just as plain options`.

I don't feel this deserves yet another setting. If one really wants to change the default, one can already override the get_default_option_group method.


[rest] add Operational Dataset API

This PR extends the REST API to support reading and writing Active and Pending Operational Datasets. It largely implements what has been discussed in https://github.com/openthread/openthread/discussions/8567.
It adds the following endpoints and methods:

/node/dataset/active [GET, OPTIONS, POST, PUT]
/node/dataset/pending [GET, OPTIONS, POST, PUT]

The GET method returns current datasets, POST allows to create a new dataset (with defaults as initialized by the OpenThread implementation just like ot-ctl dataset init new). Any fields provided with POST will overwrite the defaults, hence a call like
curl -X POST http://localhost:8081/node/dataset/pending -d '{ "Delay": 30000, "ActiveTimestamp": 10 }'

Is equivalent to:
ot-ctl dataset init new
ot-ctl dataset delay 30000
ot-ctl dataset activetimestamp 10
ot-ctl dataset commit pending

PUT requests do not initialize a new dataset (which makes the call idempotent as defined in HTTP). PUT simply loads the current dataset and updates it with the new values provided by the JSON body. When using the TLV format PUT is a simple write to the active/pending dataset.
Datasets can be read and written using a straight forward JSON format or alternatively using the Dataset TLV format. This is implemented in a RESTful manor by using the same endpoints but Content-Type to distinguish the two data formats. The application/json type is used for JSON and plain/text for Dataset TLV format.
The API is documented by a OpenAPI Specification (Swagger). The YAML description file is stored at src/rest/openapi.yaml. Swagger UI allows to test all the variants described above as well. To start Swagger UI locally the following command can be used:
docker run -p 8082:8080 -e SWAGGER_JSON=/openapi.yaml -v $(pwd)/src/rest/openapi.yaml:/openapi.yaml swaggerapi/swagger-ui

The following things are open/tbd at this point:

No method to change state of the OTBR (probably best done in a separate PR)
Automatic/implicit ActiveTimestamp support (or should this be left to the client)
Generate Swagger UI API in GitHub actions/deploy GitHub pages?
Additional testing/unit tests?

The PR also removes the /node/active-dataset-tlvs endpoint as it is obsolete with this much more capable endpoints.

Let me know if I can do something to help get this merged.

Is there anything I can do to help get this merged?  I have to use Agners fork in order to work with Homeassistant.

Is there anything I can do to help get this merged? I have to use Agners fork in order to work with Homeassistant.

To implement the latest feedback a new API in the core of openthread is required. There was some discussion was on-going for a while, but we came to an agreement, see https://github.com/openthread/openthread/pull/8669#issuecomment-1421263535.
This needs to be implemented, so we can use it here. I probably get around to do it next week. Unless you happen to have spare cycles :smile:

+1 for this! Can't use the OTBR functionality in HA without it as far as I can tell. If this was Python or Java I'd contribute it myself but fear submitting my first CPP code here may do more harm than good 🙂

@agners There are coding format issues on this PR. You may want to run ./script/make-pretty clang on your code.

@agners There are coding format issues on this PR. You may want to run ./script/make-pretty clang on your code.

Ugh, yeah used to go through at one point, but doesn't it seem. I don't have Clang 14 locally anymore, I'll check if I can downgrade to run this.

@wgtdkp thanks for tackling this! :pray:


support auto close problem peek view after fix it

@daviddossett

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.
Happy Coding!


chore: Update unstructured API endpoint

Update Unstructured API endpoint

Today while playing with UnstructuredFileConverter component I discovered the current endpoint didn't work and has changed to a new one. After setting new endpoint everything started to work again

Let's have @anakin87 confirm this - he has more context

Upon reading our docs https://docs.haystack.deepset.ai/docs/unstructuredfileconverter I realized that everything is working as expected. The key sentence is "For the Free Unstructured API, the API URL is https://api.unstructured.io/general/v0/general. For the Unstructured Serverless API, find your unique API URL in your Unstructured account."
So what was happening is - when I started using unstructured, not being aware of these subscription tiers, I used serveless API feature chunking by similarity and then API was failing with some strange errors leading me to conclude that something is off. I then saw that API endpoint is different on my unstructured homepage:

As you can see above it is https://api.unstructuredapp.io/general/v0/general
But this endpoint is only for paid Unstructured features, i.e. their Serverless API tier.
This is the most confusing service offering I've ever seen.
@dfokina can we somehow explain this gotchas even better on our https://docs.haystack.deepset.ai/docs/unstructuredfileconverter docs page. We also need to add pip install unstructured-fileconverter-haystack to that page.
Closing this issue now.

Actually @dfokina I'll do this and you approve it (or not :-))


Performance with large data sets

Hey,
Thanks for nice library 🙏
I'm analysing it's potential and I'm struggling with performance on data sets with ~200 items.
I cloned repo, modified basic example array size from 20 to 200:
https://github.com/jemise111/react-native-swipe-list-view/blob/master/SwipeListExample/examples/basic.js#L14
I run it on real device, scroll down to # 50 item and try to swipe. At start nothing happens, after few seconds swipe starts to function.
I wonder if it's limitation of library or I'm doing something wrong 😕

We have the same issue, we have many items (around 500) and the initial render delays a lot (at least 20 seconds).
Is this something normal or we can do something about this in the code?
Thanks!

@jemise111 Do you have any tips to solve this issue?

The performance on this component is terrible.

Hey guys have you tried some of the performance improvements listed here: https://reactnative.dev/docs/optimizing-flatlist-configuration
I think the rendering issue @afilp mentioned could be fixed by some of those
@tomasmozeris My first guesses are it's something related to scroll events, listeners on the row swipe value, or onLayout events. I'm trying to go through the code and disable them one by one. I think the best improvement I see is with disabling onscroll events but I'm not sure without digging deeper. Can you try adjusting scrollEventThrottle and seeing if that helps.
Any extra info you guys have can help me figure this out better

Hey,
We ended up combining:

<RecyclerListView /> for the list
<SwipeRow /> for giving list item swipe interaction
It gave decent performance for low end devices

Thanks @tomasmozeris that's helpful

Hey,
We ended up combining:
* [`<RecyclerListView />`](https://github.com/Flipkart/recyclerlistview) for the list

* [`<SwipeRow />`](https://github.com/jemise111/react-native-swipe-list-view/blob/master/docs/SwipeRow.md) for giving list item swipe interaction

It gave decent performance for low end devices

Hello!
Sadly this is not working for us, i just spend a whole day trying everything but we keep stuck at same problem
https://github.com/Flipkart/recyclerlistview/issues/333
This problem.

When opening a other row, old one doesnt close and i tried everything from the same approach as siwpe-list-view has with storing refs. to only storing ref of the open row and closing one on a new one being opend.
When you scroll, because it recycles it will still show open row from the one above see the github problem.

We are now thinking about using renderListView to render recyclerview or a other optimization flat list.
Because performance is so bad, even with only 200 items.
The problem is when initial load or when scrollen the whole app just kinda freezes with a flatlist.
Did you ever manage to solve the problem with the close row while using recyclerview?

Same problem. Any progress?

@HyopeR can u post a snack example ?


Color palette

We currently don’t have a color palette matching our logo.
Check out https://material.io/resources/color/ to create one automatically.
Our logo consists of the following colors:

#2e7d32
#81c784

Our logo consists of the following colors:

#2e7d32
#81c784

PRIMARY

main: #80c683
light: #b1f9b3
dark: #509556
text color: #000000 (check table above to see which opacities are readable)

SECONDARY

main: #2e7d32
light: #60ad5e
dark: #005005
text color: #ffffff (check table above to see which opacities are readable)

User interface examples


Fix reset password error prompt password error

After executing a factory reset, reset the password. Even if the entered password meets the requirements of the password complexity, it will prompt that the password is wrong, and then click the reset button again, and it will be successful.
Cause of the problem: When the password is reset, the UI will send the patch and get methods synchronously. Even if the patch method is not completed, the get method will be executed, and 403 will be returned at this time.
So the patch method should be executed first, and the get method should be executed after waiting for the correct return value.
Tested:
After factory reset, reset the password. After entering the correct password, click the reset button, and it will prompt that the reset is successful.
Signed-off-by: George Liu<EMAIL_ADDRESS>

@anoo1 @gtmills @rfrandse @mzipse
Could you please take a look at this patch, thanks.

@lxwinspur Can you push this upstream to webui-vue?

@lxwinspur Can you push this upstream to webui-vue?

@gtmills The upstream code does not have this problem


Update README.md

Added missing $ sign before nextTick()

nextTick can be globally imported or accessed as $nextTick, same as in Vue 3.


Allows default values for non-specified config fields

For example, we should allow the default value of package_type field so we do not need to specify such field in every artman config per API.

We have this ability now (we did not before #159). If you will tell me what you want the defaults to be, I can make this happen in googleapis.

Implemented in the new artman config schema.


JS subscriber

Adding a JavaScript NATS Subscriber

Ope sorry! Will do rn. I think we should keep the test.go though to make sure that the publisher is always working correctly.


Fix bug topical event featurings update link to view

Description
This PR updates the text on the show documents links to 'View' rather than 'Edit'
Screenshots
Before

After

Trello
https://trello.com/c/xYHE1MLT
⚠ This repo is Continuously Deployed: make sure you follow the guidance ⚠
Follow these steps if you are doing a Rails upgrade.

Looks good Chris. It looks like there's a test covering that link text being "Edit x" so that just needs to be updated 👍