Test Implementation for Project Module

Hey @HarshPatel5940  can you please explain the issue? i want to work on it.

Hey @HarshPatel5940  can you please explain the issue? i want to work on it.

Hello @Hrx4, sure you can proceed to work on it.
Make sure you have read this comment.
https://github.com/HarshPatel5940/EzMs-Backend/issues/3#issuecomment-1762925337

@Hrx4 Feel free to explain your idea here and then start work on it.

Hey @HarshPatel5940 can you please explain the issue? i want to work on it.

@Hrx4 You have write tests for the endpoints which are already been created. So to write test you can use this orelse if you have some better alternative. feel free to explain here and then work it.

Ok , I am starting work on this issue

Good to hear!

How can i get the env file?

How can i get the env file?

@Hrx4 You can refer to .env.example. If you want I can update the Readme file to include some of the steps on how to setup and start.
Let me know if that's necessary?

@Hrx4 What's the progress update?

@Hrx4  Please give me an update, or i will have to unassign this issue.


fix: enables creation of GitLab releases by default

Fixes #90.

There is already an PR open for this: https://github.com/un-ts/changesets-gitlab/pull/89


Can't get it working..

Trying to run the script but I'm stuck.
I keep getting this:
File "./battery.py", line 581
while True:
^
IndentationError: expected an indented block

Oops, I have merged a pull request and it seems lite this caused a problem. There are two lines "while True" Remove one of the , e.g  #579, and this problem should go away.

Thanks, seemed to solve that problem, but now I'm getting this instead:
Segment start hour: 0
Traceback (most recent call last):
File "/home/pi/battery.py", line 619, in
main()
File "/home/pi/battery.py", line 517, in main
vector = buildOptimizedChargeCntrlVector(pdata['data']['viewer']['homes'][0]['currentSubscription']['priceInfo']['today'], bLogger)
File "/home/pi/battery.py", line 202, in buildOptimizedChargeCntrlVector
segments = priceSegments(data, logger)
File "/home/pi/battery.py", line 358, in priceSegments
peaks, _ = find_peaks(prices)
NameError: name 'find_peaks' is not defined

find_peaks is defined in a python package imported in the beginning of the file:
from scipy.signal import find_peaks
It looks like you miss this module scipy.signal on your system. You need to install this.  You can find  out how by googling....

I think i got it running now.
Apparently i somehow managed to delete
"from scipy.signal import find_peaks"
Added it again and now it seems to run properly. Thanks!

I have made quite a few updates beside your pull request. Unfortunately, I was lost in in git and realized I have made a all changes in a detached state. So now I created a new branch, nextstep, wich includes all my additions beside your pull request. This branch is called "nextstep". So please use this instead of "mailn". I don't know if have have pulled the whole repo, so I don't want to mess up things by renaming the branch. Just forget main to put it simple.....

Thanks, what’s the update, anything major?
Unfortunately I'm pretty useless at programming / python but I'm trying to learn.
However, I have an idea for an extension that I thought I would share with you. However, don't know how complicated it is to implement, so do what you want with the idea.
I have seen that there will be some days when it is not worth charging and selling and when the script says "Idle" all day. On such days, you could have put a full charge on "Low" and then use it for self-consumption during the day, i.e. switch to maximizing self-consumption but skip 0 as maximum input/output.
I'm thinking of another position on the helper which is called self-consumption.
Then there are days where it is cheaper to charge in the evening (like 22-00) than on the following night, it would have been nice if you could intercept it in some way to optimize. :)
Best regards

I have just pushed an updated version. The one you looked  at is a non working version due to I screwed up my git repo....
This version includes some  of the improvements you propose. For instance, it will set battery mode to "maximize selfconsumtion" if the price curve is to flat.
But the biggest improvement is related to the prize curve analysis. It now makes a single segment analysis of the full day and also makes a multisegment analysis where individual peaks are identfied. Single segment is compared with the outcome of a multi segment approach before the final charging vector is defined.
Another improvement comes from @MichaelPihlblad. This adds two attributes to the entity input_select.battery_mode. Those attributes will contain today's and tomorrow's charging vector. By this those can be displayed in HA on a MD card. Just add a MD card and include the following templates:
{{state_attr("input_select.battery_mode","Today") }}
{{state_attr("input_select.battery_mode","Tomorrow")}}
If there is no vector (like it is today), "None" will be displayed.
I have also though about implementing a sliding window, so the analysis can span over midnight, Howver, I have not done anything on this so far. It makes things more complex and the gain is quite limited.


Suppress IDE0010 in a simple variation of the suggested result type

if the result type exposes a property of type object, used to switch on such property, it would be nice to be able to ensure exhaustiveness matching. Below you can find the offending code:
public abstract class Result<TSuccess, TFailure>
    where TSuccess : notnull
    where TFailure: notnull
{
    private Result() { }

    public abstract TResult Map<TResult>(Func<TSuccess, TResult> success, Func<TFailure, TResult> failure);

    internal sealed class Success(TSuccess value) : Result<TSuccess, TFailure>
    {
        public TSuccess Value { get; } = value;

        public override object Object => Value;

        public override TResult Map<TResult>(Func<TSuccess, TResult> success, Func<TFailure, TResult> failure) => success(Value);
    }

    internal sealed class Failure(TFailure error) : Result<TSuccess, TFailure>
    {
        public TFailure Value { get; } = error;

        public override object Object => Value;

        public override TResult Map<TResult>(Func<TSuccess, TResult> success, Func<TFailure, TResult> failure) => failure(Value);
    }

    public static implicit operator Result<TSuccess, TFailure>(TSuccess success) => new Result<TSuccess, TFailure>.Success(success);

    public static implicit operator Result<TSuccess, TFailure>(TFailure failure) => new Result<TSuccess, TFailure>.Failure(failure);

    public abstract object Object { get; }
}

Result<int, string> res = 1;
var foo = res.Object switch
{
   int => "int",
   string => "string"
};

Is it possible to suppress the aforementioned diagnostic in such case?
Maybe we can add some metadata to the object property so the analyzer knows that such property can only contain one of the two types TSuccess or TFailure.

TL;DR
This suppressor will stay very simple, only supporting the closed type hierarchy pattern.
You will have to write your switch expressions accordingly, like (pseudo-csharp):
Result<int, string> res = 1;
var foo = res switch
{
  Result<int, string>.Success => "int",
  Result<int, string>.Failure => "string"
};

and leverage patterns to get at the values, like Result<int, string>.Success { Value: int v }.
To shorten the switch a bit if you are switching a lot on the same result type in the same file, you could declare a using static for that type and then only write Success s => s.Value.
Long Version
Youur proposal sounds a lot like what I already did in my OneOfDiagnosticSuppressor.
With the OneOf suppressor this is fine, because the suppressor is specific to the OneOf library and can assume the implementation of that specific library to be correct.
I am however reluctant to add such a thing here, because it depends on an arbitrary consumer-supplied (!) correct implementation of that Value property.
Right now, this suppressor does not depend on any implementation, just on the C# language rules.
It only cares about the correct declaration of the closed type hierarchy pattern.
That is why there need not be any metadata or configuration.
It is also why I don't need to constantly maintain it.
It is supposed to just extend the compiler a little for this particular pattern.
Most importantly, it should never falsely suppress.
When in doubt, it falls back to the default compiler behavior.
A "blessed" Value property would either change that, or be very specific to exactly one kind of implementation of the Value property, which would still be hard and error-prone to check.
C# rules of inheritance would have to be taken into account, not even to mention the new keyword and such niceties.

Thank you for the explanation


add pipe prop to  to allow for customizing the value…

… displayed by a mask

This PR closes #616
Description
Add the pipe prop so that it passes down via InputProps

Thanks!

Will you be able to publish a new release to NPM? I'm sure you're busy, thanks in advance!


Kontena Uninstall

Not sure how to stop and uninstall Kontena server and agents...any help would be appreciated.

Did you install them to vagrant or some cloud?

I have the master setup on Ubuntu 14.04 and all the slaves on ubuntu 14.04

You can just remove those installed kontena-* packages.

that worked for the master, but the slaves show kontena agent 0.9.2 and google/cadvisor. When I stop them they restart, when I delete them they restart, apt-get remove kontena* on the slaves finds nothing. Not sure how to get them off the slaves..

Thats weird. Try to stop agent first using sudo service stop kontena-agent. If that works, just remove /etc/init/kontena-* files.

ok thank you this worked:
sudo service kontena-agent stop , then docker rm kontena-agent


Progress on Placeholder not working

Progress on placeholder PDF().fromUrl not working..
Anyone can help me?

import 'package:flutter/material.dart';
import 'package:flutter_cached_pdfview/flutter_cached_pdfview.dart';

void main() {
  runApp(
    MaterialApp(
      debugShowCheckedModeBanner: false,
      home: Scaffold(
        body: const PDF().fromUrl(
          'https://www.entnet.org/wp-content/uploads/2021/04/Instructions-for-Adding-Your-Logo-2.pdf',
          placeholder: (double progress) => Center(child: Text('$progress %')),
          errorWidget: (dynamic error) => Center(child: Text(error.toString())),
        ),
      ),
    ),
  );
}

https://user-images.githubusercontent.com/33700292/180056898-26a1e933-26b0-4b65-9231-7bb0f612f014.mov

@taftazaniadi
@Ahmed-Hussein-DevOpSolution
working perfectly
please try with larger file

@taftazaniadi @Ahmed-Hussein-DevOpSolution
working perfectly please try with larger file

so it doesn't work on small file size?


Cannot scroll the Categories list

Addon Version
Baganator-504.zip
World of Warcraft Version
Retail
Describe the bug
When the number of categories created gets very large, in the Categories tab, when clicking the drop-down menu for "Insert or create", the listed categories fills up the entire height of the screen, with the last viewable entry for my situation starting with the letter D, and I know there are categories beyond that such as Reagents, Junk Weapons, etc. However I am unable to scroll down to see the rest of them.
I may have gotten this many categories because I was importing a couple of profiles from https://wago.io/search/imports/wow/baganator to try them out/compare them, and it seems each import just adds more and more categories without any notice/indicator that I am appending more categories nor any option to overwrite/wipe out existing categories.
Steps to reproduce

Install the Baganator addon with fresh settings, delete any existing SavedVariables file for Baganator.
Open bag, click on the Customize Baganator icon on the upper-right
Click on Categories tab
Create a ton of categories OR import a few Baganator Profiles from a source such as https://wago.io/search/imports/wow/baganator
Click on Categories tab again, and see that the list of Categories takes up the height of the page, and is not scrollable to view all of the now existing categories. No scrollbar is even visible within this drop-down pane.

