Use native go library for selinux and stop labeling host directories

What this PR does / why we need it:
On some operating systems like CoreOS, python tools like semanage are not availabe. semodule is written in C and should also be available on CoreOS.
This PR removes the deprecated labeling of shared directories which we needed in the past and uses the native selinux library on as many places as possible.
Upgrade Considerations
virt-handler will still work for VMIs which still rely on the correctly labelled directories, since the only way they could ever successfully started is due to the fact that the old virt-handler already labelled the directory accordingly. virt-handler can also still start VMIs during upgrades when it is confronted with a VMI which still relies on it for the same reason: The directory already has the right permissions.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #2664
Special notes for your reviewer:
Release note:
Use native go libraries for selinux to not rely on python-selinux tools like semanage, which are not always present.

Still no luck with latest patch:
{"component":"virt-handler","hostname":"carmd-er-lxtbd4bed9b5f162","level":"info","pos":"virt-handler.go:187","timestamp":"2019-09-13T15:10:38.492419Z"}
panic: failed to install virt-launcher selinux policy: failed to install policy /var/run/kubevirt/base_container.cil - out: "libsemanage.semanage_create_store: Could not create module store at /var/lib/selinux/mcs. (No such file or directory).\nlibsemanage.semanage_direct_connect: could not establish direct connection (No such file or directory).\n/sbin/semodule:  Could not connect to policy handler\n", error: exit status 1
goroutine 1 [running]:
main.(*virtHandlerApp).Run(0xc000302300)
	cmd/virt-handler/virt-handler.go:211 +0x1aa2
main.main()
	cmd/virt-handler/virt-handler.go:453 +0x6e

Still no luck with latest patch:

But #2670 works for you, right? We will bring it in first and I will fix this PR in the meantime.

I tried to see if I could get this PR to work in my env but so far no luck.
I'm not seeing where 'Permissive' (returned by getenforce) returns 'permissive' (lower-case, trimmed) as used is se.mode == "permissive". I tried to print some logs to see things, but it would not show anything in the pod log.
As for #2670 I confirm it still works for me.

I tried to see if I could get this PR to work in my env but so far no luck.
I'm not seeing where 'Permissive' (returned by getenforce) returns 'permissive' (lower-case, trimmed) as used is se.mode == "permissive". I tried to print some logs to see things, but it would not show anything in the pod log.

Oh I forgot to trim the output. Updated. It is lowercase because it is not coming from getenfore. Instead our go binary directly checks the status.

This issue popped up in https://github.com/openshift/okd/issues/77 - and as we're not going to pull python into Fedora CoreOS again, I'd much prefer something like this here.
Any chance we could get this rebased and reviewed again? :)

/remove-lifecycle rotten

@rmohr friendly ping :)

@LorbusChris thx for the ping. Yes, will rebase it. Thanks for the ping!

/retest

Friendly ping, as this needs another rebase :)

bumping this again :)

bumping this again :)

@LorbusChris I'm wondering whether this is required... How do you plan to use it?

@vladikr this is needed to run kubevirt on OKD/Fedora CoreOS which doesn't ship semanage in the base OS

@rmohr friendly ping :)

/hold cancel
Looks good.

/cc @vladikr
/cc @jean-edouard

/retest

/retest

I'm cheering you on @rmohr. I want to test this out as soon as I can.

anything holding this up other than code review at this point?

Just code review.

One minor suggestion would be to replace "enabled" by "enforcing" to match the SELinux vocabulary.
Technically "enabled" would mean not disabled, so either permissive or enforcing, but it's used here to mean enforcing.

:+1: addressed.

/lgtm

/retest


OSteps: v-model value is not reflected when the type is Number

Overview of the problem
Oruga version: [0.8.2]
Vuejs version: [3.3.13]
OS/Browser: Chrome 120.0.6099.217 on Windows 10
Description
v-model value of OSteps is ignored when the type is Number.
Type definition of modelValue for OSteps is [String, Number] at line 36 in Steps.vue.
Source:
<script setup>
import { ref } from 'vue'
const activeStep = ref(2)
const someArray = ref(['Orange', 'Apple', 'Strawberry', 'Banana'])
</script>

<template>
  <o-steps v-model="activeStep">
    <o-step-item v-for="(step, index) in someArray", :value='step', :key='step', :label='step'></o-step-item>
  </o-steps>
</template>

Steps to reproduce
Reproduction rate is 100%.
Expected behavior
The 3rd item (Strawberry) of OStepItem becomes active.
Actual behavior
The 1st item (Orange) of OStepItem became active.

I think you have a misunderstanding.  The v-model of o-steps represents the value property of the o-item. Your activeStep should be Strawberry, not 2. You can't select the o-item by index, except you set the index as value.

@mlmoravek
Oh, sorry, I understand.
(In Buefy's BSteps, the current position could be specified by index if it was a numeric type.)
Hmm, if so, it might be more helpful to put a note in the documentation, since the current documentation without any particular note could be misleading, as in my case.


feat(client): Added client configuration option for using a custom DNS resolver

Added a new configuration option to the client to allow the user to specify a custom DNS resolver.
Example config:
# use Cloudflare DNS to lookup the DNS name for the endpoint
endpoints:
  - name: front-end
    group: core
    url: "https://twin.sh/health"
    interval: 30s
    client:
      dns-resolver: "tcp://<IP_ADDRESS>:53"
    conditions:
      - "[STATUS] == 200"
      - "[BODY].status == UP"
      - "[RESPONSE_TIME] < 150"

Checklist

[X] Tested and/or added tests to validate that the changes work as intended, if applicable.
[X] Added the documentation in README.md, if applicable.

Closes #273

Hello @TwiN 👋🏻
We have some critical services we would like to monitor using a different DNS resolver, do you have any indication when/if you merge this?
Thanks for your time!

@tiwood Sorry for the delay, by the way!

@tiwood Sorry for the delay, by the way!

No worries, I don't expect you to be available all the time

Thank you :)
Please look at the suggestions I've made, and hopefully, I should be able to merge everything tomorrow 🤞

@TwiN, not sure if you got notified, but I've updated the formatting as requested.

Codecov Report

Merging #284 (b0958cd) into master (fbdb5a3) will increase coverage by 0.09%.
The diff coverage is 91.66%.

@@            Coverage Diff             @@
##           master     #284      +/-   ##
==========================================
+ Coverage   83.85%   83.95%   +0.09%
==========================================
  Files          53       53
  Lines        3499     3558      +59
==========================================
+ Hits         2934     2987      +53
- Misses        440      444       +4
- Partials      125      127       +2

Impacted Files
Coverage Δ

client/config.go
89.02% <91.66%> (+2.06%)
:arrow_up:

config/maintenance/maintenance.go
96.20% <0.00%> (-3.80%)
:arrow_down:

core/endpoint.go
75.66% <0.00%> (+1.21%)
:arrow_up:

alerting/provider/slack/slack.go
91.78% <0.00%> (+1.95%)
:arrow_up:

Continue to review full report at Codecov.

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

Thank you for contributing, and once again, sorry for the delay.. again😅


Rustfmt "fixes" my code then tells me an error about the code it broke itself

My config:
unstable_features = true
error_on_line_overflow = true
error_on_unformatted = true
format_code_in_doc_comments = true
format_strings = true
hex_literal_case = "Lower"
imports_granularity = "Crate"
normalize_comments = true
reorder_impl_items = true
reorder_imports = true
group_imports = "StdExternalCrate"
reorder_modules = true
use_field_init_shorthand = true
wrap_comments = true

Version: rustfmt 1.5.1-nightly (84f0c3f7 2022-09-03)
Hard to explain with text so here's a recording:
https://user-images.githubusercontent.com/82576556/188334072-8fb46dd0-e76c-46ce-8f03-8db6a08eb096.mov
It even "fixes" the string being split with \

@laralove143 could you please post the code snippet to help us try and reproduce the issue.

I really can't reproduce this, it's weird I'll just send the file which still triggers this
http.rs.zip
I don't understand what's going on but I had an almost 1:1 clone of this code and it worked fine

@laralove143 - please keep working at it and try to identify a minimal reproducible example yourself. We really don't like have to work with arbitrary archive files, and the video in the issue description doesn't work.

What do you mean by doesn't work? And here, it's barely any different than the file with a few unused items removed
pub struct Request {
    required_permissions: u8,
    method: u8,
    endpoint: String,
}

impl Request {
    /// Creates a new `Request` from the given fields
    #[must_use]
    pub const fn new(required_permissions: u8, method: u8, endpoint: String) -> Self {
        Self {
            required_permissions,
            method,
            endpoint,
        }
    }
}

struct Foo;

impl Foo {
    /// ```rust
    /// #[derive(Clone)]
    /// struct Bar;
    ///
    /// impl Bar {
    ///     fn exec(self, guild_id: u8, auto_moderation_rule_id: u8) {
    ///         Foo.request_with_params(
    ///             Request::new(
    ///                 1,
    ///                 1,
    ///                 format!("/guilds/{guild_id}/auto-moderation/rules/{auto_moderation_rule_id}"),
    ///             ),
    ///             self,
    ///         )
    ///     }
    /// }
    /// ```
    fn foo(request: Request, params: impl Clone) {}
}

And here, it's barely any different than the file with a few unused items removed

Thank you! Inline code snippets are always significantly more useful and appreciated than media.

What do you mean by doesn't work?

The video doesn't work, doesn't play/shows an error when trying to play, doesn't provide any utility in its current form, etc. It's moot now though, the code snippet is all that matters.

Rustfmt "fixes" my code then tells me an error about the code it broke itself

For awareness, there's a decent amount of subtext that comes across in choices of wording like this in the thread. That may be unintentional, but I just wanted to make note of it so that we can keep the conversation constructive and focused on technical aspects.
The error you are seeing is due to your usage of the still unstable option error_on_line_overflow, and quoting the docs for that option:

Error if Rustfmt is unable to get all lines within max_width, except for comments and string literals. If this happens, then it is a bug in Rustfmt. You might be able to work around the bug by refactoring your code to avoid long/complex expressions, usually by extracting a local variable or using a shorter name

So yes, there's a likely bug here (perhaps two actually), and that's surfacing because you've opted to use this unstable option. Many options remain unstable because there's known (or presumed bugs), so bug reports relating to unstable options are always helpful, thank you!
For anyone that wants to have a go at digging into this, I feel like there are at least two items worth exploring:

error_on_line_overflow is supposed to ignore long string lits and comments. The offending line here happens to be code (a macro call) within a code block in a doc comment, so there's likely a question of whether this is intentional and whether this is desirable.
It seems to me that a standard wrapping of the call itself across three lines would've sufficed to keep long string arg within the width boundaries. I'm not sure why that's not happening, though perhaps there's a bug in that code which isn't accounting for trailing tokens, e.g. comma, paren, etc.

It could also be related to format_code_in_doc_comments
Also is there a way to enable error_on_line_overflow for every line, to force the comments, docs and strings to fit into width as aell

