could you open source the model file

Hi, thanks for your work! We have tried to train the model based on your training code. However, we could not achieve the same metric as your paper. Could you open source your model file or give us more instructions? Thanks a lot!

Hi, thank you for your concern. However, I have left ByteDance for a while, so the model may be hard to find.
To achieve better metric, please check if all the hyper-parameters are aligned to the paper, not only in the training stage, and also in the pre-processing stage (for example, the default parameters use imac feature, and the final results in the paper are based on rmac feature).
If you can share more details about your re-implementation, I might be able to offer more help.


Workaround for mis-ordered initialization of some input providers.

We've seen a couple of instances now where the MixedRealityInputModule and various providers (i.e. GazeProvider) are getting initialized in non-deterministic fashion. If the GazeProvider starts first, it will raise its source detected, and then when MixedRealityInputModule::ActivateModule is invoked, it re-invokes OnSourceDetected, which tries to add the same pointer to the pointer dictionary.
This throws an exception (bad). We want to update the OnSourceDetected function to only try to add it to the dictionary if it doesn't exist to work around this and unblock a few consumers.
https://github.com/Microsoft/MixedRealityToolkit-Unity/issues/4084

/azp run mrtk_pr

Waiting on reporter to validate this change.

Because none of us have an actual repro of the issue.

Okay, managed to actually hit this pretty reliably, this works good.

/azp run mrtk_pr


TSaslClientTransport._send_message cannot concat str to bytes

When connecting to Hive through Impyla with mechanism 'GSSAPI' the _send_message method fails when trying to concatenate the string 'GSSAPI' to the header bytes. The solution for this (widely spread across the web) is to insert a type check and conversion for the body  argument as follows:
  def _send_message(self, status, body):
    header = struct.pack(">BI", status, len(body))
    if isinstance(body, str):
        body = body.encode()
    self._trans.write(header + body)
    self._trans.flush()

It would seem based on the __init__ docstring that the expected behavior is to accept strings for the mechanism argument.  However, I'm not exactly sure how this is intended to work without converting to bytes when it is passed to _send_message.
We would like to use thrift_sasl in a production system, but would rather rely on the cloudera distribution than an internally maintained distribution for just 2 lines of code. Would it be possible to include this change in any upcoming releases?

0.4.1 is available on https://pypi.org/project/thrift-sasl/, and should contain not have this issue.


Delete data-files destination dirs before copying

Fixes #33

Yes! That's exactly why.

@nilskuhn Would you mind trying this to see if it solves your problem? I was able to replicate and resolve the issue on my end but I'd like to make sure I'm not missing anything.
You can install the version from this PR with this command:
pip3 install git+https://github.com/UrbanMachine/colcon-poetry-ros.git@ed14d26e4490457f08ed072f39d9e7864ab3912f

yes, that works for my case. Thanks a lot, that was a quick fix!
Which version will contain this fix and do you have a rough plan when you will be able to package and publish that one?

Glad to hear it! I'll make a new patch release with this fix right now.


What can cause: "Could not set GROBID_HOME" ?

Hi,
Sorry not really an issue with grobid, but I'm trying to understand what could cause the following error:
org.grobid.core.exceptions.GrobidPropertyException: [GENERAL] Could not set GROBID_HOME
Some guesses:

trying to init a new context without detroying the previous one ?
trying to init several context in the same JVM ?

I'm asking because I can't reproduce the error on the fly, It just happens sometimes !
My sample code to initiate a grobid context:
val pGrobidHome: String = sys.env("GROBID_HOME")
val pGrobidProperties: String = pGrobidHome + "/config/grobid.properties"
try {
      MockContext.setInitialContext(pGrobidHome, pGrobidProperties)
      GrobidProperties.getInstance()
}
catch {
      case e: javax.naming.NameAlreadyBoundException => println("grobid already configured")
      case otherE: Exception => otherE.printStackTrace()
}

Thanks,
Thomas
PS: Just tried the 0.4.2 snapshot with the new pdf2xml, it really reduce the number of parsing errors  !!

Finally I'm pretty sure it was due to "trying to init several context in the same JVM".
In scala the solution is to wrap grobid into an object, and setting the engine as a "lazy val", useful for a spark job...

I think this is a context that is set while already existing. This should normally be prevented with the method mockContextIfNotSet() in grobid/grobid-core/src/main/java/org/grobid/core/main/LibraryLoader.java, but it could still exist cases when it's not checked correctly. If you still can reproduce this error, can you give us the full trace of the exception so that we can identify where the context is set without preliminary check? Thanks !

Actually I haven't this issue anymore thanks to lazy instantiation of the the context. But I'll reopen if I reproduce it by chance :)


Small fix to add also ps and epsi plot types for Miles

Miles did not accept the ps and epsi plot types: I added them (they are all actually aliases for eps).

Sure, good idea, done


Feature request: user-defined collation sequences

Can you please provide details about how this feature should work?

sqlite Collation Sequence affect ORDER BY result;
the default Collation Sequence is BINARY
if the a column contains Chinese, this will get the wrong ORDER BY result;
so we need to do two things to get the right ORDER BY result:

register custom Collation Function PinYin
create table with column Collation Sequence specified PinYin

run this code with LINQPad
using Dapper;
using System.Data.SQLite;

void Main()
{
	var builder = new SQLiteConnectionStringBuilder();
	builder.DataSource = ":memory:";
	var db = new SQLiteConnection(builder.ToString());
	db.Open();

	/* this is the right order of the chinese string: 文, 中 */
	var list = new List<string>() { "中", "文" };
	list.OrderBy(x => x).Dump();

	/* create table without column collation sequence specified  */
	var cmd = db.CreateCommand();
	cmd.CommandType = CommandType.Text;
	cmd.CommandText = "CREATE TABLE [TableWithoutCollation] ( Name text )";
	cmd.ExecuteNonQuery();

	db.Execute("INSERT INTO [TableWithoutCollation](Name) VALUES (@Name)", new[]
	{
		new { Name = "中" },
		new { Name = "文" } }
	);
	/* we get the wrong order: 中, 文 */
	db.Query("SELECT * FROM [TableWithoutCollation] ORDER BY [Name]").Dump();

	/* register collating function PinYin */
	SQLiteFunction.RegisterFunction(typeof(SQLiteCollation_PinYin));

	/* create table with column collation sequence specified  */
	cmd.CommandText = "CREATE TABLE [TableWithCollation] ( Name text COLLATE PinYin )";
	cmd.ExecuteNonQuery();

	db.Execute("INSERT INTO [TableWithCollation](Name) VALUES (@Name)", new[]
	{
		new { Name = "中" },
		new { Name = "文" } }
	);
	/* we get the right order: 文, 中 */
	db.Query("SELECT * FROM [TableWithCollation] ORDER BY [Name]").Dump();

	db.Close();
}

[SQLiteFunction(FuncType = FunctionType.Collation, Name = "PinYin")]
class SQLiteCollation_PinYin : SQLiteFunction
{
	public override int Compare(string x, string y)
	{
		return string.Compare(x, y);
	}
}

It is already possible to specify a built-in collation CollateAttribute.
My idea is to extend the CollationFunction enum and offer a property FunctionName on the CollateAttribute.
    public class Person
    {
        public int Id { get; set; }

        [MaxLength(50)]
        [Collate(CollationFunction.Custom, FunctionName = "PinYin")]
        public string FirstName { get; set; }
    }

You still have to add the SQLiteFunction by yourself.
Let me know what you think.

https://github.com/msallin/SQLiteCodeFirst/pull/105

i test #96, that works.

Thank you for creating the issue, the feature is included in the version 1.5.
To support this project you can

star the repository;
report bugs/request features by creating new issues;
write code and create PRs;
donate.

https://github.com/msallin/SQLiteCodeFirst/tree/v<IP_ADDRESS>#support-the-project-


Proxy friendly API calls

Take base path into account for API calls originating from webserver UI, such that ESPHome devices can be reached through reverse proxy using path-prefix.
This PR is an extension of #9, in which I did not take into account that for API calls the base path should also be prepended.
Should fix esphome/issues#3696

I'm not in a position to test the changes, however the code looks ok

Thanks for the quick response!
I've made a quick test config to validate the REST calls from a switch arive at the esphome device:
The idea is that pressing the switch on the UI would POST to the REST API which should show up in the logs.
(Without this change this call would be sent to localhost:6052/switch/find_tag/turn_on i.s.o. localhost:6052/devices/proxy-test/switch/find_tag/turn_on in the example below)

proxy-test.yaml
esphome:
  name: proxy-test

esp32:
  board: wemos_d1_mini32
  framework:
    type: arduino

wifi:
  ssid: !secret WiFi_ssid
  password: !secret WiFi_password

api:
  password: !secret hass_api_password
  encryption:
    key: !secret api_encryption_key

web_server:
  port: 80
  # Grab modified JS:
  js_url: "https://<MY_DOMAIN>/v2/www.js"

ota:
  password: !secret ota_password

logger:
  level: VERBOSE

binary_sensor:
  - platform: template
    name: "template_switch"
    id: template_switch

sensor:
  - platform: uptime
    name: Proxy test Uptime
  - platform: wifi_signal
    name: Proxy test WiFi Signal
    update_interval: 300s

switch:
  - platform: template
    id: find_tag_switch
    name: "Find tag"
    optimistic: true
    turn_on_action:
      - lambda: |-
          ESP_LOGI("SWITCH", "Turned on switch!");
          id(template_switch).publish_state(true);
    turn_off_action:
      - lambda: |-
          ESP_LOGI("SWITCH", "Turned off switch!");
          id(template_switch).publish_state(false);

To validate the results, i've made a quick screen capture comparing interactions through the ui both directly talking  to the device, and through a proxy (both using the modified www.js resulting from this PR).
https://user-images.githubusercontent.com/68224306/196026090-d8172e34-d2ed-4587-9109-40c302ffdde3.mp4
In both cases [I] | [SWITCH:047] | Turned on switch! shows up in the logs.
I'm not sure if this covers all possible scenarios though.
If not, please let me know what else should be taken into account.

Can you test with local:true?  Your current version isn't working with it.
https://github.com/esphome/issues/issues/3720

@bkaufx,
I've managed to reproduce the blank screen reported in esphome/issues#3720 and then tested tested local use of the webserver component using the header created based on this PR wich causes the page to load propperly.
There's now an open PR with the fix for that issue, but the propper order of handling these PRs would probably for @wilberforce to check if this is fit for acceptance before approving esphome/esphome#3958.
Not sure what caused the blank screen issue in the first place though.


mbed releases not working on Windows (pip publishing not done for 1.3.0?)

