Unclarity about the corresponding book version

It seems that model 13.2 does not correspond to the model in the statistical rethinking book version 2020. In the book, model 13.2 is about tadpoles and tanks, whereas the model in this repository is about gender and department.
Which version of the book is this repository corresponding to?

All ...Models.jl repositories are based on the first edition of the book. In the 2nd edition a chapter was added, the tank models were in chapter 12 in the 1st edn.

Ok, clear. Thank you


missing partition_compaction_key_field in sql-query

One-line summary

Issue : #114

Description
Whenever I try to create a sql-query, I got status code 400 as the partition_compaction_key_field is missing.
Can not process sql query {{name}}: Nakadi error during creation of sql query '{{name}}:': 400 - {"detail":"Compacted output event type requires partition_compaction_key","status":400,"title":"Bad Request"}
Types of Changes
What types of changes does your code introduce? Keep the ones that apply:

Bug fix (non-breaking change which fixes an issue)
Documentation / non-code

Review

:+1:


query including referenced table errors sometimes

I have tried to add data from a referenced table to a query.
The query is:
const { error, results } = useLiveQuery(
    () => db[queryTable]?.liveMany(queryParam),
    [db, table],
  )

When queryTable is 'projects` and queryParam is:
{
  include: {
    subprojects: true
  }
  where: {
    deleted: false
  }
}

the result is as expected: an array of objects including an array of subprojects in the subprojects key.
If the queryTable is 'subprojects' and the queryParam is:
{
  include: {
    projects: true
  }
  where: {
    deleted: false
  }
}

I get an ZodError somewhat like this:

First I thought it had to do with the direction of the relation (my examples errored when the included table was on the 1 side, worked when it was on the n side).
But the error seems to point to an issue with boolean columns.

Some more info:
The tables mentioned above are defined like this:
CREATE TABLE projects(
  project_id uuid PRIMARY KEY DEFAULT NULL, -- public.uuid_generate_v7(),
  account_id uuid DEFAULT NULL REFERENCES accounts(account_id) ON DELETE CASCADE ON UPDATE CASCADE,
  name text DEFAULT NULL,
  label_replace_by_generated_column text DEFAULT NULL,
  type text DEFAULT NULL,
  subproject_name_singular text DEFAULT NULL,
  subproject_name_plural text DEFAULT NULL,
  subproject_order_by text DEFAULT NULL,
  values_on_multiple_levels text DEFAULT NULL,
  multiple_action_values_on_same_level text DEFAULT NULL,
  multiple_check_values_on_same_level text DEFAULT NULL,
  data jsonb DEFAULT NULL,
  files_active_projects boolean DEFAULT NULL,
  files_active_projects_reports boolean DEFAULT NULL,
  files_active_subprojects boolean DEFAULT NULL,
  files_active_subproject_reports boolean DEFAULT NULL,
  files_active_places boolean DEFAULT NULL,
  files_active_actions boolean DEFAULT NULL,
  files_active_checks boolean DEFAULT NULL,
  files_active_check_reports boolean DEFAULT NULL,
  deleted boolean DEFAULT NULL
);
CREATE TABLE subprojects(
  subproject_id uuid PRIMARY KEY DEFAULT NULL,
  account_id uuid DEFAULT NULL REFERENCES accounts(account_id) ON DELETE CASCADE ON UPDATE CASCADE,
  project_id uuid DEFAULT NULL REFERENCES projects(project_id) ON DELETE CASCADE ON UPDATE CASCADE,
  name text DEFAULT NULL,
  label_replace_by_generated_column text DEFAULT NULL,
  since_year integer DEFAULT NULL,
  data jsonb DEFAULT NULL,
  deleted boolean DEFAULT NULL
);

Hi @barbalex, the error Zod throws seems to be unrelated to what you're describing.
Zod is complaining that you're passing a number to a property "use_for_action_values" but it is expecting a boolean.
A wild guess would be that you have a column called "use_for_action_values" of some number type and you are including it as follows:
include: {
  use_for_action_values: someNumber
}

Inside include, the value of the use_for_action_values property should be a boolean (indicating whether or not it should be included) or a nested include object (if that property represents a related table), e.g.:
include: {
  use_for_action_values: {
    include: {
      ...
    }
  }
}

PS: your usage of useLiveQuery seems a bit odd.
It would be better to use it as follows:
const { error, results } = useLiveQuery(
  db.projects.liveMany(queryParam)
)

i.e. you just have to call a live query inside the useLiveQuery hook.

your usage of useLiveQuery seems a bit odd

I encountered cases where the query would not live update as expected. Then I found these docs: https://electric-sql.com/docs/integrations/frontend/react#query-dependencies
That solved my issue. Since then this is how I used it.

To the main issue.
I am not including anything else then:
If the queryTable is 'subprojects' and the queryParam is:
{
  include: {
    projects: true
  }
  where: {
    deleted: false
  }
}

In this query the exact error mentions: expected boolean, received number, referring to the field files_active_projects. That is one of the boolean fields existing in the projects table. It is set to true when new projects are created.
I have no idea why the error occurs.
One thing I do not completely understand is the usage of boolean values. As far as I understand I can ignore that sqlite expects 0 and 1 and simply use true and false in my client side code. As happens, when setting files_active_projects to true in new projects. And also when filtering for not deleted rows in above query params. Is that a correct assumption?

What I dont get is why this works when projects are queried, including the subprojects. The result of the query then is:

In this case the included subproject table also has a boolean field, preset to false. That seems to be no problem.
On the other hand when I include projects when querying subprojects, the files_active_projects column, preset to true, seems to cause a problem.

By the way: I have adjusted the query to not use a function and the error prevails:
const { results, error } = useLiveQuery(db[queryTable]?.liveMany(queryParam))

Because above dynamic query introduces some more complexity, I have tried including projects in the subproject form that uses this query:
  const { results, error } = useLiveQuery(
    db.subprojects.liveUnique({
      where: { subproject_id },
      include: { projects: true },
    }),
  )

Same error. Here the full error:
{
    "issues": [
        {
            "code": "invalid_union",
            "unionErrors": [
                {
                    "issues": [
                        {
                            "code": "invalid_type",
                            "expected": "boolean",
                            "received": "number",
                            "path": [
                                "files_active_projects"
                            ],
                            "message": "Expected boolean, received number"
                        },
                        {
                            "code": "invalid_type",
                            "expected": "boolean",
                            "received": "number",
                            "path": [
                                "files_active_projects_reports"
                            ],
                            "message": "Expected boolean, received number"
                        },
                        {
                            "code": "invalid_type",
                            "expected": "boolean",
                            "received": "number",
                            "path": [
                                "files_active_subprojects"
                            ],
                            "message": "Expected boolean, received number"
                        },
                        {
                            "code": "invalid_type",
                            "expected": "boolean",
                            "received": "number",
                            "path": [
                                "files_active_subproject_reports"
                            ],
                            "message": "Expected boolean, received number"
                        },
                        {
                            "code": "invalid_type",
                            "expected": "boolean",
                            "received": "number",
                            "path": [
                                "files_active_places"
                            ],
                            "message": "Expected boolean, received number"
                        },
                        {
                            "code": "invalid_type",
                            "expected": "boolean",
                            "received": "number",
                            "path": [
                                "files_active_actions"
                            ],
                            "message": "Expected boolean, received number"
                        },
                        {
                            "code": "invalid_type",
                            "expected": "boolean",
                            "received": "number",
                            "path": [
                                "files_active_checks"
                            ],
                            "message": "Expected boolean, received number"
                        },
                        {
                            "code": "invalid_type",
                            "expected": "boolean",
                            "received": "number",
                            "path": [
                                "files_active_check_reports"
                            ],
                            "message": "Expected boolean, received number"
                        },
                        {
                            "code": "unrecognized_keys",
                            "keys": [
                                "account_id"
                            ],
                            "path": [],
                            "message": "Unrecognized key(s) in object: 'account_id'"
                        }
                    ],
                    "name": "ZodError"
                },
                {
                    "issues": [
                        {
                            "code": "invalid_type",
                            "expected": "boolean",
                            "received": "number",
                            "path": [
                                "files_active_projects"
                            ],
                            "message": "Expected boolean, received number"
                        },
                        {
                            "code": "invalid_type",
                            "expected": "boolean",
                            "received": "number",
                            "path": [
                                "files_active_projects_reports"
                            ],
                            "message": "Expected boolean, received number"
                        },
                        {
                            "code": "invalid_type",
                            "expected": "boolean",
                            "received": "number",
                            "path": [
                                "files_active_subprojects"
                            ],
                            "message": "Expected boolean, received number"
                        },
                        {
                            "code": "invalid_type",
                            "expected": "boolean",
                            "received": "number",
                            "path": [
                                "files_active_subproject_reports"
                            ],
                            "message": "Expected boolean, received number"
                        },
                        {
                            "code": "invalid_type",
                            "expected": "boolean",
                            "received": "number",
                            "path": [
                                "files_active_places"
                            ],
                            "message": "Expected boolean, received number"
                        },
                        {
                            "code": "invalid_type",
                            "expected": "boolean",
                            "received": "number",
                            "path": [
                                "files_active_actions"
                            ],
                            "message": "Expected boolean, received number"
                        },
                        {
                            "code": "invalid_type",
                            "expected": "boolean",
                            "received": "number",
                            "path": [
                                "files_active_checks"
                            ],
                            "message": "Expected boolean, received number"
                        },
                        {
                            "code": "invalid_type",
                            "expected": "boolean",
                            "received": "number",
                            "path": [
                                "files_active_check_reports"
                            ],
                            "message": "Expected boolean, received number"
                        }
                    ],
                    "name": "ZodError"
                }
            ],
            "path": [],
            "message": "Invalid input"
        }
    ],
    "name": "ZodError"
}

Right, i see. The error seems to occur when trying to validate the data that is being read from the database using the Zod schema. So indeed, internally the boolean value is a number (0 or 1) and our data access library takes care of converting those to JavaScript booleans. Probably what's happening is that the number is not being converted back to a boolean  when reading from the database and thus Zod complains. Will need to investigate this further.