Okay, I saw on the addon page on Curseforge that I at least have this option to try to clean up some categories.. .however I feel the drop-down pane is probably intended to be scrollable.
Remove any custom categories you aren't using with /bgr removeunusedcategories

Adding screenshot for clarity, showing the unscrollable categories drop-down.

Closing. Apologies, I opened this for the wrong GitHub/Addon.


Waitlist branch

This branch creates a waitlist that can be added to by creating a party. It can also be removed from based on the size of the available tables. Tests and implementation are in hostAPI, I created a new class called Party that is very simple.

Code looks solid, javadocs are well understood, code is clean. Let's merge this request 💯


PlotSquared compatibility

I wanted to report that with CloudNet the permission "plots.plot.1" which is very important for PlotSquared does not work.
LG
MagicallyTim

Okay, the main problem is, that PlotSquared never asks for the plots.plot.1 permission.


Incomplete line in Council Member Incentives proposal

The following line seems to be incomplete:
https://github.com/VoiNetwork/governance/blob/5798ae8e342f941e9a2dbe1bdba8ea3a6b7e1ef4/Proposal Submissions/Council Member Incentives/CouncilMemberIncentives_VoiFoundation_20230907.md?plain=1#L21

Amazing, thanks for flagging this. Should be resolved now


Weirdness

I got Jackhammer before Pressure Bomb on one seed and it gave me the water bar.
But getting Grenade before Bomb didn't give me the water bar.
So something weird happens with one of those.

Grenade is not a standalone upgrade, but a Bomb upgrade. So it makes sense that you cannot use it without having the Bomb


[Feature] Improved SearchBox for stories

Hello everyone! First time poster here.
Currently search is performed exclusively on the name of the story, but it might be relatively easy/safe to take advantage of Story Parameters to make search a bit smarter.
I wanted to implement an interactive Design System in storybook in which stories could be "tagged" and searched for by typing in such tags, and enable using the same Markdown files used to document a story so that matching terms within them would be found and consequently the story "matched" in the search results. (inspired by Storybook Readme).
I was thinking it could be a matter of providing the attributes directly in the story, such as:
import ButtonReadme from '../components/button/README.md';

storiesOf('Button', module)
  .add('with text', () => (
    <Button onClick={action('clicked')}>Click me!</Button>
  ),
  {
     searchTags: ['button', 'generic'],
     searchMarkdown: [ButtonReadme] // Could provide several files if needed
  }
)

I'm not sure of what this all involves, but I presume it would mean:

[ ] edit <SearchBox /> to receive additional data from the stories (possibly here).
[ ] read from said markdown files somewhere
[ ] reserve/use some specific parameter from api.add(title, story, params) so that you can provide said tags and/or markdown files.

What do you guys think? I'd be happy to help with the implementation and feedback!

Interesting Idea 👍
I would wait though until @ndelangen and co will finish a major refactoring of the UI and State management.

@christopherstat Let's have a chat on our slack?
https://now-examples-slackin-rrirkqohko.now.sh/

Wow, I was literally just explaining to my team how cool this functionality would be to find that a few days ago it had been raised here!
I found myself scrolling through the list of my components trying to find form related components. It would be really nice if you could tag components and then filter by those tags, e.g... ['form', 'input'].

In my branch the search is expanded to full text on every property of the story.
I'd like to implement fuzzy search on it, would you care to help with that @nicholasmaddren or @christopherstat ?


Fix 1 line shift in stack traces

[x] tests and linter show no problems (npm t)
[x] tests are added/updated for bug fixes and new features
[x] code is properly formatted (npm run fmt)
[x] description of changes is added in CHANGELOG.md

Landed in https://github.com/metarhia/metavm/commit/9d47e9bb09986b203daba0dd25a579f9402b7723, https://github.com/metarhia/metavm/commit/9a88bfffc51accdad57e36093446b9abbef5fe02, and https://github.com/metarhia/metavm/commit/ef15cbc8d3addeff62eee40a0f4da02cb01fb910


hdf5 cannot write (numpy) unicode strings

hdf5 cannot write numpy unicode strings (see https://github.com/ipelupessy/amuse/tree/hdf5_unicode_error), which is a problem because by (i think) commit 3997b47224a29b57807c59c5e8214a11c0cdd5bf  strings returned from code are converted to unicode?

Test is now working, and saving unicode strings should work. Can you confirm?

yup, seems to work fine now...


Ability to diff ConfigMaps in istio manifest

ConfigMaps are typically text blocks of YAML and are unmarshaled as a single string, making YAML diffing impossible. Try making a small change in ConfigMap:istio-system:istio data.mesh and diffing the result with manifest diff to see the problem.
Some possible solutions:

Automatically try to unmarshal ConfigMap data string into YAML and if that succeeds, do a YAML diff of the result.
Add a flag like --is-yaml which is a list of paths that are known to be YAML strings

An example of ConfigMaps:
kind: ConfigMap
data:
  validatingwebhookconfiguration.yaml: |-
    apiVersion: admissionregistration.k8s.io/v1beta1
    kind: ValidatingWebhookConfiguration
    metadata:
      name: istio-galley

Any update on this @elfinhe ?

After syncing with Xinnan, I am planing to add one flag in manifest diff to unmarshal ConfigMap.Data as yaml, before we do the yamlDiff operation.
will create an PR this week or next week.
Is this PR required to address a real use case?

Start working this issue.

@ostromart PR created, please take a look.


Xin: Separation of concerns: 3 Weeks

to do list I did not make a brand new one, i just followed the lecture and made the exact copy.

Learning Objectives

Priorities: 🥚, 🐣, 🐥, 🐔 (click to learn more)

There is a lot to learn in this repository. If you can't master all the material
at once, that's expected! Anything you don't master now will always be waiting
for you to review when you need it. These 4 emoji's will help you prioritize
your study time and to measure your progress:

🥚: Understanding this material is required, it covers the base skills you'll
need to move on. You do not need to finish all of them but should feel
comfortable that you could with enough time.
🐣: You have started all of these exercises and feel you could complete them
all if you just had more time. It may not be easy for you but with effort you
can make it through.
🐥: You have studied the examples and started some exercises if you had time.
You should have a big-picture understanding of these concepts/skills, but may
not be confident completing the exercises.
🐔: These concepts or skills are not necessary but are related to this module.
If you are finished with 🥚, 🐣 and 🐥 you can use the 🐔 exercises to push
yourself without getting distracted from the module's main objectives.

[ ] 🥚 event-driven programming: identify the concept in a JS program via listeners & handlers
[ ]🥚 entry points: describe what an entry point is, there are 2 kinds in the programs for this module - initialization & interaction. identify them in a program
🥚 function roles: describe what function roles are and why they're important. they can identify a function's role given checklists for each role covered in this module:

[ ] listeners: functions that attach event listeners to the DOM
[ ] 🥚 handlers: entry point for user interactions
[ ] 🥚 utils (utilities): pure functions to help do things with data
[ ] 🐣 components: render data into DOM elements to display for the user
[ ] 🐥 custom events: create custom events events in your components, passing useful data between components and handlers

[ ] 🥚 DOM access: You read and write values from the DOM in an event handler
[ ] 🥚 es5 vs. es6: You can demonstrate the change in developer-experience pre and post es6 by stepping through in the debugger and explaining differences in scoping (global vs. script, block vs. local, modules) between two programs with identical user experience but different implementations.
[ ] 🥚 Scope Hierarchy: You is comfortable navigating different scopes in the browser's debugger to understand an existing application (script, module, closure, local, block)
[ ] 🥚 Code Splitting: You can use ES Modules to split your code into multiple files & folders according to function role, data, listeners and initialization. They can use generated dependency diagrams and documentation to understand and navigate this folder structure.
[ ] 🥚 Dependency Graphs: You can use a project's dependency graph to understand how it is organized and to navigate the source code.
[ ] 🥚 Development Strategies: You can write development strategies that have all of the program's state defined at the beginning, and separate each user story into interface and interaction tasks.
[ ] 🐣 Naming Functions: You can come up with clear and helpful names for the functions in your program. A good function name will take into account the function's role and the program's domain, like in the /naming-variables exercises from Debugging.
[ ] 🐣 DOM manipulation: You can manipulate the DOM when implementing level-appropriate user interactions
[ ] 🐣 Isolating Components: You can use a test.html file to render your components with different inputs
[ ] 🐣 Forms: You can do basic handling of form data via event.target.form
[ ] 🐣 Handling events: You can use the event argument to process user interactions, including bubbled events using event.target
[ ] 🐣 Passing Component Unit Tests: You can write vanilla DOM component functions to pass provided unit tests
[ ] 🐣 refactoring: refactor a single-script tutorial-style web page into multiple files using imports and exports
[ ] 🐥 reverse-engineering: You can incrementally reverse-engineer a level-appropriate user interaction following these steps:

init
Listeners
Handlers
(possibly): Utils, Components, Custom Events

[ ] 🐔 From Spec: given user stories, You can develop a site from scratch using a template repository.
[ ] 🐔 Writing Component Unit Tests: You can write unit tests to validate your component functions using BDD syntax

Week 1
I Need Help With:
Nothing
What went well?
learning more commands about DOM
What went less well?
nothing
Lessons Learned
How to select, manipulate elements with DOM
Sunday Prep Work
Week 3
I Need Help With:
nope
What went well?
I can follow the thought through of making small application with DOM
What went less well?
I need to follow videos and instructions when doing projects..
Lessons Learned
how to build small web applications and apply separation of concerns

@XinGITLou  could you check the item you understand in the learning objectives?

@XinGITLou could you check the items you understand in the learning objectives.


How to drop alerts that custom conditions are met?

Hi all,
I have add enhancement to process alerts when match ,
part code in my class MyEnhancement(BaseEnhancement)  as below,
def process(self, match):
   if 'log' in match:
       if match['user']  is 'admin' :
            ##how to drop the alert  ???????

how to drop specific alerts  ?
Can anyone give me some pointers or an example,please?
Thanks.

from elastalert.enhancements import DropMatchException
...
raise DropMatchException()

Hi Qmando,
as you said ,but when I run elastalert got the error msg as below,
ERROR:root:Traceback (most recent call last):
  File "/elastalert/elastalert/elastalert.py", line 913, in alert
    return self.send_alert(matches, rule, alert_time=alert_time)
  File "/elastalert/elastalert/elastalert.py", line 962, in send_alert
    enhancement.process(match)
  File "/elastalert/elastalert_modules/linkupdownEnhancement_test.py", line 77, in process
    raise DropMatchException()
DropMatchException

ERROR:root:Uncaught exception running rule Test rule:
INFO:elasticsearch.trace:curl -XPOST 'http://localhost:9200/elastalert_status/elastalert_error?    pretty&op_type=create' -d '{
  "@timestamp": "2016-09-27T14:57:04.480158Z",
  "data": {
    "rule": "Test rule"
  },
  "message": "Uncaught exception running rule Test rule: ",
  "traceback": [
    "Traceback (most recent call last):",
    "  File \"/elastalert/elastalert/elastalert.py\", line 913, in alert",
    "    return self.send_alert(matches, rule, alert_time=alert_time)",
    "  File \"/elastalert/elastalert/elastalert.py\", line 962, in send_alert",
    "    enhancement.process(match)",
    "  File \"/elastalert/elastalert_modules/linkupdownEnhancement_test.py\", line 77, in process",
     "    raise DropMatchException()",
    "DropMatchException"
  ]
}'
INFO:elastalert:Rule Test rule disabled