Seems the command mbed releases is not working with the Windows version of this. I have installed the whole Mbed OS toolchain using the Windows installer we have.
C:\Users\jankii01\mbed\mbed-os-example-client>mbed ls
mbed-os-example-client (5767847be0d2)
|- easy-connect (522e43fa1bba)
|  |- atmel-rf-driver (2cd9abba3e37)
|  |- esp8266-driver (a7245780485c)
|  |- mcr20a-rf-driver (9aac10474702)
|  |- stm-spirit1-rf-driver (0ff4ca7537f0)
|  `- wifi-x-nucleo-idw01m1 (537b01c4a053)
|- mbed-client (ea04c5de7822)
|  |- mbed-client-c (ecfa619e42b2)
|  |- mbed-client-classic (4e66929607c3)
|  `- mbed-client-mbed-tls (7e1b6d815038)
|- mbed-os (da9464d10305)
`- pal (60ce64d5ec35)

C:\Users\jankii01\mbed\mbed-os-example-client>mbed releases
usage: mbed [-h] [--version]             ...
mbed: error: argument            : invalid choice: 'releases' (choose from 'new', 'import', 'add', 'remove', 'deploy', 'publish', 'update', 'sync', 'ls', 'status', 'compile', 'test', 'export', 'detect', 'config', 'target', 'toolchain', 'help')

C:\Users\jankii01\mbed\mbed-os-example-client>mbed --version
1.2.2

As per documentation the mbed releases should list the version numbers (if available) from each repo.

Okay, some guess work - the mbed releases command was added to version 1.3 and I am now guessing that's not coming through to Windows (yet). The installer you link to - gives you only version 1.1.1.
https://github.com/ARMmbed/mbed-cli/tree/1.3.0#installing-mbed-cli
If you re-do the pip install mbed-cli - it only also gives you the 1.2.2.
C:\Users\jankii01\mbed\mbed-cloud-client-example-internal>pip install mbed-cli
Requirement already satisfied: mbed-cli in c:\python27\lib\site-packages\mbed_cli-1.2.2-py2.7.egg

However, doing pip download found 1.3.0. As did pip search.
I did an pip uninstall - then it failed removing it.
C:\Users\jankii01\mbed\mbed-cloud-client-example-internal>pip uninstall mbed-cli
Uninstalling mbed-cli-1.2.2:
  c:\python27\lib\site-packages\mbed_cli-1.2.2-py2.7.egg
  c:\python27\scripts\mbed-cli-script.py
  c:\python27\scripts\mbed-cli.exe
  c:\python27\scripts\mbed-cli.exe.manifest
  c:\python27\scripts\mbed-script.py
  c:\python27\scripts\mbed.exe
  c:\python27\scripts\mbed.exe.manifest
Proceed (y/n)? y
  Successfully uninstalled mbed-cli-1.2.2
Traceback (most recent call last):
  File "c:\python27\lib\runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "c:\python27\lib\runpy.py", line 72, in _run_code
    exec code in run_globals
  File "C:\Python27\Scripts\pip.exe\__main__.py", line 9, in <module>
  File "c:\python27\lib\site-packages\pip\__init__.py", line 233, in main
    return command.main(cmd_args)
  File "c:\python27\lib\site-packages\pip\basecommand.py", line 252, in main
    pip_version_check(session)
  File "c:\python27\lib\site-packages\pip\utils\outdated.py", line 102, in pip_version_check
    installed_version = get_installed_version("pip")
  File "c:\python27\lib\site-packages\pip\utils\__init__.py", line 838, in get_installed_version
    working_set = pkg_resources.WorkingSet()
  File "c:\python27\lib\site-packages\pip\_vendor\pkg_resources\__init__.py", line 644, in __init__
    self.add_entry(entry)
  File "c:\python27\lib\site-packages\pip\_vendor\pkg_resources\__init__.py", line 700, in add_entry
    for dist in find_distributions(entry, True):
  File "c:\python27\lib\site-packages\pip\_vendor\pkg_resources\__init__.py", line 1949, in find_eggs_in_zip
    if metadata.has_metadata('PKG-INFO'):
  File "c:\python27\lib\site-packages\pip\_vendor\pkg_resources\__init__.py", line 1463, in has_metadata
    return self.egg_info and self._has(self._fn(self.egg_info, name))
  File "c:\python27\lib\site-packages\pip\_vendor\pkg_resources\__init__.py", line 1823, in _has
    return zip_path in self.zipinfo or zip_path in self._index()
  File "c:\python27\lib\site-packages\pip\_vendor\pkg_resources\__init__.py", line 1703, in zipinfo
    return self._zip_manifests.load(self.loader.archive)
  File "c:\python27\lib\site-packages\pip\_vendor\pkg_resources\__init__.py", line 1643, in load
    mtime = os.stat(path).st_mtime
WindowsError: [Error 2] The system cannot find the file specified: 'c:\\python27\\lib\\site-packages\\mbed_cli-1.2.2-py2.7.egg'

But, after that doing pip install mbed-cli brought me up to version 1.3.0. Something not quite working with pip here, I think.

The correct command to upgrade is pip install -U mbed-cli

We should probably give that info in the README.md then.

https://github.com/ARMmbed/mbed-cli/pull/595


Update the models for authorities and associate them to Form/UI with hashing. #4 #5 #13

https://github.com/ucsdlib/dams5-cc-pilot/issues/4
https://github.com/ucsdlib/dams5-cc-pilot/issues/5
https://github.com/ucsdlib/dams5-cc-pilot/issues/13

@ucsdlib/developers : Please review and test thank.
The bunch of updates are supporting the authority records (Agent, Concept and Place) modeling and associate them to the form/UI for creation, editing and displaying. This will support linking to themselves through an ambiguous URL and linking to collection/object explicitly with hashing. You may access the forms for new authority records creation from the main menu on the top. The change is a little big, please test it to see whether it works at you local environment if you can. Thanks.

👍

@hweng: Are you talking about not using Hydra Editor? Or the app/models/forms/xxx_form.rb file is redundant for Hydra Editor?

@lsitu I didn't say not using hydra Editor. I will take a look of the link when I get time.

@ucsdlib/developers - thanks for the great discussion so far on this. Let me clarify a few points from my perspective, if it helps as you're evaluating.

The scope of this pilot repo is just that, a pilot where we're trying to learn this new stack, how best to use and extend it, and ideally make a determination as to whether CC will fit DAMS5 (so far, so good!)
A major lesson learned from our current hydra app is that we need to do everything we can to ensure that we can upgrade the various gems in the hydra stack going forward. So we should make decisions taking this need into account as well

@mcritchlow I agree. I think that's one of the reason I discarded my previous PR for sample authority records creation and choose to melt this feature into the hydra stacks instead.

@mcritchlow Thanks for your points. I agree with it.  I tested it on Sufia by running its built-in generator which create/insert a number of files which also include xxx_form.rb. And by comparing them to this pull request they are similar. So it is just common way that curation concern based app make up the form. And I understand there must be some reasons that hydra team decides to do this way and I agree with it.

@hweng The reason they uses form object mentions here
address gaps in model-view-controller framework: form objects help building editing forms.
form wraps the model
https://github.com/projecthydra-labs/hydra-vagrant/wiki/Dive-Into-Curation-Concerns

@ucsdlib/developers Can you merge the PR if you are convenient? Thanks.

@ucsdlib/developers: Thanks everyone for reviewing, discussing and testing it out.


fix: Avoid issuing duplicate errors during interpreting

Description
Problem*
Summary*
The interpreter can issue duplicate errors if there were e.g. type errors that occurred within the comptime block being run.
For example:
fn main() {
    comptime {
        let _x = 1 + "two";
    }
}

Will give:
error: Types in a binary operation should match, but found Field and str<3>
  ┌─ /.../short/src/main.nr:3:18
  │
3 │         let _x = 1 + "two";
  │                  ---------
  │

error: No implementation for `Field` + `str<3>`
  ┌─ /.../short/src/main.nr:3:18
  │
3 │         let _x = 1 + "two";
  │                  ---------
  │

The first of which is a type error, and the second an interpreter error. Similarly, if we have a type error in some builtin methods like slice_push_back, these will lead to panics in the interpreter which assume errors will already be caught during type checking (they are caught, but the interpreter is still run on this code afterwards anyway).
To fix this, I've added a SilentFail error variant to avoid issuing these errors that are expected to be caught by the type system already.
Additional Context
The interpreter is still run even on code that previously errored since it is difficult to track for a given block if any code reachable from it has errored.
One alternative could be to only run the interpreter if there has been zero errors in the whole program so far. I'm open to discussion here.
Documentation*
Check one:

[x] No documentation needed.
[ ] Documentation included in this PR.
[ ] [For Experimental Features] Documentation to be submitted in a separate PR.

PR Checklist*

[x] I have tested the changes locally.
[x] I have formatted the changes with Prettier and/or cargo fmt on default settings.

we agreed to kick this can down the road a bit

To elaborate on this: our reasoning was that it feels a bit bad to throw away errors / information like this by replacing these existing errors with the SilentFail error kind. If we ever wanted a feature in the future which did need this dynamic checking we'd have to reimplement these errors any way. For now users will just have to live with a duplicate error if the comptime code they're interpreting also has a type error in it.


Develop SuperNova Strategy Document

SuperNova Strategy: Comprehensive Business Incubation Framework
The SuperNova Strategy is a detailed business incubation framework designed to guide projects from inception to explosive success. This document serves as a guideline for internal teams and stakeholders to navigate the various phases of the strategy effectively.

Introduction
Define the SuperNova Strategy

Purpose and Expected Outcomes: The SuperNova Strategy aims to transform innovative ideas into successful business ventures, achieving rapid growth and market impact.
DREAM Playbook: Conducting Discovery Process: This phase focuses on identifying the core objectives, conducting thorough market research, and understanding the landscape to lay a solid foundation for the project.

Market Fit Analysis
Conduct Research and Document Findings

Capability Assessment: Evaluate internal strengths and weaknesses to understand the current state of the organization.
Interest Alignment: Align individual and team goals to ensure everyone is working towards a common objective.
Resource Evaluation: Assess available resources, including finances, tools, and human capital.
Skill Improvement Initiatives: Identify skill gaps and implement training programs to address them.

ORBITAL Plan: Crafting Strategic Roadmap
Business Plan Development

Document Vision, Mission, and Goals: Clearly define the overarching vision, mission, and specific goals of the project.
Strategic Approach Formulation: Identify the strategies and tactics necessary to achieve the set goals.
Path Definition: Outline key milestones that need to be reached along the way.
Trajectory Mapping: Map out the expected trajectory of the project.
Reach Estimation: Estimate the potential reach and impact of the project.

STARTUP Initiative: Laying Business Foundations
Laying Business Foundations

Incorporation: Complete all necessary legal formalities to establish the business entity.
NAICS/SIC Codes Setup: Establish industry-specific codes to classify the business.
Banking Setup: Open corporate bank accounts to manage finances.
Insurance Coverage: Secure appropriate insurance policies to mitigate risks.
Compliance Adherence: Ensure the business adheres to all regulatory requirements.

ANDROID One: Building Our Flagship Product
Building Our Flagship Product

Conceptualization: Brainstorm new features or improvements for the product.
Design & Development: Implement design and development cycles to build the product.
Testing & Validation: Conduct rigorous testing to ensure the product meets quality standards.
Enhancements: Continuously refine the product based on feedback and testing results.

LAUNCH Sequence: Deploying Our Innovations
Deploying Our Innovations

Final Preparations: Ensure all quality standards are met before launch.
Alignment: Synchronize development, marketing, and sales efforts.
Deployment: Execute the product launch plan.
MVP Release: Release the Minimum Viable Product (MVP), gather feedback, and iterate based on insights.

GRANT Accelerator: Fueling Our Ambitions
Fueling Our Ambitions

Refinement of ORBITAL Plan: Focus on attracting funds to support the project's growth.
Compelling Proposals Development: Highlight the unique value propositions in proposals to attract investors.
Research & Networking: Conduct research and secure financial support through networking and partnerships.

Mission Control: Commanding Our Strategic Approach
Commanding Our Strategic Approach

Advanced Project Management Tools: Utilize advanced tools to track progress and manage tasks.
Continuous Analysis: Monitor key performance indicators (KPIs) to ensure the project stays on track.
Team Expertise: Leverage the expertise of the team for effective execution.

Event Horizon: The Tipping Point of Success
The Tipping Point of Success

Market Traction: Achieve significant customer engagement and market presence.
Operational Efficiency: Drive the project towards exponential success through efficient operations.
Convergence of Elements: Align all strategic elements to reach the tipping point of success.

Acceptance Criteria

A well-structured document covering all phases of the SuperNova Strategy.
Clear, concise, and actionable content for each phase.
Document formatted and ready for publication and internal distribution.

Additional Notes
For more detailed information, you can refer to the following links:

.github/supernova.md at gh-pages · WorldEnterpriseGroup/.github
Modified Supernova Strategy and integration of Microcosm and Macrocosm by Ftkhan717 · Pull Request #15 · WorldEnterpriseGroup/.github

I will work on this task today. First, I have to edit the task description since it needs minor changes such as spacings for each sections for readers to fully understand it and add appropriate links related to this issue. Then, I will check and analyze the current supernova bot created in OpenAI Platform. I will have a meeting with the team to get insights on the work already done by them and put documentations. After getting the analysis and current progress, I will work on the documentation then test it on the bot.

@Ayeshazi please add sub-tasks in the description where we need to

Create a list of files to feed to Nova Bot.
Create each file as a markdown file. Link per file to the list.
Save files in WE Github.
WorldEnterpriseGroup/.github

Meeting with the Team
Specific: Discuss the Nova bot and aspects of the Supernova strategy.
Measurable: Ensure alignment of efforts and shared understanding among team members.
Achievable: Facilitate a structured discussion with clear objectives.
Relevant: This is essential for aligning our efforts and ensuring everyone is on the same page.
Time-Bound: Conduct the meeting within the allotted hour.
File Refinement and Dashboard Update
Specific: Refine the files and update the dashboards accordingly.
Measurable: Ensure all files and dashboards are accurate and up-to-date.
Achievable: Collaborate with the team for inputs and validation.
Relevant: This will improve our project tracking and reporting.
Time-Bound: Complete this task by the end of the workday.
Cross-Training Session
Specific: Conduct cross-training with Ozair and the HR team on focus pass and other key topics.
Measurable: Ensure all participants are confident in using the focus pass and understand the key topics.
Achievable: Use practical exercises and Q&A sessions to enhance learning.
Relevant: This training is critical for our team's efficiency and skill development.
Time-Bound: Hold the session within the scheduled timeframe.

Today, I will collaborate with the team on the Supernova strategy. I will review the list of documents fed to the AI bot and research about the   DREAM playbook. I will spend the remaining time with the SILK team.

Today I will collaborate with Think dojo team on issue#14.I will continue working on the Supernova strategy. I will create files for nova bot. I will spend remaining time with SILK team.

Today, I will collaborate with my team on this issue. I will read the Dream Playbook and share my feedback. I will also conduct further research to improve the Dream Playbook.

Today I will collaborate with my team on this issue. I will work on the files of  novabot.  I will update the DREAM Playbook. I will share updated DREAM playbook with teammates for review.

Today I will collaborate with my team on this issue(supernova strategy). I will continue working on the novabot files.I will create Orbital plan document by using focus chef. At the end of day  I will share this document with teammates for review.

Today I will collaborate with my team on this issue#14(supernova strategy) I will continue working on the novabot files.I  will complete the Orbital plan than move next . I will spend 10 percent time with SILK team.

Today, I will collaborate with my team on issue #14 (Supernova Strategy). I will continue working on the Novabot files. I will work on the Orbital Plan according to the suggestions. I will also start creating the STARTUP Initiative document. I will spend the remaining time with the SILK team.

Today I will collaborate with my team on issue #14. I will learn about GROWTH  Accelerator concept by watching videos on  Note hive. org then I will start creating this document by using focuschef. I will share this with teammates for review.I will spend 10 percent time with SILK team.

Today I will collaborate with team on issue#14 (Supernova strategy). I will get review on the GROwTH Accelerator document then I will make changes according to suggestions.  Then I will start creating  next document  I will spend 10 percent time with SILK team.

Today, I will collaborate with the team on issue #14 (Supernova Strategy). I will continue working on the Novabot files and identify which documentation is already present. I will have a meeting with my teammate to discuss the documents.

Today I will collaborate with my team on issue #14. Today I will continue working on the novabot files. I will review the already present GRANT Accelerator documents and update it. I will also learn about 5S. I will spend 10 percent time with SILK team.

Today I will collaborate with my team on issue #14(Supernova strategy). I will work on the nova bot. Today I will create documents of it.I will save meeting notes in markdown file.I will also spend 10 percent time with SILK team. I will learn about 5S.

Today I will collaborate with my team on issue#14(Supernova strategy). I will continue working on ASTRA AI documents. I will complete these documents. At the end of day I will share this with teammates for review. I will spend 10 percent time with SILK team collaborate with them.

Today I will collaborate with my team on issue #14(Supernova strategy). I will continue working on ASTRA AI documents. I will review these documents for further changes. I will create word document of Event Horizon. I will also present the weekly presentation. I will spend 10 percent time with SILK team.

Today I will collaborate with my team on ASTRA program.I will have meeting with teammates to get reviews on the ASTRA AI documents.  I will work next according to suggestions. I will spend 10 percent time with SILK team.

Today I will collaborate with my team on ASTRA program. I will review the ASTRA documentation. I will also continue working on the ASTRA AI documents. I will spend 10 percent time with SILK team collaborate with them on SILK handbook. I will also get certificates from Asana.

Today I will collaborate with my team on  ASTRA program. I will have meeting with my team to discussed about ASTRA program. I will spend 10 percent time with SILK team collaborate with them on SILK handbook.

Today I will collaborate with my team on ASTRA program. I will review the ASTRA program to share my suggestions. I will spend 10 percent time with SILK team collaborate with them on SILK handbook. I will spend some time on getting certificates.

Today I will collaborate with my team  ASTRA AI program. I will work on this document.I will also get reviews on ASTRA  AI documents. I will present weekly presentation. I will have meeting with SILK team to discuss about SILK handbook. I will spend 10 percent time on getting certificates.

Today I will collaborate with my team on ASTRA program.  I will have meeting with my teammates to discuss about  ASTRA program. I will get reviews on the word documents of ASTRA AI.  I will spend 10 percent time on learning about 5S.


bun:test ReferenceError

Getting this when running tests
# Unhandled error between tests
-------------------------------
22 |         return this;
23 |     }.call(null) ||
24 |     Function('return this')();
25 |
26 | var core_contract_common_pb = require('../../core/contract/common_pb.cjs');
27 | goog.object.extend(proto, core_contract_common_pb)

Did you add cjs config like here?

Can you give a example reproducing this error?

As I've tested, bun didn't load cjs file in the correct order when using esm as entry. So I recommend you to use commonjs style or drop the use of bun.


Update 07-create-calculation-groups.md

Lab title: xyz
Task: 00
Fixes # .
Changes proposed in this pull request:

ok


A better implementation of the isRequired function of FormWrapperComponent

Currently, the function isRequired checks if validationMessage has a property required to mark a field as required. This approach is flawed and causes a bug in our application: we set the validationMessages dynamically based on the formControl error object. For required fields, the error object has a required field only when the field is empty, causing isRequired to return false and the field not to be marked as required.
A better implementation should be based on the formControl rather than the validationMessage.
/**
* Computes and returns the information about the required state
* @returns the required state
*/
isRequired(): boolean {
  return this.control.hasValidator(Validators.required)
}

Thank you for reporting your problem, we are planning a fix for the upcoming minor release.


feat: add standard target tests for SQL targets

First pass import of tests from MeltanoLabs/target-sqlite
Closes #1122

#1122

Related PR (now slightly stale) here:

https://github.com/meltano/sdk/pull/580

Would be great to incorporate the best of these approaches - both for taps and targets. Although admittedly that would be a lot of scope for PR.

Closed in favour of #1169

Closed by #1171


conflicting/incomplete messaging about concept's output/behaviour

The 2nd paragraph of the example section says

and generates an error when you assign to it.

however the example is showing an output (base class value is printed)
Should that be changed (or appended by something like "unless a base-class member can be accessed")?

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

ID: 865bd72b-8d26-ec50-4fc0-e3754a00c00c
Version Independent ID: 5607825a-87ff-1138-3743-0f1fd8408b16
Content: Restricting Accessor Accessibility - C# Programming Guide
Content Source: docs/csharp/programming-guide/classes-and-structs/restricting-accessor-accessibility.md
Product: dotnet-csharp
Technology: csharp-fundamentals
GitHub Login: @BillWagner
Microsoft Alias: wiwagn

Thanks for noting this @harshvchawla
We'll get this addressed.


1.3.0

Coverage remained the same at 100.0% when pulling fa50f021baf802d6f954167f0bff9ef78966a6e7 on 1.3.0 into f708ad029f8d7dc821a37a452359d705989187c0 on master.


pkg/trace/api: OTLP: match datadogexporter behaviour

This change ensures that attribute keys get translated to Datadog
specific tags (such as container tags) or that "operation.name",
"service.name", "span.type" and "resource.name" correctly get translated
to span name, service, type or resource.

I am going to unsuscribe from this to make my Github notifications more manageable, @gbbr please ping me when this is reviewable again


Support running zenohd without console access

I was playing around with running rmw_zenohd in a launch file, and it was not happy because of the KeyboardReader's attempt to access the console.
So, I've essentially captured the runtime error, and continue running the zenoh router if the console is not available.
I haven't tested this on windows, and I don't know if this would break something else or violate some design decision.

Personally I would just drop all keyboard handling/capturing. It's a very a-typical thing to do for a daemon.

Personally I would just drop all keyboard handling/capturing. It's a very a-typical thing to do for a daemon.

How do you handle shutting down cleanly, then?

How do you handle shutting down cleanly, then?

Handle the sigint that arises from pressing Ctrl+c.

Handle the sigint that arises from pressing Ctrl+c.

Ah, fair.  I was thinking that we needed this code to deal with that part of it, but you are right, we don't.
The honest truth is that we hope to get rid of this daemon completely, but we aren't quite there yet.  I think in the meantime, yeah, I'd be on board with just removing the keyboard handling completely.

to get rid of this d

Ah, fair. I was thinking that we needed this code to deal with that part of it, but you are right, we don't.

I'll go ahead and remove it.

The honest truth is that we hope to get rid of this daemon completely, but we aren't quite there yet. I think in the meantime, yeah, I'd be on board with just removing the keyboard handling completely.

I'd be happy to help on this effort. I'm not a zenoh expert, but I have time to spare.

I'll go ahead and remove it.

OK, great.  I'll review this part of it, since I think we should get this in.

I'd be happy to help on this effort. I'm not a zenoh expert, but I have time to spare.

Ah, cool.  Here is some context.  Back in late 2023, we actually didn't have a custom router, and we were just using the router as provided by the upstream Zenoh project.  The major problem with that was that it required us to build Zenoh twice: once for building the zenoh-c bindings, and once so we got access to the router.  Since building Zenoh is pretty slow, this was less than ideal.  So we introduced the custom router here.  But it isn't ideal, because while it supports most of the features of the zenohd router, it doesn't support all of them.  And that leads to confusion.
My best idea on how to fix this is to change https://github.com/eclipse-zenoh/zenoh-c so that it can (optionally) also build the router.  Then in the vendor package here, we would turn on that option, and also install the router in the correct place so that ros2 run could find it.  There may be other solutions, but that was the one I came up with.
Does that make sense?

The changes look good to me! Shall wait for @clalancette to return from vacation sometime next week for a final review.

Up to you @Yadunund . It's not super urgent for me.


get branch by tag API

Description
Implemented getBranchByTag API. It finds the branches whose HEAD commit matches the commit from which the tag was created.
How did you test the changes?
Verified the correctness of the API response by calling it through postman and swagger locally.
Testing Screenshots (Optional)

Great. I think it's better to merge the framework pr first, different methods are put in different files. So your pr will not conflict with this one https://github.com/nyuoss/git-service/pull/2.


Bruno crashes when viewing Timeline for a POST request with a multipart form

I have checked the following:

[X] I use the newest version of bruno.
[X] I've searched existing issues and found nothing related to my issue.

Describe the bug
Bruno crashes when viewing the Timeline for a POST request with a multipart form.
Steps to reproduce:

create a request based on the given .bru file
run the request
click the Timeline button

Bruno crashes with the Oops! Something went wrong message.
The issue does not occur if the body is e.g. json. So, it seems to be related to multipart-form.
.bru file to reproduce the bug
meta {
  name: test
  type: http
  seq: 2
}

post {
  url: https://echo.zuplo.io
  body: multipartForm
  auth: none
}

body:multipart-form {
  foo: bar
}

Screenshots/Live demo link

Thanks @cb80 for bringing this to our notice. We were able to reproduce this issue on our end.
We have a release outgoing tomorrow and will have a fix for this issue included in tomorrow's release.

Just merged the PR by @lohxt1 !
This will be available in the upcoming v1.28.0 release.


Implement a "clean shutdown marker"

Some users complain about crashes - implement a "clean shutdown" marker so that we can tell when the app has crashed or shutdown cleanly.

done


There is a tmux colorscheme? (Question)

Currently I don't use tmux so there is no official theme. PR is welcome ;)


feat(codegen): avoid printing comma in ArrayAssignmentTarget if the elements is empty

Current dependencies on/for this PR:

main

PR #2331   👈

This stack of pull requests is managed by Graphite.


Little changes for Reply

PR for #247
Decided to not remove Reply, since there is also ErrorReply, and TextReply also appends the command's text as a preview in the comment.

Coverage decreased (-0.04%) to 81.453% when pulling 4c1cdf908a208517750201d25593c313491be516 on 247 into 259ef828ef98b7bb3bbb6c7f3c75423bf253e056 on master.

@rultor merge it

@rultor merge it

@amihaiemil OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge it

@amihaiemil Done! FYI, the full log is here (took me 2min)


Delete account request

Delete account with the following email address<EMAIL_ADDRESS>

Account deleted July 19.


Making the GitLab repoUrl picker description clearer

Hey, I just made a Pull Request!
A minor update to the description but hopeful it would make life easy for the adopters.
For us at WH, we've been requested this for a while now. The field states Owner so people tend to fill the team name but it should be GitLab namespace.
Calling a Spade a Spade would make it easy to fill the form correctly.
Reference: https://docs.gitlab.com/ee/user/namespace/
:heavy_check_mark: Checklist

[x] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

For the maintainers, outside the scope of this PR but a brain dump:

We should add the ability to override the default description on a configuration level.
Invoke an API to the Git VCS hosting (not restricted to GitLab) to get a list of namespaces the signed-in user is allowed to create a repository in and showcase the list in a form of a dropdown.


pull request for e2e test at 01/23/2017 21:45:09

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


Error net::ERR_CONNECTION_RESET while using GitHub Copilot Chat

Copilot Chat Extension Version: v0.17.1

VS Code Version:  vscode/1.91.1

OS Version: Windows 11 23H2 (OS Build 22631.3737)

Logs: Diagnostic command F1 > Developer: GitHub Copilot Chat Diagnostics
`## GitHub Copilot Chat