I tried this again in v0.9.0 and it works.
Thanks!


Upgrade actix packages once actix-web v4 is released as stable

As noted in https://github.com/thoth-pub/thoth/pull/355 and https://github.com/actix/actix-web/issues/2664, actix package code dependencies will start causing build failures in a future version of Rust. Before/when this happens, we will need to upgrade actix (currently on actix-web 3.3.2, issue is fixed in actix-web 4.0.0 which is still in beta).

actix-web 4.0.0 has now been released, but actix-identity does not yet have a stable version with the fixed dependencies. Progress once this is released (begun on branch feature/356_actix_v4).

actix-identity 0.4.0 is now out and fixes the dependency. To fully remove the outdated actix-web 3.3.2 package, we will need to upgrade paperclip when it is next released (should be soon - see https://github.com/paperclip-rs/paperclip/pull/314).


refactor entrainment and detrainment

Purpose

As discussed with Tapio, we should use some simple function forms to test entrainment and detrainment. To simplify the testing, this PR mainly combines different entrainment and detrainment into GeneralizedEntrainment and GeneralizedDetrainment. We can then test different entrainment and detrainment by using different parameters. The function forms are:
Entrainment: 1/timescale + c1 * w / z + minimum area limiter
Detrainment: 1/timescale + c2 * w + c3 * min(b, 0) / w + maximum area limiter
To-do

[x] Replace hard-coded numbers in area limiters with parameters after #2276

Content

[ ] I have read and checked the items on the review checklist.

@trontrytel There is one problem when including the constant timescale entrainment or detrainment this way. As we are using 1 / timescale it will never be 0. Right now I am just setting the timescale to be very large. We can also change the timescale CLIMAParameters to 1 / timescale so it can be set to zero. What do you think?

bors r+

bors r+


multistream_app to much cpu usage

Hi,
We are testing multistream_app and compiled it succesfully.
we tested with 5 2Mp sources and its almost using all cpu our i9 server. is this normal ?

is decoding take such cpu ?  how we can enable vaapi ?
Best

can we use for face detection / retinaface ? I changed the cpp file accordingly for retina face but its just printing :
APP_RUNTIME_DIR: /local/shared_with_docker/Hailo-Application-Code-Examples/runtime/gstreamer/multistream_app/
not running inference

Hi @MyraBaba thanks you for your input.
This application besides implementing a multistream pipeline also introducing a more complicated source the "srcBin".
This source is build to demonstrate more complicated event handling like:

Handling camera, file, network URI with the same element.
Rewinding a video file to run it in a loop.
Handling RTSP disconnect events.

This code is "heavier" than a simple source and use more resources. It is not fined tuned and there probably lots of areas it can be upgraded.
If you do not need these extra features you can just use a regular src pipeline.
Please let me know what your needs are so I can help.
Regarding VAAPI. The SrcBin is using uridecode and decodebin. These are auto pluggers it means they will select the "best" available element to implement the task required. So if you have VAAPI installed they should automagically select the VAAPI decoder and post process.
To install VAAPI follow these instructions in the TAPPAS documentation - GStreamer based x86 applications
After installation you can check which elements were used by adding the --dump-dot-files to the application run.
This will dump a dot file you can review pipeline_paused.dot and pipeline_playing.dot.
You can watch them using 'dot pipeline_playing.dot -Tx11' for example.
See more debug tool on Debuging
Regarding the last question you should be able to replace the network, make sure you replace HEF and postprocess functions.
See the README file to see how to compile in DEBUG mode. You'll be able to add breakpoints to better understand the problem.
Please note that if you are running a newer TAPPAS version than hailo_sw_suite_2023-04 the roundrobin patch is not required as it is already merged.
Please share details on what you are trying to achieve and which version of TAPPAS you are using.
Good luck!


modifyQueryUsing() causes query issue in FilamentPHP Select component and fails to select the correct element when editing records

Package
filament/filament
Package Version
3.2
Laravel Version
11.9
Livewire Version
3.4
PHP Version
8.2
Problem description
I am experiencing an issue with the modifyQueryUsing() method in the FilamentPHP Select component. The problem occurs when editing a record — the query does not select the correct element that should be pre-selected in the dropdown for editing.
The issue occurs when I try to load the form for editing an existing record. The Select component either fails to load the correct options or doesn't select the right element as it should during record editing.
The issue arose because the query didn't handle selecting the correct element for editing when $state was provided. Here's the code I had to do to get it fixed, which I hope is a good option:

Expected behavior
The correct element should be pre-selected in the Select dropdown when editing a record, based on the current value.
Steps to reproduce
Implement a Select field in a FilamentPHP form and use modifyQueryUsing() to modify the query dynamically.
Edit an existing record with a pre-selected value for the Select field.
The dropdown does not show the correct pre-selected option, or the form fails to load properly.
Reproduction repository (issue will be closed if this is not valid)
https://github.com/filamentphp/demo
Relevant log output
No response

Donate 💰 to fund this issue

You can donate funding to this issue. We receive the money once the issue is completed & confirmed by you.
100% of the funding will be distributed between the Filament core team to run all aspects of the project.
Thank you in advance for helping us make maintenance sustainable!

I do not believe the code is present in the demo repository, please do not cut corners if you would like us to review the bug report ourselves.


In the same transaction, a specific piece of data is queried and modified but not persisted. Will the modified but not persisted data be found after querying the piece of data?

In the same transaction, a specific piece of data is queried and modified but not persisted. Will the modified but not persisted data be found after querying the piece of data?

I think this question is not related to this library. This library is an SQL DSL - it does not execute SQL.
If you are asking about MyBatis, then the answer really depends on how you configure caching in your application. MyBatis will cache result sets, but this is a lower level abstraction than an ORM like Hibernate where changes to objects can be transparently persisted back to the database.
I suggest you ask further questions about this on the MyBatis user list, or StackOverflow.


Task/tsbbloc 524 gems catalyst refac

Description

Checklist:

[ ] Pull Request references Jira issue
[ ] Pull Request applies to a single purpose
[ ] I've added comments to my code where needed
[ ] I've updated any relevant docs
[ ] I've added tests to show that my changes achieve the desired results
[ ] I've reviewed my code
[ ] I've followed established naming conventions and formatting
[ ] I've generated a coverage report and included a screenshot
[ ] All tests are passing locally

now working on Task/tsbbloc 524 gems catalyst refac2


Bugs fixes, adjustments, and cleaning.

Description
As the title implies, this pull request encompasses a few bug fixes, a few adjustments and some code cleaning. Major changes I've made will be described here; any minor details or specifics can be found within the commit messages.
Fixes

For all providers except Glassdoor Dynamic, I changed how keywords and cities were encoded into the queries being sent to the job providers. This fixes issue #80.
Previously, futures within the delay_threader function were being deleted whether a blurb was parsed or not.

Adjustments

Previously, we would assign headers to each get/post request. Now the headers are set as the default headers for each providers session object (reference). If different headers are needed for a specific request, they can be overridden by setting the headers when making that request.
For Glassdoor_static, we only need to make a POST request initially when querying the Glassdoor location api and making an initial search. I've replaced any unnecessary POST requests with GET requests.
Any errors in the delay_threader are captured by the logger.

Context of change
Please add options that are relevant and mark any boxes that apply.

[ ] Software (software that runs on the PC)
[ ] Library (library that runs on the PC)
[ ] Tool (tool that assists coding development)
[x] Other

Type of change
Please mark any boxes that apply.

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?

Ran the funnel using quoted searches and comparing to actual results on each providers website.

Checklist:
Please mark any boxes that have been completed.

[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[ ] I have made corresponding changes to the documentation.
[x] My changes generate no new warnings.
[ ] I have added tests that prove my fix is effective or that my feature works.
[ ] New and existing unit tests pass locally with my changes.
[ ] Any dependent changes have been merged and published in downstream modules.

Codecov Report

Merging #84 into master will decrease coverage by 0.02%.
The diff coverage is 60.00%.

@@            Coverage Diff             @@
##           master      #84      +/-   ##
==========================================
- Coverage   58.37%   58.34%   -0.03%
==========================================
  Files          13       13
  Lines        1146     1150       +4
==========================================
+ Hits          669      671       +2
- Misses        477      479       +2

Impacted Files
Coverage Δ

jobfunnel/glassdoor_dynamic.py
16.37% <0.00%> (-0.15%)
:arrow_down:

jobfunnel/monster.py
28.14% <33.33%> (+0.53%)
:arrow_up:

jobfunnel/jobfunnel.py
47.70% <50.00%> (+0.02%)
:arrow_up:

jobfunnel/glassdoor_static.py
28.57% <60.00%> (+0.68%)
:arrow_up:

jobfunnel/glassdoor_base.py
57.89% <66.66%> (-0.73%)
:arrow_down:

jobfunnel/indeed.py
87.32% <100.00%> (ø)

Continue to review full report at Codecov.

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

Thanks @PaulMcInnis ! Btw, the codecov bot doesn't seem to like some my changes. Is there anything specific I need to add when making pull requests?

Its ok, its just unhappy about reduction in coverage - should be possible
to widen the threshold so it doesn't fail for so little a reduction.
On Sat, Jul 11, 2020 at 3:16 PM Erich M<EMAIL_ADDRESS>wrote:

Thanks @PaulMcInnis https://github.com/PaulMcInnis ! Btw, the codecov
bot doesn't seem to like some my changes. Is there anything specific I need
to add when making pull requests?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/PaulMcInnis/JobFunnel/pull/84#issuecomment-657114743,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAYKY2LFNYOLLN42VZJZXRDR3C3A3ANCNFSM4OWZRRPQ
.

--

Paul McInnis


Remove with_variant in API docs

What are you trying to accomplish?
The with_variant method was removed in v3.0.0 - this removes its mention from the docs.
Relevant changelog entry: https://github.com/ViewComponent/view_component/blob/main/docs/CHANGELOG.md#v300

There’s also a with_variant test helper mentioned in the testing docs: https://viewcomponent.org/guide/testing.html#action-pack-variants
I thought that might need removed, too, but it seems like that method is still available:
https://github.com/ViewComponent/view_component/blob/bfee458016a21bea3234bb76e74e0b481124663d/lib/view_component/test_helpers.rb#L126
Should that method be deprecated?

@tysongach can you please add your entry the the changelog 🙏

@tysongach I believe this change is incorrect: before v3.0.0, there was another with_variant on Base that allowed the variant to be set at runtime. This lead to abuse of ActionPack variants beyond what we wanted support in the framework.
The remaining with_variant is a helper for setting variants in tests that should remain.


it wont let me play

whenever i start up the game with this mod installed it looks like its booting up fine until the mojang loading screen finishes than it keeps doing the mojang loading screen over and over on loop

Please post your minecraft log


[FEATURE] Intercept Vim-triggered newlines for the Matrix environment \\ shortcut

Description of the Problem
Currently, within a Matrix environment, a \\ symbol is inserted whenever you press Enter. However, if you have have Obsidian's Vim mode enabled, and press o to add a newline and enter Insert mode, no \\ is added.
Description of the Solution
Hypothetically, the plugin would be able to detect the Vim action and add \\ when pressing o, just like when pressing Enter normally.
I don't know if this is possible. If the newline isn't being detected by KeyboardEvent, I assume that Obsidian's does something like this when pressing o:

add the newline through its own systems, undetectable to us
enter Insert mode, where we can now detect inputs (but a bit late for that)

If it is possible to hook into this mechanism, it's not obvious to me how one would do it. I originally planned on making a PR to implement this, but realized I didn't know what direction to go in. I'd love some feedback on whether people think this would be possible, and if so, how it could be implemented.

No luck after some hacking away at this. I was hoping that this line would work:
map o g$a<CR>

However, it seems that Obsidian doesn't recognize  as pressing Enter, which is what Matrix shortcuts expect to insert \\. This would work perfectly if either:

The matrix shortcuts would be able to accept <CR> as a valid newline somehow. Currently, the plugin just taps into keybinds, so I assume this would require extra functionality to tap into what Vim sends to Obsidian.
Some form of vim shortcut could somehow manually trigger the literal Enter symbol rather than <CR>, which the matrix shortcuts would then accept.

This is where I hit a wall when it came to knowledge, and searching didn't help much. If anyone has any knowledge in either of these areas, please let me know.

export function getVimSpecialEnterCommand(settings: LatexSuitePluginSettings): vimCommand {
	return {
		id: "latex-suite-vim-special-enter",
		defineType: "defineAction",
		type: "action",
		action: (cm: CodeMirrorEditor) => {
			//@ts-ignore
			const vimObj: Vim | null = window?.CodeMirrorAdapter?.Vim;
			if (!vimObj) return;
			vimObj.handleKey(cm, "A");
			const event = new KeyboardEvent("keydown", { key: "Enter" });
			cm.getInputField().dispatchEvent(event);
		},
		key: "o",
		context: "normal",
	}
}

something like this? it works, only it puts 2 enters instead of one.

export function getVimSpecialEnterCommand(settings: LatexSuitePluginSettings, plugin: LatexSuitePlugin): vimCommand {
	return {
		id: "latex-suite-vim-special-enter",
		defineType: "defineAction",
		type: "action",
		action: (cm: CodeMirrorEditor) => {
			//@ts-ignore
			const vimObj: Vim | null = window?.CodeMirrorAdapter?.Vim;
			if (!vimObj) return;
			vimObj.handleKey(cm, "A");
			const view = EditorView.findFromDOM(cm.getWrapperElement());
			const ctx = Context.fromView(view);
			runMatrixShortcuts(view, ctx, "Enter", false);
		},
		key: "o",
		context: "normal",
	}
}

fixed it, couldn't figure out how to get the current EditorVIew or whatever is used


Running a python command

Issue Type: Bug
I dont know what happend but when i try to run a python files it is not executing the program previously there used to be a run(button) but now it isnt present i also installed an extension but when i try to run the prigram it just shows me the file location and all but doesnt give any output hey pls i need a solution as soon as possible
and donno why but in output option
it is showing that it is lookin for git and specifies a path usin git it says something. Hope to recieve a solution very soon
VS Code version: Code 1.52.1 (ea3859d4ba2f3e577a159bc91e3074c5d85c0523, 2020-12-16T16:34:46.910Z)
OS version: Windows_NT x64 10.0.18363

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-10300H CPU @ 2.50GHz (8 x 2496)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offopengl: enabled_onprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
7.91GB (3.21GB free)

Process Argv
--crash-reporter-id 65ddc06d-2e63-4eb0-8832-43385a18d92c

Screen Reader
no

VM
0%

Extensions (5)

Extension
Author (truncated)
Version

python
ms-
2020.12.424452561

jupyter
ms-
2020.12.414227025

cpptools
ms-
1.1.3

LiveServer
rit
5.6.1

vscode-icons
vsc
11.0.0

(1 theme extensions excluded)

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
openlogontheside:30221877
python763:30178808
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
python504:30227505
vswsl492cf:30211402
wsl2prompt:30224612
pythonvsdeb440:30237827
unusedprompt:30224610
folderexplorercf:30224615
openfilemenucf:30224648
pythonvsded773cf:30236630

/extPython


Support frontend-web for web client service name

use frontend-web for web client service name

Per commit: https://github.com/open-telemetry/opentelemetry-demo/commit/a5668ad637f29ca40a9aa5b4ea07a2412e0fcd10

This is covered in #619

This was done as part of #619 closing this.


Bugfix/issue 1474 dirichlet rng tiny

Summary:
Add Marsaglia and Tsang PRNG for Dirichlet with alpha < 1
Intended Effect:
Avoid returning NaN values from Dirichlet RNG due to underflow of all gamma variates.
How to Verify:
New unit tests.
Side Effects:
None.
Documentation:
Already exists.
Reviewer Suggestions:
Anyone.

Jenkins, retest this please.

Jenkins, retest this please.

I'm going to reply all at once so as not to spam people.

removed unnecessary include of stan::math::log_sum_exp

the doc is right as written --- the prior count boundary is zero, because the parameter is prior count plus one --- I added a clarifiation note in the doc because this point confuses everyone (not that anyone reads our function doc).

no, gamma is not better behaved at 1e-7 and I do not believe more normalization is necessary.

we can't use y.mean() in place of y / y.sum() because the former is a scalar and the latter is a vector.

Thanks!
On Tue, Jun 9, 2015 at 12:32 PM, Bob Carpenter<EMAIL_ADDRESS>wrote:

I'm going to reply all at once so as not to spam people.

removed unnecessary include of stan::math::log_sum_exp
2.
the doc is right as written --- the prior count boundary is zero,
because the parameter is prior count plus one --- I added a clarifiation
note in the doc because this point confuses everyone (not that anyone reads
our function doc).
3.
no, gamma is not better behaved at 1e-7 and I do not believe more
normalization is necessary.
4.
we can't use y.mean() in place of y / y.sum() because the former is a
scalar and the latter is a vector.
—
Reply to this email directly or view it on GitHub
https://github.com/stan-dev/stan/pull/1483#issuecomment-110423893.

I'm merging this without running through all the tests -- I'm messing with the Jenkins config to handle the math lib change, so it'll fail.
I saw the changes made and it's ok.


Added possibility to focus search on start.

add possibility to focus search on start (default true)
update dependencies, only x.x.part to avoid conflicts and problem
update this library version

Hi, I updated the code. I added the improvements you mentioned in the comment. I hope, now all is fine

LGTM, thank you :+1:


No styles included

I can't find how to include the styles used by this component. The DOM elements get inserted correctly, but no CSS is injected.

Everything depends on module loader. Did you have a look at simple examples:

with SystemJS in ng2-systemjs-demo
with Webpack in ng2-webpack-demo

Thanks, that solved my issue.
Maybe you should put a note on the README about the fact that we need to import the CSS manually.

Ok, will do.

can you please mention that where we need to import the CSS.
I can't find any CSS link in the samples.

I have updated the README.


Check for undefined going to Children.map => Children.toArray

I was trying this out and I found a bug.
If you have no children and call map on the children object then Children.toArray is called with undefined and it returns [undefined] which is a 'mappable' object and the world goes BOOOM because you're trying to access something of undefined. I guess you got the idea...

I'm struggling with this tests. I'll try to pass them on my pc and then I'll submit it again.
Please excuse me for this mess


featurelineItem.payload.features is not empty not working

PHP Version
8
Shopware Version
6.4
Expected behaviour
{% if lineItem.type == PRODUCT_LINE_ITEM_TYPE and lineItem.payload.features is not null %} is still jumping inside the if because is not null does not work and causes output of empty div with margin space.
Instead i use is not empty which works.
Actual behaviour
{% if lineItem.type == PRODUCT_LINE_ITEM_TYPE and lineItem.payload.features is not null %} is still jumping inside the if because is not null does not work and causes output of empty div with margin space.
Instead i use is not empty which works.
How to reproduce
{% if lineItem.type == PRODUCT_LINE_ITEM_TYPE and lineItem.payload.features is not null %} is still jumping inside the if because is not null does not work and causes output of empty div with margin space.
Instead i use is not empty which works.

Hello,
Within our company roadmap and work capacity, we try to address each bug or improvement request but admit that not each one will be resolved. To continue our culture of honesty and openness, we are closing this issue to focus on our roadmap on behalf of all Shopware users.
If you feel like this issue is still impacting you, please create a new issue and let us know.
Thank you again for your valuable feedback.


case-flags-2-1-fixes

Before creating a pull request make sure that:

[ ] commit messages are meaningful and follow good commit message guidelines
[ ] README and other documentation has been updated / added (if needed)
[ ] tests have been updated / new tests has been added (if needed)
[ ] the enable_keep_helm label has been added, if the helm release should be persisted after a successful build

Please remove this line and everything above and fill the following sections:
JIRA link (if applicable)
Change description
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[ ] No

no longer needed. all merged


added force modifier

I believe this works.

Makes sense. Fixed. (Sorry for the force pushes. I messed up my history a bit)

The least I can do for using your awesome work!


Branch page for private/xpsp_mce gives 404 ...

The branch page for private/xpsp_mce gives 404 due a forward slash in the name ...
https://buildfeed.net/lab/private/xpsp_mce

God I hate Microsoft. What dipshit thought it was a good idea to put a slash in a lab name.


(feat): added ns in target spec in mutate rule

Description

Fixes # (issue)
Does this PR introduce a breaking change?
Checklist

[x] PR title follows the <type>: <description> convention
[ ] I use conventional commits in my commit messages
[ ] I have updated the documentation accordingly
[x] I Keep It Small and Simple: The smaller the PR is, the easier it is to review and have it merged
[x] I have performed a self-review of my code
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

Additional information for reviewer
Mention if this PR is part of any design or a continuation of previous PRs

@shivaccuknox are you trying to say namespaced np or clusterscoped np?


rgw/admin: add an interface around the HTTP Client and mocking

Partially solve https://github.com/ceph/go-ceph/issues/508.
I'm saying "partially" since @phlogistonjohn we need to see if we keep Debug or not.

Checklist

[ ] Added tests for features and functional changes
[ ] Public functions and types are documented
[ ] Standard formatting is applied to Go code

Changes look pretty good so far.
As for "Debug or not" I don't think we need to retain it for backwards compatibility as the whole of rgw/admin was already preliminary/alpha state. Personally, I would prefer we drop Debug and the "built in" dependency on logging in rgw/admin. But it doesn't need to all be done in this PR FWIW - I'd be happy to approve this and change (or discuss changing) Debug in a new pr.

Yes, it'd be nice to discuss a bit how/when to remove the Debug entry in another PR. Thanks!

@Mergifyio rebase

@ansiwen I guess my approval is treated as second approval and gives mergify bot to merge the PR. Apologies for the trouble, hence requesting @leseb please address @ansiwen comments as separate PR

@ansiwen I guess my approval is treated as second approval and gives mergify bot to merge the PR. Apologies for the trouble, hence requesting @leseb please address @ansiwen comments as separate PR

Well, it was my own fault, because I didn't select "request changes". 🤷♂


Possible issue:  should the  "types": [] be included in the tsconfig.app.ts

Bug Report or Feature Request (mark with an x)
- [ X] bug report -> please search issues before submitting
- [ ] feature request

Versions.

@angular/cli: 1.0.2
node: 7.7.4
os: win32 x64
@angular/common: 4.1.1
@angular/compiler: 4.1.1
@angular/core: 4.1.1
@angular/forms: 4.1.1
@angular/http: 4.1.1
@angular/platform-browser: 4.1.1
@angular/platform-browser-dynamic: 4.1.1
@angular/router: 4.1.1
@angular/cli: 1.0.2
@angular/compiler-cli: 4.1.1
Repro steps.

Create a new project using the CLI.
add types to the project, for example (    "@types/googlemaps": "^3.26.11",)
when you try to use the google maps types in your code cli complains in about google maps not found.
The log given by the failure.

Desired functionality.

from https://www.typescriptlang.org/docs/handbook/tsconfig-json.html

By default all visible “@types” packages are included in your compilation.
Specify "types": [] to disable automatic inclusion of @types packages.

Removing the   "types": [] from tsconfig.app.ts solves the error, keeping it, will require declare var google: any; to be declared in your component to use the types, which is not type safe.
Am I missing something or we should not include in tsconfig.app.ts when we create a new project?
Mention any other details that might be useful.

The intent is for types to be opt-in for the app.  The types needed would be added to the empty array.  This prevents types necessary to unit and e2e testing from being erroneously included within the app (e.g., node or jasmine typings).

so I would the types for google maps in this array?

@daBishMan yes, like so: types:[ "@types/googlemaps"].
Leaving them opt-in is better for setups where a single project supports multiple apps, and they use different typings. In the case of the CLI, there are 3 apps (e2e, app, specs) and each of them really shouldn't automatically have access to the other's typings (e.g. your app should use describe, only specs should).


buttons in the toolbar are forced to be IconButton

Is it possible to override IconButton in the toolbar? May be CustomControl should propagate all of the props to IconButton so we can replace component in there (I would like to be able to insert something completely custom in there).

@kanekv Thanks for using the package. The idea is useful so I implemented it on version 1.9.0. You can check the updated custom controls example and the updated documentation for more details on how to use it.
Hopes it helps!

Awesome! Thanks for quick reply!


Whitelist abbr tags with title

Summary
Adding abbreviation tags to the whitelist for tags allowed to have a title attribute.
Motivation and Context
Fixing https://github.com/bbc/bbc-a11y/issues/281
How Has This Been Tested?
Added a new test to the multi-tiers that covers the scenario of <abbr> with a title existing within a page.
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)

Checklist:

[x] I've added tests for my code
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.

Hi,
Sure - let's discuss it in the relevant issue? https://github.com/bbc/bbc-a11y/issues/281
This keeps the discussion where the problem was raised 👍

@JamieKnightBBC as you know the  tag is intended to be used for all types of abbreviation, when appropriate, and using a title attribute to expand or define is encouraged (https://www.w3.org/TR/WCAG20-TECHS/H28.html). This does not preclude the need for the expanded version to be used earlier or elsewhere in the content to assist understanding, or the addition of an aria-label attribute to improve pronunciation for screen reader users when needed.
MAG states "Tooltips must not repeat link text or other alternatives" meaning text alternatives. https://www.bbc.co.uk/guidelines/futuremedia/accessibility/mobile/text-equivalents/tooltips-and-supplementary-information. A title attribute on an  element should not flag up as a bbc-a11y accessibility fail because it is not necessarily critical information, nor is it repeating the text or alternative text of the element.
That said...
@sbeaumontweb not all abbreviations require , which can break screen reader flow, eg. commonly known acronyms like BBC and NATO are usually fine without them.  tags are not interactive by default, so a keyboard or switch user cannot trigger the tooltip that some mouse users may see if they hover for long enough. And most screen reader users won't hear the title attribute, for a variety of reasons.
https://stackoverflow.com/questions/32888344/abbr-element-aria-label-or-title-attribute is an interesting read. So is https://openinclusion.com/blog/presenting-abbreviations-acronyms-for-screen-reader-users/.

I don't consider a title attribute on an <abbr> element to be an accessibility fail, however, that is not the same as implying the title attribute makes the element fully accessible.
 Or would such warnings muddy the waters?
I guess the conversation at #281 might guide thoughts on that.

@sbeaumontweb thanks for removing the version number change. I'm not sure why the checks are failing. I'm also not sure the conversation around this change has been resolved.
It's a tough one. title attributes on a <abbr> are not strictly an accessibility fail, but they are also not sufficient to make the content accessible. The MAG requires tooltips do not repeat the element content, and for HTML the recommended best practice is not to use title on elements other than form inputs without explicit labels. Yet, I am aware iframes also use title and are in the list of excluded elements for this test for similar reasons.

@sbeaumontweb I'm aware sport came up with a different solution for abbreviated names. Do you know if anything should change about this PR? Should it still go ahead? Would this be one for someone else to pick up, or could you fit it in?

I'm going to close this as no definite decision came out of the relevant issue discussions.


Tons of errors when running Platformer 2D project

Godot version:
3.1 beta 8
OS/device including version:
Windows 7 x64
Issue description:

Download and install "Platfromer 2D" from Templates,
Run the game

Result:
Tons of error (like 10 error in a second):
E 0:00:01:0311   Index p_bounce=-1 out of size (colliders.size()=0)
  <C Source>     scene/2d/physics_body_2d.cpp:1411 @ _get_slide_collision()
  <Stack Trace>  Player.gd:104 @ _move()
                 Player.gd:71 @ _physics_process()

and it points to line:
var get_col = get_slide_collision(get_slide_count()-1)
I'm newbie, so I not sure if it expected and project is broken. I thought I should just report this.

get_slide_collision returns a KinematicCollision2D object. If there's no object (or nothing to be collided with that can return that type), then get_col will be null. Hence the error messages.

Might be because get_slide_count() returns 0 if there has been no collision, so it tries to access get_slide_collision(-1) which obviously doesn't work.
You can solve this by using:
if get_slide_count() > 0:
	var get_get_col = get_slide_collision(get_slide_count()-1)

This doesn't look like Godot bug, so closing.
Also the only Platformer 2D I see on Asset Lib is unofficial.


Program names seem to be case sensitive

Brief description of your issue
It is possible to upload program manifests that include names that are case sensitive.
Steps to reproduce
Run
winget install gimp
Expected behavior
Latest version of Gimp is being installed.
Actual behavior
Multiple apps found matching input criteria. Please refine the input.
Name Id        Version Matched
------------------------------------
GIMP Gimp.Gimp 2.10.0  Moniker: gimp
GIMP gimp.gimp 2.10.18 Moniker: gimp

Environment
Windows: Windows.Desktop v10.0.19628.1
Package: Microsoft.DesktopAppInstaller v1.0.41331.0

I found that I had to use syntax like this:
winget show -e gimp.gimp

And despite what the help says, I could never use the --version switch.

Yes, --version seems not to help.
PS C:\Users\ingo> winget install gimp --version 2.10.18
Multiple apps found matching input criteria. Please refine the input.
Name Id        Version Matched
GIMP Gimp.Gimp 2.10.0  Moniker: gimp
GIMP gimp.gimp 2.10.18 Moniker: gimp

I see the confusion here.  We need to do a better job with examples and possibly commands/syntax.  The current behavior 0.1.41331 has -v or --version as a "command" to tell you what version of the winget client is installed, and an "option" to specify a version of a package.
winget --version"`v0.1.41331 Preview'"
'winget show git.git --version 2.25.1` Shows some metadata for the specified version of the manifest
winget install git.git -v <IP_ADDRESS> installs the specified version of git
In the "install" command, the same --version or -v does something different.

Okay, but in this issue -v doesn't work either.
PS C:\Users\ingo> winget install gimp.gimp -v 2.10.18
Multiple apps found matching input criteria. Please refine the input.
Name Id        Version
----------------------
GIMP gimp.gimp 2.10.18
GIMP Gimp.Gimp 2.10.0

It's not possible to specify an id in this case either
PS C:\Users\Chris> winget install --id gimp.gimp -v 2.10.18
Multiple apps found matching input criteria. Please refine the input.
Name Id        Version
----------------------
GIMP gimp.gimp 2.10.18
GIMP Gimp.Gimp 2.10.0

This worked for me.
winget install -e gimp.gimp

Surely the right answer is to make the tool obey Windows defaults, and be case insensitive.  OR make another tool called  LinuxGet or Linget.exe.

winget install -e gimp.gimp may work, but that's not a solution, it's a workaround.
Id's should be case insensitive und unique. . It's rediculous to have a package with the id "gimp.gimp" and one with "GIMP.GIMP". That only brings chaos to the repositories.
Do you want multiple versions of the same package in a repository? (It's not a rhetorical question, I would like to know). Then packages of the same software should have identical ids and different versions. And please add a --latest command switch.
PS: found another one. same id AND same version:
PS E:\> winget search coretemp
Name     Id             Version
--------------------------------
CoreTemp alcpu.coretemp <IP_ADDRESS>
CoreTemp alcpu.CoreTemp 1.15.1

IN this day age, why is case sensitivity even an issue? Except for legacy commands really should be case insensitive although capable of remembering case.
And even worse, If I attempt to install the coreremp package, I get:
PS C:\foo> winget install coretemp
Multiple apps found matching input criteria. Please refine the input.
Name     Id             Version
--------------------------------
CoreTemp alcpu.coretemp <IP_ADDRESS>
CoreTemp alcpu.CoreTemp 1.15.1

How do I 'refine' the input?  And since the "help" text says that the default is the later version why is this just not working (and installing coretemp)?

How do I 'refine' the input?  And since the "help" text says that the default is the later version why is this just not working (and installing coretemp)?

I think you refine it by using the -e  (exact) parameter, or there would be no way to install it.

Then why doesn't the error message say so?
Good commands have actionable output.

My actual first experience with the product. Please make sure the product is case-insensitive like the rest of Win32.  Otherwise, your product will quickly become unusable.  This is not Linux and even if the future plan is to integrate Linux/Android apps, real-world distros like Debian use decent naming conventions to avoid this very issue.
Therefore, I urge you to just make things case-insensitive and possibly add a vendor field (backed by digital signature) rather than putting the vendor name in the ID.

C:\Users\Martyn>winget install GIMP.GIMP -v 2.10.20 --id gimp.gimp
Multiple apps found matching input criteria. Please refine the input.
Name Id        Version
GIMP GIMP.GIMP 2.10.20
GIMP gimp.gimp 2.10.8
C:\Users\Martyn>winget install GIMP.GIMP -v 2.10.20 --id gimp.gimp -e
No app found matching input criteria.
C:\Users\Martyn>winget install --id gimp.gimp
Multiple apps found matching input criteria. Please refine the input.
Name Id        Version
GIMP gimp.gimp 2.10.8
GIMP GIMP.GIMP 2.10.20
C:\Users\Martyn>winget install --id gimp.gimp -e
Found GIMP [gimp.gimp]
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://download.gimp.org/mirror/pub/gimp/v2.10/windows/gimp-2.10.8-setup.exe
██████████████████████████████   189 MB /  189 MB
Successfully verified installer hash
Installing ...
Successfully installed!

Sorry, was unaware of the github magic incantation that was closing the issue based on the PR.  Will avoid that in the future so that the issue can stay open until it is publicly available.


openCheckInterval should not connect again when state is "connecting"

Currently, the "openCheckInterval" feature tests if the connection is still open by checking if state is equal to or different from "open":
https://github.com/ChlodAlejandro/wikimedia-streams/blob/344e08bac7b477576a2745afb6e65806492dd98d/src/index.ts#L379-L384
But a connection may be in state "connecting" (initial connect, or automatic reconnect). So, if checking while the connection is in this state, "openCheckInterval" will call open(), creating a new connection and dropping the current one. Which means an endless loop if connecting takes more than 1 second.
To address this, we should check instead: if (this.eventSource.readyState === this.eventSource.CLOSED).
Refs:

HTML Standard - Server-sent events (search for "readyState" and "connecting")
Is an EventSource (SSE) supposed to try to reconnect indefinitely? on Stack Overflow

Addressed in 79f2078256e878e5141ad3e656590e524e1cbc03.


instalation problems

Checking installed tools
[] emailfinder                [NO]
[] ripgen                     [NO]
[] trufflehog                 [NO]
[] porch-pirate                       [NO]
Try running the installer script again ./install.sh
If it fails for any reason try to install manually the tools missed
Finally remember to set the ${tools} variable at the start of this script
If nothing works and the world is gonna end you can always ping me :D
using wls2 ubuntu
also
Traceback (most recent call last):   File "/root/Tools/dorks_hunter/dorks_hunter.py", line 7, in <module>     from fake_useragent import UserAgent ModuleNotFoundError: No module named 'fake_useragent' dorks_hunter command failed
Python 3.12.1, pip 24.0

WSL is not supported by anyway or form

had same problem while use debian 11, python 3.11.5...


Improve README.md content a bit

I made a few adjustments:

I added a Why? section to explain how nv is different from other tools
I made sure nv is always refered to as “nv” and not just “nv”
I refactored the Install section content to avoid having a separate Build the Source section
I made a few typo + link tweaks 😄

Hope you like it!

Thanks for the great PR. Much appreciated.


[INLONG-9066][Manager] Renaming group related states

Prepare a Pull Request

Fixes #9066

Motivation
Renaming group related states.
SUSPENDING rename to CONFIG_OFFLINE_ING.
SUSPENDED rename to CONFIGURATION_OFFLINE.
RESTARTING rename to CONFIG_ONLINE_ING.
DELETING rename to CONFIG_DELETING.
DELETED rename to CONFIG_DELETED.
Delete RESTARTED.
Modifications
Renaming group related states.

@fuweng11, please add more descriptions for the new stats. Thanks.

@fuweng11, please add more descriptions for the new stats. Thanks.

done.


chore(main): release 2.6.6

:robot: I have created a release beep boop
2.6.6 (2024-09-11)
Bug Fixes

chat: #190 folding slash commands in nightly (8276e79)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v2.6.6
:sunflower:


Command Help

Can you send me the command to make my website running with port 3000 , subdomain gr-developer, and no friendly reminder page? Pls
For Windows

@sintyx-host unfortunately there's no way to get around the friendly reminder page using the public localtunnel server instance (for security and abuse reasons). Feel free to host a localtunnel server on your own domain to avoid having a reminder page :)


Readme: JAM TESTNET Roadmap Year

Q1 2024: We hope a similar number of teams can run through guaranteeing, assuring and auditing with preimages with a small battery of work packages. We imagine M1 test vectors would be available at this time for teams to test against as well.
Q2 2024: We hope a similar number of teams can finalize with GRANDPA and BEEFY, use BLS and reach conformed
Should this be :
Q1 2025
Q2 2025
?

Fixed!


widen dependency tool support

gl.inet device has limited binaries.
closes #18

am failing to sign this commit as don't want to figure out gpg and ssh key is going to be deleted in a moment...

Closes as it this PR didn't work right with od. I had to strip the leading whitespace as well otherwise in some cases the clientid that is generated is incorrect or the script errors out. See: https://github.com/rany2/warp.sh/pull/21


Inconsistent using MAX in enums

Godot version:
3.1.1
Issue description:
Sometimes enums have last value enum_MAX but sometimes not, probably i will be better to add MAX value to (almost) all enums

I'm not sure it's necessary to add _MAX values to all enums, those are only meant for enums where you would typically iterate over their values (e.g. for (int i = 0: i < ALIGN_MAX; i++)).
For many enums (especially those which are a list of constants to use individually, like KeyList, this doesn't really make sense.


dockerfile-parse creates a Dockerfile file

When I run
from dockerfile_parse import DockerfileParser

dfp = DockerfileParser()
dfp.content = """\
From  base
LABEL foo="bar baz"
USER  me"""

it creates a Dockerfile locally. This is unexpected. Is it possible to not do that?

Not in the current code. It'd require a serious refactor.
You can specify path to tempdir in init to avoid issues with creating local Dockerfiles

Not in the current code. It'd require a serious refactor.
You can specify path to tempdir in init to avoid issues with creating local Dockerfiles

IMHO the docstring for DockerfileParser.__init__ ought to be updated to reflect how the code actually works, in that it uses the current working directory by default.
To change this behaviour, you can pass in a temporary directory for path, or an io.BytesIO object or whatever for fileobj.

IMHO the docstring for DockerfileParser.__init__ ought to be updated to reflect how the code actually works, in that it uses the current working directory by default.
To change this behaviour, you can pass in a temporary directory for path, or an io.BytesIO object or whatever for fileobj.

Ideally, all the operations could be in-memory by default, and write to a file with an explicit method call like write, or the fileobj is provided to __init__.
BTW, stream would be a better name than fileobj to keep consistent with other functions and methods in the Python standard library.

Ideally, all the operations could be in-memory by default, and write to a file with an explicit method call like write, or the fileobj is provided to __init__.
BTW, stream would be a better name than fileobj to keep consistent with other functions and methods in the Python standard library.


Improve dependencies management

Add checkov, shellcheck, yamllint to the documented dependencies
Add checkov to install.sh
Uses multi-stage builds for grpc-cli

Signed-off-by: Romain Arnaud<EMAIL_ADDRESS>

/retest


Remove Anchorage from member list

Closes https://github.com/bitcoinops/bitcoinops.github.io/issues/315

Thanks @bitschmidty! And thanks to Anchorage for their support for one year.


Add Airbnb linter

Closes #4
This commit adds the Airbnb linter to the project and refactors the codebase accordingly. I made a few changes to the default behavior of the linter, which I believe will better suit our needs.

Allowing files with the "js" file extension to contain JSX as well, rather than just files with the "jsx" extension.
Allowing the expo status bar (line 46/64 of App.js) to accept a string style property, rather than an object. Since this is not a React component, its style is configured differently. See https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/style-prop-object.md and https://docs.expo.dev/guides/configuring-statusbar/.
Allowing the icon button style property type (line 19 of icon-button.js) to be defined as an object, since manually defining every style key or importing another package seemed unnecessary. See https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/forbid-prop-types.md.

Should any revisions be made to its behavior?

All these changes sound reasonable. If for some reason anything comes up we can resolve it with another PR.


Replaced DeveloperErrors with Check for CylinderOutlineGeometry.js

Worked on previously discussed issue #4794 , for file Source/Core/CylinderOutlineGeometry.js

Awesome, thanks @rms13!
@omh1280 can you please review this?

Congrats on your first pull request!
Thanks for the review, @omh1280.


console-api-experiment-tags

🚀 Deployed on https://639cc4a0a7d04309a9040a39--cozy-fox-0defec.netlify.app


Origin sync

https://github.com/gogcom/galaxy-integrations-python-api/blob/6a1d2763c374bbcfea960310c7f81fbde131fbf0/PLATFORM_IDs.md?plain=1#L11

Not sync for me


Purge or Delete

So you've done the eDiscovery search, found the message you want, how do you then Purge or Delete the message?  (Your boss has asked you to remove a rant from a disgruntled employee in a teams meeting channel yet even the Organizer of that meeting has no delete ability etc...?)

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

ID: eb41d287-f954-dc84-782c-de8fa3c1ea0d
Version Independent ID: 0081aa8b-87dd-aef2-aaeb-61caa8f20351
Content: Teams workflow in Advanced eDiscovery - Microsoft 365 Compliance
Content Source: microsoft-365/compliance/teams-workflow-in-advanced-ediscovery.md
Service: o365-seccomp
GitHub Login: @markjjo
Microsoft Alias: markjjo

@mattsmacblog Closing as a duplicate of the other github issue opened about the same issue. As per the search and purge article you cited, you can't use eDiscovery tools to delete Teams content. I would suggest you contact Microsoft Support concerning this issue.


vim-isort will be disabled

Hi !
I have the following problem when editing a py file. I use nvchad and pyenv.
I configured init.lua with vim.g.python3_host_prog = '/usr/bin/python3' and providers server enabledcand and isort installed
I have the following problem when editing a py file.
.local/share/nvim/lazy/vim-isort/plugin/python_vimisort.vim[140]..function provider#python3#Call[9]..remote#host#Require[10]..provider#pythonx#Require[12]..pro
vider#Poll, en la línea 7
Vim(if):Error invoking 'poll' on channel 3:^@Invalid channel: 3
REgards
TAnks !

Hi @afreisinger ,  Sorry, I'm not very familiar with NVChad.  If you are using the Starter Kit here I can probably be more helpful.


chore(master): release 3.8.3

:robot: I have created a release beep boop
3.8.3 (2024-05-10)
Bug Fixes

add description for saveJson parameter (1a66676)
readme: add description for saveJson parameter (#194) (1a66676)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/LironEr/cypress-mochawesome-reporter/releases/tag/v3.8.3 :sunflower:


Add plus/minus indicator on score and tetris lead metrics

NTC doesn't have a plus/minus indicator because the assumption was that it is redundant to the lead color (green/red).
It was brought to my attention that color indicator only is not great for color blind people, and the plus/minus indicator has value and should be added to NTC.
An additional consideration for dropping the plus/minus indicator is that it adds one extra characters which can mess up the display when width is tight. Solution to that: under the assumption that layouts supports 7 characters scores, add a plus/minus indicator only if the diff is less than 1M.
TODO: figure out width consideration for the tetris lead (currently tetris lead is always displayed at 4 characters)

Implemented with https://github.com/timotheeg/nestrischamps/commit/0c17c2e92317689e150b93f8a04269e2d7fff92a
If any comp is having issues with the indicator, it can be turned off by adding to the player options:
plus_minus_lead_indicator: false


During API Creation, Amplify CLI Appears to Hang Until Editor is Closed

Please update instructions to warn users that they may need to close their editor after editing and saving their GraphQL code. Otherwise, the Amplify CLI appears to hang.

This is a know bug in Amplify CLI found here: aws-amplify/amplify-cli#429
Will update the docs to reflect that if the CLI is hanging you have to manually quit the editor.
Thanks for helping!


Cowboy Code API 29+ scoped storage issue

Scoped Storage changes don't allow you to pull from any directory. We can borrow some code from the other shot repo and how they fixed 29+. Note: I only changed runtime and not plugin
https://github.com/pedrovgs/Shot/commit/c9b7ccb631c0a7a8be6c1d9c9cd802718d63aa00

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Should fix #8


Make talks table into bulleted list?!

@isabelcosta  can work on this issue?

@Shashwati-tidke thank you for your interest in improving my personal website 🤗
I don't have a clear picture of how the talks table would look like as a bulleted list 🤔
Feel free to send a PR if you want :)

Ok .Cool :)


[BUG] Footer is not in Correct Position

Describe the bug
In the contribution page Footer position is wrong.
Screenshots

Can you please elaborate as I want to work on this issue.

I believe it is just the end of the contributing page. Adding either more content or making the text appear bigger on bigger screens would help fill out the screen more. It looks fine on mobile.

completed visit projest


feat: Add Array Support to EXTR serializer

Required for all PRs

[x] Updated associated README.md.
[x] Wrote appropriate unit tests.
[x] Pull request title or commits are in conventional commit format

resolves #

Initial review.  Still need to add test cases to extr_test.go

Looks good to me, but I can't read GO :) Will test this on the VOSS LLDP implementation, and confirm it works as expected

I'll hold off merging this back in into extr_1.21 until I get confirmation from you.

This was tested with LLDP events and looks good.
Thanks for adding this.


Default Zebrunner Amazon Linux2 ami hasn't git installed

closing as won't fix. we have only single ubuntu in aws marketplace for support - that's enough


To define ApplicationType as a new CRD

Looking into the Application definition, how do we manage common metadata for sample type of application. For example if we have a lot of "SpringBoot" applications, some of the metadata should be same, it will be duplicated in each same type of application and it will be hard to maintain.

Application definition

I agree with you that we need a field or a type to describe such info. This is the reason why I was also proposing in #68 to extend the Application CRD with Component CRD (and having a one to many relation) including such info
Example
apiVersion: component.k8s.io/v1alpha1
kind: Component
metadata:
  name: my-spring-boot
spec:
  deployment: innerloop
  packaging: jar
  type: application
  runtime: spring-boot          # Could be renamed to applicationType
  version: 1.5.15
  exposeService: true

related to: https://github.com/kubernetes-sigs/application/issues/63


Compare output between Zed2 and Realsense in outdoor enviroments

ZED
Realsense D435i

method
passive stereo vision
active IR stereo

range
0.3 - 25 m
0.3m - 3m

FoV
90°x60°
86°x57°

depth accuracy
1% near, up to 9% at far range
<2% at 2m

depth resolution
2k @ 15fps 1080p @ 30fps
1280x720 @ 30fps

outputs
left video right video depth mapIMUcamera positionconstructed 3D map
left IR video  right IR video RGB videodepth mapIMUcolor point cloud

more to follow

The ZED 2 camera seems to be a good choice for SLAM applications for its great image resolution, robustness to light and outdoor scenarios, and long range. It's already mounted on the robot as well, however, it uses cuda so requires Nvidia GPU on board. I found some literature suggesting that the Realsense camera is better suited for close-range crop inspection purposes:

Sensors which only use visible light imaging struggle to find correspondences in plants due to heavy (self-)occlusion and lack of surface texture. Most crops have smooth and shiny surfaces with few salient textural features and also appear similar in colour all over [1]. This suggests that active IR technology of the Realsense camera is more suited for close-range inspection of the plants.
[2] report that the ZED (previous generation to the ZED 2) camera is prone to flaws and inaccuracies at close range, including depths errors
The comparison study in [3] found the ZED camera (previous generation to the ZED 2) not suitable for fruit inspection based on a number of tests on different materials and lighting conditions, especially in comparison with other RGB-D devices.
Considering Kinect: A comparison in [4] shows that the Kinect ii depth performance drops at higher light intensities and especially in direct sunlight, much more so than for the Intel d435.

[1] Pound, M.P., French, A.P., Murchie, E.H. and Pridmore, T.P., 2014. Automated recovery of three-dimensional models of plant shoots from multiple color images. Plant physiology, 166(4), pp.1688-1698.
[2] Condotta, I.C., Brown-Brandl, T.M., Pitla, S.K., Stinn, J.P. and Silva-Miranda, K.O., 2020. Evaluation of low-cost depth cameras for agricultural applications. Computers and Electronics in Agriculture, 173, p.105394.
[3] Wang, Z., Walsh, K.B. and Verma, B., 2017. On-tree mango fruit size estimation using RGB-D images. Sensors, 17(12), p.2738.
[4] Vit, A. and Shani, G., 2018. Comparing RGB-D sensors for close range outdoor agricultural phenotyping. Sensors, 18(12), p.4413.

Here are some images taken from [2]. The left panel shows the depth map recorded by the ZED camera (first generation), right shows the Intel RealSense D435. The image below shows RGB image of the tested scenario for reference.


nix: add flake

This PR adds a Nix Flake for building and distributing the binary.
Example Usage
$ nix run "git+https://github.com/rustformers/llm?submodules=1"
A CLI for running inference on supported Large Language Models. Powered by the `llm` library.

I don't have a working NixOS setup, so I trust this works 😅

Flakes doesn't always work as expected with git submodules, but this command is verified to work now:
nix run "git+https://github.com/rustformers/llm?submodules=1"


When compiling to WASM for js use (GOOS=js) im getting a memory allocation errors

with go builtin regexp it works, with this module not
errors:
runtime: out of memory: cannot allocate<PHONE_NUMBER>-byte block (4030464 in use)
 fatal error: out of memory

goroutine 1 gp=0x18001c0 m=0 mp=0x3efee0 [running]:
runtime.throw({0x7dca0, 0xd})
  /opt/homebrew/opt/go/libexec/src/runtime/panic.go:1023 +0x3 fp=0x1813618 sp=0x18135f0 pc=0x12630003
runtime.(*mcache).allocLarge(0x13e0108, 0x100000000, 0x1)
   /opt/homebrew/opt/go/libexec/src/runtime/mcache.go:236 +0x1f fp=0x1813668 sp=0x1813618 pc=0x1114001f
runtime.mallocgc(0x100000000, 0x2cbc0, 0x1)
  /opt/homebrew/opt/go/libexec/src/runtime/malloc.go:1165 +0xab fp=0x18136f0 sp=0x1813668 pc=0x10c700ab
runtime.makeslice(0x2cbc0, 0x100000000, 0x100000000)
    /opt/homebrew/opt/go/libexec/src/runtime/slice.go:107 +0x12 fp=0x1813718 sp=0x18136f0 pc=0x13440012
 github.com/tetratelabs/wazero/internal/wasm.NewMemoryInstance(0x180c9b0)
   /Users/nitzan/go/pkg/mod/github.com/tetratelabs/wazero@v1.7.0/internal/wasm/memory.go:92 +0xc fp=0x1813780 sp=0x1813718 pc=0x1fad000c
github.com/tetratelabs/wazero/internal/wasm.(*ModuleInstance).buildMemory(0x18b2400, 0x1800e00)
 /Users/nitzan/go/pkg/mod/github.com/tetratelabs/wazero@v1.7.0/internal/wasm/module.go:658 +0x5 fp=0x18137a8 sp=0x1813780 pc=0x1fd20005
github.com/tetratelabs/wazero/internal/wasm.(*Store).instantiate(0x1836180, {0xcf440, 0x43d7e0}, 0x1800e00, {0x7a473, 0x3}, 0x18bc9c0, {0x43d7e0, 0x0, 0x0})
  /Users/nitzan/go/pkg/mod/github.com/tetratelabs/wazero@v1.7.0/internal/wasm/store.go:366 +0x1e fp=0x1813910 sp=0x18137a8 pc=0x1fee001e
github.com/tetratelabs/wazero/internal/wasm.(*Store).Instantiate(0x1836180, {0xcf440, 0x43d7e0}, 0x1800e00, {0x7a473, 0x3}, 0x18bc9c0, {0x43d7e0, 0x0, 0x0})
  /Users/nitzan/go/pkg/mod/github.com/tetratelabs/wazero@v1.7.0/internal/wasm/store.go:325 +0x2 fp=0x1813998 sp=0x1813910 pc=0x1fed0002
github.com/tetratelabs/wazero.(*runtime).InstantiateModule(0x1830c30, {0xcf440, 0x43d7e0}, {0xcfc78, 0x184a540}, {0xd05b0, 0x18d6000})
   /Users/nitzan/go/pkg/mod/github.com/tetratelabs/wazero@v1.7.0/runtime.go:312 +0x20 fp=0x1813aa0 sp=0x1813998 pc=0x20cb0020
 github.com/tetratelabs/wazero.(*runtime).InstantiateWithConfig(0x1830c30, {0xcf440, 0x43d7e0}, {0x341920, 0x1c, 0x1c}, {0xd05b0, 0x18d6000})
   /Users/nitzan/go/pkg/mod/github.com/tetratelabs/wazero@v1.7.0/runtime.go:277 +0x7 fp=0x1813b00 sp=0x1813aa0 pc=0x20ca0007
github.com/wasilibs/go-re2/internal.init.0()
   /Users/nitzan/go/pkg/mod/github.com/wasilibs/go-re2@v1.5.2/internal/re2_wazero.go:170 +0x3e fp=0x1813e28 sp=0x1813b00 pc=0x213a003e
 runtime.doInit1(0x340dd0)
   /opt/homebrew/opt/go/libexec/src/runtime/proc.go:7176 +0x19 fp=0x1813f68 sp=0x1813e28 pc=0x131a0019
runtime.doInit(...)
  /opt/homebrew/opt/go/libexec/src/runtime/proc.go:7143
runtime.main()
  /opt/homebrew/opt/go/libexec/src/runtime/proc.go:253 +0x62 fp=0x1813fe0 sp=0x1813f68 pc=0x12850062
runtime.goexit({})
   /opt/homebrew/opt/go/libexec/src/runtime/asm_wasm.s:434 +0x1 fp=0x1813fe8 sp=0x1813fe0 pc=0x14d20001

Hi @nitzan-entro - thanks for the report! The root issue was that due to the way Wasm memory sandboxing works, we need to preallocate virtual (not physical) memory for the sandbox and were defaulting to 4GB for it, while auto-detecting total memory to reduce further where needed. But since the autodetection doesn't work with GOARCH=wasm, this used 4GB which would be the limit on Wasm, and impossible if any other bit of memory is used.
I have added detection for wasm arch to reduce our allocation and have confirmed that I can run a simple executable now with wasmtime (I have not checked browser). Can you try the latest commit and see if it solves your issue? Note, since GOARCH=wasm is a very uncommon platform, I will likely not release a patch version for this and wait for the next release.
Also as a note, it will be interesting to see how this performs for you - the code will use wazero's interpreter mode for executing re2, which on a normal platform (e.g., linux/amd64, darwin/arm64) will be much slower than Go's default regexp package. I'm not familiar with the latter's performance patterns on wasm so let us know if this package works better, no promises though 😉


Placeholder Precomputed Scales

Hi Jeremy,
My lab has been using "placeholder" mips to keep different versions of datasets numerically aligned in "mip" sequence. Recently, an improvement to neuroglancer made it so that these placeholders with no data display black.
https://github.com/google/neuroglancer/commit/796cc7dbeb9610e3b1203493d185d87c15aed680
Would it be possible to support either toggling off the fill value or alternatively, supporting a "hidden": true attribute on scales to avoid displaying them in Neuroglancer? @chrisj brought this to my attention.
Thank you so much!

How about setting their shape to [0,0,0]?
Although if it is the first level that would be problematic.
On Thu, Mar 2, 2023, 15:43 William Silversmith @.***>
wrote:

Hi Jeremy,
My lab has been using "placeholder" mips to keep different versions of
datasets numerically aligned in "mip" sequence. Recently, an improvement to
neuroglancer made it so that these placeholders with no data display black.
796cc7d
https://github.com/google/neuroglancer/commit/796cc7dbeb9610e3b1203493d185d87c15aed680
Would it be possible to support either toggling off the fill value or
alternatively, supporting a "hidden": true attribute on scales to avoid
displaying them in Neuroglancer? @chrisj https://github.com/chrisj
brought this to my attention.
Thank you so much!
—
Reply to this email directly, view it on GitHub
https://github.com/google/neuroglancer/issues/446, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABAEJ2TICLT3WN6C5ZQYNW3W2EWCBANCNFSM6AAAAAAVN7423I
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

The first level is used by Neuroglancer to determine the clip bounds, so if it has a shape of [0,0,0] then that won't work.
I think a hidden attribute would be fine.
Do you want it to completely ignore the scale, e.g. basically behave as if the scale did not exist, or still use the first scale (even if hidden) to determine clip bounds and units to use for the global coordinate space by default?

I think it would be most natural in Neuroglancer to just have "hidden" mean completely ignored, in which case the clip bounds would instead come from the first visible scale.  Presumably that would only differ by a small amount.  Do you think that would work for you?

I think one thing we want from this is for Neuroglancer to display the coordinates as hidden mip 0 coordinates, but display the image from mip 1. This way we can easily convert between different datasets. For example, sometimes an aligned dataset is rendered at mip 2 but we want to be able to cross reference between layers easily.

Okay, sounds reasonable.  Would you care to create a pull request to implement this?

This issue is discussing the same problem https://github.com/google/neuroglancer/issues/444
I have a commit to fix this https://github.com/seung-lab/neuroglancer/commit/a7edaddb0ba0f296f797463a6aaefdc06c850177#diff-048ab67a423ce920e92e4cff52db026f6361491c6b7189eb558f3a7c42e14759R208
Not sure if it is an appropriate place to put it but seems to work. Also needs to be updated if we swap to using the hidden attribute.

@chrisj It seems like there is agreement between @jbms and @william-silversmith about the hidden attribute. Would you care about submitting a PR to implement this as you are very familiar with the neuroglancer codebase? Thank you!


memory issue with  joint_alignment_translation example

What is your question?
I am trying to run the example joint_alignment_translation (https://github.com/pytorch/fairseq/tree/master/examples/joint_alignment_translation).  I am getting an error if I run the command:
fairseq-train
binarized
--arch transformer_wmt_en_de_big_align --share-all-embeddings
--optimizer adam --adam-betas '(0.9, 0.98)' --clip-norm 0.0 --activation-fn relu
--lr 0.0002 --lr-scheduler inverse_sqrt --warmup-updates 4000 --warmup-init-lr 1e-07
--dropout 0.3 --attention-dropout 0.1 --weight-decay 0.0
--max-tokens 3500 --label-smoothing 0.1
--save-dir ./checkpoints --log-interval 1000 --max-update 60000
--keep-interval-updates -1 --save-interval-updates 0
--load-alignments --criterion label_smoothed_cross_entropy_with_alignment
--fp16
as given in the example.
The error that I am getting is:
CUDA out of memory. Tried to allocate 814.00 MiB (GPU 0; 4.00 GiB total capacity; 2.38 GiB already allocated; 606.83 MiB free; 2.39 GiB reserved in total by PyTorch)
What have you tried?
I have tried to lower the parameter 'max-tokens' but this still results in the same error even if it is lowered to 2.  If I lower it to 1 I get the error: UnboundLocalError: local variable 'valid_losses' referenced before assignment
Is there anything else I can do to resolve this issue?
What's your environment?

fairseq Version (e.g., 1.0 or master): master
PyTorch Version (e.g., 1.0): 1.6.0
OS (e.g., Linux): Windows
How you installed fairseq (pip, source):

git clone https://github.com/pytorch/fairseq
cd fairseq
pip install --editable ./

Build command you used (if compiling from source):
Python version: 3.6.5
CUDA/cuDNN version: V11.0.221
GPU models and configuration: NVIDIA GeForce GTX 970
Any other relevant information:

Hmm, 4GB of GPU memory is quite small, you can try using a smaller model architecture like transformer_align instead of transformer_wmt_en_de_big_align.  Also make sure that no other processes are using the GPU.  You can verify this using nvidia-smi.  If that still won't fit on your GPU you can further try to trim down the model size by reducing the number of layers, embedding dimensions, etc.

Thanks for the response!  What is the difference between transformer_align and transformer_wmt_en_de_big_align?

The transformer_align model is simply smaller (fewer layers, less embedding dimensions, etc.)

I tried to use the following command:
fairseq-train binarized --arch transformer_align --share-all-embeddings --optimizer adam --adam-betas '(0.9,0.98)' --clip-norm 0.0 --activation-fn relu --lr 0.0002 --lr-scheduler inverse_sqrt --warmup-updates 4000 --warmup-init-lr 1e-07 --dropout 0.3 --attention-dropout 0.1 --weight-decay 0.0 --max-tokens 3500 --label-smoothing 0.1 --save-dir ./checkpoints --log-interval 1000 --max-update 60000 --keep-interval-updates -1 --save-interval-updates 0 --load-alignments --criterion label_smoothed_cross_entropy_with_alignment --fp16
In addition to the warnings of out of memory it also gave me this error:
File "C:\Users\hecraig\AppData\Local\Continuum\anaconda2\envs\cntk-py36\Scripts\fairseq-train-script.py", line 33, in
sys.exit(load_entry_point('fairseq', 'console_scripts', 'fairseq-train')())
File "c:\users\hecraig\src\fairseq\fairseq_cli\train.py", line 351, in cli_main
distributed_utils.call_main(args, main)
File "c:\users\hecraig\src\fairseq\fairseq\distributed_utils.py", line 189, in call_main
main(args, **kwargs)
File "c:\users\hecraig\src\fairseq\fairseq_cli\train.py", line 121, in main
valid_losses, should_stop = train(args, trainer, task, epoch_itr)
File "c:\users\hecraig\appdata\local\continuum\anaconda2\envs\cntk-py36\lib\contextlib.py", line 52, in inner
return func(*args, **kwds)
File "c:\users\hecraig\src\fairseq\fairseq_cli\train.py", line 217, in train
log_output = trainer.train_step(samples)
File "c:\users\hecraig\appdata\local\continuum\anaconda2\envs\cntk-py36\lib\contextlib.py", line 52, in inner
return func(*args, **kwds)
File "c:\users\hecraig\src\fairseq\fairseq\trainer.py", line 521, in train_step
self.optimizer.step()
File "c:\users\hecraig\src\fairseq\fairseq\optim\fp16_optimizer.py", line 147, in step
self.fp32_optimizer.step(closure)
File "c:\users\hecraig\src\fairseq\fairseq\optim\fairseq_optimizer.py", line 102, in step
self.optimizer.step(closure)
File "c:\users\hecraig\src\fairseq\fairseq\optim\adam.py", line 182, in step
beta1, beta2 = group['betas']
ValueError: too many values to unpack (expected 2)

I ended up using a more powerful machine and no longer ran into any of these issues.


Added .xls and .xlsx to gitignore

👍 from me - though it seems like good hygiene to at least have a nominal description of the reason for the change in the issue.
I assume you're using pshtt's built-in CSV output and then turning them into XLS files within the project directory?

That's a good point, yes that's exactly right. I'm turning them into filtered / colored reports in .xlsx


[Device Support Request] Tuya _TZE204_9yapgbuv

Problem description
Quirks needed for this model which has a different identifier
Solution description
Pull Request already exists to support this variant of the Tuya sensor  #3506
Screenshots/Video
See Pull Request #3506
Device signature
Please see PR #3506
Diagnostic information
Diagnostic information
[Paste the diagnostic information here]

Logs
Logs
[Paste the logs here]

Custom quirk
Available in #3506
Additional information
No response

#3506 was merged


Fixed bool pretty printing

Currently booleans are pretty printed like the would be in Haskell: upper case. This pull request just ensures that pretty printed bools are lower case.

Thanks very much for fixing that!


documentation: Change in invite new users part.

https://github.com/zulip/zulip/issues/16951
Issue:
Documentation to be updated at Invite New Users part as ; only Realm Admins , Owners can "Generate Invite User Link " .
Before :-

After :-

It should be "Owner of the respective organization"

@ganpa3  Admins can also "Generate Invite Link" right ?

@ganpa3 Administrator(Admin) can also "Generate Invite Link" right ?

Yes, I meant it should be "of the organization" and not "to the organization"

@ganpa3  Thank u !! . I will change it .

@ganpa3  Changed it :)

@abhijeetbodas2001   Thanks For the Review !! . I will update the changes

I rewrote this a bit with a more standard commit message and a better placement for the next text, and merged this as ddbb0a5fbc11258f9eb9e95dd4ac36203943f5ee.
Thanks for noticing this @SushanthReddyManda!


Add mem, cpu profile options

These are leftover from my memory leak debugging, but might be useful to keep around for the future.
Thoughts @maxtaco ?

Can one of the admins verify this patch?


[19.09] openvswitch: 2.5.6 -> 2.5.9 and backports

Motivation for this change
Allows using a significantly newer version of openvswitch from the unstable channel. Bumps the release channel to bugfix 2.5.9 of openvswitch. I intend to maintain the stable branch along with the unstable branch along with netixx. I've tested this pretty extensively backporting the working patch to 19.09 and running it for maybe a week or so at this point and it works quite well both on the LTS channel and going from the LTS channel to the latest channel if it's selected.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Notify maintainers
cc @netixx

I'm closing as the target branch is too old.


Packages with dots in their name

We are using the code-generator in our project for about a year now. Currently, I'm trying to switch the build process from glide to go modules but I'm struggling to update the code generation. One of our packages is called acid.zalan.do which doesn't seem like a valid format. Can I use some argument to choose some other name on-the-fly?
In the master the package is only called acid. Don't know how it got there. Now informer-gen always produces acid.zalan.do, although its written without dots in the register.go file.
Thanks in advance for any help!

Just noticed that it's probably duplicate to #19

Ok, we found out what caused this breaking change! It's this commit: https://github.com/kubernetes/code-generator/commit/5ac21ed6de7ac91d03e7917872c463de906d46a6
Before the first part of our package was taken, which is acid. As in the other PR, I've updated the package/directory name and now it works.

Steps to replicate:
cd k8s.io/code-generator
git checkout kubernetes-1.16.0-beta.2
mv _examples/apiserver/apis/example _examples/apiserver/apis/example.io
./generate-groups.sh all k8s.io/code-generator/_examples/apiserver/apis/example/client k8s.io/code-generator/_examples/apiserver/apis "example.io:v1"

output:
Generating deepcopy funcs
Generating clientset for example.io:v1 at k8s.io/code-generator/_examples/apiserver/apis/example/client/clientset
Generating listers for example.io:v1 at k8s.io/code-generator/_examples/apiserver/apis/example/client/listers
Generating informers for example.io:v1 at k8s.io/code-generator/_examples/apiserver/apis/example/client/informers
F0905 14:53:53.587509    8166 main.go:60] Error: Failed executing generator: some packages had errors:
errors in package "k8s.io/code-generator/_examples/apiserver/apis/example/client/informers/externalversions/example.io":
unable to format file "./k8s.io/code-generator/_examples/apiserver/apis/example/client/informers/externalversions/example.io/interface.go" (20:16: expected ';', found '.')

I think this PR might have introduced this PR https://github.com/kubernetes/kubernetes/pull/80440/
cc @sttts @munnerz @nikhita

/kind bug

@FxKu can you change the title to include kubernetes-1.16.0-beta.2? This is a regression in the library since it was working fine in kubernetes-1.15.3

Created https://github.com/kubernetes/kubernetes/pull/82410 to fix this

Fixed in https://github.com/kubernetes/kubernetes/pull/82410 and https://github.com/kubernetes/kubernetes/pull/83077 (will be present in v1.16.1)
/close

Thanks a lot! #HappyFriday


Support Ubuntu 22.04 on main branch

[x] Add Ubuntu 22.04 Dockerfile on apple/swift-docker
[x] Add Ubuntu 22.04 job on ci.swift.org for nightly packages
[ ] update the nightly release automation to include Ubuntu 22.04
[ ] update the apple/swift-org-website to include Ubuntu 22.04
[ ] Add Ubuntu 22.04 nightly Dockerfile
[ ] Update hub.docker.com to include nightly Docker image

Currently blocked on https://github.com/apple/swift-llbuild/issues/820

CI Job:

https://ci.swift.org/job/oss-swift-package-ubuntu-22_04/
https://ci.swift.org/job/oss-swift-package-ubuntu-22_04-aarch64/

https://github.com/apple/swift/issues/58786

Now blocked on https://github.com/apple/indexstore-db/issues/150

https://github.com/apple/swift-org-website/pull/73

Ubuntu 22.04 now available on swift.org for main branch


chore: Update prometheus-operator version (#74)

Fixes #74
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

[X] I have performed a self-review of my own code
[X] I have commented my code, particularly in hard-to-understand areas
[X] I have made corresponding changes to the documentation
[X] My changes generate no new warnings
[X] I have added tests that prove my fix is effective or that my feature works
[X] New and existing unit tests pass locally with my changes
[X] Pull Request contain one commit. I squash my commits

/recheck


Revisit Idea of Breaking Inline Into Objects

I’m to the testing phase of 2.0.0. It’s going well. However, I’m realizing there are complex forms of inline markdown syntax that we can’t currently support with the Inline object as is. Specifically, we have no mechanism for linking images. We could add another parameter, but I’m wondering if it’s finally time to break inline out into individual objects (i.e. bold, italics, image, etc.). In theory, these could be nested in each other to form the preferred design.

Forget it! I found a reasonable fix, which was to change the image input to a string. That way the url parameter is always for links.