I took a look at this, and I believe the issue is that we're not setting the correct max_width When formatting the code in doc comments. rustfmt always use the smaller of max_width and doc_comment_code_block_width. By default they're both 100, so rustfmt will rewrite the code allowing lines up to 100 characters before wrapping.
https://github.com/rust-lang/rustfmt/blob/ee2bed96d60fd7e46b1fb868f6a8f27e3a8058d0/src/comment.rs#L733-L736
In this case, rustfmt is just doing what it's designed to do. The issue is that rustfmt doesn't have 100 characters of width to use. It only has 92 (max_width(100) - indent(4) - "/// "(4)).
format_strings=true doesn't have any impact on the formatting of the snippet for the same reason. The snippet as originally written would fit within 100 characters so there's no need to wrap, but once we add the indentation and the doc comment opener the snippet won't fit into 92 characters and format_strings=true can start to work.
We can force the doc comment to be written with a max width of 92 in this case by setting doc_comment_code_block_width=92, but a proper fix would involve dynamically determining the max_width based on the indentation.
using rustfmt 1.5.1-nightly (ee2bed96 2022-11-08)
running: rustfmt --config=doc_comment_code_block_width=92,format_strings=true
Input
impl Foo {
    /// ```rust
    /// #[derive(Clone)]
    /// struct Bar;
    ///
    /// impl Bar {
    ///     fn exec(self, guild_id: u8, auto_moderation_rule_id: u8) {
    ///         Foo.request_with_params(
    ///             Request::new(
    ///                 1,
    ///                 1,
    ///                 format!("/guilds/{guild_id}/auto-moderation/rules/{auto_moderation_rule_id}"),
    ///             ),
    ///             self,
    ///         )
    ///     }
    /// }
    /// ```
    fn foo(request: Request, params: impl Clone) {}
}

output
impl Foo {
    /// ```rust
    /// #[derive(Clone)]
    /// struct Bar;
    ///
    /// impl Bar {
    ///     fn exec(self, guild_id: u8, auto_moderation_rule_id: u8) {
    ///         Foo.request_with_params(
    ///             Request::new(
    ///                 1,
    ///                 1,
    ///                 format!(
    ///                     "/guilds/{guild_id}/auto-moderation/rules/\
    ///                      {auto_moderation_rule_id}"
    ///                 ),
    ///             ),
    ///             self,
    ///         )
    ///     }
    /// }
    /// ```
    fn foo(request: Request, params: impl Clone) {}
}