Extension Version: 0.17.1 (prod)

VS Code: vscode/1.91.1

OS: Windows

Network
User Settings:
  "github.copilot.advanced": {
    "debug.useElectronFetcher": true,
    "debug.useNodeFetcher": true
  }

DNS Lookup api.githubcopilot.com: <IP_ADDRESS>
Fetching https://api.githubcopilot.com/_ping:

Electron Fetcher (configured): Error: net::ERR_CONNECTION_RESET
Node Fetcher: Error: read ECONNRESET
Helix Fetcher: Error: read ECONNRESET
`
Steps to Reproduce:

Attempting to use Github co-pilot chat causes the error "net::ERR_CONNECTION_RESET"

@phalgunvaddepalli Make sure your IT allows connections to all required hosts: Troubleshooting firewall settings for GitHub Copilot

Could you tell me more about your specific solution? I'm new. I'm new. It's the same mistake


Stick Service and Configured Options ID in table

Can we add a column in the table to display the ID of the Service / Container similar to Packs, I see it's in the domain, but Packs have a column and it'll be more fluid.

In which table would you like to have what exactly added? Please try to be more specific in the future.

https://gyazo.com/c2ab5f26a16a571df025b6908157e6d0?token=ca3c6776698b57f31855b5e22d1cffcf Just inbetween the name and the description would be fine, my apologies for being vague, I'm a little tired :>


fix(frontend): Onramper widget is scrollable now

Motivation
The Onramper widget was not scrollable for smaller screens, impeding the user to click the Buy button.
https://github.com/user-attachments/assets/ef40b4c9-cae5-4305-9dbb-239bf824c72c

[OISY-287]


Fix initial dateRange

Setting an initial dateRange was removed/broken in commit 77cf983, this brings it back

Just wondering is there any update on this? Kind of a breaking issue which should be fixed and merged.


"Other" animal dropdown not working on iPads

Multiple people are reporting that the dropdown menu for selecting an "other" animal on Penguin Watch is not working with classifications done on an iPad. It seems like the dropdown menu appears, but nothing is selectable. Apparently this worked before, but has just stopped working now.
"They say it was working before. Yes, they confirm their choice with the OK button but no Other animals seem to be counted."
http://talk.penguinwatch.org/#/subjects/APZ0001u2d
http://talk.penguinwatch.org/#/boards/BPZ0000001/discussions/DPZ000065k?page=1&comment_id=54bb8b66832cec389a00002f
Can we address this? Thanks!!

If it broke recently, there might be an old version of a library being loaded somewhere. I'd get zooniverse/zooniverse-readymade#20 merged and published, reload Penguins's dependencies from npm, and redeploy.

I just checked this on my iPad and could select from the menu for other animals. Maybe it's fixed in iOS 8?

I've redeployed the site, with updated dependencies as per @brian-c's advice.
Closing this but feel free to re-open if the problem persists.


Unable to process uploaded image

Hi there,
I uploaded an image.  No error message whatsoever.  However, the image did not show up in "Sources:" under "document selection".  I tested with the same image on gpt.h2o.ai.  I can see that image to text was performed and show up in "sources" under "document selection".  Am I missing something?
Tested with both python sources and windows exe.
Thanks

Many thanks for getting back.
(1) I used the same image on my local installation and gpt.h2o.ai.  So it is not a case of no parse able content imo.
(2) I tried with both WIndows installer and installation from the main head.  Looks like I may need to do some digging.
Noted your comment on blip.  I am new to this project, a quick question, is blip the model used in this project for image captioning?  Any advice will be helpful for me to quickly start :)

Ya blip/bip2 for caption, but OCR/DocTR options for OCR of text in image.


Can no longer easily specify Stream Status = "Any" in Filter Streams dialog

It has been pointed out that deleting the Status field from the query is the same thing!  doh!


Add coloredlogs and selective trace loggers

Relevant Issues
closes #854, closes #706
Description
Adds coloredlogs to the bot and standardizes the logging format with bot. I've also moved the log files to a logs directory in the project root and renamed the file name from hackbot.log to sir-lancebot.log.
Also adds selective trace loggers from python-discord/bot#1529
The trace loggers env var should be documented in the contributing guidelines to be reachable from lancebot's guide

Is there anything I need to do to test this? I have both rebuilt the container with docker-compose build and removed it using docker-compose rm.
I added this logging to make sure changes were applied:
def setup() -> None:
    ...  # Setup of all the loggers

    coloredlogs.install(level=logging.TRACE, logger=root_logger, stream=sys.stdout)
    root_logger.info('Installed coloredlogs')

Yet still there's no colours like the other bot has, you can see that Docker adds colors so they should display in my terminal no?

I am on Windows 10, using what I assume is Powershell through Visual Studio Code.

Is there anything I need to do to test this? I have both rebuilt the container with docker-compose build and removed it using docker-compose rm.
I added this logging to make sure changes were applied:
def setup() -> None:
    ...  # Setup of all the loggers

    coloredlogs.install(level=logging.TRACE, logger=root_logger, stream=sys.stdout)
    root_logger.info('Installed coloredlogs')

Yet still there's no colours like the other bot has, you can see that Docker adds colors so they should display in my terminal no?

Ah, I forgot to test Docker; it looks like the colours aren't applied because it's not tty when running through Docker.
Do we want to do enable it through tty: true in docker-compose like bot does or by simply forcing coloredlogs to colour output with isattay=True in the install call?

Is there anything I need to do to test this? I have both rebuilt the container with docker-compose build and removed it using docker-compose rm.
I added this logging to make sure changes were applied:
def setup() -> None:
    ...  # Setup of all the loggers

    coloredlogs.install(level=logging.TRACE, logger=root_logger, stream=sys.stdout)
    root_logger.info('Installed coloredlogs')

Yet still there's no colours like the other bot has, you can see that Docker adds colors so they should display in my terminal no?

Ah, I forgot to test Docker; it looks like the colours aren't applied because it's not tty when running through Docker. Do we want to do enable it through tty: true in docker-compose like bot does or by simply forcing coloredlogs to colour output with isattay=True in the install call?

I think we should just follow what bot does

I think we should just follow what bot does

Should work now


Support ephemeral volumes to load secrets or configuration data

Container Apps should include support for ephemeral volumes so that secrets from external vaults like hashicorp vault or azure key vault can be stored. This also applies to any configuration files/static content needed for the container app.
These volumes will be used for sharing data between init/sidecar container and main container.

We support Azure File mounts now, does that work for you?
https://docs.microsoft.com/en-us/azure/container-apps/storage-mounts?pivots=aca-cli#azure-files

We can consider Azure Files for accessing static content, however mounting emptyDir volumes enables us to share data between multi-container apps.


OTEL_EXPORTER_JAEGER_SERVICE_NAME no longer exists

On https://opentelemetry.io/docs/java/automatic_instrumentation/ there is a mention of OTEL_EXPORTER_JAEGER_SERVICE_NAME which is no longer a valid ENV variable.
See https://github.com/open-telemetry/opentelemetry-java/issues/3056 for more info.
(the same might be true for OTEL_EXPORTER_ZIPKIN_SERVICE_NAME - unverified)

This is now resolved with the article being rewritten and pointing to the up to date environment variables: https://opentelemetry.io/docs/instrumentation/java/automatic/agent-config/


PR check generator: add excludeOsAndVersionCombination

We often need to exclude specific combinations of CLI versions + operating systems. Previously there was no easy way to do this: we would run all CLI versions specified against all operating systems specified. This change adds the excludeOsAndVersionCombination parameter to do just that!
To test, I re-enabled Swift on Linux for CLI v >= 2.17.4, which remained as a to-do item after we disabled those checks in https://github.com/github/codeql-action/pull/2299. Note that default, linked, and nightly-latest are all now current enough to re-enable those. The new generator script allows us to exclude all older CLI versions on Linux.
I'll update the required PR checks once this PR is approved ✅
Merge / deployment checklist

[x] Confirm this change is backwards compatible with existing workflows.
[x] Confirm the readme has been updated if necessary.
[x] Confirm the changelog has been updated if necessary.

Updated the branch protection rules accordingly for main, releases/v2, and releases/v3.


Custom Routes fail with phpcbf formatted lines

Bug report
What I did:
Run crud command php artisan backpack:crud agency
What I expected to happen:
Generate crud
What happened:
Command fails when creating route

What I've already tried to fix it:
Checked the code, problem is, my code is formatted by phpcbf and moves the line with the placeholder

There could be another method that doesn't rely on certain code format
Backpack, Laravel, PHP, DB version:
"php": "^7.2",
"backpack/crud": "4.0.*",
"laravel/framework": "^6.2",

Got it! Let me know if https://github.com/Laravel-Backpack/CRUD/pull/2537 fixes it for you!
Let's close this issue and continue the conversation inside that PR.


Docker swarm service fails to start container with standard Nginx image

Output of docker version:
Client:
 Version:      1.12.0
 API version:  1.24
 Go version:   go1.6.3
 Git commit:   8eab29e
 Built:        Thu Jul 28 23:54:00 2016
 OS/Arch:      darwin/amd64

Server:
 Version:      1.12.0
 API version:  1.24
 Go version:   go1.6.3
 Git commit:   8eab29e
 Built:        Thu Jul 28 23:54:00 2016
 OS/Arch:      linux/amd64

Output of docker info:
Containers: 2
 Running: 0
 Paused: 0
 Stopped: 2
Images: 1
Server Version: 1.12.0
Storage Driver: aufs
 Root Dir: /mnt/sda1/var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 12
 Dirperm1 Supported: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge host null overlay
Swarm: active
 NodeID: 6nhk639yed29lxu7iaux2dchj
 Is Manager: true
 ClusterID: 9ju6zuezz7jr2jkbg5s0cz2j2
 Managers: 1
 Nodes: 3
 Orchestration:
  Task History Retention Limit: 5
 Raft:
  Snapshot interval: 10000
  Heartbeat tick: 1
  Election tick: 3
 Dispatcher:
  Heartbeat period: 5 seconds
 CA configuration:
  Expiry duration: 3 months
 Node Address: <IP_ADDRESS>
Runtimes: runc
Default Runtime: runc
Security Options: seccomp
Kernel Version: 4.4.16-boot2docker
Operating System: Boot2Docker 1.12.0 (TCL 7.2); HEAD : e030bab - Fri Jul 29 00:29:14 UTC 2016
OSType: linux
Architecture: x86_64
CPUs: 1
Total Memory: 995.9 MiB
Name: manager
ID: 75NO:K56A:E7QH:O2FO:32HH:YPMS:ATRU:RY45:MAWO:FEXZ:FICL:MTKW
Docker Root Dir: /mnt/sda1/var/lib/docker
Debug Mode (client): false
Debug Mode (server): true
 File Descriptors: 32
 Goroutines: 184
 System Time: 2016-08-17T09:48:39.755480678Z
 EventsListeners: 0
Registry: https://index.docker.io/v1/
Labels:
 provider=virtualbox
Insecure Registries:
 <IP_ADDRESS>/8

Additional environment details (AWS, VirtualBox, physical, etc.):
I'm walking through the example setup described on the Docker documentation site here trying to attach services to an overlay network. The example first creates an Nginx service and then a BusyBox service that connects to the Nginx container via the overlay network. Instead of having 3 physical host machines, as described in the example, I simulated the setup using 3 VirtualBox VMs created with Docker Machine (exact procedure described below).
Steps to reproduce the issue:
Run these commands to setup the environment

docker-machine stop default
docker-machine create -d virtualbox manager
docker-machine create -d virtualbox worker1
docker-machine create -d virtualbox worker2
eval $(docker-machine env manager)
docker swarm init --advertise-addr $(docker-machine ip manager)
token=$(docker swarm join-token --quiet worker)
eval $(docker-machine env worker1)
docker swarm join --token ${token} $(docker-machine ip manager):2377
eval $(docker-machine env worker2)
docker swarm join --token ${token} $(docker-machine ip manager):2377
eval $(docker-machine env manager)
docker network create --driver overlay --opt encrypted my-network

The steps above all complete successfully and result in 3 nodes: 1 manager and 2 worker nodes. I also created an overlay network that should allow communication between services with running tasks. Following the example, the next step is to create an Nginx service that uses the overlay network 'my-network'. The example specifies 3 replicas. However, I use only 1.

docker service create --replicas 1 --name my-nginx --network my-network nginx

Describe the results you received:
When I enter 'docker service ls' I see the following output:
ID            NAME      REPLICAS  IMAGE  COMMAND
5pbjapmdl4wi  my-nginx  0/1       nginx

The service fails to start. The number of replicas remains 0/1. When I type 'docker service ps my-nginx' I get the following output:
ID                         NAME            IMAGE  NODE     DESIRED STATE  CURRENT STATE          ERROR
0w7i0vlm1g15ugk99mdky0qcd  my-nginx.1      nginx  worker2  Ready          Ready 2 seconds ago
7bw4nr666ekpknckv3a73g9te   _ my-nginx.1  nginx  manager  Shutdown       Failed 3 seconds ago   "starting container failed: ca…"
a762czty5o0y3ye5d40bcwoeh   _ my-nginx.1  nginx  worker2  Shutdown       Failed 8 seconds ago   "starting container failed: ca…"
4a6qhd0w5uboqn3xq7ktpqhd8   _ my-nginx.1  nginx  manager  Shutdown       Failed 14 seconds ago  "starting container failed: ca…"
47v38s3lmduvrpeol5sj9wn8u   _ my-nginx.1  nginx  worker2  Shutdown       Failed 19 seconds ago  "starting container failed: ca…"
The above messages indicate the container failed to start. Unfortunately, the error message is truncated and I have no idea how to get the rest of it. There's no 'logs' option for the service. I also can't retrieve the container logs because the container is no longer running. If I run the container directly using 'docker run -d nginx' everything is fine. The container starts and I can enter it with 'docker exec -it  bash' and see that nginx is running using 'ps -ef'. So, the container itself seems fine. Only when I start it via the service command, do I get problems.
Describe the results you expected:
I expected the Nginx service to start and boot up the 1 replica that was specified (as is assumed in the example on the Docker documentation site).
Additional information you deem important (e.g. issue happens only occasionally):

Seems the Nginx container starts fine if I use an overlay network without the "--opt encrypted" option. Not sure if this helps.... Earlier I was working with Docker client 1.11 and upgraded to 1.12 by re-installing Docker Toolbox (for Mac). When I restarted Docker Machine it complained about the TSL certificates and suggested I regenerate them, which I did. This might have something to do with it but I have no idea what the connection is with my errors.

I search around for issues with swarm services and encrypted overlay networks and stumbled upon this docker issue #24253 which did not exactly address my problem but mentioned a hidden option (at the time) "--opt secure" instead of "--opt encrypted" (which I used). I tried the "secure" option and now my Nginx service is starting correctly.
So, this seems to be a documentation issue because the (I assume) latest version of the Docker Docs mentions the "--opt encrypted" option.... link

my problem is this too, thanks for your research and answer, i will try now, and if i fix the problem, i will leave the answer here ~~


Test Issue created at Fri, 24 Dec 2021 02:26:22 GMT

Test issue body  Fri, 24 Dec 2021 02:26:22 GMT

Comment on issue at Fri, 24 Dec 2021 02:26:24 GMT


Kevin/sharing closed eateries

The bug was with the bar in the menuHeader. It was calculating a width by dividing by the number of events, but since the events dictionary was empty, some fields were being set to NaN or inf.

@kevingreer If you've tested it to make sure it doesn't break the existing app, then I'm fine with merging this in. Could you remove the autoresizing mask sets to false though since we were trying that around for testing purposes, but I don't think you resize any of the existing views anyway so it shouldn't be in there.


Game crashes on startup

Hey I'm trying to play this awesome game. However, when trying to follow the readme instructions, it crashes on startup. I'm using a windows 10 machine. Let me know if there are any steps that I can follow to correctly reproduce the error.
Thanks!

Jk It works. oops!


General theme improvements to keep an eye on

Please add these color customisations to your theme when they are made available
https://github.com/Microsoft/vscode/issues/25966

Thanks for the note, I've added a card to the project board 😄

Closed the issue and added documentation label, what does that mean?

It means that I've added [this] card to the project board. It'll be converted to a issue as soon as the feature it tracks gets merged into VS Code so it can be adapted to the theme.


Automated cherry pick of #2228: bucket object upload params change

Cherry pick of #2228 on release/2.11.
#2228: bucket object upload params change

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/2.11@966ac58). Click here to learn what that means.
The diff coverage is n/a.

@@              Coverage Diff               @@
##             release/2.11   #2229   +/-   ##
==============================================
  Coverage                ?   7.08%
==============================================
  Files                   ?     452
  Lines                   ?   71212
  Branches                ?       0
==============================================
  Hits                    ?    5046
  Misses                  ?   65748
  Partials                ?     418

Flag
Coverage Δ

#aFlag
7.08% <ø> (?)

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 966ac58...a8c9d51. Read the comment docs.

/lgtm

/approve


netlify: add additional redirects to gh-pages

Just noticed that https://pyo3.rs/dev/bench has probably been broken since the move to netlify, and that https://pyo3.rs/v0.17.3 doesn't render nicely.
Add some redirects to netlify configuration to handle these cases.

bors r+


Feat: Making contact us page responsive

Describe the feature
it is not responsive for mobile view
Add ScreenShots

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I'm a VSoC'24 contributor
[X] I want to work on this issue

hi @mdazfar2 can i work upon it

@RamakrushnaBiswal you are assigned.

solved #851


gmp: use pname and version

Motivation for this change
Debugging another issue.
Things done

Built on platform(s)

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

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

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

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

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

[ ] Fits CONTRIBUTING.md.

On other such PRs name always got convert to ${pname}-${version} where pname is often converted to the actual string to make the code more readable. Please give me feedback how we want to handle this.

On other such PRs name always got convert to ${pname}-${version} where pname is often converted to the actual string to make the code more readable. Please give me feedback how we want to handle this.

The reason I'm keeping the name variable here is that it's being used below in the derivation. Otherwise, I would indeed remove it as ${pname}-${version} is the default. I guess another road would be to substitute the ${name} uses below with gmp-${version}.

Here you go, that's also valid IMO


warn about duplicate entry points

Ignoring failing CI which is due to a regression in the latest flake8-builtins release.


python310Packages.pyoctoprintapi: 0.1.12 -> 0.1.14

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.pyoctoprintapi is: Simple async wrapper around the Octoprint API
meta.homepage for python310Packages.pyoctoprintapi is: https://github.com/rfleming71/pyoctoprintapi
meta.changelog for python310Packages.pyoctoprintapi is: https://github.com/rfleming71/pyoctoprintapi/releases/tag/v0.1.14
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.1.14 with grep in /nix/store/dlgah7rxrbk9awjw6cjnx2zqacyr0f21-python3.10-pyoctoprintapi-0.1.14
found 0.1.14 in filename of file in /nix/store/dlgah7rxrbk9awjw6cjnx2zqacyr0f21-python3.10-pyoctoprintapi-0.1.14

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

3 total rebuild path(s)

3 package rebuild(s)

First fifty rebuilds by attrpath
home-assistant-component-tests.octoprint
python310Packages.pyoctoprintapi
python311Packages.pyoctoprintapi

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/dlgah7rxrbk9awjw6cjnx2zqacyr0f21-python3.10-pyoctoprintapi-0.1.14 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

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

Or:
nix build github:r-ryantm/nixpkgs/5b9b1129f48d0034b9d500d1a6255c2692673c63#python310Packages.pyoctoprintapi

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/dlgah7rxrbk9awjw6cjnx2zqacyr0f21-python3.10-pyoctoprintapi-0.1.14
ls -la /nix/store/dlgah7rxrbk9awjw6cjnx2zqacyr0f21-python3.10-pyoctoprintapi-0.1.14/bin

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

2 packages built:

python310Packages.pyoctoprintapi
python311Packages.pyoctoprintapi

Maintainer pings
cc @mweinelt for testing.

Breaks `home-assistant-component-tests.octoprint.