What version are you using?
Can you maybe post linkupdownEnhancement_test.py?

Hi Qmando,
how to know elastalert version ?
my MyEnhancement_test as below ,
		from elastalert.enhancements import BaseEnhancement
		from elastalert.enhancements import DropMatchException
		from datetime import datetime
		from dateutil import tz
		import dateutil.parser

		class MyEnhancement(BaseEnhancement):
			global from_zone
			global to_zone
			from_zone = tz.gettz('UTC')
			to_zone = tz.gettz('America/New_York')

		   # METHOD 2: Auto-detect zones:
			from_zone = tz.tzutc()
			to_zone = tz.tzlocal()

			def process(self, match):
				if '@timestamp' in match:
					  .......
				   if  id  == "admin":
					   #connect db and do something

				   else:
					  print "drop alerts "
					  droplogs = open("droplogs.txt","a")
					  droplogs.write('--------------------------------------\n')
					  droplogs.write(str(match['timestamp']))
					  droplogs.write('\n')
					  raise DropMatchException()

		class BaseEnhancement(object):
			""" Enhancements take a match dictionary object and modify it in some way to
			enhance an alert. These are specified in each rule under the match_enhancements option.
			Generally, the key value pairs in the match module will be contained in the alert body. """

			def __init__(self, rule):
				self.rule = rule

			def process(self, match):
				""" Modify the contents of match, a dictionary, in some way """
				raise NotImplementedError()

		class DropMatchException(Exception):
			""" ElastAlert will drop a match if this exception type is raised by an enhancement """
			pass

See #738


Improve observability of EKS-A

Metrics

[ ] https://github.com/aws/eks-anywhere/issues/4405
[ ] https://github.com/aws/eks-anywhere/issues/4299
[ ] https://github.com/aws/eks-anywhere/issues/5216

Logs

https://github.com/aws/eks-anywhere/issues/5143
https://github.com/aws/eks-anywhere/issues/4860
https://github.com/aws/eks-anywhere/issues/4834
https://github.com/aws/eks-anywhere/issues/4858
https://github.com/aws/eks-anywhere/issues/5103

Troubleshooting

NA

This could be also part of it:
https://github.com/aws/eks-anywhere/issues/7106


Unavailable devices report a zero temperature

Describe the bug
When a device is unavailable (in my case an Air Purifier 4 Pro) due to being disconnected from WiFi, it reports a zero (0) temperature when it should be reporting nothing (None). This causes temperature ranges in rooms to be shown like to 0.0C - 21.2C, which is wrong.
Expected behavior
An unavailable device reports nothing instead of a zero.
Your config.json
N/A
Debug log
If this is really necessary I can provide it.
Screenshots
N/A

Hi, the temperature sensor needs to return always a value or it will cause errors, but when the device is not connected to the plugin the sensor is marked as inactive so so not sure why homekit still picks it up...

This would indicate there are cases where the temperature is zero but the device hasn't been marked inactive?
Would it be possible to always mark most devices inactive when temperature (and other readings) is zero?

0 is a valid value for the temperature sensor and certainly be possible so marking device with value 0 as inactive would be bad.
The question here is just why HomeKit ignores the inactivity mark.

0 is a valid value for the temperature sensor and certainly be possible so marking device with value 0 as inactive would be bad.

Possibly, when looking at just the temperature. But there are other values that could all be zero, allowing quite trustworthy inactivity detection.

The question here is just why HomeKit ignores the inactivity mark.

This doesn't seem to be the case with other bridges, so I'd honestly consider it as the last possible case.

In order to fix the issue correctly, the reason needs to be found why the home app still picks up inactive sensors, maybe that will give me an idea how to properly mark sensors for devices which are not connected.

[1/14/2023, 4:22:25 PM] [homebridge-miot] [Xiaomi Air Purifier 4 Pro] Error: Could not connect to device, handshake timeout
[1/14/2023, 4:22:25 PM] [homebridge-miot] [Xiaomi Air Purifier 4 Pro] Error during connection! Retrying in 60 seconds!

And HomeKit shows: Active: No and Tampered: No. Yet it's indeed still included in the summaries.

Yes, so when homekit picks it up as not active, it does not make sense that it shows the temperature.

Maybe it's an issue about the sequence of changes sent to HomeKit. E.g. updating the temperature of an inactive device to zero or vice versa, updating a temperature to zero when it should remain the last value.

That should not certainly cause it.

Should but this seems to unfortunately be the only integration that exhibits this behaviour.

Then differences has to be located so that we can find out why it is happening and how to fix it. I currently am not aware what might be wrong...

I'm still seeing this issue on v1.7.0.
I also noticed that sensors with 0 readings are not displayed as "Not Available" in HomeKit. Maybe marking those sensors as unavailable would fix this issue?

I think making a sensor unavailable could potentially lead to other issues like announcements by Siri with something like "some of the devices are not responding"

Yeah, but that would probably be better than these zero readings, these are also used in Siri announcements.

Yeah well it is kind of a tricky issue. We would need to have a look how manufacturers of native HomeKit sensors handle that...


Add configuration of clientlog and clientloglimit.

Use distro defaults for enabling / disabling
client logging.
Disclaimer: Not tested on Archlinux.

@olifre can you make sure the travis checks are green?

Indeed, it does :smile:.

@olifre merged it thanks.


Beautify posts

Beautify posts

Adds some new fields like title, slug... It doesn't remove the original ones
Added new field image, looks for the featured image if any (_thumbnail_id => Attachment => url)
New Test

PHPUnit 4.2.2 by Sebastian Bergmann.

Configuration read from /home/vagrant/projects/corcel/phpunit.xml

............................

Time: 439 ms, Memory: 10.25Mb

OK (28 tests, 274 assertions)

There are also some changes that were made by php-cs-fixer automatically (adding final dots in comments and stuff like that). Do you use that tool? It's quite handy and helps you to automatically beautify your code and make it follow the PSR-2 stardars

Thanks for the contribution @josec89. cs-fixer is very useful and makes the code better. Thanks again ;-)


support lowercase jira keys

Fixes BERTE-550 and part of my sanity
( I had actually did this a while ago and forgot about it... )
Edit: I might be a version off in my changelog? Not sure.

/approve

Incorrect fix version
The Fix Version/s in issue BERTE-550 contains:

None

Considering where you are trying to merge, I ignored possible hotfix versions and I expected to find:

3.6.6

Please check the Fix Version/s of BERTE-550, or the target
branch of this pull request.
The following options are set: approve

Waiting for approval
The following approvals are needed before I can proceed with the merge:

the author

2 peers

Peer approvals must include at least 1 approval from the following list:

@flavien-scality

@bertranddemiddelaer

@tcarmet

@mcolzi

@cmeron-scality

The following options are set: approve

Incorrect fix version
The Fix Version/s in issue BERTE-550 contains:

3.6.6

Considering where you are trying to merge, I ignored possible hotfix versions and I expected to find:

3.6.7

Please check the Fix Version/s of BERTE-550, or the target
branch of this pull request.
The following options are set: approve

In the queue
The changeset has received all authorizations and has been added to the
relevant queue(s). The queue(s) will be merged in the target development
branch(es) as soon as builds have passed.
The changeset will be merged in:

:heavy_check_mark: development/3.6

The following branches will NOT be impacted:

development/1.0
development/2.0
development/3.0
development/3.1
development/3.2
development/3.3
development/3.4
development/3.5

There is no action required on your side. You will be notified here once
the changeset has been merged. In the unlikely event that the changeset
fails permanently on the queue, a member of the admin team will
contact you to help resolve the matter.
IMPORTANT
Please do not attempt to modify this pull request.

Any commit you add on the source branch will trigger a new cycle after the
current queue is merged.
Any commit you add on one of the integration branches will be lost.

If you need this pull request to be removed from the queue, please contact a
member of the admin team now.
The following options are set: approve

I have successfully merged the changeset of this pull request
into targetted development branches:

:heavy_check_mark: development/3.6

The following branches have NOT changed:

development/1.0
development/2.0
development/3.0
development/3.1
development/3.2
development/3.3
development/3.4
development/3.5

Please check the status of the associated issue BERTE-550.
Goodbye miniscruff.


chore: adjust CI to only validate PR title

Codecov Report
Patch and project coverage have no change.

Comparison is base (49cb15c) 0.86% compared to head (ec13504) 0.86%.
 Consider uploading reports for the commit 1c43047 to get more accurate results

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@          Coverage Diff          @@
##            main     #12   +/-   ##
=====================================
  Coverage   0.86%   0.86%
=====================================
  Files          7       7
  Lines        230     230
  Branches      44      44
=====================================
  Hits           2       2
  Misses       228     228

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Thermostat limits

Is it possible to change thermostat heating limit (current is 38C) to 100C?
I need it for sauna.
P.S.
Thank you Ilcato for your excelent work!!!!

Limit has changed but control is broken

It works couple of times and then stops responding

interesting. Any info from the log ?

Hi. Nothing in logs. Don't know the reason but it works today.
Thank you.

May I keep this change ?

This is my first time trying to add climate zones. I think it works but can't be 100% sure.
Are you planning to add also thermostats directly, not by climate zones?

No, I removed direct thermostat support because of too many different way to manage it.


add redshift__measure_avg

Description & motivation

resolves #81

Checklist