This probably brings up a larger question about whether doc_comment_code_block_width should have a default of 100, since in the best case there will only ever be 96 characters ( or more generally max_width minus ///  characters).

Linking tracking issue for doc_comment_code_block_width (#5415) and format_code_in_doc_comments (#3348)


Update to reflect changes in docker-image-dev.

@bjorncs please review
@mpolden FYI

Travis-CI build still fails. You probably have to use source instead of sh to ensure the variables assigned from the script are visible.

@bjorncs PTAL


Losing focus during a pressed mouse action (ex. place moat) locks the action

This is most noticeable when using a window mode without a mouse clipper and leaving the screen.
Keyboard actions seem to be unaffected.
gynt encountered a weird issue where he was unable to place buildings. They just hovered on the mouse. The situation was unrecoverable. And sadly not reproducible. It might be related, though.
The most interesting thing would be, if the game actually has a method to handle something like this.
The first thing would be to check how the losing focus system works/was changed by me. Maybe one can use the games handling. Otherwise, manually sending a cancel action (full right click?) might be required.
Maybe the later could also be used as a temporary fix.

Mouse related issues should be fixed as of commit f5db9a14.
However, the issue with the stuck arrow keys remains.
The problem at the moment is that an input based counteraction would break if the keys are changed.
One possibility would be to also get the two places for the status inputs (4 for the keys, one extra for down), but this requires more addresses.
It also depends a bit on how a possible rework of the input would look like.
Therefore this issue remains open, but as game bug, since the keys also get stuck in vanilla.


What are teams used for in the EddieJaoude community organisation ?

I just saw in eddy community memeber's list there's a column named team, and u don't know what's that for

Teams are for assigning people more access to projects, so they do not need to be forked and can be contributed to directly (PRs with branches are still required for everyone).

And what's fork do?🙁 Sorry if I bother you just so many questions 😅

@mohit01-beep to fork a project means to have a copy of the project as your own. Like a photocopy of the project as your own. In contributing to open source projects, you will most times have to fork the repository to make changes to it. Feel free to ask more questions.


pyk.save_tiktok_multi_page error

Thanks for the great library!
I wanted to collect user metadata, but get the following error when running pyk.save_tiktok_multi_page:
TypeError: 'NoneType' object is not subscriptable

I am working with Jupyter Lab, Python v 3.11, OS = Win 10
I have logged in to a TikTok account in Chrome and have closed it before running the command. pyk.save_tiktok also works. It is just pyk.save_tiktok_multi_page that throws an error. I have tried multiple accounts (including the one from the example code).

Duplicate of #41


vFields "changed" flag bug

Versions

vee-validate: 2.2.3
vue: 2.6.10

Description:
vFields changed flag won't work. Precisely, this flag won't trigger after changing input field data from 'non-empty' string to empty string. Any help?
** Behavior example: **
In template are set classical vuefify input fields (v-text-field) binded to data.
Computed:
hasChanges:  vm  =>  Object.keys(vm.vFields).some(name  =>  vm.vFields[name].changed),
fieldNames: vm => ['firstName', 'lastName', 'email', 'phoneNumber', 'location']
Methods:

this.$validator.validateAll()

.then(async  isValid  => {

if (!isValid) return  this.$snackbar.error('Validation failed!');

if (!this.hasChanges) return;

await  this.updateInfo(pick(this, this.fieldNames));

this.$validator.reset();

this.$snackbar.success('User information updated.');

})

.catch(() =>  this.$snackbar.error('An error has occurred!'));

}```

VeeValidate 3.0 has been released with a lot of changes, the new validation components should provide a working changed flag.
If this is still happening, please create a new issue with reproducible minimal example on jsfiddle or codesandbox.


NoMethodError: undefined method `serializable_hash' for #Hash:0x00007fc3ef69c278 when error entity has root

Hello.
I try to add error root for errors.
class API::Error < Grape::Entity
  root 'errors', 'error'
  expose :code
  expose :message
end

error!({ message: "Some error", code: 123, with: API::Error }, 400)

When error entity has root element, I have error:
NoMethodError: undefined method `serializable_hash' for #<Hash:0x00007fc3ef69c278>
	/Users/nikolay/.rbenv/versions/2.4.4/lib/ruby/gems/2.4.0/gems/grape-1.1.0/lib/grape/error_formatter/base.rb:29:in `present'

Because  Grape::Entity#represent method can return entity or hash, but
Grape::ErrorFormatter::Base#present is not ready for this result, and called to serializable_hash whatever the result.

@dblock Can I work on this?

Go for it @sinscary, no need to ask.


An app on your PC needs the following Windows feature

Did I miss something?
Create CobaltStrike (x32) payload like showed in the vimeo video

python SharpShooter.py --stageless --dotnetver 2 --payload vbs --output vbstest --rawscfile /root/payload32.bin --sandbox 3,4,5

       _____ __                    _____ __                __
      / ___// /_  ____ __________ / ___// /_  ____  ____  / /____  _____
      \__ \/ __ \/ __ `/ ___/ __ \__ \/ __ \/ __ \/ __ \/ __/ _ \/ ___/
     ___/ / / / / /_/ / /  / /_/ /__/ / / / / /_/ / /_/ / /_/  __/ /
    /____/_/ /_/\__,_/_/  / .___/____/_/ /_/\____/\____/\__/\___/_/
                         /_/

     Dominic Chell, @domchell, MDSec ActiveBreach, v0.2

[*] Avoiding sandbox artifacts
[*] Avoiding bad MACs
[*] Avoiding debugging
[*] Written delivery payload to output/vbstest.vbs

Execute the VBS script Windows 7 (x64): Nothing
Execute the VBS script Windows 10 (x64): An app on your PC needs the following Windows feature

Your victim machine doesn't have the .NET framework installed - this is required.


Node change nothing on HA or ESP

I´m giving a set value of 0-100 for fan control (speedlevel; 100) to the input and nothing happens on HA.
The feedback of the input is the last value on HA.
If I´m changing set value in HA the input is giving the right feedback.
The output of ESP is only changing when I´m setting anything on HA, but not in Node-Red.
Seems to be a problem with write protection.
With kind regards,
Thorsten

hi , i not use HA and not can repeat this, if you use HA mb try node-red-contrib-home-assistant-websocket

Hi.
I´m actually using the websocket because ESP addon is not working. Wanted to send signals directly to the ESP and not with HA between.
I cannot disable the entity, because than I cannot read it.

With the current ESPHome version 2024.10.0 pwm control is not working anymore.
You can set a value, but nothing´s changing on ESP8266.
If I´m using HA to set a value it´s working. When testing I recognized, that Node-Red is using the last value, not the current value I´m sending.
Example: I´m setting 20% in HA and the output is 20%. I´m sending 40% in Node-Redand the output is still 20%.


gorm update all records when I has set the primary key value

My table has three primary_keys, they are int, varchar, varchar type.
When I select by those primary_keys in value (0, "a", "b") , no problems.
and then I update , all records are updates.
The code is :
err =tx.Set("gorm:query_option", "FOR UPDATE").
Where(" level = ? and key  = ? and  id = ? ", 0,
"a", "b").Find(&pa).Error
pa.Value= "1"
err = tx.Model(&pa).Update("value", pa.Value).Error
I have fixed this problem by not use level = 0, start with 1.
I think is a problem that level can't be set to 0.

http://jinzhu.me/gorm/crud.html#delete
When primary key is blank value, it will be ignored


Add environment variables to Integration CRD

Purpose
With this, the Integration CRD will be able to set the environment variables defined in the deployment yaml.

 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.

Please refer to the https://github.com/wso2/k8s-ei-operator/pull/5.


Support string-backed enums

These changes are useful for when a project is in the process of migrating to Postgres enums.
Huge shout-out to @mtwilliams for authoring issue #4 and PR #9! This borrows heavily from his work.

@gjaldon The failing build for Elixir 1.3.0 has to do with a Postgrex dependency issue (requires ~> 1.3.4 or ~> 1.4), which seems to be affecting other builds as well.

@gjaldon The tests are now passing, could you take a look at this?

@cesariouy I agree with the idea of string-backed enums for use in migrating. Will need to take more time to review though.

Sorry for the bump, but we'd find this feature useful for migrating from a legacy schema (string based field with preset values) as well.

Will this PR get merged?

@gjaldon What else do you require for us to get this merged in?

FYI https://github.com/tsutsu/ecto_homoiconic_enum

This is stale since we already support string-backed enums after the rewrite


[Question] How to check whether Write has completed transmitting the buffer?

TL,DR: Does write function block till complete message is transmitted? if not How can we check whether the complete write buffer has been transmitted or not? and if write is pending how may bytes have been sent or remaining?
There are generally two buffers in the Linux based hardware. One is the hardware buffer and other one is the buffer provided by kernel. Certain applications require to perform a task once data is sent and where RTS/CTS lines are not available. i.e  controlling transceiver IC through transmit enable line(DE). We have to control DE line through GPIO as board UART port does not have RTS/CTS lines. Immediately changing state of DE line after write call may cause partial transmission if write is nonblocking.
If write function blocks until complete buffer is transmitted then it is not a concern. But if not, how can I ensure complete message delivery? Calculating time delay based on baud-rate is one option but I'm looking for more robust way.
Using library on Linux.

Sounds like this method p.Drain() is what you are looking for?


Improve PyPI metadata

It'd be great if we could link to the repo in the PyPI metadata, as well as specifying the minimum python version more explicitly in the Trove classifiers

Fixed in https://github.com/matrix-org/synapse-email-account-validity/commit/8a687769aaa798f7d14fe0a33b399c0453f8a81e


Turn off SQL Tranformation

Is your feature request related to a problem? Please describe.
When copying and pasting column names with quotes, the text is extracted and loses the quotes.
Hitting CTRL + C to copy the column name and then hitting CTRL + V pastes the column name but removes the quotes and a popup appears stating 'SQL Transformation, SQL Query was extracted from the source code.'
Describe the solution you'd like
Add an option to remove this behavior.
Describe alternatives you've considered
Hitting CTRL + Z will add the quotes back to the column name, but this is an extra step to paste what was copied.

@Jnb2387 Could you try to uncheck Extract SQL from the source code option in Preferences and check if it helps?

Perfect, thank you!


required: clarity over what is recorded (varies by version? machine?)

CodeCarbon version:
Python version:
Operating System:

Description
Two different Linux machines, but running same Python3 code I get different behaviours.
On Debian10 (albeit a VM within vmware under Win10), I get 1 line of data plus the headings
loud_provider,cloud_region,country_iso_code,country_name,cpu_count,cpu_energy,cpu_model,cpu_power,duration,       emissions,emissions_rate,energy_consumed,gpu_count,gpu_energy,gpu_model,gpu_power,latitude,longitude,
on_cloud,os,project_name,python_version,ram_energy,ram_power,ram_total_size,region,run_id,timestamp,tracking_mode
whereas on Linux-3.10.0-1160.36.2.el7.x86_64-x86_64-with-centos-7.9.2009-Core,3.6.8 I get 101 lines of data plus the headings
imestamp,project_name,run_id,duration,emissions,emissions_rate,cpu_power,gpu_power,ram_power,cpu_energy,gpu_energy,ram_energy,energy_consumed,country_name,country_iso_code,region,cloud_provider,cloud_region,os,python_version,cpu_count,cpu_model,gpu_count,gpu_model,longitude,latitude,ram_total_size,tracking_mode,on_cloud
The Debian10 instance does give warnings:
[codecarbon WARNING @ 22:22:09] No CPU tracking mode found. Falling back on CPU constant mode.
[codecarbon WARNING @ 22:22:11] We saw that you have a Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz but we don't know it. Please contact us.
The Centos run does have access to RAPL counters.
I am very confused as to why the different behaviour. despite the different hardward (and slightly different Python versions IIRC)
Related(?) I see the Debian10 run also creates (leaves?) a number of emissions.csv_NNN.bak (for NNN=0,1,2,...) files

Hello,
Thanks for reporting this.
When you say "101 lines of data" you mean in the CSV file for only one run ? That's not what is suppose to happen.
The *.bak are created when we do not found the expected header in the csv file, so we made a backup before fixing it.
It is supposed to happen only one time.
We have to look a the code to understand what happen.


add instnace service account key option

as title

@datianshi, I believe these are purposely being deprecated in favour of using configure-director instead of configure-bosh. Someone from the om team could confirm.
Are you able to switch commands?

@jtarchie  do not think this is related to two different commands at all. This is for IAAS specific configuration. Now 2.1 Ops Manager is able to configure service account instance vs using service key.

@datianshi just bumping this to see if you can help with any of my questions above. thanks!

It is in the doc. Just do a search key word 'associated_service_account' @mcwumbly .... That is in the example field though.... Probably the right team should further document that

Thanks for reporting this!
Fixed via https://github.com/pivotal-cf/om/commit/92ea225d022918ef4549281359739ec72f64f723 to add tests/docs and fix a minor typo.

@mcwumbly  This is not a report. This is a pull request. I do not think it is a good open source practice to discard committers' commits and commits by core engineers. It is always good to embrace more contributors and advice what needs to enhance in the existing commits

Sorry for the mis-communication, @datianshi.  I did not mean at all to diminish the contribution, and didn't want to hold up your changes just because of a single-character typo and the fact that these changes had not been explicitly addressed.
We do note the following in the CONTRIBUTING.md docs now:

When a maintainer accepts your changes, they will merge your pull request. If there are outstanding requests for changes or other small changes they feel can be made to improve the changed code, they may make additional changes or merge the changes manually. It's always nice to have changes come in just as the team would like to see them, but we'll try not to hold up a pull request for a long period of time due to minor changes.

I thought I was doing that in spirit and that referencing your PR was due attribution, but I can see why it would have been better to include your commit directly and make the fixes as a separate commit on top of that.
Do you think that would that have been better practice here?


OCPBUGS-7389: pre-cache container mounts host's root

Description:

mount only the needed host paths for the pre-cache container with the needed privilege access
change the check_space script to make the check for host instead of the pre-cache container
update tests

Impressive grinding!
/approve

/lgtm

/lgtm


ERR_CONNECTION_REFUSED with reactTimers

I put this code in the __construct of the class that handles connections and now I can not connect to my server, returns ERR_CONNECTION_REFUSED
use React\EventLoop\Factory;
....
protected $loop;

public function __construct() {
    $this->loop = Factory::create();

    $this->loop->addPeriodicTimer(600, function() {
        return $this->functionLoop();
    });

    $this->loop->run();
}

why?

Your application can only have 1 event loop running. Pass the existing event loop in your constructor instead of creating a new one.

@cboden and where I put it? Where is this existing loop? You can exemplify me?

@cboden
but it is already inside the constructor...
You can exemplify me?
My code:
$server = IoServer::factory(
new HttpServer(
new OriginCheck (
new WsServer(
$classc
),
array('<IP_ADDRESS>')
)
),
8080,
);

@cboden thanks, i changed the constructor and all is worked


Modpack Version
beta 1.2
Describe your issue
如题 1.2并没有修改法术抄写台以及羊皮纸的配方 在无红石的情况下较难做出施法自动化
Have you modified the modpack?
No
User Modifications
No response
Did the issue happen in singleplayer or on a server?
Singleplayer

Beta v1.3.0修复


in iOS, my app shutdown when click the notification

I turn off the app, when my iphone receive a new notification, I click to the notification to open the app, the app open but shutdown immediately.
When I test on the simulator, or in android phone, that error is not appeared.
I compile app use version 0.0.5+4.
Thank you!

Start the application in debug mode, hut open the android folder, instead the project one. After that, click on attach to process and type your app name to start to debug since it wake up. So click on your notification to catch the error.
You also can inspect the app logs with LogCat panel in your Android Studio.


36 add info about rses and what we define as research

@jpthiele , @jcohen02 I could use your help in elaborating on the definition of research discussion. Thanks!

Research Software includes source code files,
algorithms, scripts, computational workflows and
executables that were created during the
research process or for a research purpose.”, https://doi.org/10.5281/zenodo.5504016

@jcohen02 , @mhagdorn, I think I'm through with this and we could merge this. I've started a section collecting some definitions(Probably due to @mschwarzmeier ...) and a section for collecting what is german specific and what not(maybe it shouldn't be a section). @jpthiele 's discussion of Wissenschaft and Forschug is in there, now.

@mhagdorn @hvwaldow @jlinx @knarrff @mschwarzmeier @jngrad
In the definition section, I now added a definition of the RSE. Established ones often focus exclusively on the software aspect.
I deliberately tried to use a flexible wording without using the words maintenance or administration and instead focuses on the creation of new things. This facilitates the employability in the german research landscape. If you agree with this I can merge it.
Best,


Add pausing membership blog post

For release on 2021-02-19 if everyone is happy. I've addressed all the review comments from https://github.com/bitcoinops/bitcoinops.github.io/commit/e8526ffc116d4be1f15aae2a7ef5b2f3dafe8f75.

Thanks for the review @adamjonas! I've taken your suggestion.

Thanks Mike!


How does the child_fixed_arc are created?

How does the child_fixed_arc are created on the final scripts
Is that use the controller trained on the search phase to output the child_fixed_arc?

yes. use the search script to search the child_fix_src.


broken integration images

Description

Expected Behavior

This should be fixed
Screenshots

Enviroment:

OS: Mac Linux Windows
Browser: Chrome Safari Firefox
Version:
Device: Desktop Mobile

Contributor Guides and Handbook
The meshery.io website uses Jekyll and GitHub Pages. Site content is found under the master branch.

📚 See the Contributing to Meshery.io Website section of the readme.md and other contributing instructions, too.
🎨 Wireframes and designs for Meshery UI in Figma (open invite)
🙋🏾🙋🏼 Questions: Discussion Forum and Community Slack

I could fix this @vishalvivekm

I could fix this @vishalvivekm

👍


[BUG]FAILED DNS query from the cluster.

General information
Issue:
I try to utilize crc start to utilize the crc service.  It was working yesterday.  However, I am now getting this issue:

A curl result of quay.io

As a result of this issue I cannot access the OS image regestries and cannot utilize crc.  Please Help!  Thank you.
OS: Linux
Hypervisor: KVM
Did you run crc setup before starting it (Yes/No)? YES
Running CRC on: VM
CRC version
CodeReady Containers version: 1.35.0+751824a9
OpenShift version: 4.9.5 (embedded in executable)

## CRC status
CRC VM:          Running
OpenShift:       Running (v4.9.5)
Disk Usage:      13.12GB of 32.74GB (Inside the CRC VM)
Cache Usage:     32.32GB

## CRC config
- consent-telemetry                     : no

## Host Operating System

RHEL 8.3

### Steps to reproduce

  1.  oc setup
  2.  oc start
  3.
  4.

### Expected
I expect it to start normally with the working DNS so I can utilize image repositories and what not and create apps in OS.

### Actual
I receive an internal DNS issue.  As a result I cannot access any OS image repositories.

I have tried to set the DNS config with crc as <IP_ADDRESS>.  The issue persists.  I have deleted and reinstalled CRC and the issue persists.

Please help me!  Thank you so much!!!  It is appreciated!

So I waited a day.  Woke up.  Fired up CRC and now it works.  Maybe an issue on the quay.io side for future reference?  Not sure but crc is fine.
Advice:  if its related to DNS it seems to be saying it cant translate that domain.  And if you curl that domain and have issues, give it a day and try again.

So I waited a day. Woke up. Fired up CRC and now it works. Maybe an issue on the quay.io side for future reference? Not sure but crc is fine.
Advice: if its related to DNS it seems to be saying it cant translate that domain. And if you curl that domain and have issues, give it a day and try again.

This does seem to issue with dns, in future you might to try with --nameserver option.

Just a note, HTTP/1.1 301 Moved Permanently when using curl quay.io is expected. curl -L will follow redirections.


Nuke: fixing render creator for no selection format failing

Description
When use selection was ticked off the creator was failing as we could not retrieve format width and height from selected nodes.
Solution
Getting width and height was added to tray and if fails it will get format from root actual format
Testing notes

open nuke and in workfile create version (if you are in untitled script)
open Creator and chose Create Render Write
tick off use selected
hit create and write node should be created without troubles.
Look inside of the created node (ctrl+enter) and look into properties of Crop node
width and height should be the same as it is set on script's actual format (with mouse over node graph window hit s and look down to format)

When I create the write node with unselected use_selected it creates a render node which is no connected to the previous. Is this correct behavior?

When I create the write node with unselected use_selected it creates a render node which is no connected to the previous. Is this correct behavior?

yes that is expected behaviour. Is `use_select is not ticked of it is ignoring what ever is selected and therefore it is not connecting to it. So this works perfect ;)