Superseded by #279696.


Enhancement: look for config.yml in $HOME/.ssh

Case:

I initiate ssh connections to other machines from a variety of working directories.
My $HOME/.ssh/config file contains a mix of regular SSH connections and git repositories, which are only used by git
In order to consistently use a default config.yml (and therefore have a connection list that excludes git repositories), I need to always pass wishlist the path to my config.yml

Suggestion: Add $HOME/.ssh/config.[yml|yaml] or perhaps $HOME/.ssh/wishlist/config.[yml|yaml] to the list of places wishlist automatically looks for configs, ahead of $HOME/.ssh/config and /etc/ssh/ssh_config.

I don't think it's a good idea to start polluting config paths of other software. If you really have to, you can store it there and symlink to it.

The change in 74 works for me. Putting in $HOME/.ssh was just a suggestion. I was mainly looking for a static config location that gets checked before $HOME/.ssh/config.
Thank you!


Add common CMake generated files to gitignore.

@martinmoene: I hope this makes sense! It gets rid of the annoying "untracked content" status when using this repository as a submodule.

@kacf Makes sense to me. There is however a (single) Makefile (test\Makefile) that shouldn't be ignored.

@martinmoene: Right you are, I missed that. I opted for making it specific to the root Makefile then.


[Updater] Optimized notifications (2)