[x] I have verified that these changes work locally on the following warehouses (Note: it's okay if you do not have access to all warehouses, this helps us understand what has been covered):

[ ] Postgres
[ ] BigQuery
[ ] Snowflake
[x] Redshift
[ ] SQL Server
[ ] Databricks

[ ] I have written tests for new macros (either as dbt schema tests in integration_tests/models, dbt data tests in integration_tests/tests or integration tests in the CI workflow)
[ ] I have updated the README.md (if applicable)

The code looks great, excellent work! Thank you for your contribution @stevenconnorg ❤

Thanks @stumelius -- I appreciate the quick responses! Thanks for the great package 🙏


Update strings.js

fix small error

@xxxtonixxx We need you to sign the Brackets contributor agreement (CLA) before we can merge this. http://dev.brackets.io/brackets-contributor-license-agreement.html

Ok! I have already accepted it :thumbsup:

Changes look good. Merging.

Woops. Thanks for the fix.


also generate startAt timers for systemd user units

I tried to share the code with a let binding, but it's not allowed in this position. tested locally.
fixes #9382

I'm not practiced at looking at the Travis outputs, but from what I can see the failure looks unrelated

Looks fine to me. cc @edolstra


real projects

Hi, I love your package.
I want to try. But as his condition in terms of stability of work on real projects?
can be used?
With s3 work chunk upload?

Hi @fortunto2, thank you, I know that RocketChat uses UploadFS, I also use it in one of my projects, I don't know for other users, however I think that you can use it in production since the API is relatively stable (I changed some things in the last version, but it was needed to make a huge improvement in performances).
About Amazon S3, I am not the author of the package so I can't say.

Thank for answer :+1:


Pivot Table Running total

I am trying to change a pivot table from showing the sum of a daily cost to a running total.  I can accomplish this within excel by following the below steps.
Within a pivot table rightclick --> value field Settings --> Show Values As Tab
Then change the show values as to "Running total in"
Is there a way todo this within ImportExcel.  I understand that some portions of excel are not exposed by EPPlus so if this is not possible I understand why.
This is the code that I am using to generate a base pivot table .
I was wondering if the "PivotData" parameter is what needs to be changed but I am not sure what to the function to.
Remove-Item D:\temp\example.xlsx -force
$xl_package = ConvertFrom-Csv @"
DateTime,Cost_Currency
2023-09-01T00:00:00Z,3055.45
2023-09-02T00:00:00Z,2658.33
2023-09-03T00:00:00Z,2565.02
2023-09-04T00:00:00Z,2982.84
2023-09-05T00:00:00Z,3163.03
2023-09-06T00:00:00Z,3198.42
2023-09-07T00:00:00Z,3237.81
2023-09-08T00:00:00Z,3229.08
2023-09-09T00:00:00Z,2734.59
2023-09-10T00:00:00Z,2624.09
2023-09-11T00:00:00Z,3199.68
2023-09-12T00:00:00Z,3298.55
2023-09-13T00:00:00Z,3220.39
2023-09-14T00:00:00Z,3150.38
2023-09-15T00:00:00Z,3193.71
2023-09-16T00:00:00Z,2890.10
2023-09-17T00:00:00Z,2686.03
2023-09-18T00:00:00Z,3264.13
2023-09-19T00:00:00Z,3354.55
2023-09-20T00:00:00Z,3385.49
2023-09-21T00:00:00Z,3389.46
2023-09-22T00:00:00Z,3369.50
2023-09-23T00:00:00Z,2853.90
2023-09-24T00:00:00Z,2737.41
2023-09-25T00:00:00Z,3374.69
2023-09-26T00:00:00Z,3466.35
2023-09-27T00:00:00Z,3503.20
2023-09-28T00:00:00Z,3393.33
2023-09-29T00:00:00Z,3332.84
2023-09-30T00:00:00Z,2912.69
"@ | Export-Excel -PassThru -Path D:\temp\example.xlsx -TableStyle Medium13 -tablename "Monthly_Costs" -AutoSize -WorksheetName Total_Costs

add-Worksheet -ExcelPackage $xl_package -WorksheetName "Charts"

$pivotTableParams_Daily_Costs = @{
    PivotTableName  = "Cost Per Day"
    Address         = $xl_package."Charts".cells["A7"]
    SourceWorkSheet = $xl_package."Total_Costs"
    PivotRows       = "DateTime"
    PivotData       = @{"Cost_Currency" ="Sum"}
    PivotTableStyle = 'Light21'
    IncludePivotChart= $true
    ChartTitle="Cost Per Day"
    ChartHeight="360"
    ChartWidth="500"
    ChartType="Line"
    Nolegend=$true
    ChartRow=6
    Chartcolumn=4
}

Add-PivotTable @pivotTableParams_Daily_Costs -PassThru | Out-Null

$xl_package.Workbook.Worksheets['Charts'].pivotTables[0].DataFields[0].Format="$#,##0.00" #this is how you set number format of pivot table

Close-ExcelPackage $xl_package -Show

Thanks for any help

please post a pic of both.

The per day Cost.

The running Total

I am then using this to create a trend graph of the spend.
Thanks

Looks like a no go. The version of the EPPlus library I use to create the xlsx does not support the ShowDataAs property.
The new version does but they broke many things to fix many things and they charge a license fee for each user.
There is probably a way to update the XML in the xlsx to do this.
I'll leave that as an exercise to the reader.

Thanks that is what I figured would be the case.  I will see if I can update the xml.  I did not know that was possible.  Hopefully the web has some examples.  Appreciate the review.


Doesn't work with Bootstrap 4

Doesn't appear to work well with bootstrap 4. The styling is completely stripped, the checkmarks are gone and the lines are all blue, and the horizontal rule is gone.

:+1:  +1

Has anyone found a fix for this? I'd love to continue using this with the new version of Bootstrap.

@Scottbee THank you for the tips on making some of adm functional.  I was curious if you had the chance to do "All" the leg work required for the bootstrap 4 conversion?  If not, I'll jump in and post whatever it is i discover along the way.  cheers friend.

Hi @kwestberg , I'm afraid I can't guarantee that my findings account for all the bugs that might be present. These fix the most obvious ones for me in my environment and device targets.

@Scottbee I understand.  Shortly after finding this post I discovered a sea of v3 to v4 migration sites.  After a bit of [search & destroy] in template... its humming along.  Thanks for the inspiration.


fixes #384

I have to say that I could not make a test because Azurite seems not to support Sas Tokens properly.
The fix is really simple: Instead of throwing I just print a warning. I'm sure one could do better, but it's a start.

Thanks.
I think users should always have some way to silence warnings close to where they occur. Since the user isn't the one calling _container_exists, I think our best option is something like a keyword to AzureBlobFileSystem like assume_continer_exists.
By default, that can be None, which is the behavior you've implemented here (try to create it, warn if it doesn't).
Setting assume_container_exists=True would just make _container_exists a no-op.
Setting assume_container_exists=False would restore the previous behavior of trying to create the container and erroring if it doesn't exists.
Would you be able to implement that?

Yes I am 🙂

Thanks.
I think users should always have some way to silence warnings close to where they occur. Since the user isn't the one calling _container_exists, I think our best option is something like a keyword to AzureBlobFileSystem like assume_continer_exists.
By default, that can be None, which is the behavior you've implemented here (try to create it, warn if it doesn't).
Setting assume_container_exists=True would just make _container_exists a no-op.
Setting assume_container_exists=False would restore the previous behavior of trying to create the container and erroring if it doesn't exists.
Would you be able to implement that?

should be done now

Had to push again to make the pre-commit happy, hope it now passes

Looks like a test was relying on the old behavior: https://github.com/fsspec/adlfs/actions/runs/4983934732/jobs/8922081549?pr=415#step:6:114
Maybe set assume_container_exists=True in that test (and maybe add tests for the behavior of mkdir with each option? with pytest.warns can be used to make sure a warning is emitted?)

Looks like a test was relying on the old behavior: https://github.com/fsspec/adlfs/actions/runs/4983934732/jobs/8922081549?pr=415#step:6:114
Maybe set assume_container_exists=True in that test (and maybe add tests for the behavior of mkdir with each option? with pytest.warns can be used to make sure a warning is emitted).

I already did a quick fix with setting this to True. I can add a test for the warning tomorrow, if you want

Looks like a test was relying on the old behavior: https://github.com/fsspec/adlfs/actions/runs/4983934732/jobs/8922081549?pr=415#step:6:114
Maybe set assume_container_exists=True in that test (and maybe add tests for the behavior of mkdir with each option? with pytest.warns can be used to make sure a warning is emitted).

Finally added those tests, too

Thanks!


Setting the imageEncoding and imageQuality needs to be done after sta…

Setting the imageEncoding and imageQuality needs to be done after state is set to Connected otherwise it is ignored.
As a test i changed imageQuality in config.js to be 10 and nothing happened. This pull request corrects that. Also, it corrects the setup of imageEncoding too.
Please note that now when you set imageEncoding = 'WEBP', myrtille no longer works. My guess is that freeRDP doesn't handle WEBP correctly and noone noticed because of the bug this pull request fixes.

Hi Troy, thanks for your input but the image encoding and, mostly, quality are not set on connect but dynamically, for all the session duration, based on the connection bandwidth. You can find it there and there.
Regarding the WebP encoding, you are right it isn't working for now but it's simply because I forgot to re-enable it into the latest release (code is disabled) ^^

ah, good point. However it's still a bug because the first time it never works since the state is Connecting not Connected. Later, if the encoding or the quality never changes then it will never be resent. The end result is it's never sent.
My fix is half right. Keep the two sendCommands that I added after the state is set to Connected but leave the imageEncoding and imageQuality properties alone.

Aye, I see your point. If the encoding or quality never change (from the default values), the 2 commands are never sent. It could be cleaner yes, but it's not too an issue as the default values in freeRDP are the same (JPEG, 50% quality).
In fact, it's the responsibility of the browser to set these 2 values (from config.js). I will remove the default values into the remote session manager (have them null) so that the 2 commands will be forcibly sent on the first set.
I'm not sure to understand what you meant about the connecting state ?

SendCommand is called a few times before State is set to Connected from Connecting and thus ignored. See SendCommand method
The State is not set to Connected until "Hello Server" is received. So imageEncoding and imageQuaility properties are set(the first time) before "Hello Server" is received and SendCommand ignores them.

Indeed yes, I spotted it afterward. Thanks for your report Troy, I will fix it in the next release.


how use it for Wordpress sites

Hi,
I would appreciate it if you help me, how can I use it for the WordPress sites?

Sorry, just read this!
Eventually how did you solved the issue?

Closing this issue as has been more than year from last conversation.


Update wavebox

Description of changes
Updates wavebox to the latest stable version, and adds me as a maintainer.
Since v4 there have been significant changes, for example moving the core engine to chromium not electron. Also the licensing has changed and the release artifact location has moved.
Things done

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

would you mind taking a look @rawkode ?

HI @eddsteel, I somehow missed this PR and created a new one: https://github.com/NixOS/nixpkgs/pull/209140
Please check/merge my modifications (maybe the version upgrade, icon creation or wavebox-launcher usage).
I had no intention of being a maintainer, so I will delete it soon if you are willing to be one.
Thank you for your work! :)

Thanks @Kukkerem ! I've merged your improvements here. I'm willing to be maintainer if there isn't one, unfortunately I still can't actually merge this, yet.
I think we still need @rawkode 's help to get this merged.