Remove the need for manual configuration

IMPORTANT: This is NOT for production environments.
Related:  #49 -- fourth point
The goal of this ticket is to have a default configuration mechanism (to facilitate development, experimentation, etc) such that
$ pip install bigchaindb
$ bigchaindb start

works "out of the box".
No environment variables needed, no need to edit a config file, etc.
Some early pointers:

[ ] Installing bigchaindb could install a default config file that would be read/loaded upon starting bigchaindb.
[ ] A default pub/priv key pair can be generated on the fly if none is found.

There's already a default set of BigchainDB config settings; you can see them in https://github.com/bigchaindb/bigchaindb/blob/master/bigchaindb/init.py
The only thing that prevents pip install bigchaindb + bigchaindb start from working "out of the box" is that there is no public/private keypair (because there is no default keypair). Maybe rather than suggesting they generate one using bigchaindb -y configure, we could just do that for them? Maybe explain the situation and ask for permission (yes/no)?

We (@sbellem and I) just discussed this a bit more and came up with the following solution:
Almost all configuration settings already have default values (see https://github.com/bigchaindb/bigchaindb/blob/master/bigchaindb/init.py ). The only exceptions are the public key and the corresponding private key.
If someone runs bigchaindb start and either the public key or private key don't have values (i.e. not set), then:

Tell the user that a complete key pair was not found
Auto-generate a new temporary key pair on-the-fly
Don't put that key pair in ~/.bigchaindb, just let it live in memory for the duration of the run
Maybe put the auto-generated key pair in a file named auto-generated_key_pair_<random number> and tell the user about that file, in case they want to re-run with the same key pair in the future. (They should move the key pair out of that file to environment variables or a proper local config file.)

+∞ for making dockerized people's lives infinitely easier.


Updated readme examples to sound better.

It sounds better than "Hello".

Thanks for sending this PR. Much appreciated.


Maintenance

Hello reviewers 👋🏼
This PR brings setup-nomad-pack in line with the code of hashicorp/setup-nomad

Talked to Kerim about this in slack but just posting here for others context, the reason this is failing is the upstream js-releases dependancy defines latest as a newest semver version, previews builds are excluded and nomad-pack only has preview releases

The failure in the Typescript workflow is acceptable and will be fixed as this repository gets aligned with other setup-* Actions.


Add test coverage for FromSql with null parameter value #3432

Issue appears to be resolved in beta8, adding a test to prevent regression

:shipit:


Unable to install BthPS3

Hello, I wanted to do an uninstallation and reinstallation but impossible

Yet everything is well deleted in my drivers

So I'm completely stuck :(

Found and documented the solution!


font-family in place-picker can't be changed through css variable

The place-picker README says CSS Custom Properties can be used to style the component. But setting --gmpx-font-family-base: serif on root does not change change the font-family on the input.
The variable is set on the .container element but input doesn't inherit font-family and takes the user agent stylesheet default which is empty '' (see image). font-family: inherit would solve this issue (the same is already done for font-size). Happy to make the PR myself if this is indeed a 🐞!

If you would like to upvote the priority of this issue, please comment below or react on the original post above with :+1: so we can see what is popular when we triage.
@maloua Thank you for opening this issue. 🙏
Please check out these other resources that might help you get to a resolution in the meantime:

Check the issue tracker - bugs and feature requests for Google Maps Platform APIs and SDKs
Open a support case - Get 1:1 support in Cloud Console.
Discord - chat with other developers
StackOverflow - use the google-maps tag

This is an automated message, feel free to ignore.

@maloua Thanks for taking the time to file a detailed bug report and identifying the root cause! We've created #193 and will close out this issue once change is included in the next release.


Libraries: Binary Trees using names inconsistent with textbook

Renaming needed, following textbook section 2.3.3:
make_empty_binary_tree -> make_empty_tree
is_binary_tree -> is_tree
make_binary_tree_node -> make_tree
is_empty_binary_tree -> is_empty_tree
left_subtree_of -> left_branch
value_of -> entry
right_subtree_of -> right_branch
Also note that the implementation in the textbook puts the entry before the left branch. We should follow this implementation.

fixed in https://github.com/source-academy/cadet-frontend/pull/686


Allow postOnly, fillOrKill, immediate parameters for sell/buy trades

Not all the API is done. Those parameters (especially postOnly that allows to avoid fees) are not available to use.

There should be a work-around for this or anything that comes up in the future.. A way to construct ones own request and have poloniex.js add the signing hash and post it..
From the docs:

buy
Places a limit buy order in a given market. Required POST parameters are "currencyPair", "rate", and "amount". If successful, the method will return the order number. Sample output:
{"orderNumber":31226040,"resultingTrades":[{"amount":"338.8732","date":"2014-10-18 23:03:21","rate":"0.00000173","total":"0.00058625","tradeID":"16164","type":"buy"}]}
You may optionally set "fillOrKill", "immediateOrCancel", "postOnly" to 1. A fill-or-kill order will either fill in its entirety or be completely aborted. An immediate-or-cancel order can be partially or completely filled, but any portion of the order that cannot be filled immediately will be canceled rather than left on the order book. A post-only order will only be placed if no portion of it fills immediately; this guarantees you will never pay the taker fee on any part of the order that fills.

Here is a work around:
const cmd = {currencyPair, rate: buyRate, amount: sellAmount, fillOrKill: 1}
poloniex._private('sell', cmd, callback)

Since buy and sell are the same methods same output, I started using the word "trade" for both.. Here are some example names:
tradeFillOrKill('BTC', 'ALTCOIN', highestBid, 5)
tradeImmediateOrCancel(...)
tradePostOnly(...)

What is the trading taker fee by the way?  (github needs a side chat feature)..

it depends... for start maker => 0,15 % taker => 0,25 %

Closing this - the functionality is supported.


I can't login in pixiv

when I go to sources -> options and login, I click test and I am redirected to the site for login, I try to log in and nothing happens, what should I do?  The redirection site asks to open the grabber program, I click “open in grabber” and nothing happens
Chrome - 125.0.6422.77

OS: [e.g. Windows 11]
Grabber version: 7.12.1

same problem with 7.12.1


details can be entered into data.csv

Closes #2

I am looking into it

Ok so what i want from this issue is that suppose a person books a seat. Then it has to be added to data.csv. Now lets say i close the code and still run it again, it should be able to see previous bookings. So you will have to save it into data.csv and retrieve it from multiple runs of the code. If you can complete this i will go ahead and extend your time. If not please let me know

@g-anupam made a PR. pls check.

Has bugs. So now the auditorium is not being printed when i am trying to book a seat. Directly asks for row and column.

Which Sem Hall Are you in

semhall2


Update HANABackupCustomerDetails.txt

@msjuergent,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

#sign-off


Need better API to find/cache installation location

pymapdl does this inside of its launch and I want to reuse that for pymechanical

Fixed by #231


Symbols Disappear

I just updated to Sketch 45.1 and Craft 1.0.35. Is there a conflict with these updates maybe? When I run the Symbol Organizer my symbols disappear.

@LisaMackin are you using the latest version of the plugin? Sketch 45 introduced a nasty bug, which has already been addressed (https://github.com/sonburn/symbol-organizer/issues/25).

Thank you - I was a little late to the game! All set!


Display src and dest repos on 'New Pull Request' page?

Gitea version (or commit ref):
Git version: 1.4.3
Operating system: Windows
Database (use [x]):

[ ] PostgreSQL
[ ] MySQL
[ ] MSSQL
[x] SQLite

Can you reproduce the bug at https://try.gitea.io:

[ ] Yes (provide example URL)
[ ] No
[x] Not relevant

Log gist:

Description
Is it possible to add the source and forked repositories to the new pull request screen?  It's confusing to new users (!) to only see 'base' and 'compare'.
Better would be:
'<org>/<src-repo>' / branch

and
'<user>/<forked-repo>' / <forked-repo-branch>

A tool tip would be sufficient, or at least some indication that the RHS ('compare') is the fork.
Screenshots

fixed on master


Project advertising page/form update

Remove the forms to contribute to Read the Docs. We don't really get any contributions this way
Build value for the commercial product a bit more
More prominent get in touch for alternatives
Remove mentions of gold. Gold doesn't remove ads from projects anymore. However, projects can get in touch.

I suggest to change the gray box/table for the "Opt-Out" section to a regular bullet list.

Unfortunately our CSS doesn't support bullet lists very well. I am attempting to not write any more custom CSS until our theme work is complete.

Maybe I can reuse the bullet list above in the page. It requires a special class as just using a <ul> won't have bullets.

OK, OK. It's fine as it is. I was just saying because that gray box is not used in any other place as far as I know, and I thought that a bullet list would be easy to add :)


update: grub

CVEs: CVE-2020-10713, CVE-2020-14372, CVE-2020-25632, CVE-2020-25647, CVE-2020-27749, CVE-2020-27779, CVE-2021-20225, CVE-2021-20233, CVE-2021-3981, CVE-2021-3695, CVE-2021-3696, CVE-2021-3697, CVE-2022-28733, CVE-2022-28734, CVE-2022-28735, CVE-2022-28736, CVE-2022-28737, CVE-2022-2601, CVE-2022-3775
CVSSs: 8.2, 7.5, 8.2, 7.6, 7.2, 7.5, 7.2, 8.2, 3.3, 7.5, 5, 7.5, 8.1, 7, 6.7, 6.4, 6.5, 6.4, 6.3
Action Needed: update to >= 2.06-r4
Summary:

CVE-2020-10713: A flaw was found in grub2, prior to version 2.06. An attacker may use the GRUB 2 flaw to hijack and tamper the GRUB verification process. This flaw also allows the bypass of Secure Boot protections. In order to load an untrusted or modified kernel, an attacker would first need to establish access to the system such as gaining physical access, obtain the ability to alter a pxe-boot network, or have remote access to a networked system with root access. With this access, an attacker could then craft a string to cause a buffer overflow by injecting a malicious payload that leads to arbitrary code execution within GRUB. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.

CVE-2020-14372: GRUB2 enables the use of the command acpi even when secure boot is signaled by the firmware.  An attacker with local root privileges to can drop a small SSDT in /boot/efi and modify grub.cfg to instruct grub to load said SSDT.  The SSDT then gets run by the kernel and it overwrites the kernel lockdown configuration enabling the attacker to load unsigned kernel modules and kexec unsigned code.

CVE-2020-25632: The rmmod implementation for grub2 is flawed, allowing an attacker to unload a module used as dependency without checking if any other dependent module is still loaded. This leads to an use-after-free scenario possibly allowing an attacker to execute arbitrary code and by-pass Secure Boot protections.

CVE-2020-25647: grub_usb_device_initialize() is called to handle USB device initialization. it reads out the descriptors it needs from the USB device and uses that data to fill in some USB data structures. grub_usb_device_initialize() performs very little bounds checking and simply assumes the USB device provides sane values. This behavior can trigger memory corruption. If properly exploited, this would lead to arbitrary code execution allowing the attacker to by-pass SecureBoot mechanism.

CVE-2020-27749: grub_parser_split_cmdline expands variable names present in the supplied command line in to their corresponding variable contents and uses a 1kB stack buffer for temporary storage without sufficient bounds checking. If the function is called with a command line that references a variable with a sufficiently large payload, it is possible to overflow the stack buffer, corrupt the stack frame and control execution.  An attacker may use this to circumvent Secure Boot protections.

CVE-2020-27779: The grub2's cutmem command does not honor secure boot locking. This allows an privileged attacker to remove address ranges from memory creating an opportunity to circumvent SecureBoot protections after proper triage about grub's memory layout.

CVE-2021-20225: The option parser in grub2 allows an attacker to write past the end of a heap-allocated buffer by calling certain commands with a large number of specific short forms of options.

CVE-2021-20233: There's a flaw on grub2 menu rendering code setparam_prefix() in the menu rendering code performs a length calculation on the assumption that expressing a quoted single quote will require 3 characters, while it actually requires 4 characters. This allow an attacker to corrupt memory by one byte for each quote in the input.

CVE-2021-3981: A flaw in grub2 was found where its configuration file, known as grub.cfg, is being created with the wrong permission set allowing non privileged users to read its content. This represents a low severity confidentiality issue, as those users can eventually read any encrypted passwords present in grub.cfg. This flaw affects grub2 2.06 and previous versions. This issue has been fixed in grub upstream but no version with the fix is currently released.

CVE-2021-3695: A crafted 16-bit grayscale PNG image may lead to a out-of-bounds write in the heap area. An attacker may take advantage of that to cause heap data corruption or eventually arbitrary code execution and circumvent secure boot protections. This issue has a high complexity to be exploited as an attacker needs to perform some triage over the heap layout to achieve significant results, also the values written into the memory are repeated three times in a row making difficult to produce valid payloads.

CVE-2021-3696: A heap out-of-bounds write may happen during the handling of Huffman tables in the PNG reader. This may lead to data corruption in the heap space. Confidentiality, Integrity and Availability impact may be considered Low as it's very complex to an attacker control the encoding and positioning of corrupted Huffman entries to achieve results such as arbitrary code execution and/or secure boot circumvention.

CVE-2021-3697: A crafted JPEG image may lead the JPEG reader to underflow its data pointer, allowing user controlled data to be written in heap. To be successfully performed the attacker needs to do some triage over the heap layout and craft an image with a malicious format and payload. This vulnerability can lead to data corruption and eventual code execution or secure boot circumvention.

CVE-2022-28733: A malicious crafted IP packet can lead to an integer underflow in grub_net_recv_ip4_packets() function on rsm->total_len value. Under certain circumstances the total_len value may end up wrapping around to a small integer number which will be used in memory allocation. If the attack succeeds in such way, subsequent operations can write past the end of the buffer.

CVE-2022-28734: When handling split HTTP headers, GRUB2 HTTP code accidentally moves its internal data buffer point by one position. This can lead to a out-of-bound write further when parsing the HTTP request, writing a NULL byte past the buffer. It's conceivable that an attacker controlled set of packets can lead to corruption of the GRUB2's internal memory metadata.

CVE-2022-28735: The GRUB2's shim_lock verifier allows non-kernel files to be loaded on shim-powered secure boot systems. Allowing such files to be loaded may lead to unverified code and modules to be loaded in GRUB2 breaking the secure boot trust-chain.

CVE-2022-28736: There's a use-after-free vulnerability in grub_cmd_chainloader() function. The chainloader command is used to boot up operating systems that doesn't support multiboot and do not have direct support from GRUB2. When executing chainloader more than once a use-after-free vulnerability is triggered. If an attacker can control the GRUB2's memory allocation pattern sensitive data may be exposed and arbitrary code execution can be achieved.

CVE-2022-28737: There's a possible overflow in handle_image() when shim tries to load and
execute crafted EFI executables. The handle_image() function takes into account the SizeOfRawData field from each section to be loaded. An attacker can leverage this to perform out-of-bound writes into memory. Arbitrary code execution is not discarded in such scenario.

CVE-2022-2601: A buffer overflow in grub_font_construct_glyph() can lead
to out-of-bound write and possible secure boot by-pass. A buffer overflow was found in grub_font_construct_glyph(). A malicious crafted pf2 font can lead to an overflow when calculating the max_glyph_size value, allocating a smaller than needed buffer for the glyph, this further leads to a buffer overflow and a heap based out-of-bounds write. An attacker may use this vulnerability to circumvent the secure boot mechanism.

CVE-2022-3775: Heap based out-of-bounds write when redering certain
unicode sequences. When rendering certain unicode sequences, GRUB2's font code doesn't properly validate if the informed glyph's width and height is constrained within bitmap size. As consequence an attacker can craft an input which will lead to a out-of-bounds write into GRUB2's heap, leading to memory corruption and availability issues. Although complex, arbitrary code execution could not be discarded.

See also:

<EMAIL_ADDRESS>https://lists.gnu.org/archive/html/grub-devel/2022-06/msg00035.html
https://lists.gnu.org/archive/html/grub-devel/2022-11/msg00059.html

refmap.gentoo:

https://bugs.gentoo.org/773991 https://security.gentoo.org/glsa/202104-05
https://bugs.gentoo.org/850535
https://bugs.gentoo.org/881413

Done via https://github.com/flatcar/scripts/pull/1082.


Not enough Closure

Project has solid HTML foundations but it's lack of Closure lang it's apparent. This should be addressed with the next build

When are you coming back to THG?

I don't think I am welcome there anymore :(


[Docs] Rename the docs/team files to correct names

Addresses https://github.com/AY2223S1-CS2103T-T13-2/tp/pull/16#issuecomment-1257169168

Codecov Report
Base: 72.15% // Head: 72.15% // No change to project coverage :thumbsup:

Coverage data is based on head (538424e) compared to base (326e91b).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff            @@
##             master      #26   +/-   ##
=========================================
  Coverage     72.15%   72.15%
  Complexity      399      399
=========================================
  Files            70       70
  Lines          1232     1232
  Branches        125      125
=========================================
  Hits            889      889
  Misses          311      311
  Partials         32       32

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

LGTM


Feature/issue 183 handle loading and error states

The store has properties that only have meaningful values in some states and not others: error message in the error state, progress in the loading state. Using classes we can express this, and we avoid the problems of stale values sitting in error and progress fields when they are not relevant. Also, being able to restore the last known good state from an error state is nice. We could do that with other approaches too but here we use the type system to ensure that the state that comes back after clearing the error really is valid.

I like it.

Done


Height Change During the Session Causes Cursor Y to Jump to the Wrong Position

WebTerminal v4.2.8, steps to reproduce:

Minimize the WebTerminal window to take 50% of the maximized height;
Press  until the output reach the bottom of the window;
Enter write "test" but do not press ;
Maximize the window and press enter.

The output goes in the wrong position then. The same happens if you enter, for example, hang 10 write "test", and maximize the window during the hang.

Reported by Lee and Matthew / IDEL project.

Fixed by 40c51a3b313f552d672e683914200ee1a6c717b9.


Add size and physical_size to window

This is an implementation within bevy_window::window that fixes #12229.
Objective
Fixes #12229, allow users to retrieve the window's size and physical size as Vectors without having to manually construct them using height() and width() or physical_height() and physical_width()
Solution
As suggested in #12229, created two public functions within window: size() -> Vec and physical_size() -> UVec that return the needed Vectors ready-to-go.
Discussion
My first FOSS PRQ ever, so bear with me a bit. I'm new to this.

I replaced instances of Vec2::new(window.width(), window.height()); or UVec2::new(window.physical_width(), window.physical_height()); within bevy examples be replaced with their size()/physical_size() counterparts?
Discussion within #12229 still holds: should these also be added to WindowResolution?

@chompaa could I get your review here? :) You were beaten to the punch, but more eyes are very helpful.
@hi-names-nat can you add this to WindowResolution in this PR as well please? I think it's a very natural API there as well.

There's a missed example in examples/3d/split_screen.rs
- 189  let size = UVec2::new(window.physical_width(), window.physical_height()) / 2;
+ 189  let size = window.physical_size() / 2;

@chompaa could I get your review here? :) You were beaten to the punch, but more eyes are very helpful.
@hi-names-nat can you add this to WindowResolution in this PR as well please? I think it's a very natural API there as well.