In addition to #2337, this issue contains the new ideas that were not implemented in v0.17.0.
The new ideas were discussed with @enricogior and @yuyoyuppe.
These are the additional ideas:

Bigger app icon. (feature appLogoOverride)
Alert symbol in message title, if the message shows an error. (Instead of icon overlay.)
Using the notification title for a short description of the message.
Some small text optimizations for the following notifications: Update failed, Update is ready
Showing the update size in the notification, if the user has to download PT manually. (feature 'Attribution text')

If I have forget something please add it in the comments.
Screenshots (Updated 2020-05-06 10:38)
👉 The alert symbol is an emoji and should be only shown in the "Update failed" message.

Update available/ready
Update failed

For showing the update size we need a rutine for getting the update size from our Github release page.
@enricogior, @yuyoyuppe: Please create a new issue for this, if necessary!

@enricogior
Should we add this to v1.0 step?

Done. Thanks.

@enricogior
Will we address this in 0.20 or 0.21?

@yuyoyuppe , @enricogior
Is this issue obsolete after changing the way of notifications in #6303?

we need to revisit what the current UI is here for those dialogs.

@htcfreek
Closing this issue since it's hard to track multiple requests in one issue.
When you open the new issues, please add images of the current notification and of the proposed change, otherwise it will be complicated to receive feedback from the community.