Approved. Apologies, this slipped my notifications

Thanks a lot @rawkode ! Now, who can actually merge it?

@eddsteel, could you resolve the conflicts? @rawkode, could you merge it when the conflicts are resolved?

Bumped the version again and resolved conflicts.

@rawkode please merge if you think this looks OK

@cole-h thanks so much! I don't currently have write access and need someone else to merge this.

I'll happily merge this once ofborg is green :)
(The queue is somewhat large and slow at the moment, sorry about that.)


Redux-subscribe

⚠ IMPORTANT: Please do not create a Pull Request without creating an issue first.
All changes need to be discusssed before proceeding. Failure to do so may result in the pull request being rejected.
Please be sure to review our Code of Conduct, Contributing Guidelines, and Support documentation before submitting a pull request.

Please include the issue number the pull request fixes by replacing YOUR-ISSUE-HERE in the text below.
Fixes #537
Summary
Adds subscribed phone number state to onboard reducer.  Also error and success state for rendering snackbar dialogs.
New flow for subscribe action, to allow conditional rendering based on whether number is subscribed: Call subscribe/unsubscribe API.  Receive response.  If call succeeds, add/remove number from gaia, then add/remove it from redux store.  Update success state string (either "subscribed" or "unsubscribed") in store, triggering rendering of proper snackbar dialog.  If response fails, update error object in store, triggering error snackbar dialog.  On dialog close, clear error/success status in store.  Render subscribe/unsubscribe buttons based on existence of subscribedNumber state in redux store.
Fetch subscribed number on app load, add to Redux store.
Details
This update allows for conditional rendering of subscribe/unsubscribe buttons and phone number input field, allowing the user to be sure whether they have successfully subscribed previously, and at which number.  Stops user from subscribing same number twice, or unsubscribing a number that isn't subscribed.  Also decouples async api calls and error handling from UI code.
Test Plan (required)
I have not written tests for this code.  I'm not well versed in testing and I don't really know how to approach testing this update, and I'm a bit busy.  If anyone wants to talk through that with me, I'd be happy to look at adding tests.

Final Checklist

[X ] For CoronaTracker, did you bump the version in package.json?

Update the second decimal for a major change
Update the third decimal for a minor change
Numbers can go past 9, e.g. 1.0.9 => 1.0.10
For more info, read about Semantic Versioning

[x] Did you add any new tests as necessary?
[ X] Is your PR rebased off the most current master?
[ ] Have you squashed all commits? (can be done at merge)
[ X] Did you use yarn not npm? (important!)
[ X] Did you use Material-UI wherever possible?
[ X] Did you run yarn lint on the code?
[X ] Did you run all of your most recent changes locally to make sure everything is working?

I guess there's already a test on this component and it fails now because of the reliance on the redux store.  I'll see if I can figure out what I need to do to update the test.

Without seeing what you're actually describing, I can't be certain, but I think I know what you're referring to.
The "snackbar" alert component that the developer who originally built the More component used closes in one of two ways: with a click, or with a 6 second timeout.  I tried to preserve as best as possible the previous design of the component.  A couple things weren't working as I think the original developer intended: one was that the asynchronous subscribe call, when resolved, would trigger a close() call on the more component.  This UX choice made sense to me: a user clicked on more in order to subscribe or unsubscribe, and when that action resolved, the more dialog would be closed.  But because the success snackbar alert was a child of More, when More closed, the alert disappeared.  This was a little bit awkward visually, there wasnt quite enough time to read the "you've been succesfully subscribed" alert before it disappeared.
I decided to tweak it by make the click that closes the alert also close the More dialog, rather than the More dialog close itself too quickly.  Successful subscribe, see the alert, close the alert and with it the more dialog.
In any case, assuming this is what you're describing, we could easily either 1) not have the More dialog close when the Alert is clicked away or 2) not have the alert close automatically after 6 seconds.
I don't think it has anything to do with the error object being held in the redux store, and it isn't obvious to me what would be a better way to have the resolution of these API calls trigger alerts describing the different kinds of success or failure outcomes of the API call.

You got it.

Should be good to go.
If you guys like the work I'm doing I just want to point out I'm still looking for a first professional role after my bootcamp experience and I'm struggling to get interviews, so I'd love the opportunity to talk more about what you all think I can do to be a better candidate and if anyone would like to refer me that would probably be really valuable for me.

Also please hold off on merging, my proptypes fix had an unintended side effect...

@fallon7284 I am like you looking for work! If any one has an input to help would be great. @SomeMoosery @acthelemann 😅

I can't really help you guys on how to be better. I've had some pretty bad experiences trying to find jobs myself. Doing project work like this should help.
Where I work currently is on a hiring freeze, but I still may be able to refer you. If not now then later. Feel free to message me on Discord if you want more details.

Unfortunately I can't be much help either in the way of direct jobs (Connor and I work at the same place i.e. my company is on a hiring freeze as well).
But, I'm willing to offer any help I can for software engineering interviews such as Leetcode problems or system design related questions. I'm a bit rusty at both, but I've spent some significant time studying these in the past and have picked up some tricks / patterns. Arbitrary / annoying as they may be (as they clearly have very little bearing on the quality of a developer), they're prevalent in most interviews nowadays and I imagine will be even more so now that interviews are all virtual.


Add budgiePlugins set, init budgie-user-indicator-redux at 1.0.1

Description of changes

Moves budgie-analogue-clock-applet out of the budgie scope into a new budgiePlugins set and adds budgie-user-indicator-redux. Similar sets exist for other packages (tmuxPlugins, gimpPlugins...).
Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

@ofborg test budgie

Okay probably no need to add alias since budgie-analogue-clock-applet is added recent enough


Workspace trust editor is not dimmed

This editor is not a webview it seems:

Merging into https://github.com/microsoft/vscode/issues/236576
/duplicate


add test for type/0 with invalid types

As per https://github.com/itchyny/gojq/pull/168#pullrequestreview-937185285 , type/0 should panic on invalid types, so this commit documents that with a test case.
Incidentally, are there any objections to moving the panic in typeof into funcType?

As for the query input users cannot use custom types and struct{}{} as well. The behavior is undefined, and this can be changed in the future; just querying by . can panic. I don't want users to rely on the behavior what gojq does now against custom types.

Hello did i hear someone mention custom types? 😄
@itchyny have you thought about it more? i would be happy to help out with an issue or some kind of document to collect design ides, problems, pro/cons etc


Filter dedicated and non-dedicated VLAN in API listPublicIPAddresses

Description
In ACS, when we are listing public IPs to allocate, to a VPC, for instance, all IPs are listed, even the ones dedicated to an account different from the one that is calling the API. If we tried to allocate an IP dedicated to another account, ACS would return an error. Therefore, this PR intends to filter dedicated and non-dedicated VLANs in API listPublicIPAddresses.
Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[ ] Bug fix (non-breaking change which fixes an issue)
[x] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)

Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale

[ ] Major
[x] Minor

How Has This Been Tested?
I added unit tests and tested locally, in a test lab.