Will do! Sorry for beating you to this @chompaa :laughing:

Now that WindowResolution has the same behaviour, there are examples:

crates/bevy_ui/src/layout/mod.rs#L463
crates/bevy_ui/src/render/ui_material_pipeline.rs#L386
crates/bevy_winit/src/system.rs#L166
crates/bevy_render/src/camera/camera.rs#L632

Now that WindowResolution has the same behaviour, these need fixing:
* `crates/bevy_ui/src/layout/mod.rs#L463`

* `crates/bevy_ui/src/render/ui_material_pipeline.rs#L386`

* `crates/bevy_winit/src/system.rs#L166`

* `crates/bevy_render/src/camera/camera.rs#L632`

crates/bevy_winit/src/system.rs#L166 Constructs a new PhysicalSize that seems to require the individual calls to height() and width(). Might be a good way to do it that I'm not seeing. My current working solution remove the individual calls  is to extract the call to physical_size() as a variable and supply the x and y components that way.

crates/bevy_winit/src/system.rs#L166

I think just leave that one alone.

crates/bevy_winit/src/system.rs#L166 Constructs a new PhysicalSize that seems to require the individual calls to height() and width().

Sorry, I think I referenced the wrong one here, I meant to reference /examples/stress_tests/bevymark.rs#L368.

crates/bevy_winit/src/system.rs#L166 Constructs a new PhysicalSize that seems to require the individual calls to height() and width().