@htcfreek
Closing this issue since it's hard to track multiple requests in one issue.
When you open the new issues, please add images of the current notification and of the proposed change, otherwise it will be complicated to receive feedback from the community.

@enricogior
I will work on this within the next weeks on my winter holiday.
Can you give me an overview on the update notifications we hav at the moment.

@yuyoyuppe
can you post screenshots of the current notification? (only the ones related to the auto update processing)

Because of the issue # which imo leads to significant changes in the way of user interaction I will not rework my suggestions in this issue.

Because of the issue # which imo leads to significant changes in the way of user interaction I will not rework my suggestions in this issue.


Can't upgrade/install

I can't install this plugin receiving the following warnings/errors:
npm WARN deprecated<EMAIL_ADDRESS>Use uuid module instead
npm WARN deprecated<EMAIL_ADDRESS>graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to<EMAIL_ADDRESS>as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
npm WARN deprecated<EMAIL_ADDRESS>Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated<EMAIL_ADDRESS>Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm ERR! cb() never called!

Installation issues are often out of the control of Atom-Beautify -- and therefore myself 😝 . I have recently published a new release. I recommend you try installing again with apm install atom-beautify. Let me know how it goes! :crossed_fingers:

I just waited a week before I tried again. Now it works...


Fix enum size (byte -> int)

Fix #4 / hopefully https://github.com/sccn/liblsl/issues/83#issuecomment-693443277

Bump! This fixed an issue I had with not being able to push string samples using the c_str channel format.


DateTimeOffset object is losing its offset when added to PrivateConversationData for the first time

Hello,
When adding DateTimeOffset in PrivateConversationData in the Emulator and Skype for Business by using the code:
context.PrivateConversationData.SetValue(Util.DataName.MeetingSelectedDateDatetimeOffset, defaultStartDate) // we input Date = {8/31/2017 12:00:00 AM} and  Offset = {09:00:00}
we are loosing the time offset. For retrieving the same value we are using the following code:
var savedDateOffset = context.PrivateConversationData.GetValue(Util.DataName.MeetingSelectedDateDatetimeOffset); // we get Date = {8/30/2017 12:00:00 AM} and  Offset = {00:00:00}
This is happening only the first time after starting the emulator or after not using the bot in Skype for Business for a while.
Thank you!

Items stored in private conversation data are not modified by the emulator. You may have better luck asking on the BotBuilder SDK issues page: https://github.com/Microsoft/BotBuilder/issues


core_rrv fixes:

update f file to have both versions of core_rrv_tb and core_rrv_no_ref_tb
fix sanity to use correct top for each type of test
refactor the no insertion in core_rrv RTL
add new tests to level0_intrp
clean warnings from the core_rrv_no_ref_tb

@roman012285 - Please review these fixes & merge into main.
Only then please pull from the main to your local area so you have these improtant fixes.
Please note:

You had many warnings in your no_ref_tb -> Please make sure your model is clean before continuing.
I fixed big issues in the way we were testing your DUT in the sanity! we must use the correct tb so your IP will be checked at all times!!!!
general refactor small things in the RTL - please review and approve you understanding

@roman012285 i added some comments on my changes so it will be easy for you to review my code

understood!


How  I can delete keybord end message,when user choose any button?

Hi everyone,I have such task ,my keybords must be disposable,I find method for delete keybord $this->deleteKeybord,but how i can delete message witch I send with keybord,I don't know message id?

you can retrieve the message id from the message ->send() result


Incident Report - Ubuntu 18.04 network - Ubuntu 18.04: switch back to /etc/network/interfaces

Tell us about your incident:
A clear and concise description, 'what is your incident?'
-> Ubuntu 18.04: switch back to /etc/network/interfaces

Version:

OS Ubuntu 18.04  Ubuntu 20.04