Created VPCs to account A and B;
Dedicated some IPs to A and someto B`;
Enabled non-dedicated VLANs to A;
Before this change, account A would see non-dedicated and B's IPs and B would see non-dedicated and A's IPs. After this change, A only can see its IPs and non-dedicated and B only see its IPs as well.

@GutoVeronezi
have you tested with latest main/master ?
#5464 might have already solved the problem.

@weizhouapache #5464 seems to refer only in duplicated IPs, not in VLAN filtering.

@weizhouapache #5464 seems to refer only in duplicated IPs, not in VLAN filtering.

@GutoVeronezi
can you please test it ?
with #5464 , user can only view the ips allocated to the account, and all dedicated ips (and/or system ips) the user can use, not all ips.
if the issue still exists, please rebase against latest main (build fails for now).

@weizhouapache @GutoVeronezi if i remember properly, a domain admin or user can list only the public ip belonging to his/her account. only root admin can list all ip. are you assigning as root admin?

@GutoVeronezi
can you please describe how to reproduce the issue and test with latest 4.15 or main ?
please also have a look at jenkins and travis failures.
thanks.


Failed to process config file

Hello,
I am attempting to run enrich2 on a json, that previously (a week ago) worked for me. The error message I get states: Failed to process config file: Could not open the barcode map file. I have verified that the file paths are correct and none of the files are corrupt.  Below, I have attached the config file that is not working for me.
Pool5_shifted.zip

It looks like your barcode map file is missing the leading / so the program is trying to open it as a relative path instead of an absolute path.
I'm not sure how it was removed but try adding it back and let me know if that works.

Yes, that was the source of the problem.


Please Change One Feature on Windows Forms - Naming a Button or Other Object

Visual Studio Forms Team - Please consider adding this feature in Visual Studio.  My son wants to learn C# and I am using Windows Forms to teach him the basics by putting code in simple buttons and text fields for output.  We will advance from there.  But, this one suggestion might help a lot for new learners.  If this is the wrong location or forum for this request, my apologies.  Just let me know where to re-post it.  Here it is using a simple example.
Please do the following to understand what I am talking about.

Create a Windows Form and leave the name as Form1.cs and Form1.Designer.cs
Now Add a Button to the Form.  The button will default to a name and text of "button1"
Now double click that button.  (A natural action that a newbie might expect to bring up the properties of the button.)
After double clicking the button, now simply change the name of the button from button1 to something else.  Maybe "btnCloseWindow" or something like that.  Just simply change the name of the button.  Real simple.
...
... wait for it ...
...
No seriously, simply change the name of the button.

See the problem?
Please consider putting in an option box under the following location in Visual Studio
\Tools\Options\Windows Forms Designer\
"Prompt for Renaming Objects when Added or Created"  (Checkbox)  [Default is check "ON"]
Resulting Behavior from Checking that "ON" would be the following:
If you check that option "ON", then whenever a developer adds a button (or any other object) to a form, a dialogue box pops up prompting them to rename the button right away before doing anything else.
Whenever you add a button to a form, the very first thing you do is rename it anyway.  You are basically almost forced to do this right away anyway because of the "convenient" auto generation of code when you double click the button in design mode.  And I don't know of anyone that likes to just stick with the button1, button2, button3 naming convention for their buttons.
Double clicking a newly created button is kind of a natural action for a newbie or even someone that just doesn't work on windows forms often.  It seems like a natural action that might bring up the properties of the button.  But, it doesn't do that.  It auto generates code for the button in the code behind Form1.cs and in Form1.Designers.cs.  Convenient but confusing if you don't work in Windows Forms regularly and irritating if you haven't renamed the button yet.
This one little feature would be really helpful for people trying to learn how to code using Windows forms.  I suggest considering little things like this as I think they will really help out newbies (especially) before they give up and go to a different development language\environment.  It also is just a nice convenience for experienced pros in my opinion.

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

ID: ec42e9c9-1127-3815-a2cc-14efbbf78926
Version Independent ID: 9f04d176-173f-43a2-cb9c-a6d35f2cf516
Content: Step 6: Name your button controls - Visual Studio
Content Source: docs/ide/step-6-name-your-button-controls.md
Product: visual-studio-windows
Technology: vs-ide-general
GitHub Login: @TerryGLee
Microsoft Alias: tglee

@toddalbers It looks like you have product feedback rather than documentation feedback. If you are looking for functionality that isn’t currently provided by the product, please use our “Suggest a feature” option in the Visual Studio Developer Community. We’d be happy to have this on record, where others can view it and upvote it, too. For more information about this works in the dev community, see our Suggest a feature page.


microsoft.ui.xaml.media.brush page has a broken link under "Brushes as XAML resource"

As per the title, this page has a broken link under "Brushes as XAML resource" that just reads:

@"Microsoft.UI.Xaml.Media.SolidColorBrush?text=SolidColorBrush"

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

ID: 43a8ba49-ddd0-2f3b-440e-c985068ad3bb
Version Independent ID: a5812271-11ba-9a29-daa5-ff969de14dca
Content: Brush Class (Microsoft.UI.Xaml.Media) - WinUI
Content Source: winui-api-build/xml/Microsoft.UI.Xaml.Media/Brush.xml
Product: reunion
Technology: winui-reference
GitHub Login: @jwmsft
Microsoft Alias: jimwalk

Thanks, topic has been updated.


Unable to change default schema in database connection

Hi all,
I have just installed this extension, and connected to our database succesfully. However, for the SQL scripts to work, I need to connect to a specific schema within the database connection. Currently, the execution throws the error of ¨relation ´x´ does not exist.¨ I am using the newest version of Visual Code and SQLTools, and I am using PostgreSQL. It seems to default to the public schema, but I need to have the vcs schema connected to by default, see image. This is where the tables are located that I want to use. Can anyone point me to where I can change this setting?

Kind regards,
Thomas

Can you use the SET search_path TO vcs syntax described in docs here?

@gjsjohnmurray Thanks for the reply. This does work, however I was looking for a way to configure VSCode to do this. I guess that is not a possibility? I used to work with dbeaver, which does have this functionality.

The PostgreSQL driver would need enhancing to do this. I have added the 'feature request' label but can't promise it will be implemented.

is there any update on this feature request , i need to get default  shema for active connection , is there any way to get that without using any queries , i mean i need to get default schema for all dbs , please help on this.


Window Walker multiple .exe instances

Window Walker should not have multiple processes running at the same time.
Let's implement a system mutex like in the PT runner.
https://github.com/microsoft/PowerToys/blob/e85427f1da0e934ef0e3b7a8d94f664247fe4c94/src/runner/main.cpp#L56

does this have then multiple instances open at same time?
This would happen if someone quits PT and then restarts?

does this have then multiple instances open at same time?

Yes.

This would happen if someone quits PT and then restarts?

Yes.
I only tested it running it from a local build and not after installing it with MSI since we haven't added it to the MSI yet.

I think the issue is made worse by the fact that on exit, the dll doesn't kill the app.
// Destroy the powertoy and free memory
    virtual void destroy() override
    {
        // Probably should have had a snippet to make sure the exe is killed.
        delete this;
    }

Of course, in addition to this, having the app getting launched making sure that there is only a single instance of the app is also something that should get added.

Will start a PR to make sure that we kill the app on exit.

Make sure we clean up on exit was easy enough.
There is a more general issue here that for externally launched apps (such as Window Walker and the fancy zones editor), if the app crashes (either stopped during debugging or terminated with task manager), those externally launched apps remain.

The fix is now available in 0.16 https://github.com/microsoft/PowerToys/releases


output sorting

Something is going catastrophically wrong in the _info files and associating completely wrong weight vectors to discriminants. Will investigate shortly...

This appears to be due to the discrepancy in the sorting order of PLD Wrapper and PLD.jl's default sort order. A fix will be deployed with the next version.

solved in v1.1.0


Post idea - How Can I Be Notified Any Time a Service Goes Down?

In #51, we look at permanent WMI eventing.  In this old Scripting Guy post, the author looks at temporary eventing.
The scenario is you want to know when services change state.

Link to the post in the old blog: https://devblogs.microsoft.com/scripting/how-can-i-be-notified-any-time-a-service-goes-down/
Description of what needs to be changed:  needs to be converted to use the CIM Cmdlets and with using PowerShell event handling.

Is this post still available? I will write it if allowed.

Feel free to take a stab!
Let me know how we can help!

Here we are, let me know your comments, and surely you will have to help with my low-quality grammar 😄
Also, I don't know if allow referring to an article outside Microsoft.com site, In this post, I refer to one article on https://adamtheautomator.com/ website.
Looking forward to hearing from you.
How Can I Be Notified Any Time a Service Goes Down?
How Can I Be Notified Any Time a Service Goes Down?
Q: How Can I Be Notified Any Time a Service Goes Down?
A: The short quick answer to utilizing WMI and PowerShell 7.
Using Powershell to create temporary event monitoring in the WMI database,
which keeps on monitoring any services changes and generates an alert once it detects a change.
Basic Requirement
To achieve this, you need PowerShell 5.1 and above.
This post uses the latest version of PowerShell 7.
So if you are don't yet have PowerShell 7, get it for free from Microsoft.com.
Also, make sure that PowerShell is running as administrator.
Finding the Required Class
Before going into details, you need to find the required class to monitor.
To get a list of all available classes, use the following code.
Get-CimClass -Namespace root\cimv2

The returned result represents all the available classes in the namespace.
To monitor Windows services, the WMI class name is Win32_Service.
To Enumerate the Win32_Services WMI class and get all the available services using PowerShell run the following code.
Get-CimInstance -Namespace root\CIMV2 -ClassName win32_service

The result looks like the following.
PS C:\> Get-CimInstance -Namespace root\CIMV2 -ClassName win32_service

ProcessId Name                                     StartMode State   Status  ExitCode
--------- ----                                     --------- -----   ------  --------
3784      AdobeARMservice                          Auto      Running OK      0
3792      AdobeUpdateService                       Auto      Running OK      0
3800      AGMService                               Auto      Running OK      0
3824      AGSService                               Auto      Running OK      0
0         AJRouter                                 Manual    Stopped OK      1077
0         ALG                                      Manual    Stopped OK      1077
0         AppIDSvc                                 Manual    Stopped OK      1077
6708      Appinfo                                  Manual    Running OK      0
21444     AppMgmt                                  Manual    Running OK      0
0         AppReadiness                             Manual    Stopped OK      1077
0         AppVClient                               Disabled  Stopped OK      1077
0         AppXSvc                                  Manual    Stopped OK      0
0         AssignedAccessManagerSvc                 Manual    Stopped OK      1077

For now, you can use PowerShell to find the required class, and enumerate it to get the available services.
Let's go deeper now and start creating the WMI Event Subscription.
There are three steps you need to follow to create a WMI Event Subscription:

Create the WMI query
Registering the query
Reading the events.

Creating WMI Query
WMI database has several system WMI Classes.
For instance, the CIM_InstModification monitors the targeted class for any changes.
So, in this case, Win32_Service.
The query syntax looks like
Select * from <**WMI System Class**> within <**Number of Seconds**> where TargetInstance ISA <**WMI Class name**>

Let apply the same to Win32_Serivce. Start by Creating a PowerShell variable name it $Query and type the following query
$query = "Select * from CIM_InstModification within 10 where TargetInstance ISA 'Win32_Service'"

A full explanation for the WQL query is available in Your Goto Guide for Working with Windows WMI Events and PowerShell

Registering The Query
We have the WQL query, let move to the next step and register the query to the WMI events by using the Register-CimIndicationEvent
Register-CimIndicationEvent -Namespace 'ROOT\CIMv2' -Query $query -SourceIdentifier 'WindowsServices' -MessageData 'Service Status Change'

To confirm the successful registration, type the following cmdlet Get-EventSubscriber, the output looks like the following
Get-EventSubscriber

SubscriptionId   : 1
SourceObject     : Microsoft.Management.Infrastructure.CimCmdlets.CimIndicationWatcher
EventName        : CimIndicationArrived
SourceIdentifier : **WindowsServices**
Action           :
HandlerDelegate  :
SupportEvent     : False
ForwardEvent     : False

And that's all that we need, simple as that.
Reading the events
Now the event is registered and active.
Next, create an event, and by that, I mean stopping or starting a service.
Try Windows Update service (wuauserv), run the following cmdlet to see the status of the bits service.
Get-Service wuauserv

Status   Name               DisplayName
------   ----               -----------
Running  wuauserv           Windows Update

So the service is running, let stop it by typing the following
Stop-Service wuauserv

To see the newly created events, type
$EventVariable=Get-Event
$EventVariable

Look at the MessageData, it's the same message used in the Register-CimIndicationEvent
ComputerName     :
RunspaceId       : 91c6b6fb-cda9-4b15-983f-d7af1f639358
EventIdentifier  : 1
Sender           : Microsoft.Management.Infrastructure.CimCmdlets.CimIndicationWatcher
SourceEventArgs  : Microsoft.Management.Infrastructure.CimCmdlets.CimIndicationEventExceptionEventArgs
SourceArgs       : {Microsoft.Management.Infrastructure.CimCmdlets.CimIndicationWatcher,
                   Microsoft.Management.Infrastructure.CimCmdlets.CimIndicationEventExceptionEventArgs}
SourceIdentifier : WindowsServices
TimeGenerated    : 30-Jul-21 12:08:06 AM
MessageData      : Service Status Change

To find the current state of this event
$EventVariable.SourceEventArgs.NewEvent.SourceInstance

And the output looks like
ProcessId Name     StartMode State   Status ExitCode
--------- ----     --------- -----   ------ --------
0         wuauserv Manual    Stopped OK     0

To see the previous event state
$EventVariable.SourceEventArgs.NewEvent.PreviousInstance

ProcessId Name     StartMode State   Status ExitCode
--------- ----     --------- -----   ------ --------
16508     wuauserv Manual    Running OK     0

This monitoring remains active as long as PowerShell console is active.
It will create such a temporary job which runs in the background to monitor the services class.
You can also end this process by rebooting the computer.
Hope you learn something new today.

Hi
Thanks for this good start, We need to turn it into Markdown asnd get it into github.
Some general commewnts:

Remove the word ‘will’ and contractions (eg we’ll) – future tense is problematic especially as some readers local language doesn’t really do future tense.
With console output, the porompt should be PS> - helps since Linux doesn thave a C: drive.
You need to style the URL correctly using MD – the format is: [stuff to be in the doc](url to the doc). The backetys and parenthesis are importgnt foir URLs
Under each of the three steps – you need to shpw some actual code and preferable output.

So get the document into github, and create a pull request and I can give you the line by line review.
Thanks!!
Thoma
From: Faris Malaeb @.>
Sent: 29 July 2021 22:42
To: PowerShell/Community-Blog @.>
Cc: Thomas Lee @.>; Author @.>
Subject: Re: [PowerShell/Community-Blog] Post idea - How Can I Be Notified Any Time a Service Goes Down? (#52)
Here we are, let me know your comments, and surely you will have to help with my low-quality grammar 😄
Also, I don't know if allow referring to an article outside Microsoft.com site, In this post, I refer to one article on https://adamtheautomator.com/ website.
Looking forward to hearing from you.
How Can I Be Notified Any Time a Service Goes Down?
How Can I Be Notified Any Time a Service Goes Down?
Q: How Can I Be Notified Any Time a Service Goes Down?
A: The short quick answer to utilizing WMI and PowerShell 7.
Using Powershell to create temporary event monitoring in the WMI database,
which keeps on monitoring any services changes and generates an alert once it detects a change.
Basic Requirement
To achieve this, you need PowerShell 5.1 and above.
This post uses the latest version of PowerShell 7.
So if you are don't yet have PowerShell 7, get it for free from Microsoft.comhttp://microsoft.com/.
Also, make sure that PowerShell is running as administrator.
Finding the Required Class
Before going into details, you need to find the required class to monitor.
To get a list of all available classes, use the following code.
Get-CimClass -Namespace root\cimv2
The returned result represents all the available classes in the namespace.
To monitor Windows services, the WMI class name is Win32_Service.
To Enumerate the Win32_Services WMI class and get all the available services using PowerShell run the following code.
Get-CimInstance -Namespace root\CIMV2 -ClassName win32_service
The result looks like the following.
PS C:> Get-CimInstance -Namespace root\CIMV2 -ClassName win32_service
ProcessId Name                                     StartMode State   Status  ExitCode

3784      AdobeARMservice                          Auto      Running OK      0
3792      AdobeUpdateService                       Auto      Running OK      0
3800      AGMService                               Auto      Running OK      0
3824      AGSService                               Auto      Running OK      0
0         AJRouter                                 Manual    Stopped OK      1077
0         ALG                                      Manual    Stopped OK      1077
0         AppIDSvc                                 Manual    Stopped OK      1077
6708      Appinfo                                  Manual    Running OK      0
21444     AppMgmt                                  Manual    Running OK      0
0         AppReadiness                             Manual    Stopped OK      1077
0         AppVClient                               Disabled  Stopped OK      1077
0         AppXSvc                                  Manual    Stopped OK      0
0         AssignedAccessManagerSvc                 Manual    Stopped OK      1077
For now, you can use PowerShell to find the required class, and enumerate it to get the available services.
Let's go deeper now and start creating the WMI Event Subscription.
There are three steps you need to follow to create a WMI Event Subscription:

Create the WMI query
Registering the query
Reading the events.

Creating WMI Query
WMI database has several system WMI Classes.
For instance, the CIM_InstModification monitors the targeted class for any changes.
So, in this case, Win32_Service.
The query syntax looks like
Select * from <WMI System Class> within <Number of Seconds> where TargetInstance ISA <WMI Class name>
Let apply the same to Win32_Serivce. Start by Creating a PowerShell variable name it $Query and type the following query
$query = "Select * from CIM_InstModification within 10 where TargetInstance ISA 'Win32_Service'"
A full explanation for the WQL query is available in Your Goto Guide for Working with Windows WMI Events and PowerShellhttps://adamtheautomator.com/your-goto-guide-for-working-with-windows-wmi-events-and-powershell/
Registering The Query
We have the WQL query, let move to the next step and register the query to the WMI events by using the Register-CimIndicationEvent
Register-CimIndicationEvent -Namespace 'ROOT\CIMv2' -Query $query -SourceIdentifier 'WindowsServices' -MessageData 'Service Status Change'
To confirm the successful registration, type the following cmdlet Get-EventSubscriber, the output looks like the following
Get-EventSubscriber
SubscriptionId   : 1
SourceObject     : Microsoft.Management.Infrastructure.CimCmdlets.CimIndicationWatcher
EventName        : CimIndicationArrived
SourceIdentifier : WindowsServices
Action           :
HandlerDelegate  :
SupportEvent     : False
ForwardEvent     : False
And that's all that we need, simple as that.
Reading the events
Now the event is registered and active.
Next, create an event, and by that, I mean stopping or starting a service.
Try Windows Update service (wuauserv), run the following cmdlet to see the status of the bits service.
Get-Service wuauserv
Status   Name               DisplayName

Running  wuauserv           Windows Update
So the service is running, let stop it by typing the following
Stop-Service wuauserv
To see the newly created events, type
$EventVariable=Get-Event
$EventVariable
Look at the MessageData, it's the same message used in the Register-CimIndicationEvent
ComputerName     :
RunspaceId       : 91c6b6fb-cda9-4b15-983f-d7af1f639358
EventIdentifier  : 1
Sender           : Microsoft.Management.Infrastructure.CimCmdlets.CimIndicationWatcher
SourceEventArgs  : Microsoft.Management.Infrastructure.CimCmdlets.CimIndicationEventExceptionEventArgs
SourceArgs       : {Microsoft.Management.Infrastructure.CimCmdlets.CimIndicationWatcher,
               Microsoft.Management.Infrastructure.CimCmdlets.CimIndicationEventExceptionEventArgs}

SourceIdentifier : WindowsServices
TimeGenerated    : 30-Jul-21 12:08:06 AM
MessageData      : Service Status Change
To find the current state of this event
$EventVariable.SourceEventArgs.NewEvent.SourceInstance
And the output looks like
ProcessId Name     StartMode State   Status ExitCode

0         wuauserv Manual    Stopped OK     0
To see the previous event state
$EventVariable.SourceEventArgs.NewEvent.PreviousInstance
ProcessId Name     StartMode State   Status ExitCode

16508     wuauserv Manual    Running OK     0
This monitoring remains active as long as PowerShell console is active.
It will create such a temporary job which runs in the background to monitor the services class.
You can also end this process by rebooting the computer.
Hope you learn something new today.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/PowerShell/Community-Blog/issues/52#issuecomment-889479943, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AA3WJ6JPK5EXC4RG7SM6BQLT2HDK5ANCNFSM43XXBS5Q.

Hi,
I am doing a pull request but get rejected.

Hi
I used to get the error when i fork and want to merge
But it has been a while since I fork and merge (contribute to others) github
Thanks
On Sat, 21 May 2022, 1:14 AM Sean Wheeler @.***> wrote:

@farismalaeb https://github.com/farismalaeb Are you still getting an
error when you try to submit a PR? If so, can you provide steps to
reproduce the problem?
—
Reply to this email directly, view it on GitHub
https://github.com/PowerShell/Community-Blog/issues/52#issuecomment-1133383269,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOMFJFTCLKK3Z6CANQNVDW3VK76DDANCNFSM43XXBS5Q
.
You are receiving this because you were mentioned.Message ID:
@.***>


Allow Mute severity in report

The report fails currently if a finding type is set to Mute

Resolved by #513


Feat/ontology tab for metadatawidget

All implemented. However, I faced one issue that I could not find a workaround:
If you select a tab and then try to hide it via the boolean toggles in the storybook (when there is more than one tab), the EuiTabbedContent component raises an exception. As I looked, the reason is that the component uses react Ref to keep the currently selected tab. Since refs won't get updated during component re-rendered, it points to a non-existing tab (since you just hide it). I tried the official doc approach, but no luck: https://eui.elastic.co/#/navigation/tabs#controlled-tabbed-content
The point is, this most probably won't happen in the client app since the client app usually does not toggle hide and show and initiate the widget once. But creates issues in the storybook while playing around.

Looks good so far.

current version
I would suggest that we use the abbreviation of the terminology for the tab header. I added two examples here.

Only Abbreviation of terminology

Abbreviation + About or Info or whatever

:tada: This PR is included in version 2.11.0 :tada:
The release is available on:

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


SDDM crashes in nixos-unstable

Issue description
With the latest channels/nixos-unstable (971b731fc18c86569211a460ef62e1d8001799e9), the SDDM login does not show up because it crashes. Log:
maj 22 00:28:27 nixos sddm[1222]: Greeter session started successfully
maj 22 00:28:27 nixos sddm-greeter[1267]: High-DPI autoscaling not Enabled
maj 22 00:28:27 nixos sddm-greeter[1267]: Reading from "/nix/store/96jnr69m7shgql6rv18zzwh94l9ad9hc-desktops/share/xsessions/plasma5.desktop"
maj 22 00:28:27 nixos sddm-greeter[1267]: Reading from "/nix/store/96jnr69m7shgql6rv18zzwh94l9ad9hc-desktops/share/xsessions/xfce.desktop"
maj 22 00:28:27 nixos sddm-greeter[1267]: Reading from "/nix/store/96jnr69m7shgql6rv18zzwh94l9ad9hc-desktops/share/xsessions/xterm.desktop"
maj 22 00:28:27 nixos sddm-greeter[1267]: Loading theme configuration from "/run/current-system/sw/share/sddm/themes/breeze/theme.conf"
maj 22 00:28:27 nixos sddm-greeter[1267]: Connected to the daemon.
maj 22 00:28:27 nixos sddm[1222]: Message received from greeter: Connect
maj 22 00:28:27 nixos sddm-greeter[1267]: Loading file:///run/current-system/sw/share/sddm/themes/breeze/Main.qml...
maj 22 00:28:27 nixos sddm-greeter[1267]: QObject: Cannot create children for a parent that is in a different thread.
                                          (Parent is QGuiApplication(0x7ffc969f1f40), parent's thread is QThread(0xec51b0), current thread is QThread(0x13a7ff0)
maj 22 00:28:27 nixos sddm-greeter[1267]: QObject: Cannot create children for a parent that is in a different thread.
                                          (Parent is QGuiApplication(0x7ffc969f1f40), parent's thread is QThread(0xec51b0), current thread is QThread(0x13a7ff0)
maj 22 00:28:27 nixos sddm-greeter[1267]: QObject: Cannot create children for a parent that is in a different thread.
                                          (Parent is QGuiApplication(0x7ffc969f1f40), parent's thread is QThread(0xec51b0), current thread is QThread(0x13a7ff0)
maj 22 00:28:27 nixos sddm-greeter[1267]: QObject: Cannot create children for a parent that is in a different thread.
                                          (Parent is QGuiApplication(0x7ffc969f1f40), parent's thread is QThread(0xec51b0), current thread is QThread(0x13a7ff0)
maj 22 00:28:27 nixos sddm-greeter[1267]: QObject::installEventFilter(): Cannot filter events for objects in a different thread.
maj 22 00:28:27 nixos kernel: show_signal_msg: 79 callbacks suppressed
maj 22 00:28:27 nixos kernel: QQmlThread[1269]: segfault at 20 ip 00007fbc710646e0 sp 00007fbc5dd9ce00 error 4 in libQt5Qml.so.5.12.0[7fbc70f2f000+48d000]
maj 22 00:28:27 nixos kernel: Code: c0 48 83 79 20 00 0f 85 6e 01 00 00 49 89 d5 8b 12 4d 89 c7 85 d2 74 22 48 8b 46 08 31 c9 48 8b 00 48 8b 40 10 48 85 c0 75 74 <0>
maj 22 00:28:27 nixos sddm-helper[1259]: [PAM] Closing session
maj 22 00:28:27 nixos sddm-helper[1259]: [PAM] Ended.
maj 22 00:28:27 nixos sddm[1222]: Auth: sddm-helper exited with 11
maj 22 00:28:27 nixos sddm[1222]: Greeter stopped.

Technical details
NVidia drivers with hardware.nvidia.optimus_prime.enable = true.
Tried reverting the update from 0.18.0 0.18.1, did not help. Issue does not exist on 19.03.

I have just run into this issue on 20.03 on aarch64.


Add kubeadm131 image (based on ubuntu2404 with cloud-init)

Airgapped kubeadm image to be used in the cluster-api endeavours.. :trollface:

Merged in marketplace-communit in this commit


refactor(repo): move repo to new org

:tada: This PR is included in version 1.11.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Error after convert sav to json on Level.sav

Im trying to use "convert-single-sav-to-json.bat" on my Level.sav but after some minute working, its stop and says what images shows, its happen on 2 of my machines, and on 2 savegames, 1 server with up to 200 diferent players, and on a totally fresh saveworld
sorry for my language, its my first post on Github, thanks for ur time
Whats im doing wrong?

I'm also having this same issue, I see that you closed the issue - what was your fix?


Dodo bird dead ?

This looks very nice.
The abstracts are really useful as well as the plugin model.
So did this die due to technical dead end or just other things tempting you ?

@joeblew99 While it seemed good upon first glance, I don't think this sort of a thing is well suited to the Go language, especially that it doesn't have generics, it uses the empty interface everywhere losing all the compile time checks and perhaps some performance too.
Recently i've been dabbling a little with Haskell and in my humble opinion, this seems to kind of force a functional paradigm onto the Go runtime.

@joeblew99 Nope, not dead.  It's open source and it's spare time effort at this point.  Refactor is happening on branch big-refactor - https://github.com/vladimirvivien/automi/blob/big-refactor/docs/automi.md

@jaihindhreddy, Yes  Generic probably would help if Go did have that functionality.  But since Go does not generic, I use empty interface{}.  The empty interface is not necessary to use the API as it is the internal representation of the data flowing through the pipeline.  Users are able to specify data types of their choosing and specify functions to operate on the data.


Update circuit construction benchmarks

Summary
The circuit construction benchmarks had all bit rotted a fair amount and were using syntax and functionality that no longer exists. This commit updates the benchmarks to work with current qiskit. Longer term we should add a CI job to ensure all the benchmarks work.
Details and comments

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

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

Files with Coverage Reduction
New Missed Lines
%

crates/qasm2/src/lex.rs
2
91.94%

Totals

Change from base Build<PHONE_NUMBER>:
0.01%

Covered Lines:
59126

Relevant Lines:
66202

💛  - Coveralls


multiple calendars per guild

new setCalendar setter
new setChannel per calendar
unified updater

new setCalendar setter
new setChannel per calendar
unified updater

I would really need this feature!


Missing python-dateutil as package depency for Arch Linux

It gave me this error until I installed python-dateutil:
Traceback (most recent call last):
  File "/usr/bin/doge", line 5, in <module>
    from doge.core import main
  File "/usr/lib/python3.12/site-packages/doge/core.py", line 16, in <module>
    from doge import wow
  File "/usr/lib/python3.12/site-packages/doge/wow.py", line 12, in <module>
    import dateutil.easter

Hey, thanks for the report!
I haven't used Arch Linux, and I'm not super well versed in packaging for Linux, but:

The dependency is clearly declared in the pyproject.toml file, so pip, or any other standards compliant installer, will install it automatically regardless of platform.

The package seems to be installed into the global system python, according to your debug output, which is generally a bad idea. You should install Python applications into isolated virtual environments (e.g. pipx)

My conclusion:

It seems to me that Arch isn't packaging this software properly. Whatever manual or automatic process they use for detecting dependencies has failed, and appears not to follow Python standards. I would advise you to report this to the Arch package maintainers.

I would not recommend installing doge globally into the system Python. I recommend using pipx to install Python based applications safely into their own isolated environments. https://pipx.pypa.io/

If you have any other information or suggestions about these issues I would be happy to look into it!

It appears that the Arch recipe for doge uses the PyPA installer, which is a low-level tool that does not resolve dependencies. This appears to be how Arch has elected to re-package Python software.
This means that every time a Python package changes its dependencies, the Arch recipe must be updated (manually or with automatic tooling) to add or remove any changed dependencies (such as python-dateutil).
This should be reported to the Arch package maintainer, since their recipe is missing a dependency and needs to be fixed.
Side note
I'm not sure I like this way of redistributing Python packages downstream... Although I suppose it's perhaps safer from a supply chain security perspective.
Do we need to notify Arch every time we change dependencies? Or should we expect every new version to be broken until some end user notifies the downstream maintainers? 🤔 I honestly don't know, and I would like to learn. 😊


Added WhitePaper for Korean

Added Whitepaper file translated into Korean.
Discord ID : @jeje_kr
Twitter : @KOR_JEJE

Cool. Thanks. Please combine hour requests with code contributions. See best practices here.
https://github.com/MorpheusAIs/Morpheus/blob/main/Code Contributor Best Practices.md

Updated link. https://github.com/MorpheusAIs/Morpheus/blob/main/!KEYDOCS README FIRST!/8.Code Contributor Best Practices.md

Thx! I added my contribution history in Proof_Of_Contribution.md
Tell me whenever if there are some feedbacks.

Thanks. Can't merge due to this conflict.
Conflicting files
Contributions/Code - Proof_Of_Contribution.md
Try again : )

Still a conflict. I'll merge this manually. Just to let you know there are no additional hours for the translation tasks as the major languages are now well covered.

I've been really busy for a few days, so I couldn't care this. Really thx for your service :)

I checked the whitepaper(international) folder, but I think Korean whitepaper is still not merged. Should I reopen the pull request with korean whitepaper file?

I made a new pull request #438
Thx


Arkansas "Marine Fuel Tax" and Airport shields

Certain numbered routes in the Arkansas State Highway System have one of two special shield designs. Both types are currently tagged network=US:AR. A decision would need to be made on tagging of the network=* value, and whether this would add any special cases, before support can be added to this project.
In both cases, the Arkansas shield is color-swapped, the ref of the road is shrunk and moved to the bottom of the state outline, additional text is added along the top, and line art is placed in the middle. Marine Fuel Tax routes have "MARINE FUEL TAX" as their top text, a person fishing from a boat as the line art, and a white-on-brown color scheme. Arkansas Highway 980 is a number used many times around the state on short roads leading to airports. Highway 980 has "AIRPORT" as its top text, an airplane as the line art, and a white-on-blue color scheme.

Two Highway 980s are currently mapped as route relations:

Desha County, section 1
Pope County

Both are tagged network=US:AR ref=980.

Separated Marine Fuel Tax shields into a new issue: #375


Use correct issues URL for ARM

Code incorrect assumes that the issues URL is related to the official extension ID - not so with ARM, use package.json instead when available.

Uh literally submitted this PR 5 hours ago: https://github.com/Microsoft/vscode-azuretools/pull/419

Now this only deals with the issues URL for ARM.


Added the max aggregation

Adds the max aggregation, tests for it, and also some formatting the got picked up in mvn compile. This implementation mirrors the min aggregation (and leads me to believe that we could likely abstract this out to a single implementation if we wanted to in the future).

Rebased after merging the script support changes.


update version increment scripts to work with v1 tags

#76  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @aschepis and the rest of your teammates on  Graphite


NOT RUNNING DUE TO HAVE NOT SPECIFIED AN RE1 GAME DIRECTORY THAT EXISTS

Version
3.2.5 (b05b532)
Seed
R730-LPFB-ZXZZCHZZZ7GVBHA107Q00C00WZXXZ3AHM1M6H4ZZZZ0F0ZZZZZZZ
Scenario
RE 3 (Jill)
Player Character
nemesis as jill
What happened?
it wont launch the game no matter which i use ive updated it even redownloading it and it still wont run for me i have a friend who uses this and she has no trouble with it i only got to play re3 once nd that was it i couldnt play it any more and im a streamer i want to stream re3 but i cant and its making my streams harder because my followers want to see it but i cant show them please help me with this issue
please contact me through my email which<EMAIL_ADDRESS>thank you

Post the directory path for RE, considering your last line I can already guess the problem.


Coverage increased (+0.02%) to 42.464% when pulling ee9aa17e41fe962f32f81df5e5d7964cf7c8482a on victorporof:eslint-cleanups into 62c589554bcfbfefc723d9b3e7c89f66f3bacb25 on mozilla:master.

Nice, looks good to me - r+

Coverage increased (+0.02%) to 42.464% when pulling f4a9f83d80ecf7791ecb64c87d0634afc5c65661 on victorporof:eslint-cleanups into 896373a039c18c3c4574c5bed4235464010cdf3e on mozilla:master.


Expanding Border Button

1. Name of button: Expanding Border Button
2. Description: On hovering over the button, the border will get pushed inside out, besides the opacity changing
3. Button Type (Animated, Special, etc...): Animated
4. Will you work on it?: no
submitted by: @preity-p

hey @shahednasser can I start working on this issue ?

hi @Bhargav252000 yes you can

I have never made a button in less format, can you please give me idea how to do it in less ?
I can do in CSS.

Less is very easy. I suggest you go to the Less website to understand how you can do it and you can refer to other buttons as well for help. It's very similar to CSS just with a few improvements.
Let me know if you can do that or not to assign you.

Okay, cool I'll look in less website and will let you know.

#462
added a pull request can you check it.

#462
Added PR on expand button inside out can you please check that out.

Can i try to work on this ?

Yes @isonnymichael