Sorry, I think I referenced the wrong one here, I meant to reference /examples/stress_tests/bevymark.rs#L368.

I can't believe I missed this right after I hit push. Woe is me!!!

Awesome, thank you all a ton.


corrected the profile dropdown ui

PR Fixes:

1 corrected the profile dropdown ui ,  the content inside the dropdown is overflowing .

Resolves #689
Checklist before requesting a review

[x] I have performed a self-review of my code
[x] I assure there is no similar/duplicate pull request regarding same issue

Always remove lock files

I have done the required changes

@SaurabhBarde-007 Can you share some screenshot of the changes, like before and after.


[TF-TRT] Add Grappler optimizers to converter

cc @bixia1 @tfeher @DEKHTIARJonathan
This mitigates one of the problems seen in https://github.com/tensorflow/tensorrt/issues/255 and makes that BERT Large model (and others) convert successfully.

In the previous set of optimizers, constfold was duplicating constants unnecessarily due to some control dependencies. dependency and common_subgraph_elimination do a great job at removing this duplication.
I also noticed that having a constfold before and after layout was unnecessary, and in all the models I've tested, equivalent to just having the second one.

I haven't measured any significant performance impact but the size of converted transformer models tends to be reduced by 50% with this change.
_Note: I had to change the tests slightly because the dependency optimizer removes the ReadVariableOp and keeps a constant v1 whereas constant folding alone optimizes ReadVariableOp to a constant with the value of v1. This  also depends on the order of the Grappler passes.

@Nyrio There are a few test fail due to TRTEngines built differently, can you please make sure that tests pass with TF1 and TF2 ?
Here are the failing test:
tensorflow/python/compiler/tensorrt/test:base_test	FAILED
tensorflow/python/compiler/tensorrt/test:quantization_test	FAILED
tensorflow/python/compiler/tensorrt/test:reshape_transpose_test	FAILED

@Nyrio Thanks for the fix. Please squash the commits and I will approve it.

@bixia1 Squashed.
The CI failure in the oneDNN build appears unrelated.

this test still fails //third_party/tensorflow/python/compiler/tensorrt/test:gpu_base_test
ConstInputTest.testTfTrt_OfflineConversion_DynamicEngine_FP16_NoCalibration_ImplicitBatch
0:00:00.200
Traceback (most recent call last):
File "/build/work/d3efda52e05638903d137374a91789e33061/google3/runfiles/google3/third_party/tensorflow/python/framework/test_util.py", line 3468, in assertDictEqual
super().assertDictEqual(a, b, msg)
File "/build/work/d3efda52e05638903d137374a91789e33061/google3/runfiles/google3/third_party/py/absl/testing/absltest.py", line 1780, in assertDictEqual
raise self.failureException('\n'.join(message))
AssertionError: {'TRTEngineOp_0': {'input_0', '^incompatible'}, 'TRTEngineOp_1': {'^incompatible', 'incompatible1'}, 'c': set(), 'incompatible': {'input_0', '^c'}, 'incompatible1': {'TRTEngineOp_0'}, 'input_0': set(), 'output_0': {'TRTEngineOp_1'}} != {'TRTEngineOp_0': {'incompatible1'}, 'TRTEngineOp_1': {'input_0'}, 'incompatible1': {'TRTEngineOp_1'}, 'input_0': set(), 'output_0': {'TRTEngineOp_0'}} (
expected:
[('TRTEngineOp_0', {'input_0', '^incompatible'}), ('TRTEngineOp_1', {'^incompatible', 'incompatible1'}), ('c', set()), ('incompatible', {'input_0', '^c'}), ('incompatible1', {'TRTEngineOp_0'}), ('input_0', set()), ('output_0', {'TRTEngineOp_1'})]
vs actual:
[('TRTEngineOp_0', {'incompatible1'}), ('TRTEngineOp_1', {'input_0'}), ('incompatible1', {'TRTEngineOp_1'}), ('input_0', set()), ('output_0', {'TRTEngineOp_0'})])
repr() of differing entries:
'TRTEngineOp_0': {'input_0', '^incompatible'} != {'incompatible1'}
'TRTEngineOp_1': {'^incompatible', 'incompatible1'} != {'input_0'}
'incompatible1': {'TRTEngineOp_0'} != {'TRTEngineOp_1'}
'output_0': {'TRTEngineOp_1'} != {'TRTEngineOp_0'}
Missing entries:
'c': set()
'incompatible': {'input_0', '^c'}

@bixia1 The dependency optimizer added in this PR doesn't mix well with the v1 integration tests that expect redundant dependencies, so I added some code to emulate the transitive reduction of the control dependencies on the expected graph. Also, the new optimizers optimize constants with the same value or nodes that aren't used by any output, so I had to do a few changes here and there.
I could use some feedback on the change in tf_trt_integration_test_base.py.
I'll squash later (also, the CI pylint job is suddenly failing on previous changes for a "line too long" though the line seems fine to me, i don't see why).

I made the proposed changes in tests. I'm still quite puzzled with the pylint false positive in CI. It's a "line too long" error but the line is actually far less than 80 characters long and I can't reproduce it when I run pylint locally...

This test still fails:
tensorflow/python/compiler/tensorrt/test:gpu_tf_function_test
The waymo test mentioned above still fails.

@Nyrio Can you please check @bixia1's comments and keep us posted ? Thanks!

@gbaned @bixia1 I fixed the test mentioned above.


fileutil, wal: refactor file locking

File lock interface was more verbose than it needed to be while
simultaneously making it difficult to support systems (e.g., Windows)
that only permit locked writes on a single fd holding the lock.

/cc @xiang90 @gyuho
thought I might do this as part of the wal fallocate improvements

Looks great. Yeah current implementation makes it really hard to lock files in windows.
lgtm after tests pass.
Defer to @xiang90
Thanks.

tests passing ptal /cc @xiang90

@heyitsanthony LGTM. But I am not 100% confident about this change. If you are confident, we can merge it now. Or we can wait until we release 2.3.

@xiang90 fine with deferring until after 2.3; no reason to rush this one


[BUG] Azure Digital Twins SDK fails when included in Blazor Server and deployed to the Azure App Service

Library name and version
Azure.DigitalTwins 1.2.2
Describe the bug
After successfully logging in to the SDK with a managed identity, calls to GetModelsAsync return an AsyncPagable object.  This object throws an error: "statusCode": 404, "message": "Sub-domain not found.", when you try and iterate on it.  Specificially, the following code fails on the first iteration
AsyncPageable<DigitalTwinsModelData> mdata = client.GetModelsAsync(new GetModelsOptions { IncludeModelDefinition = true });
await foreach (DigitalTwinsModelData md in mdata)

In this case, the digital twins library is being logged in with a system managed identity from the app service which has been made a "Digital Twins Data Owner" in the digital twins service.

This same code succeeds, if the Blazor Server project is run from Visual Studio, where no managed identity is used.
This same code succeeds, if the digital twins library is included in an Azure function and deployed to Azure using the same managed identity configuration
This same code succeeds if the digital twins library is include in an Azure function and run from Visual Studio
I also tested this with version 1.4.0-beta.1 and had the same results
The Blazor server project is compiled with .Net 6.

Expected behavior
If there are no models deployed to the digital twins, so the code should just skip at the first iteration.  If models have been deployed, the code in question should iterate over the returned object without an error.
Actual behavior
This object throws an error: "statusCode": 404, "message": "Sub-domain not found."
Reproduction Steps

Create a blazor server project.
Create a class that allows login to the azure digital twins service and which calls GetModelsAsync from an Async Method.  An example of the method is blow.

        private async Task<bool> ReadModelsAsyncPri()
        {
            AsyncPageable<DigitalTwinsModelData> mdata = client.GetModelsAsync(new GetModelsOptions { IncludeModelDefinition = true });
            await foreach (DigitalTwinsModelData md in mdata)
            {

            }
            return true;
        }

Inject this class as a service into a razor component page
From within OnInitializedAsync(), log into the injected service and call the method
Deploy this to an Azure App Service
Try and run it

Environment
Visual Studio 2022: Version 17.2.3
dotnet --info
.NET SDK (reflecting any global.json):
Version:   6.0.300
Commit:    8473146e7d
Runtime Environment:
OS Name:     Windows
OS Version:  10.0.22000
OS Platform: Windows
RID:         win10-x64
Base Path:   C:\Program Files\dotnet\sdk\6.0.300\
Host (useful for support):
Version: 6.0.5
Commit:  70ae3df4a6
.NET SDKs installed:
3.1.419 [C:\Program Files\dotnet\sdk]
6.0.300 [C:\Program Files\dotnet\sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 3.1.25 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 5.0.17 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.5 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 3.1.25 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 5.0.17 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.5 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 3.1.25 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 5.0.17 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 6.0.5 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
To install additional .NET runtimes or SDKs:
https://aka.ms/dotnet-download
PS C:\Users\pfisher>

Label prediction was below confidence level 0.6 for Model:ServiceLabels: 'Service Bus:0.15423697,Digital Twins:0.11351467,Storage:0.11115217'


Cleanly factor IO into ContextManager of validator KeyStore

What was wrong?
There were two types of KeyStore, in-memory or one that persists keys to disk, and by factoring the IO into the ContextManager part of the KeyStore, the two classes could be merged.
This is cleaning up the KeyStore so there is a cleaner separation of handling keys and persisting keys to disk.
Cute Animal Picture

also noting a similar unification could happen with BeaconNode and MockBeaconNode classes; or possibly that we just move the Mock class into testing code as the validator client codebase matures...

going to go ahead and merge in; happy to address post-merge feedback :)


Embedded plunker "Invalid path: /..."

All public plunkers are facing problems when opening in embedded view:

It's working again. The Problem seems to be solved now.


very hard to figure out matching for custom sources

I am trying to create a source for latex to unicode, but I find myself rather mystified by the regex matches in the existing examples.
I think I want to match something like \\\w* (backslash and then word or number of any length) but the matching done by compe.helper does not resemble normal regex in any obvious way.  I'm looking at the regex \%(\s\|^\)\zs:\w* for emojis which only seems to be matching on : but I cannot make any sense of it.
Would it be possible to provide more documentation for how to do matching for a custom source?

The compe.helper uses vim's regex (because Lua's pattern matching is too simple).
return compe.helper.determine(context, {
  keyword_pattern = [[\\\w*$]]
})

Ah, that makes sense, I should have thought of that.
Again, if at some point you have the time to expand the docs on custom sources, it would be appreciated.  Thanks!


Django Ckeditor form not showing saved content

Hi i am using django ckeditor in my application i have a form to edit the saved content. but not showing the content inside the box when i try to edit the content. please see the image below.

i use below  tags to show the ckeditor. it shows the editor without saved data.
{{ form.media }}
{{ form.description }}
data instance is passed from view. all other fields are working fine but ckeditor fields not working.
spattern_instance = Spattern.objects.get(id=kwargs['pk']) spattern_form = SpatternForm(request.POST or None, instance=spattern_instance)
please help me to figure out this issue