https://askubuntu.com/questions/1031709/ubuntu-18-04-switch-back-to-etc-network-interfaces


DOUBLE split error

Everytime I double split its not straight is there a fix for this

Don't move your mouse and I think it may work

This isn't an error, that's normal


Record stream into multiple small files

I can record the stream in to a file with the fallowing command
mediaOptions = ":sout=#std{access=file,mux=mp4, dst='test.mp4'}";
myVlcControl.MediaPlayer.Play(new Uri(uri), mediaOptions);
but i need to save multiple small files instead of one big file.
How can i do this?

Are you able to do this from command line with VLC? If yes, you can pass the arguments as you said.
Closing this as this is not a Vlc.DotNet issue but a VLC usage question.

Note for future readers : there is the cycle plugin that can split the output into several destinations


Use discriminated unions to allow checking for tx broadcast success

Problem
The way the types are currently constructed for TxBroadcastResult,
https://github.com/hirosystems/stacks.js/blob/50399dc0a4f9abf30f072b0bceb7888d68d948ec/packages/transactions/src/types.ts#L156
makes it "impossible" to check for success or error with TS. The union only has the txid prop common among all possible types, and therefore it's the only prop TS allows checking:
const res = broadcastTransaction(tx);

console.log(res.txid); // ok

if (res.error) {} // TS Error, prop `error` doesn't exist on all instances of TxBroadcastResult

Solution
Use discriminated unions for success vs error, and for each of the error types. Perhaps something like:
type TxBroadcastResult = // Key `"type"` is the discriminator
  | { type: "success"; txid: string }
  | { type: "error"; detail: ErrorDetail };

type ErrorDetail = // Key `"reason"` is the discriminator
  | {
      reason: "Serialization";
      txid: string;
      // other useful fields
    }
  | {
      reason: "SignatureValidation";
      txid: string;
      // other useful fields
    };
// ... other error types

Additional context

Ran into the same issue. Not sure why this wasn't a problem before. The idiomatic solution is to check for error using `'error' in res', but we can think about adding a type discriminator as well (that would however add additional synthetic information that the node isn't responding with)


[Question]: Publish To Environment Action: How to Include Dependencies?

Question
Hi and hello,
We would like to publish an AppSource App (with the AL-GO Template  "AL-Go-AppSource") to a SaaS Sandbox Environment with the Action "Publish To Environment"
Our Setup:
This app depends on four other apps. They are in the same Github orga, but in different repos.  All Repos are internal (so not public).
The CI CD Pipeline uses GITHUBPACKAGESCONTEXT to find the right dependencies. So, we do not use the setting keys "appDependencyProbingPaths" or "installApps" at all.
we use the setting key "deployTo" to publish:
  "deployToPrefix-ProductName-QA": {
    "EnvironmentName": "Prefix-ProductName-QA",
    "ContinuousDeployment": false,
    "Scope": "Dev",
    "SyncMode": "ForceSync",
    "Branches": [
      "main"
    ]
  },

i also tried these two keys (even though I knew that this would probably not change anything):
  "generateDependencyArtifact": true,
  "installOnlyReferencedApps": false,

The Problem / Question
The action "Publish to Environment" fails because the dependent apps cannot be found.
Is there a way to publish the Dependencies with this Action as well or is the common approach to install them before this action?
i believe it should work because the script can find and download the dependencies.zip in the "Get Artifacts for deployment" step.:

My guess would be: I have to use the "generateDependencyArtifact" for that and its not working yet with the GITHUBPACKAGESCONTEXT?! But seriously - i dont know.
full (anonymized) log here:
log.txt

Will try to create a repro of this to see whether this is a bug

Hey there,
i am experiencing pretty much the same thing.
I included all apps i want to install in a Dependency Folder in the Repository.
The al-go Settings in the repo contain

Currently in preview, the DeployTo structure now has a dependencyInstallMode property, which controls how dependencies are handled.
https://aka.ms/algosettings#deployto


[SPARK-22827][CORE] Avoid throwing OutOfMemoryError in case of exception in spill

What changes were proposed in this pull request?
Currently, the task memory manager throws an OutofMemory error when there is an IO exception happens in spill() - https://github.com/apache/spark/blob/master/core/src/main/java/org/apache/spark/memory/TaskMemoryManager.java#L194. Similarly there any many other places in code when if a task is not able to acquire memory due to an exception we throw an OutofMemory error which kills the entire executor and hence failing all the tasks that are running on that executor instead of just failing one single task.
How was this patch tested?
Unit tests

Jenkins test this please.

cc - @rxin, @sameeragarwal, @zsxwing,

Test build #85080 has started for PR 20014 at commit 91c9257.

Test build #85080 has finished for PR 20014 at commit 91c9257.

This patch fails RAT tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
public final class SparkOutOfMemoryError extends OutOfMemoryError

Merged build finished. Test FAILed.

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

Test build #85081 has started for PR 20014 at commit 4254d3e.

Test build #85081 has finished for PR 20014 at commit 4254d3e.

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

Merged build finished. Test PASSed.

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

Overall change lgtm.

Test build #85102 has started for PR 20014 at commit 089ab45.

Test build #85102 has finished for PR 20014 at commit 089ab45.

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

Merged build finished. Test PASSed.

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

Test build #85115 has started for PR 20014 at commit 13777de.

LGTM except 2 minor comments

Test build #85115 has finished for PR 20014 at commit 13777de.

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

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

Merged build finished. Test PASSed.

Test build #85127 has finished for PR 20014 at commit 5682416.

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

Merged build finished. Test PASSed.

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

thanks, merging to master!


Feature request: Add an option to configure a custom location for .dprint.json

dprint supports a --config CLI parameter allowing for a custom configuration path to be specified. However, the VSCode plugin expects .dprint.json to be in the root of the workspace. It would be great if a configuration property could be added to the plugin, for example, "dprint.configurationFile": "path/to/my/dprint.json".

Is your configuration in a sub directory and called either “dprint.json” or “.dprint.json”? If so, it should just work for that sub directory.

Thanks for the quick response. Our dprint.json config file is in a directory such as tools/config/formatting/

I think it should just automatically pick that up in that case and use that config. You can see in "View > Output" then select "dprint" in the drop down of the output window. It should show all the folders it got initialized in.

Oh wait, I think I misunderstood. You want it to use the configuration in /your-project/tools/config/formatting/ for the /your-project/ directory? The above will only use it in /your-project/tools/config/formatting/.
I'm not sure I want to support having configurations in non-standard sub directories because it adds more complexity (ex. need to define "use this config for this folder and this config for that folder") and I'm not sure about the benefit. Most tools require their configs in the root folder.

I have a similar and yet somewhat different need: I use a .jsonc file for my config (so I can put comments).
The CLI is happy with it as long as I point to it via the --config option.
The VSCode extension however does not automatically look for that file extension, and that's why I was also looking for an option to set the path (but really the name) of the configuration file.
Is that something that might happen in the future -- that or adding dprint.jsonc to the list of possible config files?

@spiffre I opened https://github.com/dprint/dprint-vscode/pull/59

Many thanks @dsherret!


Spin maverick_visiond off into separate repo

Create separate git repo.
Move maverick_visiond + sample config
Add webrtc support
Migrate maverick setup to new repo

New repo:
https://github.com/goodrobots/visiond


内存问题， 用提供的Demo抓取消息，运行一段时间就报错退出

Important：Please file the issue follow the template, or we won't help you to solve the problem.

0. Report Issue Guide

Please run the following command and check whether the problem has been fixed：

npm install wechaty-puppet-macpro

Please search in the issue first, and make sure your problem had not been reported before

1. Versions

What is your wechaty version?
Answer: 0.29.9

What is your wechaty-puppet-macpro version?
Answer:0.3.1

What is your node version? (run node --version)
Answer: v10.15.3

What os are you using
Answer:Win7家庭普通版

2. Describe the bug
运行Demo代码，打印接收到的消息，过一会儿就报错退出，
退出时机不确定，有时只一条消息就退出，有时20条消息退出。
3. To Reproduce
我用过两个号，
一个联系人和群很少，感觉比较稳定，偶尔也报这个错误
另一个一百多个群，运行一会儿就报错
4. Expected behavior
Give a clear and concise description of what you expected to happen.
5. Actual behavior
If applicable, add screenshots to help explain your problem. But do not paste log screenshots here.
6. Full Output Logs
<--- Last few GCs --->
[5856:00000000002C85E0]    76053 ms: Mark-sweep 991.3 (1456.0) -> 991.3 (1440.0)
MB, 37.0 / 0.1 ms  (average mu = 0.005, current mu = 0.001) last resort GC in o
ld space requested
[5856:00000000002C85E0]    76095 ms: Mark-sweep 991.3 (1440.0) -> 991.3 (1440.0)
MB, 42.5 / 0.1 ms  (average mu = 0.003, current mu = 0.001) last resort GC in o
ld space requested
<--- JS stacktrace --->
==== JS stack trace =========================================
0: ExitFrame [pc: 000003476C419C20]

Security context: 0x03233c91e6e9
1: /* anonymous */ [000002C7D81DF2D1] [D:\cqq\private\macpro3\node_modules\f
lash-store\bundles\flash-store.umd.js:~169] [pc=000003476C45D7F2](this=0x02dc63e
88841 ,_d=0x02c7d81df3f9 <Object map = 000003
3FB226FD89>)
2: step [000002C7D81DF379] [D:\cqq\private\macpro3\node_modules\flash-store
bundles\flash-store.umd.j...
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memo
ry
1: 000000013F59F04A v8::internal::GCIdleTimeHandler::GCIdleTimeHandler+5114
2: 000000013F57A0C6 node::MakeCallback+4518
3: 000000013F57AA30 node_module_register+2032
4: 000000013F8020EE v8::internal::FatalProcessOutOfMemory+846
5: 000000013F80201F v8::internal::FatalProcessOutOfMemory+639
6: 000000013FD22BC4 v8::internal::Heap::MaxHeapGrowingFactor+9556
7: 000000013FD210CB v8::internal::Heap::MaxHeapGrowingFactor+2651
8: 000000013F8DCA3B v8::internal::Factory::AllocateRawWithImmortalMap+59
9: 000000013F8DF4ED v8::internal::Factory::NewRawTwoByteString+77
10: 000000013FAE9AA8 v8::internal::Smi::SmiPrint+536
11: 000000013F7F582B v8::internal::StringHasher::UpdateIndex+219
12: 000000013F81AB26 v8::String::Utf8Length+22
13: 000007FED63BFD63
14: 000007FED63BB774
15: 000003476C419C20
Set env WECHATY_LOG=silly in order to set log level to silly, then we can get the full log (If you dosen't set log env, log level is info as default, we cannot get the full log)
We need full log instead of log screenshot or log fragments!

Show Logs

$ WECHATY_LOG=silly node yourbot.js

Question: Paste your FULL(DO NOT ONLY PROVIDE FRAGMENTS) log messages
Answer:

7. Additional context
Add any other context about the problem here.
[bug]

Thank you for your issue, we will try to reproduce and resolve it sooner.


ERROR: Could not find a version that satisfies the requirement playwright (from versions: none)

Hey all,
Thanks for the work on playwright.
I'm encountering this issue when trying to run it with both python 3.9 and 3.10.
I wonder if it's some interaction with conda packages solvers?
Here's the full error:
(pyscript)  ✘  ~/dev/pyscript/pyscriptjs   main ±  pip install pytest-playwright
Collecting pytest-playwright
  Using cached pytest_playwright-0.3.0-py3-none-any.whl (10 kB)
ERROR: Could not find a version that satisfies the requirement playwright>=1.18 (from pytest-playwright) (from versions: none)
ERROR: No matching distribution found for playwright>=1.18 (from pytest-playwright)

If I try to specify playwright versions or just download any playwright, I get:
(pyscript)  ✘  ~/dev/pyscript/pyscriptjs   main ±  pip install playwright

ERROR: Could not find a version that satisfies the requirement playwright (from versions: none)
ERROR: No matching distribution found for playwright

Which python: /Users/user/miniconda3/envs/pyscript/bin/python
If you're interested I can create a recipe for conda-forge and maintain it.
Cheers.

Nothing rings a bell to me, as for me it works - however maybe try to create new, clean virtual env?

Which operating system are you using?

Well, the pypi website says it's OS independent, where can I see which are the supported OSs?
And I'm using an M1, osx.
Thanks for the replies!

I tried with a clean environment... But I'll try again starting with playwright and see if it solves my issue, thanks!

K, this did the trick for me.
I had to run playwright install by the end of it, but seems like everything is working fine.
I do believe it's some conflict between different solvers, because I have to use both pip and conda.
I know microsoft have their own conda channel, but is it possible to also host a version of pytest-playwright on conda-forge?
Thanks for the help here! (Feel free to close it)

Ah, pytest-playwright is not on conda yet. Let me do it next week.
Only Playwright is for now.
macos m1 is definitely supported!

Internal note: Was looking into supporting it, since playwright is published under the microsoft conda channel, pytest-playwright also needs to be published there, which requires manually pushing logic.
Marking it as p3 for now since its more effort compared to conda-forge.

Hey @mxschmitt, thanks for the reply :)
I don't understand what you mean with more effort?
I did a lot of conda-forge work in the past and I'm available to help if you need! Cheers and thank you.

Hey @mxschmitt, thanks for the reply :)
I don't understand what you mean with more effort?
I did a lot of conda-forge work in the past and I'm available to help if you need! Cheers and thank you.

I think the problem is that Playwright is under the Microsoft channel and forge is an own channel.
https://anaconda.org/Microsoft/playwright

Hum, I see.
Yeah that's true, it's not possible to have requirements coming from outside conda-forge.
Thanks!

I concur that it would be nice to have this package available on conda (whatever the channel!), and that is is possible to automate publishing packages to a conda channel so that it's not a manual step part of the release process.


#366 Track raw files at sources and in the metastore by size instead by count

Closes #366
Since the choice of what info to track spreads across all pipeline, and can't be solved on the source level of  RawFileSource, I decided to always track files by size, and not make it optional.
We we need to track raw files in a different way in the future, will add an option then.
Here is how notifications that involve file landing jobs look like:

Thanks for the review!


Dead links between RFCs

Describe the issue
https://datatracker.ietf.org/doc/html/rfc8252#section-8.1 has a dead link

Authorization servers SHOULD reject
authorization requests from native apps that don't use PKCE by
returning an error message, as defined in Section 4.4.1 of PKCE
[RFC7636].

The link target is https://datatracker.ietf.org/doc/html/rfc8252#section-4.4.1 (wrong RFC, right section number) but clearly it should be https://datatracker.ietf.org/doc/html/rfc7636#section-4.4.1 (right RFC, right section).
RFC editor https://www.rfc-editor.org/rfc/rfc8252#section-8.1 has the same problem
Code of Conduct

[X] I agree to follow the IETF's Code of Conduct

I expect when we get to the root of this, it will be a bug with rfc2html, not the datatracker.

Check if the new HTMLIzation on sandbox has this fixed?

It hasn't the issue is that rfc2html doesn't understand "Section X of Y" references, and if the current doc has a Section X, it will happily link to that.


Feature Request: Randomize background images from an array of filesystem paths

Description of the new feature/enhancement
At the moment, a backgroundImage can be specified in a Windows Terminal profile. However, if I splitPane, the same background image is used in my duplicate pane. I would like the ability to specify an array of filesystem paths in the backgroundImage property, in my profile(s), and have Windows Terminal randomly select one from the array upon initialization.
Using a different background image for each pane helps to keep the interface lively and makes each pane more visually distinguishable from the others.
Proposed technical implementation details (optional)
Unsure

Hey, I like this. I'll tag it up as a possible extension idea!
Ref: #4000.


HTTPRequest: Expose and add methods to make working with headers easier

Closes 4734
Exposes has_header() and get_header_value() methods and adds get_dictionary_from_headers method.
Also converts headers to lower-case in HTTPClient::_get_response_headers_as_dictionary() as well as in HTTPRequest::get_dictionary_from_headers() to keep consistensy.
This should be a done right version of 62962

Since the headers are returned as a dictionary, I think it'll be easier to work with if the keys are always lower-cased.
Users can then use lower-cased names to get the header value. Otherwise, they have to iterate through the keys and make case-insensitive compares.

Since the headers are returned as a dictionary, I think it'll be easier to work with if the keys are always lower-cased.
Users can then use lower-cased names to get the header value. Otherwise, they have to iterate through the keys and make case-insensitive compares.

I have done it this way in order to keep consistency with HTTPClient.
It would make sense to make the keys case-insensitive in my opinion, but do it the same way in both cases

Should be all good now

The commits need to be squashed into 1 commit :)