I think you need init your form
init_update = {'name_field_form': field_model}
form = SpatternForm(instance=spattern_instance, initial=init_update)


Crash with vue-loader@13

After compile with<EMAIL_ADDRESS>get error Failed to mount component: template or render function not defined

@cawa-93 As in my patch, use dynamic import and not require in your router code to include components. Because new version of vue-loader expect ES2015 imports.

See https://github.com/vuejs/vue-loader/releases/tag/v13.0.0 "Breaking Changes" for details.


Created an ASCII title for the game

Created an ASCII title for the game that will print on the console

Thank you JessieVela!


Upgrading with start before stopping stops container before new container is healthy

Rancher versions:
rancher/server: v1.6.14
rancher/agent: v1.2.9
Setup details: (single node rancher vs. HA rancher, internal DB vs. external DB)
Single node rancher
Environment Template: (Cattle/Kubernetes/Swarm/Mesos)
Cattle
Steps to Reproduce:

Create a stack with a service running nginx with a healthcheck HTTP on port 80 with path /
Upgrade service with Start before Stopping selected and break the healthcheck (change to port 81)

Results:

New container gets started, never goes healthy and old container will be stopped.

Happening since v1.6.11
Possibly related: https://github.com/rancher/cattle/commit/635592506c88e9742b519c8980dd8d0805540afd

Tested with latest build form 1.6 branch.
Existing containers dont go to "stopped" state anymore when upgrading with incorrect health check config parameters , but they get to "unhealthy" state which is not expected. This issue is tracked in -
https://github.com/rancher/rancher/issues/12080


Undesign client validation

This change removes a layer of abstraction. These validators now just do what they do now without creating a bunch of intermediate objects.
Before:

After:

/cc @dougbu

:watch:

@rynowak definitely a worthwhile perf improvement as well as a cleaner API (as long as we can indeed to w/o IHtmlHelper.GetClientValidationRules()) but what issue is this PR related to?

@dougbu - updated and removed design tag.

:watch:

@dougbu updated and added tests

Updated again - added docs and made that method protected.

:shipit: if everything builds locally. I noted one suspicion on that.


Coordinator #5

The team leader when documenting that a need is fulfilled will be asked who fulfilled the need.
It can be free text, to document.


Buggy lighting inside of menger sponges

Menger sponges' inner faces turn almost pitch black when there are enough blocks next to it on a given side.
Placing a 3x3 of blocks above a menger sponge turns the bottom faces pitch black:

Placing a vertical 3x3 next to one turns the opposite side faces pitch black:

This applies to both wet and dry menger sponges.

I think this is because this block is opaque and light engine calculations are wrong, I think if I will make it transparent to light it will be fixed

As this bug is related to MC rendering engine (and is not appearing on others) it will be postponed. Probably 1.17 will fix it automatically

Proper bounding boxes fix this

Fixed in 0.12.5


About People SnapShot Public Dataset Preprocessing

Hi,
Thanks for your great work!
I have seen from your supp that you also conduct experiments on the dataset of People SnapShot Public. Could you provide the source codes for preprocessing this dataset? Thanks

+1, same request

+1, same request

The data preprocessing will depend on where you received the smpl parameters from. You can consider the wild method here, where the pelvis pose is first calculated and set to 0 or go with the Zju-mocap processing file in you generate your parameters from Easymocap.
I did it from Easymocap so I created my script by changing things in Zju-mocap processing file.


🐛 Bug Report<EMAIL_ADDRESS>breaks

📜 Description
After updating @backstage/backend-common from 0.18.5 to 0.19.0, backstage is not able to read the app-config.yaml and app-config.local.yaml anymore.
👍 Expected behavior
Backstage shall be able to read the configurations as before, since no breaking changes were announced.
👎 Actual Behavior with Screenshots

👟 Reproduction steps
Can't really tell? We have these dependencies for the backstage backend
    "@backstage/backend-common": "^0.19.0",
    "@backstage/backend-tasks": "^0.5.2",
    "@backstage/config": "^1.0.7",
    "@backstage/plugin-app-backend": "^0.3.45",
    "@backstage/plugin-auth-backend": "^0.18.3",
    "@backstage/plugin-auth-node": "^0.2.15",
    "@backstage/plugin-permission-common": "^0.7.4",
    "@backstage/plugin-permission-node": "^0.7.8",
    "@backstage/plugin-proxy-backend": "^0.2.39",
    "app": "link:../app",
    "better-sqlite3": "^8.4.0",
    "dockerode": "^3.3.1",
    "express": "^4.17.1",
    "express-promise-router": "^4.1.0",
    "pg": "^8.11.0",
    "winston": "^3.9.0"

📃 Provide the context for the Bug.
We have extended the app-config.yaml with this
export interface Config {
	/**
	 * @visibility frontend
	 */
	mxp: {
		/**
		 * @visibility frontend
		 */
		clientId: string
		/**
		 * @visibility frontend
		 */
		authority: string
		/**
		 * @visibility frontend
		 */
		scopes: Array<string>
	}
}

Which worked until 0.18.5
Any other configuration are the built-in ones
🖥 Your Environment
OS:   Darwin 22.5.0 - darwin/arm64
node: v18.16.0
yarn: 1.22.19
cli:  0.22.7 (installed)
backstage:  1.12.0

Dependencies:
  @backstage/app-defaults             1.4.0
  @backstage/backend-app-api          0.4.4
  @backstage/backend-common           0.18.5, 0.19.0
  @backstage/backend-dev-utils        0.1.1
  @backstage/backend-plugin-api       0.5.3
  @backstage/backend-tasks            0.5.2, 0.5.3
  @backstage/catalog-client           1.4.1, 1.4.2
  @backstage/catalog-model            1.4.0
  @backstage/cli-common               0.1.12
  @backstage/cli-node                 0.1.0
  @backstage/cli                      0.22.7
  @backstage/config-loader            1.3.1
  @backstage/config                   1.0.8
  @backstage/core-app-api             1.8.1
  @backstage/core-components          0.13.2
  @backstage/core-plugin-api          1.5.2
  @backstage/dev-utils                1.0.16
  @backstage/errors                   1.2.0
  @backstage/eslint-plugin            0.1.3
  @backstage/integration-aws-node     0.1.4
  @backstage/integration-react        1.1.14
  @backstage/integration              1.5.0
  @backstage/plugin-app-backend       0.3.45
  @backstage/plugin-auth-backend      0.18.3
  @backstage/plugin-auth-node         0.2.15
  @backstage/plugin-catalog-common    1.0.14
  @backstage/plugin-catalog-react     1.7.0
  @backstage/plugin-permission-common 0.7.6
  @backstage/plugin-permission-node   0.7.8, 0.7.9
  @backstage/plugin-permission-react  0.4.13
  @backstage/plugin-proxy-backend     0.2.39
  @backstage/plugin-search-common     1.2.4
  @backstage/release-manifests        0.0.9
  @backstage/test-utils               1.4.0
  @backstage/theme                    0.3.0, 0.4.0
  @backstage/types                    1.1.0
  @backstage/version-bridge           1.0.4

👀 Have you spent some time to check if this bug has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Are you willing to submit PR?
None

Nevermind. Just realised this

Deleted yarn.lock and re-installed everything. Works fine now
cheers
flash ⚡


fix docs site deploy failures

Deploy preview for cms-demo ready!
Built with commit 872c67b7a7aacf4e97dcb5d5b061371f1f23e19e
https://deploy-preview-1442--cms-demo.netlify.com

Deploy preview for netlify-cms-www ready!
Built with commit 872c67b7a7aacf4e97dcb5d5b061371f1f23e19e
https://deploy-preview-1442--netlify-cms-www.netlify.com


ISPN-11422 ClusterExpirationFunctionalTest.testWriteExpiredEntry rand…

…om failures

Moving test to unstable group until this can be handled later

https://issues.redhat.com/browse/ISPN-11422
DO NOT CLOSE THE JIRA - this only disables the test.

merged, thanks @wburns


cp: can't create '/data/murmur.ini': Permission denied

docker volume create --name mumble-data
docker run --name mumble -v mumble-data:/data -p 64738 -p 64738/udp -e MAX_USERS=100 -e SERVER_TEXT="Welcome" -e REGISTER_NAME="Root" -e SUPW="xxx" extra/mumble
Starting Initialization
cp: can't create '/data/murmur.ini': Permission denied
/usr/bin/init.sh: line 12: can't create /data/murmur.ini: Permission denied
/usr/bin/init.sh: line 12: can't create /data/murmur.ini: Permission denied
/usr/bin/init.sh: line 12: can't create /data/murmur.ini: Permission denied
<F>2016-05-23 17:17:35.763 Specified ini file /data/murmur.ini could not be opened
Initilization Completed
<F>2016-05-23 17:17:35.826 Specified ini file /data/murmur.ini could not be opened

System:

cat /etc/lsb-release
DISTRIB_ID=CoreOS
DISTRIB_RELEASE=899.17.0
DISTRIB_CODENAME="Red Dog"
DISTRIB_DESCRIPTION="CoreOS 899.17.0"

I can't reproduce.
Could you post the result of "docker info" command ?
Does the command still fail if you don't create the volume before ?

That's strange, if I create the volume myself /var/lib/docker/volumes/.../_data is owned by root, if it is created by docker run it's owned by uid 1000. But I guess all that isn't your fault as it isn't specific to your image.


Typo fix: labels.md

found the same as mentioned in #41355

This is a good first issue for a new contributor. Welcome.
/approve

@windsonsea Thank you so much 😊


Added log for errors on get volume meta-data

Added a log for get op. Fixes the issue in #1709. Checked and added logs for Get() and List() ops.

vshared is under development now and I'd defer to @luomiao and @shivanshu21  to handle logging there.

I will add this logging in https://github.com/vmware/docker-volume-vsphere/pull/1727


⁉ COMMUNITY INPUT WANTED: Timber WP-CLI support ⁉

We need input from the Timber community to answer a very simple question:
Do you use the wp timber command?
Please react with :+1: if you do, :-1: if you don't, and as always, feel free to leave a comment. We want to weight the usefulness of this WP-CLI tooling against its maintenance cost.

Discussion around this started here: https://github.com/timber/timber/issues/2323#issuecomment-721387388

I'm an almost daily Timber User and I don't think I have ever used the CLI command

I use Timber in my everyday routine and didn't know about the CLI command 😅

didn't know about the CLI command

@jarednova The root cause may be the lack of information.

I also use Timber nearly daily and have never used it, but only because I didn’t know about it. I’m surely going to look into it and any good integration with the cli is a positive to me.

I didn't know the command existed either...

Voted down but also would like to refer to lack of information about it. Talking about it and showing it in action would be helpful and also would motivate to use it.

I did not know about it either. But would like to try it out on my next project.

Thanks all! It's clear that this isn't being used in its current incarnation. It seems that there's a fair amount of sentiment that this could be useful (will need docs!). I think the next step would be to pull this into its own repo within the timber org and continue development (and docs!) there.
I know that @gchtr, @acobster and I are all wrapped up right now with the 2.x release so consider this a big 🏷 Help Wanted opportunity. Feel free to raise a ✋ if you're interested in maintaining that sub-project!