@Kubulambula if it's OK with you, I can create a new PR with this changes and add you as co-author.

@Kubulambula if it's OK with you, I can create a new PR with this changes and add you as co-author.

No problem at all. I would be happy if this functionality makes it in!

Superseded by #97174. Thanks for the contribution!


Unwanted left and right margin/padding when first load the view

Hi,
I've experienced an issue when the view loaded. My child view has an empty left and right margin but disappeared when I change tab. Any help is very much appreciated.
Here's the appearance of my issue:

Thanks!

Hello Did you find any solution to this ?? I am facing the same issue. Margin issue is happening only for the first TAB. after going to second tab and coming back issue gets fixed.


Implements IonSequence#sublist

Implements sublist according to java List spec, i.e. sublist is a view
of the parent list so changes to the parent list are reflected on
the the sublist.
Java's List contract warns that the sublist semantics became undefined
after any structural changes, that affect size, to the parent list.
Most implementations, see ArrayList and LinkedList, throw a
ConcurrentModificationException to avoid surprising behavior. This PR
takes the same approach being even more concervative by throwing on all
sublist operations after a parent structural change.
Issue: https://github.com/amzn/ion-java/issues/52
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

i missed (or there aren't) updates related to the following:

clear():  switch to remove(int)?
toArray():  delegate to toArray(T[] array)?
missing "throws CME" test for addAll(idx, collection)


webview use iframe can't trigger drop event

vscode version: 1.53.2
Electron: 11.2.1
Chrome: 87.0.4280.141
Node.js: 12.18.3
V8: <IP_ADDRESS>-electron.0
OS: Darwin x64 19.6.0
code example:
const panel = vscode.window.createWebviewPanel('xxx', 'xxx', vscode.ViewColumn.One, { enableScripts: true})
panel.html = '<!DOCTYPE html>
<html lang="en">
<body>
<iframe  src="https://developer.mozilla.org/en-US/docs/Web/API/Document/dragstart_event"></iframe>
</body>
</html>'

issue description:
drag  a div of  'Examples'  should be able to  find the problem

Does this issue occur when all extensions are disabled?: No

Thanks for creating this issue! We figured it's missing some basic information or in some other way doesn't follow our issue reporting guidelines. Please take the time to review these and update the issue.
Happy Coding!

I added some information

Does this work if you aren't using an iframe inside a webview?

[[div]()]()
html index.html

HEROPY

<img href ('HEROPY') src 'Logo>

Does this work if you aren't using an iframe inside a webview?

that's ok

I'm closing this as out of scope then. If you can avoid it, don't use iframes inside of webviews


[REQUEST] feature to reset password

I am unable to reset my password, I forgot my username.

Done in 955c86ddd1bf1bebde7407d26062fdea98f00b0a


Return method type checker

Is your feature request related to a problem? Please describe.
Need to check return type of function
Describe the solution you'd like
A special method added to the InferJS-Library for checking return types.
Describe alternatives you've considered
None
Additional context
None

Fixed in v0.0.9


Recent ordinal transfer not indexed (7 hours ago)

Describe the bug
I do not see any ordinals reflected on the ordinals.hiro.so explorer
it was transferred to the taproot address of a Leather wallet here https://mempool.space/tx/0bec59c00c959b53f42675107059449c3cb69f043c5893cb4f73f93dd0651260
but the change is not reflected, the transfer was confirmed 7 hours ago.
https://ordinals.hiro.so/address/bc1ptuah74r5xu9lsmtthaqqqwguqmwn2fgpygegzaj7f5w7k5sc8qcqcks0r6

I do see one in ord.io
https://www.ord.io/bc1ptuah74r5xu9lsmtthaqqqwguqmwn2fgpygegzaj7f5w7k5sc8qcqcks0r6
63,302,112
https://ordinals.hiro.so/inscription/f701bcfd929611e595611a1fcd3d45deb88eb1178c23626679a644fc46546fe0i0
looks like the change is not yet indexed by the Hiro browser
I see on this explorer it also transferred the tokens alright
https://bestinslot.xyz/ordinals/inscription/63302112 to
https://bestinslot.xyz/bc1ptuah74r5xu9lsmtthaqqqwguqmwn2fgpygegzaj7f5w7k5sc8qcqcks0r6#type=brc20

Transaction ID https://mempool.space/tx/0bec59c00c959b53f42675107059449c3cb69f043c5893cb4f73f93dd0651260
Address bc1ptuah74r5xu9lsmtthaqqqwguqmwn2fgpygegzaj7f5w7k5sc8qcqcks0r6
Block#  833206
Time stamp 2024-03-05 06:40 (8 hours ago)
To Reproduce
n.a. see above
Expected behavior
I expect recent token to be displayed on the explorer.

Addressed with latest I believe


Add XSRF protection to data-modifying routes

This is a must to disallow session riding. Have a look at csurf.

We need to check if the new backend is still vulnerable.