@jarednova : are you talking about this?
https://github.com/timber/timber/blob/master/lib/Integrations/Timber_WP_CLI_Command.php

@xavivars yep! well, that's the start at least. I'm honestly not sure what the best functionality would be to include for WPCLI (caching? image regeneration?)

image regeneration?

wp media regenerate already does that. Is there a special Timber layer of the file generation piece that I don't know about?
One feature I could see being useful to the community is scaffolding for generating sub-classes of Timber\Post and other core classes:
$ wp scaffold timber-post-class MyPost --namespace=MyProject
generated class MyProject\MyPost in src/MyPost.php
$ wp scaffold timber-post-class MyTerm --namespace=MyProject
generated class MyProject\MyTerm in src/MyTerm.php

We could even leverage Twig to do this.

@jarednova also, I want to be clear that I still don't see a compelling reason to split this functionality out into its own repo, at least not yet. It seems like a lot of extra maintenance work for not much concrete benefit (at least that I can see - maybe I'm missing something!). If it turns out is does "want" to be its own project, I think it will tell us because the complexity of managing it here will become obvious and unsustainable. But FWIW, I don't think that'll happen. I've authored a handful of plugins with their own WP-CLI tooling now and it has never even registered as a problem: if a maintenance bottleneck does show up, it's always elsewhere.

I'm a daily user of timber (thanks for the great work), I use it with roots/bedrock and with wp cli.

didn't know about the CLI command

@jarednova The root cause may be the lack of information.

I can definitely work on better documentation.

I want to be clear that I still don't see a compelling reason to split this functionality out into its own repo, at least not yet. It seems like a lot of extra maintenance work for not much concrete benefit (at least that I can see - maybe I'm missing something!).

I’m totally on @acobster’s side here. I wouldn’t move this to another repository.

I'm honestly not sure what the best functionality would be to include for WPCLI (caching? image regeneration?)

Deleting caches is surely helpful.

image regeneration?

wp media regenerate already does that. Is there a special Timber layer of the file generation piece that I don't know about?

There’s a function for deleting generated image files. A can image that a CLI command that can delete all generated image sizes could be helpful. When pages are loaded, image sizes would be generated again automatically.

One feature I could see being useful to the community is scaffolding for generating sub-classes of Timber\Post and other core classes

Nice!

didn't know about the CLI command

@jarednova The root cause may be the lack of information.

I can definitely work on better documentation.

I want to be clear that I still don't see a compelling reason to split this functionality out into its own repo, at least not yet. It seems like a lot of extra maintenance work for not much concrete benefit (at least that I can see - maybe I'm missing something!).

I’m totally on @acobster’s side here. I wouldn’t move this to another repository.

I'm honestly not sure what the best functionality would be to include for WPCLI (caching? image regeneration?)

Deleting caches is surely helpful.

image regeneration?

wp media regenerate already does that. Is there a special Timber layer of the file generation piece that I don't know about?

There’s a function for deleting generated image files. A can image that a CLI command that can delete all generated image sizes could be helpful. When pages are loaded, image sizes would be generated again automatically.

One feature I could see being useful to the community is scaffolding for generating sub-classes of Timber\Post and other core classes

Nice!

I voted down, but would like to try it. Didn't know about it :sweat_smile:

Good news! I reintroduced Timber’s WP-CLI integration in #2611. There’s a new WP-CLI Guide that you can check out. Feedback welcome.
It’s included in the first Beta for Timber 2.0 that was just released.
For now, it only includes the commands it included before. In this thread, we shortly explored other ideas for future commands, like scaffolding Timber classes or deleting generated image sizes. If somebody feels up to contributing new commands, we’re happy to accept pull requests.
I’m closing this issue. Please open a new issue or discussion if you run into errors.


Add a tutorial for using :class:~.Text and :class:Tex

Changelog / Overview

Add a tutorial for using :class:~.Text and its derivatives.
Move the Markup reference to the tutorial page.

Motivation
This would help new user's on adding text to their videos.
Explanation for Changes

Documentation Reference

Checklist

[x] I have read the Contributing Guidelines
[x] I have written a descriptive PR title (see top of PR template for examples)
[x] I have written a changelog entry for the PR or deem it unnecessary
[ ] My new functions/classes either have a docstring or are private
[ ] My new functions/classes have tests added and (optional) examples in the docs
[ ] My new documentation builds, looks correctly formatted, and adds no additional build warnings

Reviewer Checklist

[ ] The PR title is descriptive enough
[ ] The PR is labeled correctly
[ ] The changelog entry is completed if necessary
[ ] Newly added functions/classes either have a docstring or are private
[ ] Newly added functions/classes have tests added and (optional) examples in the docs
[ ] Newly added documentation builds, looks correctly formatted, and adds no additional build warnings

@kolibril13 don't merge the master into my branch, I wasn't expecting it and it caused me to do another merge locally and caused problems. I will anyway rebase with master when the PR is ready.

@kolibril13 don't merge the master into my branch, I wasn't expecting it and it caused me to do another merge locally and caused problems. I will anyway rebase with master when the PR is ready.

Ok, I won't do it again.
Only to explain why I did that: The docs were failing due to a timeout.
I wanted to have a look at them, so I merged the master to re-run the build

I really like the DifferentWeight example, but you might want to rename it to DifferentWeights and sort them by weight :)

but you might want to rename it to DifferentWeights

Ok.

sort them by weight :)

That should be a problem in ManimPango, it should be about ordering them https://github.com/ManimCommunity/ManimPango/blob/081feedd3013c2a3cff88a6c170b88f3ac91e2b7/manimpango/enums.pyx#L23-L75, should be easy enough, and then making a release there and getting this here.(it would take quite some time).

Here i would change the first point to "Rendering Text (No Latex)" so that it fits in one line

Just a side note, with #1694 should we try to instead use font_size as opposed to scaling the text?

Maybe you can change them in that PR?


feat: implement full jigsaw environment

Implement a jumanji jigsaw environment.

This was implemented as the flatpack environment, which is merged see #188


openstack: Update image API broken web references

This commit fixes broken web links to OpenStack Image service API references.
Fixes #543
Signed-off-by: Munoz, Obed N<EMAIL_ADDRESS>

Coverage decreased (-0.02%) to 65.912% when pulling d1e0a4a01766ff054250ed37e7dad2d7bde3e8a7 on obedmr:ciao-image-api into 3c0cf66e6c5611c82d7f6c93694d02b94641f0c5 on 01org:master.

@kaccardi This looks good to me.  I've checked the new links and they all work.  Are you happy to merge?


Added feature to align view to part and tool

Loads this as default view on startup and adds button to CADView
This overrides special view from #201 and addresses #181.
This may require more polish later but it's functional for now

This kills the special view


[question] when invoke a rust function, the arguments should be passed as a JSON object with camelCase keys. why? I don‘t want to use  camelCase keys and what should I do ? I want to use the same keys defined in rust code

Can you try this and see if it works for you?
#[command(rename_all = "snake_case")]
fn my_command(the_arg: String) {}

Perfect! Thank you.


Update README.md

Minor edits
Description of changes:
Fix a couple of README lines.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Thank you!


Updated interpreter.py for typo errors

Fixed typo errors in interpreter.py

@aselle , can you pls review this PR

@amitsrivastava78 please resolve conflicts

Closing the PR as similar change is already merged.
Regards
Amit


Fix Style/SpaceInsideStringInterpolation

@homu r+

👍🏻

@homu r+

:pushpin: Commit 8131317 has been approved by indirect

:hourglass: Testing commit 8131317 with merge a9dfc80...

:sunny: Test successful - status


Net standard migration

Upgrading projects to .NET Standard target, and fixing two runtime bugs that were discovered while testing it in the Mouseflow codebase.

I am making a comment for us to remember why these changes were made.
Elasticsearch.Net and NEST projects were upgraded to .NET standard 2.0.
Dependencies were migrated from package.json to package references in the project files.
Unused duplicate GeoPrecision was removed.
Purify function was removed since it fixed an issue prior to .NET 4.5.
Setting MaximumResponseHeadersLength on HttpConnection to -1 was removed because it is not necessary.


There is noway to add tooltip for each color in swatches

Your environment:
Version (see Pickr.version):
Used bundle (es5 or normal one):
Used theme (default is classic):
Browser-version:
Operating-system:

Please stick to the Issue Template. Create a JSFiddle and describe what you've done as detailed as possible and break your issue down to a minimum. This will help me to resolve it as fast as possible.


Line going off the top of chart

I have an issue where the data on my line chart is going beyond the top of the chart.
The below CodePen shows what I mean.
Codepen

Okay so after a bit more investigation it seems like its because the yaxis doesnt like decimal numbers. If I change the highest value in my array (4.791986999999999) to 5 it does not go off the top.
Not only this but if I set the max value of the yaxis to be a decimal (in my case i tried to set it to my max value in the array (4.791986999999999) it still doesnt work, guessing because the chart doesnt like the decimal value?

The chart loves decimal values 😀, and care is taken to allow decimal values to be printed precisely.
Maybe I missed some checks, I will take a look soon.


Enhancement: Turn DashboardController into DashboardAction

This PR

[x] turns the Admin\DashboardController into Admin\DashboardAction

Follows #912.

Thank you, @chartjes!


issue 772: feat: add uuid encode/decode support

Resolution for issue 772: Add support for UUID type

Added endode support for UUID type
Added decode support for UUID type

Tested using local executable on PostgreSQL, mySQL and SQLite.

Codecov Report

Merging #31 into master will decrease coverage by 0.01%.
The diff coverage is 16.66%.

@@            Coverage Diff             @@
##           master      #31      +/-   ##
==========================================
- Coverage   21.51%   21.49%   -0.02%
==========================================
  Files           6        6
  Lines        1515     1521       +6
==========================================
+ Hits          326      327       +1
- Misses       1189     1194       +5

Flag
Coverage Δ

#SwiftKueryORM
21.49% <16.66%> (-0.02%)
:arrow_down:

Impacted Files
Coverage Δ

Sources/SwiftKueryORM/DatabaseDecoder.swift
11.5% <0%> (-0.21%)
:arrow_down:

Sources/SwiftKueryORM/DatabaseEncoder.swift
31.7% <50%> (+0.93%)
:arrow_up:

Continue to review full report at Codecov.

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

We also need to update the version of Swift-Kuery to 1.3.0


Add support for GitHub Actions problemMatchers

Add GitHub Actions annotations in the code of pull requests when ruff raises an error.

https://github.com/actions/toolkit/blob/main/docs/problem-matchers.md
https://fusectore.dev/2021/11/19/github-action-problem-matchers.html

An example of GitHub Action problemMatchers being applied to flake8 errors.

https://github.com/python-social-auth/social-core/blob/master/.github/workflows/flake8.yml

I think this is already supported via the --format github option.

Awesome!!  Thx!