Several Questions

Howdy!
Sorry to post this like this, but I don't see a community to ask questions. I admit I am new to LaTeX, but I have developed software for quite a few years. Feel free to direct me to proper resources or to triage the issues I have here into new tickets.
I am rendering everything on overleaf using pdfLaTeX from this repo's master (e251adfac1243e4a9dca2ceeac1424f6f2a93fae) as opposed to the 0.7.1 release.
I would have used 0.7.1, but the \begin{DndTable} was not available, and I really wanted that feature.

How do I do a column break? \columnbreak seems to delete the content straight up.

How do I add a \heartsuit, \diamondsuit, \clubsuit or \spadesuit to a \begin{enumerate)? Switching to \documentclass{article} removes this error.

How do I get pdfLaTex to not report the following error when using \begin{itemize}? Switching to \documentclass{article} removes this error.

Indentation when using \includegraphics seems inconsistent (This also happens in \documentclass{article} - I think this is my fault.)

versus:

Vertical alignment when using \begin{enumerate} seems inconsistent. Switching to \documentclass{article} removes this error.

\chapter{Characters}

\section{Buse Biggie the Sleaze}

\includegraphics[width=0.475\textwidth]{images/Buse.png}

My name is Buse, and yes, I'm one cool goblin, and it's important you know how cool I am. I want your party to use the HK Magic trap. I'm trying to trick you, so I don't want you to know all the details. I am intimately familiar with how the HK Magic Trap functions, but I have no idea how it works. I am famously known for:

\begin{enumerate}
\item Saving local orphans from having to file and pay local taxes.
\item Winning a motorized bike contest three times.
\item Being very cool.
\end{enumerate}

\begin{DndComment}{What Buse knows}
\begin{enumerate}
\item I have the HK Magic Trap, which I refer to as the Game Orb. I will only activate the HK Magic Trap if all members of the party are touching it. I cannot be deceived on this point. "Them are the rules of the game!"
\item Participants of the HK Magic Trap are rewarded with magical items.
\item Participants of the HK Magic Trap are never hurt.
\item A simple cantrip that activates the HK Magic Trap.
\item Recca knows way more about the HK Magic Trap
\item I will not reveal this information willingly: I am commissioned by powerful bored anonymous wizards to lure unsuspecting parties into using the HK Magic Trap. I don't know how it works or why my patrons want me to use the trap.
\end{enumerate}
\end{DndComment}

\section{Recca Toink the Tinkerer}

\includegraphics[width=0.475\textwidth]{images/Recca.png}

My name is Recca and I'm just trying to get by. I am the creator and maintainer of the HK Magic Trap. I was kicked out of the tinkerer's guild for making very unsafe children's toys. Amongst my most unpopular toys that I have with me are:

\begin{enumerate}
\item "Huge Me Til' I 'Splode" Teddy Bear - a joke teddy bear that explodes for 2d8 bludgeoning damage if you hug it.
\item "Fall n' Splat" Simulator - a helmet that makes the wearer experience falling from a great height and dying. The wearer experiences one level of exhaustion.
\item "Job Babbar" Box - A joke box that causes an intense burning sensation to whomever puts their hand(s) inside it. The user experiences one level of exhaustion.
\end{enumerate}

\begin{DndComment}{What Recca Knows}
\begin{enumerate}
\item I know that participants of the HK Magic Trap are rewarded with magical items.
\item I do not know the cantrip that activates the HK Magic Trap.
\item I will not reveal this information willingly: I am commissioned by powerful bored anonymous wizards to create the HK Magic Trap.
\item Players may throw a difficult investigation throw against Recca. A successful throw will have Recca reveal that the HK Magic Trap is actually a complex device that sends those touching the activated device to an alternate plane of existence for a short moment in corporeal time, but an infinite time in the trap. A failed investigation throw will produce a long and convoluted string of jargon on how the internals of the device works.
\end{enumerate}
\end{DndComment}

Thank you for your time!

Hi, @josefnpat, and welcome to LaTeX.  A good community to ask questions would be the TeX and LaTeX Stackexchange, and posting there would probably be better for these kinds of issues.

What specifically do you mean by do a column break, if you mean to skip to the next column, then you can use \vfill\break.
Don't put newlines at the end of a list, just put an item at the beginning.  If you're trying to get those as the items, then use \item[\clubsuit]
See number 2.
Personally, I don't really use \includegraphics, but it would be nice to have about 3 paragraphs after one of the graphics to see how it works.
That's an odd one, the only thing I can think of is that you have something in your preamble styling the enumerate list.

Could you provide a MWE next time?

Howdy!
Sorry to post this like this, but I don't see a community to ask questions. I admit I am new to LaTeX, but I have developed software for quite a few years. Feel free to direct me to proper resources or to triage the issues I have here into new tickets.
I am rendering everything on overleaf using pdfLaTeX from this repo's master (e251adf) as opposed to the 0.7.1 release.
I would have used 0.7.1, but the \begin{DndTable} was not available, and I really wanted that feature.

The 0.8 version is much "better" anyway. I recommend using the nodeprecatedcode package option.

How do I do a column break? \columnbreak seems to delete the content straight up.

\newpage

How do I add a \heartsuit, \diamondsuit, \clubsuit or \spadesuit to a \begin{enumerate)? Switching to \documentclass{article} removes this error.

Remove the newlines \\.

How do I get pdfLaTex to not report the following error when using \begin{itemize}? Switching to \documentclass{article} removes this error.

Remove the newlines \\.

Indentation when using \includegraphics seems inconsistent (This also happens in \documentclass{article} - I think this is my fault.)

versus:

This is a case of how LaTeX handles the first line after different sectioning commands. The first line after \chapter is indented. The first line after \section is not indented. You would get the same behavior if the first line was text instead of a picture. You can use \noindent{} to remove the indent after a \chapter`.

Vertical alignment when using \begin{enumerate} seems inconsistent. Switching to \documentclass{article} removes this error.

\chapter{Characters}

\section{Buse Biggie the Sleaze}

\includegraphics[width=0.475\textwidth]{images/Buse.png}

My name is Buse, and yes, I'm one cool goblin, and it's important you know how cool I am. I want your party to use the HK Magic trap. I'm trying to trick you, so I don't want you to know all the details. I am intimately familiar with how the HK Magic Trap functions, but I have no idea how it works. I am famously known for:

\begin{enumerate}
\item Saving local orphans from having to file and pay local taxes.
\item Winning a motorized bike contest three times.
\item Being very cool.
\end{enumerate}

\begin{DndComment}{What Buse knows}
\begin{enumerate}
\item I have the HK Magic Trap, which I refer to as the Game Orb. I will only activate the HK Magic Trap if all members of the party are touching it. I cannot be deceived on this point. "Them are the rules of the game!"
\item Participants of the HK Magic Trap are rewarded with magical items.
\item Participants of the HK Magic Trap are never hurt.
\item A simple cantrip that activates the HK Magic Trap.
\item Recca knows way more about the HK Magic Trap
\item I will not reveal this information willingly: I am commissioned by powerful bored anonymous wizards to lure unsuspecting parties into using the HK Magic Trap. I don't know how it works or why my patrons want me to use the trap.
\end{enumerate}
\end{DndComment}

\section{Recca Toink the Tinkerer}

\includegraphics[width=0.475\textwidth]{images/Recca.png}

My name is Recca and I'm just trying to get by. I am the creator and maintainer of the HK Magic Trap. I was kicked out of the tinkerer's guild for making very unsafe children's toys. Amongst my most unpopular toys that I have with me are:

\begin{enumerate}
\item "Huge Me Til' I 'Splode" Teddy Bear - a joke teddy bear that explodes for 2d8 bludgeoning damage if you hug it.
\item "Fall n' Splat" Simulator - a helmet that makes the wearer experience falling from a great height and dying. The wearer experiences one level of exhaustion.
\item "Job Babbar" Box - A joke box that causes an intense burning sensation to whomever puts their hand(s) inside it. The user experiences one level of exhaustion.
\end{enumerate}

\begin{DndComment}{What Recca Knows}
\begin{enumerate}
\item I know that participants of the HK Magic Trap are rewarded with magical items.
\item I do not know the cantrip that activates the HK Magic Trap.
\item I will not reveal this information willingly: I am commissioned by powerful bored anonymous wizards to create the HK Magic Trap.
\item Players may throw a difficult investigation throw against Recca. A successful throw will have Recca reveal that the HK Magic Trap is actually a complex device that sends those touching the activated device to an alternate plane of existence for a short moment in corporeal time, but an infinite time in the trap. A failed investigation throw will produce a long and convoluted string of jargon on how the internals of the device works.
\end{enumerate}
\end{DndComment}

LaTeX attempts to balance the columns and fill the space to cover the last line. Since the text in \section for Rebecca probably cannot fit (or it cannot fit with the first line which is an image), LaTeX starts the next column with it. LaTeX then stretches the existing content to fill the column.
The space between certain elements in LaTeX has "glue". It is the part of a length with a "plus" and "minus" (i.e. the size of \smallskip is 3pt plus 1pt minus 1pt). When it needs more space, LaTeX stretches those glue points beyond what was intended. A \vfill or \newpage would probably balance things out.

Thank you for your time!

 A few other things I noticed from your code.

\linewidth will give the width of the current line. This will help in \includegraphics.
You don't need to include the file extension when including text or graphics files.
You can further improve your graphics handling with a helper method from the tikz package.

\NewDocumentCommand{\MyIncludeGraphics}{ O{} m }
{
  \tcbincludegraphics[blank,beforeafter~skip=0pt,#1]{#2}
}

This allows you to easily apply universal settings to your graphics. I include other things in my helper function, like like automatically rounding the corners and putting in PDF layers when I am building a PDF for screen instead of print on demand.

@ravenclaw900

Could you provide a MWE next time?

What is an MWE?
@BrianCriswell @ravenclaw900 Thank you both very much! I will look into these fixes asap, and get back to you if there is any remaining validity to my "bugs". Is there a IRC, Discord or slack community for DND-5e-LaTeX specifcially?

A MWE is a Minimum Working Example. Essentially, you provide a document that will compile but has everything stripped out except what is absolutely necessary to demonstrate the problem.
This is the community. If you ever have a question, open a new issue. When you are satisfied that these questions have been answered, please close the issue.


Failing test for shallow context propagation

Forgive me if this is not expected behavior.
This PR contains a failing test case that I believe describes the core of the issue at #2009.

This may be an intended change in v3, with a related description here: https://github.com/airbnb/enzyme/blob/master/docs/guides/migration-from-2-to-3.md#calling-props-after-a-state-change
But, I came across this enough times in the issues that I wasn't totally clear what to expect and wanted to close the loop on the comment thread at #2009 by opening a PR as you asked.

Thanks, this is great; I'll look into it.

So, looking at this - as soon as you .dive(), the new wrapper is severed from the original one - so changes to the root don't affect the newly created wrappers. (this is also true for any new wrappers created from, eg, find, as you linked to in the migration guide)
I've updated this PR with the changes needed to make the tests pass, as intended.


[QA] Network - Adding an organisation in the FO (bugs)

Hello Carla,
Firstly, I wish you a happy new year!
Here are some bugs I encountered when creating a new organisation in the FO (id: 170 "AGES - Austrian Agency for Health and Food Safety Ltd"):

Name: the limit of 150 caracters does not apply. We have it in the BO.
Organisation type: display the values in this order:
Main thematic : the first one is compulsory (same bug in the BO)
Thematic: display the values in this order:
Website: it is a compulsory field (same bug in the BO)
Website: I have this error, while in BO I was able to enter it:
In FO, the fact that duplicates are not detected is troublesome. Is it possible to suggest existing results based on X similar characters?
As a BO administrator, I did not receive any email notification to approve the proposed entry.

Best,
Emilie

Hi Emilie,
Thank you for your feedback. Items 1 to 6 we'll address for version 1. For items 7 and 8 I created other items to track them separately since they won't be implemented in version 1.
Best,
Carla

Thanks Carla

Emilie, Items 1 to 6 are fixed in staging.

Hi Emilie,
Items 2 and 4 (changing the order in which the options display in the multiple values fields), won't be implemented for V1.
I will add a separate item for that. Please notice that this functionality is not currently available in strapi and Tiago needs to investigate how to do that. Once it is done, you should be able to sort the dropdowns from the back office.

ok I am closing this one


chore: renaming ica migrations handler pkg version

Description

Renaming pkg version for interchain-accounts migration handler

closes: #XXXX

Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

[ ] Targeted PR against correct branch (see CONTRIBUTING.md)
[ ] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
[ ] Code follows the module structure standards.
[ ] Wrote unit and integration tests
[ ] Updated relevant documentation (docs/) or specification (x/<module>/spec/)
[ ] Added relevant godoc comments.
[ ] Added a relevant changelog entry to the Unreleased section in CHANGELOG.md
[ ] Re-reviewed Files changed in the Github PR explorer
[ ] Review Codecov Report in the comment section below once CI passes

Codecov Report

Merging #2355 (f842c5b) into main (b97729d) will increase coverage by 0.02%.
 Consider uploading reports for the commit 7cb1866 to get more accurate results

Additional details and impacted files

@@            Coverage Diff             @@
##             main    #2355      +/-   ##
==========================================
+ Coverage   79.54%   79.56%   +0.02%
==========================================
  Files         175      175
  Lines       12069    12134      +65
==========================================
+ Hits         9600     9655      +55
- Misses       2045     2050       +5
- Partials      424      429       +5

Impacted Files
Coverage Δ

...27-interchain-accounts/controller/keeper/events.go
0.00% <ø> (ø)

...nterchain-accounts/controller/keeper/grpc_query.go
100.00% <ø> (ø)

...27-interchain-accounts/controller/keeper/params.go
100.00% <ø> (ø)

...in-accounts/controller/migrations/v6/migrations.go
89.65% <ø> (ø)

...ps/27-interchain-accounts/controller/types/msgs.go
92.30% <ø> (ø)

...ps/27-interchain-accounts/genesis/types/genesis.go
0.00% <ø> (ø)

...les/apps/27-interchain-accounts/host/ibc_module.go
95.00% <ø> (ø)

.../apps/27-interchain-accounts/host/keeper/events.go
0.00% <ø> (ø)

...apps/27-interchain-accounts/host/keeper/genesis.go
89.47% <ø> (ø)

...s/27-interchain-accounts/host/keeper/grpc_query.go
100.00% <ø> (ø)

... and 114 more


Sidebar templates GitHub links flow outside div

Case

BUG

Issue
For a Github user whose name is greater than 9 characters, the username will flow into adjacent div.
Info

Operating System: OSX
Node-Version: v8.8.0

Reproduce
Change the Github info in resume/data.yml to a name that is greater than 9 chars.

Yes. The resumes break if you add too much data here and there. Then you have to adjust the styling.
This cannot be solved globally because next to every website or template will break when it's content overflows at a certain degree.


Add upstream operation

upstream(flow_direction, material)

Depends on #286

@OliverSchmitz You can set the priority of this one


setup.py throws errors

Platform: Rasbperry Pi Model A with Raspbian Jessie

pi@tempercheck:~/Adafruit_Python_DHT$ python --version
Python 2.7.9

pi@tempercheck:~/Adafruit_Python_DHT$ sudo python setup.py install
Downloading https://pypi.python.org/packages/source/s/setuptools/setuptools-4.0.1.zip
Traceback (most recent call last):
File "setup.py", line 4, in
use_setuptools()
File "/home/pi/Adafruit_Python_DHT/ez_setup.py", line 145, in use_setuptools
return _do_download(version, download_base, to_dir, download_delay)
File "/home/pi/Adafruit_Python_DHT/ez_setup.py", line 119, in _do_download
to_dir, download_delay)
File "/home/pi/Adafruit_Python_DHT/ez_setup.py", line 287, in download_setuptools
downloader(url, saveto)
File "/home/pi/Adafruit_Python_DHT/ez_setup.py", line 209, in download_file_curl
_clean_check(cmd, target)
File "/home/pi/Adafruit_Python_DHT/ez_setup.py", line 169, in _clean_check
subprocess.check_call(cmd)
File "/usr/lib/python2.7/subprocess.py", line 540, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['curl', 'https://pypi.python.org/packages/source/s/setuptools/setuptools-4.0.1.zip', '--silent', '--output', '/home/pi/Adafruit_Python_DHT/setuptools-4.0.1.zip']' returned non-zero exit status 7

Steps to get here: followed directions on README.md (https://github.com/adafruit/Adafruit_Python_DHT)

Looks like iptables was blocking, seems fixed now:
https://www.linux.com/forums/linux-security/iptables-blocking-wget-solved

I replaced
$ip -A OUTPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
with
$ip -A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT


Trovo Support (Request)

"Trovo" is a similar website for streaming. It would be amazing if you could add support for downloading past stream from "Trovo" in TwitchLeecher.
Thank You for making this amazing software.

Given the fact that I had to google what Trovo is and a first look at the entire viewer count on the platform there is absolutely no reason to put in any effort in order to support it. YouTube would be much more useful, don't you think?


Create gradle.yml

(Describe the goal of this PR. Mention any related Issue numbers)
Category (place an x in each of the [ ])

[ ] bolt (Bolt for Java)
[ ] bolt-{sub modules} (Bolt for Java - optional modules)
[ ] slack-api-client (Slack API Clients)
[ ] slack-api-model (Slack API Data Models)
[ ] slack-api-*-kotlin-extension (Kotlin Extensions for Slack API Clients)
[ ] slack-app-backend (The primitive layer of Bolt for Java)

Requirements
Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you agree to those rules.

The java-slack-sdk is a Slack SDK for Java that provides two main modules: Bolt for Java and Slack API Client. Bolt for Java is a framework that offers an abstraction layer to build Slack apps quickly using modern platform features, while the Slack API Client provides simple, easy-to-use, and flexibly configurable HTTP clients for making requests to Slack APIs.
Main Function Points

Bolt for Java: A framework that simplifies the development of Slack apps on the JVM
Slack API Client: Provides HTTP clients for making requests to Slack APIs
Supports various runtime environments like Jetty, AWS Lambda, Google Cloud Functions, and more
Includes extensions for Kotlin, Micronaut, Helidon, http4k, and Ktor

Technology Stack

Java
Kotlin (for extensions)
Various JVM frameworks and runtime environments

License
MIT license


vmx occasionally fails bootstrap

Hi
vmx version: 19.4R2.6
Sometimes, vmx fails to bootstrap with the serial commands not being send / received for some reasons.
The log output is the same as normal, just no ssh service.
I can telnet in and execute the commands, and stuff will work as intended.
Typically the cli command will have execute fine, but configure mode has not been entered. But occasionally it will be in some other state.
It seems to be happening more if the machine running the images is more busy. But I have no proper data on it.
I suspect #42 would fix this as well.

I am currently trying with 18.4R1.8 but on my setup I had not have one succesful execution of the serial commands out of ~10.
As a hack I have tried adding 'time.sleep(10)' after 'self.wait_write("cli", None)' in launch.py and now it seems to be working.
I will try to dig a bit deeper and see if can figure out something better.

Hi
I tried the additional sleep and it seems to work. I the current setup I start 8 vmx and 10 vqfx, and it brought up 7/8 vmx (vqfx just seems to work always without sleep). I upped the sleep to 12 seconds, and they all came up.
It ain't pretty, but it beats logging into the vmx manually to configure them.

this is also failing for me on 18.4R2-S4.10 (I haven't tried other releases)
the config via serial is usually successful, but then seems to be overwritten with factory config afterwards - configured "by root via button".  So it doesn't seem like the vMX has finished its own bootstrap/post-install steps when the cli logon banner is presented and bootstrap_config does its thing..
#42 is probably better fix but for now I'm also using the sleep hack.

Hi all,
I am trying 20.2R1.10 image, and during the image make I always keep hitting
2021-01-21 12:27:31,875: launch     TRACE    Read:  delete chassis auto-image-upgrade
warning: statement not found

This prevents disablement of auto-image-upgrade, and during the container start the process kicks in and abrupts the configuration flow via serial interface.
Who knows how to fix this?
here is my code in the bootstra_spin method:
if self.install_mode:
    self.logger.info("requesting power-off")
    self.wait_write("cli", None)
    time.sleep(20)
    self.wait_write("configure", ">", 20)
    self.wait_write("delete chassis auto-image-upgrade")
    self.wait_write("commit")
    self.wait_write("exit")
    self.wait_write("request system power-off", ">")
    self.wait_write("yes", "Power Off the system")
    self.running = True
    return

Hi all,
I am trying 20.2R1.10 image, and during the image make I always keep hitting
2021-01-21 12:27:31,875: launch     TRACE    Read:  delete chassis auto-image-upgrade
warning: statement not found

This prevents disablement of auto-image-upgrade, and during the container start the process kicks in and abrupts the configuration flow via serial interface.
Who knows how to fix this?
here is my code in the bootstra_spin method:
if self.install_mode:
    self.logger.info("requesting power-off")
    self.wait_write("cli", None)
    time.sleep(20)
    self.wait_write("configure", ">", 20)
    self.wait_write("delete chassis auto-image-upgrade")
    self.wait_write("commit")
    self.wait_write("exit")
    self.wait_write("request system power-off", ">")
    self.wait_write("yes", "Power Off the system")
    self.running = True
    return

As the vmx images are now using config drives instead of serial commands this issue is not applicable anymore.
@plajjan you could close this issue.


adressable leds

hello,
first off thank you for this nice plugin.
is it possible to control addressable leds, especially ws2812(B)(/ws2811)?
thank you
c_ascha

Not as the plugin stands.


[Package Request]: VUSC 4 WIN

How can we help?
I would like someone else to build the manifest.
Please read and ensure the following

[x] The installer meets the above requirements

Please provide the following information
Download Page Url: https://www.ok2kkw.com/vusc4win_eng.htm
Publisher: OK1DIX
Package Name: VUSC 4 WIN
Description: Free VHF/UHF/SHF Contest Log Software
Package Version: 7.06
Installer Url: https://www.ok2kkw.com/vusc/vusc4win/vusc_setup_706.exe

Unfortunately, the installer writes nothing to the ARP registry as the author thinks the uninstaller is unnecessary for this program, which means it would not be detected by WinGet. I'll try to match using the installed files though.

Oops, I did not know that. Thanks!


Fix issue #385

Coverage remained the same at 100.0% when pulling 570ab76d8b067676c16414a3da37261d761be568 on issue_385 into 8288d25c9d640c24bb46895dede665f91b302fd3 on master.


There is no such thing as a "Property Manager" item in the View menu.

There is no such thing as a "Property Manager" item in the View menu in Visual Studio 2019.  Further, there is no way to edit a directory macro.

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

ID: d320011e-7558-c4fc-04d8-31cbc2fda834
Version Independent ID: 7b598fab-e8c1-d3a0-0fbf-730a7b2511a5
Content: Set C++ compiler and build properties in Visual Studio
Content Source: docs/build/working-with-project-properties.md
Product: visual-cpp
Technology: cpp-tools
GitHub Login: @corob-msft
Microsoft Alias: corob

@CLIRResearch
Windows that are used less often are grouped in a View sub-menu. Use View > Other Windows > Property Manager to bring up the window, which is usually loaded as a tabbed window in the Solution Explorer space.
What kind of directory macro editing did you have in mind? Most of the existing directory macros are loaded from the environment, such as the SDK directories or VC include directories, or they're created from combinations of other properties, such as the root of the solution and various configuration-specific subdirectories for source files or build output. Generally speaking, you'd break the build if you tried to edit them. It's pretty easy to add source or include directories or to change output directories in the project's Properties pages, which will change what the macros evaluate to, without fiddling with them directly.

Closing. It appears that some updates a couple of weeks ago addressed the initial complaint.


🅿🆁🅾🅿🅾🆂🅰🅻 Restructure content ready for multiple frameworks

This commits proposes a new structure for this repo, based on the upcoming requirement to support multiple frameworks.
Part of https://www.pivotaltracker.com/story/show/103088236
┣ ./
┃ ┣ tests/
┃ ┗ frameworks/           <- content is separated from tests, README, etc
┃   ┗ g-cloud/           <- frameworks are not differentiated by version
┃     ┣ services/       <- questions are still split between services/declaration
┃     ┗ declaration/

Forthcoming additions to this structure would probably look like this:
┣ ./
┃ ┣ tests/
┃ ┗ frameworks/
┃   ┣ g-cloud/
┃     ┣ questions/
┃       ┣ services/
┃       ┗ declaration/
┃     ┣ manifests/
┃     ┣ schemas/
┃     ┗ search_mappings/
┃   ┗ digital_services/
┃     ┗ …

This pull request also changes the tests to check any YAML files in the frameworks directory, agnostic of framework or type of question.

It is possible (probable?) that the questions will change at least slightly between iterations of frameworks.  Are we just going to rely on Git SHAs for versioning? I know that's what we've been doing up until now... I don't know if there's value in freezing a version of the questions for a version somewhere other than in the history?  e.g. say a couple of questions are removed going from G7 to G8 - the latest content will no longer have the field names for fully displaying the G7 services.

I can see the appeal of pushing the schemas out here in future, but I'm not convinced it's the right place for them - they feel like something the API should own.

@TheDoubleK Versioning is something we should do in the future I think. Same way we do it for utils/toolkit.

It would be good if we could get a convention around the framework directory name so that it matches up with the slug in the frameworks table.

@robyoung What does the slug look like? g-cloud-7?

The frameworks table currently:

framework
framework_slug

gcloud
g-cloud-6

gcloud
g-cloud-7

Options we have for making this and the content consistent:
1. Content is always the latest, old frameworks get updated with new content
Folder structure (unchanged)
/frameworks/g-cloud/ → /frameworks/g-cloud/
Frameworks table
framework: gcloud → framework: g-cloud
2. Content is tied to framework iteration, old frameworks can be updated independently
Folder structure
/frameworks/g-cloud/ → /frameworks/g-cloud-6/, /frameworks/g-cloud-7/, …
Frameworks table (unchanged
framework_slug: g-cloud-7 → framework_slug: g-cloud-7
3. As per 2., but modelling the iterations separately
Folder structure
/frameworks/g-cloud/ → /frameworks/g-cloud/6/, /frameworks/g-cloud/7/, …
Frameworks table
framework: gcloud, slug: g-cloud-7 → framework: g-cloud, iteration: 7
4. Other ideas???

2 things to add to discussion (not answers but just to muddy waters)

If framework iterations at some point don't overlap then we never have too concurrent iterations on the site.

If we had to discover what question was asked at some point in time to see the intent of the answer - for example we had an answer of "true" to field "dataExtractionRemoval" and we want to get the full question to discover what we meant by that, do we need to be able to tie it together? This might not need to be in a tool - but we may need to do it.

I think this is ready to merge now.
Changes based on this afternoon's discussion:
Name frameworks by iteration
This is so that we can develop new framework iterations in isolation of existing, live frameworks.
Move questions into their own directory
This is in anticipation of having additional things in the content repository, eg manifests


Refactor QuestionnaireViewModel

IMPORTANT: Where possible all PRs must be linked to a Github issue
Description:
If you look at QuestionnaireViewModel class saveQuestionnaireResponse, the removed logic depends on adding params to LAUNCH_QUESTIONNAIRE workflow. An example of params is added is
{
   "paramType": "UPDATE_DATE_ON_EDIT",
   "linkId": "b32f67966-d2e4-11ed-afa1-0242ac120002",
   "dataType": "STRING",
  "key": "groupReference",
  "value": "@{groupReference}"
}

Remember questionnaire params are meant to be propagated through linkId to questionnaire during extraction process.If you look at the logic, it only relies on "value": "@{groupReference}", extracts resourceType and resourceId from there then uses it to query the resource from db. This happens in series of iterations in the class. This does not use groupResource config and  param with type UPDATE_DATE_ON_EDIT  is also not propagated to questionnaire-extraction(Checked this on fhir-resources )  and hence might be redudant.
Below is a sample groupResource config
"groupResource": {
              "groupIdentifier": "@{familyLogicalId}",
              "memberResourceType": "Group"
            }

Intentions of the refactor
We can as well  extract the logicalId and resourceType from groupResource and borrow load and update resource logic  initially implemented. Advantage of doing this is it doesn't require loops to update and iterate again through the params loading resources from db. This will do away with UPDATE_DATE_ON_EDIT param(s) having to be added on the questionnaireConfig
This was discussed with initial implementor @ahsanbhatti49  and will be tested before.

can you add more details to the description on the goal of this refactor?

@SebaMutuku  We need to add
 "groupResource": {               "groupIdentifier": "@{familyLogicalId}",               "memberResourceType": "Group"             }
in every menu item from where a group/Resource can be updated.  I have tested Pregnancy outcome and its working find with different scenarios after adding groupResource to default_profile_config menu item.
Also we need to update  UPDATE_DATE_ON_EDIT to PARAMDATA.

Discussed this with @ahsanbhatti49 and @ellykits and the current implementation is okay. Closing this PR


[Order] [Russian] Fixing chaotic order of table of languages

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] All the files I changed are in the same world language (for example: only English changes, or only Chinese changes, etc.)
[x] My changes do not use shortened URLs or affiliate links.

Will help to close #36248

Anyone is out there who can review this PR?

Thank you for your contribution to the page! 👍
We're happy to accept these changes, and look forward to future contributions. 🎉


Make ContentsLogger implement the Logger interface

Previously, ContentsLogger did not implement the Logger interface. There
were also some inconsistencies between the parameter names in the Logger
apply method across its implementations.

Multiple failures on Travis for "The job exceeded the maximum time limit for jobs, and has been terminated", restarting those tests.


mdtable:0.1.0

I am submitting

[x] a new package
[ ] an update for a package

Description: Write markdown-like tables easily.

I have read and followed the submission guidelines and, in particular, I

[x] selected a name in conformance with the guidelines
[x] added a typst.toml file with all required keys
[x] added a README.md with documentation for my package
[x] have chosen a license and added a LICENSE file or linked one in my README.md
[x] ensured that my submission does not infringe upon the rights of a third party
[x] tested my package locally on my system and it worked
[x] named this PR as name:version of the submitted package
[x] agree that my package will not be removed without good reason

We've clarified the naming rules a bit recently to make it easier to follow:

Package names should not be the obvious or canonical name for a package with that functionality

Based on this new phrasing, I would say that that "mdtable" (alongside "markdown-table") is definitely among the most obvious names for this functionality. Could you add a little more uniqueness to the name?

Thanks for reply!
How about "tablem"or "tabla"?
---Original---
From: @.>
Date: Thu, Nov 16, 2023 18:07 PM
To: @.>;
Cc<EMAIL_ADDRESS>Subject: Re: [typst/packages] mdtable:0.1.0 (PR #238)
We've clarified the naming rules a bit recently to make it easier to follow:
Package names should not be the obvious or canonical name for a package with that functionality
Based on this new phrasing, I would say that that "mdtable" (alongside "markdown-table") is definitely among the most obvious names for this functionality. Could you add a little more uniqueness to the name?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

Those would be fine.

Ok, I have renamed it to "tablem". Thanks!

Thank you!


Add support for creating items with classification nodes

This fixes a couple of issues in one hit with the goal being to support creating items with classification nodes.
The current NewItem constructor accepts classification_nodes as an array but didn't have typing on it. The result was that the generated typings were broken and the typing for that element in the constructor was never[]:

I've also copied the logic from ItemUpdate.toRequest to handle classification nodes into NewItem.toRequest because as it stands, even if you were to pass in nodes and typecast them to any - they were totally ignored when creating the item.

I've merged in develop and tested locally (cli build won't pass until stuff is actually deployed). I'll close this PR and merge into develop instead of master


Serve app from https://devseed.com/our-forests-tomorrow without /build/ suffix

If there's a straightforward way to do this without messing up the folder structure or anything, would be great to have a cleaner URL, without the /build/ artifact.
There should be some way to configure Github Pages to serve a folder? Am not sure I fully understand this, but something like https://stackoverflow.com/questions/66623128/using-build-as-source-for-a-github-page-for-a-react-app ?
cc @kamicut @nerik
Feel free to close as "wontfix" if this requires effort beyond some configuration in GH pages.

@nerik I'm not sure, but it seems that the Github Actions that are being used to build the site are using a Jekyll build? Not sure why that's the case because we're not using Jekyll. We would have to create our own actions for build and publish and follow https://docs.github.com/en/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site

@batpad I can definitely fix that.
@kamicut Github Pages does not require Jekyll anymore, it can just serve static assets. Enabling GH pages on a project will automatically create a deploy action.
We also could use another solution than GH pages, what would be the DS way? Netlify?

We also could use another solution than GH pages, what would be the DS way? Netlify?

I think GH pages is fine? I think we do host quite a few things just using gh-pages, and unless @kamicut has a strong opinion here, I'd vote for "if its not broken, let's not fix it" on this one.

Ficed!


Add Github action

This change adds a GH action that checks formatting and runs cargo clippy as well as the current test suite.

Maybe the permissions given to actions-rs/clippy-check could be restricted as in https://github.com/actions-rs/clippy-check/pull/166 rather than giving the full GITHUB_TOKEN, which has needlessly broad permissions?

https://github.com/NixOS/nixpkgs/issues/104594#issuecomment-731828681
https://github.com/rustsec/rustsec/issues/303

Maybe the permissions given to actions-rs/clippy-check could be restricted as in actions-rs/clippy-check#166 rather than giving the full GITHUB_TOKEN, which has needlessly broad permissions?
* [GitHub Actions needed for in Nixpkgs NixOS/nixpkgs#104594 (comment)](https://github.com/NixOS/nixpkgs/issues/104594#issuecomment-731828681)

* [Should the README comment on risks (if any) of using 3rd-party GitHub Actions? rustsec/rustsec#303](https://github.com/rustsec/rustsec/issues/303)

Thank you for pointing this out, @8573! We'll look into this.

FYI, I'm taking longer on this PR because I want to add a few more workflows, so I'll probably send a PR to your branch so we can add it all on this PR.


Stars Not showing

Hello,
Thank you this bundle. its working in a form but the stars are not showing.
and please how can i show the rated stars from the form on html.twig. i mean how to display the already selected rated stars on html.twig.

hi @sanribadu, can you tell me how you're getting font awesome onto your webpage?

i am using bootstrap.

@sanribadu the bundle requires font awesome for it to work.
just put this into the head section of your page and it should work:
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">

thank you. it works

glad to help.


fix(settings): mark drop guard as !Send

Fixes #694
Because the SettingsDropGuard modifies a ThreadLocalKey (it clones it in the Settings::bind_to_scope method, then restores it in its drop impl), it should not be moved to a different thread, as then it would modify that thread's CURRENT_SETTINGS instead of the original thread's.
This is not an issue with normal code as the guard is usually unnameable (let _guard = settings.bind_to_scope();). but it is a problem with async code, as when held across await points is can be moved by the runtime to a separate thread.
We fix it by adding a PhantomData field to SettingsDropGuard that does not implement Send. We verify it works by adding a compile_fail doctest to the struct that tries to send the drop guard to a different thread.

This is technically a breaking change, but it is a logic error, so I would argue it is not breaking as users relying on this functionality had broken tests already

I'm not an expert here, but in principle it makes a lot of sense. I'll merge unless @mitsuhiko has any feedback in the next day or so.
@jalil-salame if you'd be up for adding a one-sentence description to the Changelog (+ an attribution if you'd like), that would be great!


OPSEXP-2601: cleanup chart index

Ref: OPSEXP-2601

why?

For the sake of having clean index which do not contain ref to charts that would exist anymore


Rearrange CarPlay icons instead of alphabetical order default

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Hi All! to do that now - I install Carbridge tweek. Do the icons arrangements there, uninstall Carbridge and install CarplayEnable once again. And it works fine. Icons are on the proper sequence ))

Hi All! to do that now - I connect to the car via cable. I install Carbridge tweek. Respring. Do the icons arrangements there in Carbridge (you can see on a car screen new arrangement immediately). uninstall Carbridge and install CarplayEnable once again and respring. And it works fine. Icons are on the proper sequence ))

[ ] Me eh tardado siglos en conseguir el adaptador y resulta que no es y la verdad estoy a dos de rendirme o eses ocuparé mi beca para pagar el programa 😅

_[ ] Gracias

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Sorry no must’ve clicked button by accident I truly apologize for any time
I may have wasted of yours product is fine as far as I can tail
On Wed, Sep 15, 2021 at 8:56 AM Dani @.***> wrote:

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always
frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features
you've considered.
Additional context
Add any other context or screenshots about the feature request here.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/EthanArbuckle/carplay-cast/issues/27#issuecomment-919993677,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOGJMJW5U74PAU4KCDIAGJ3UCCJWZANCNFSM4W3XQRZQ
.

--
null

Jamás fue mi intención solo copiarlo jamás cobre nada de dinero
Obtener Outlook para iOShttps://aka.ms/o0ukef

De: jjdallas83 @.>
Enviado: Wednesday, September 15, 2021 7:59:10 AM
Para: EthanArbuckle/carplay-cast @.>
Cc: Dani @.>; Comment @.>
Asunto: Re: [EthanArbuckle/carplay-cast] Rearrange CarPlay icons instead of alphabetical order default (#27)
Closed #27https://github.com/EthanArbuckle/carplay-cast/issues/27.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/EthanArbuckle/carplay-cast/issues/27#event-5305793093, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ATKLW6TYPQMF2SIV762RKRDUCCKB5ANCNFSM4W3XQRZQ.


Faker::Address.country does not work if your apps does not use :en as a locale

Rail 3.2
Faker 1.4.3
When I use Faker::Address.country with config.i18n.available_locales = [:fr,:it] I have the following error  :
Failure/Error: let(:user) { FactoryGirl.create(:user_with_recurring_order_to_generate)}
 I18n::InvalidLocale:
   :en is not a valid locale

It stop if I remove Faker::Address.country from my factory or if I ad :en to available locales.

Same with Faker::Internet.mail :+1:

This issue is still open and Faker does not work for apps which don't support english. I am stuck at version 1.5.0

@bsylvain @coorasse I'm a new collaborator, and I'm trying to solve and close the issues.
I know it's been a while since you guys discussed about this issue. I would like to ask you if we still need to work on this issue and how I could help.
Thanks 👍

Hello @vbrazo, yes. the issue is still open and valid. I haven't investigated what is causing it so I cannot help you on which direction to follow to solve it. I think the expected behaviour is that the generator works also if english is not available.

I still have to add :en on the test env on my apps using Faker. It makes the test env different from production.

This was fixed by #1377.

It doesn't seem like. If I use the latest version on master I obtain the following:
irb(main):002:0> Faker::Address.country
Traceback (most recent call last):
        1: from (irb):2
I18n::MissingTranslationData (translation missing: en.faker.address.country)

Oops, sorry for the false notice then! :S

I recently faced it again with Faker::Name.last_name

I worked around it by dropping this in my test_helper.rb (must run after faker is loaded).
# Workaround for optimization where I18n::Backend::Simple doesn't load
# translations for locales not in available_locales, thus making them
# unavailable even though faker disables enforce_available_locales while
# looking up translations..
i18n_did_enforce_available_locales = I18n.enforce_available_locales
begin
  I18n.enforce_available_locales = false
  I18n.reload!
  I18n.eager_load!
ensure
  I18n.enforce_available_locales = i18n_did_enforce_available_locales
end

It's not really pretty, but gets the job done and since available_locales are enforced by I18n on both lookup and loading of translations, it should hopefully not change behaviour for other users.


daily 30

The after putt screen for putt 5, 10, 15 are wrong they say next put is 4ft, 6ft, 8ft they should be 6ft after putt 5, 8ft after putt 10 and the random distance after putt 15. Also it's annoying it doesn't show the distance of the putt you are currently on now. If I don't see what the next distance is on the putt results screen i don't know what distance i should be putting from is only the distance for the next putt.

I think the results slider is sliding to the wrong position - it's supposed to be showing the next putt on the screen in that slider area.  Should be easy to fix.
I'll address the next putt screen being wrong today as well - should not be a problem.  I'll close the ticket when updated.

These are fixed on our development branch and will roll with version 1.5.2.

This also seems to be working properly now, so I'll close this issue.  If it recurs, please feel free to reopen the issue or start a new one.


Browser dont open

selenium.common.exceptions.SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 89
Current browser version is 103.0.5060.134 with binary path C:\Program Files\Google\Chrome\Application\chrome.exe
How to fix this? anyone know?

we had the same issue

You need to place a newer chromedriver.exe on your PATH.

Same issue here, could you give us more information about what we must do? It seems that I've already the last chromedriver.
Requirement already satisfied: chromedriver-binary in /usr/local/lib/python3.8/dist-packages (105.0.5195.19.0)

is the chromedriver you are running compatible with your chrome browser?


Sequelize to prisma: Instantiate database with prisma

Description:
The database is now initialized with prisma instead of sequelize. This is the case in:

docker-compose.yml,
The test database,
The package.json script commands.

Also, since I've already had to recreate the migrations for prisma,  I used table names that they are in accord with prisma naming conventions (PascalCase & singular).
Test plan:

Run make reset-dev
Run the tests with yarn docker t
Run yarn docker mr

Depends on:

[x]  #77
[x]  #99
[x]  #98
[x]  #101

All required PR have been merged and merge conflicts have been solved: the PR is ready to review.

@chedieck solved conflicts here, please take a quick look before merging

Your commit shows no changes here, so I'm merging


Summary output missing results

When we are trying enable random read/sequential read or changing thread from 8 to 1 etc, we notice the summary in the result.csv gives inconsistent results. Sometimes no summary output is produced, or sometimes (when we disable sequential writes), we would miss random writes results and only see sequential writes s as seen below.
The expected behavior would be returning the correct summary result when 1) reads are enabled or 2) when mix of read/write is enabled/disabled based on the flag or 3) when different threads are configured.
Summary |   |   |   |   |   |   |   |   |   |   |   |   |   |
-- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | --
Cluster Name | PVC | Storage Type | Environment | Test Name | Thread Count | write Mb/s | Requirement |   |   |   |   |   |
wisc-ipa | pvc-sysbench-rwx | ocs | vmware | seqwr_1g_2 | 2 | 406.1 | Recommended to meet the requirement   of 226 Mb/s or higher |   |   |
wisc-ipa | pvc-sysbench-rwo | ocs | vmware | seqwr_1g_2 | 2 | 368.6 | Recommended to meet the requirement   of 226 Mb/s or higher |   |   |
  |   |   |   |   |   |   |   |   |   |   |   |   |   |
  |   |   |   |   |   |   |   |   |   |   |   |   |   |
Detailed   Measurements |   |   |   |   |   |   |   |   |   |   |   |   |
Cluster Name | PVC | Storage Type | Environment | Test Name | Thread Count | write Mb/s | Writes/s | read Mb/s | Reads/s | Total Time | Latency Min | Latency Avg | Latency Max | Latency 95th
Summary |   |   |   |   |   |   |   |   |   |   |   |   |   |
-- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | --
Cluster Name | PVC | Storage Type | Environment | Test Name | Thread Count | write Mb/s | Requirement |   |   |   |   |   |
  |   |   |   |   |   |   |   |   |   |   |   |   |   |
  |   |   |   |   |   |   |   |   |   |   |   |   |   |
Detailed   Measurements |   |   |   |   |   |   |   |   |   |   |   |   |
Cluster Name | PVC | Storage Type | Environment | Test Name | Thread Count | write Mb/s | Writes/s | read Mb/s | Reads/s | Total Time | Latency Min | Latency Avg | Latency Max | Latency 95th

by design, we output the summary section only for the standard configuration as documented in the CP4D disk IO requirement page.
the right behavior of the tool should either not showing the summary section or maybe with a message like below

summary section is skipped as the standard test cases are not run.


Missing error for unknown var

Missing error for unknown var in some cases:
Var decleration
Getting no error when D10 is not defined
:vars {
  headingText: value(D10);
}

Mixin
Getting no error when R20 is not defined.
.root:skin(error) {
  -st-mixin: ToggleSwitchColor(
    colorUnchecked      value(R20),
  );
}

None of these variables are declared, but still I do not get any error about it.
I do get an error if I use a value not within a mixin call:
.root:focus-visible::track {
	box-shadow: 0 0 0 3px value(R20);
}

Closing this issue, as it belongs in Stylable.


GHA - Drop java 22, use 23 GA and add 25-EA

coverage: 87.183%. remained the same
when pulling 047b0e1d3faf28d58b6318f90bbcef84ca784bb3 on hazendaz:master
into d10481b7c57bb05965812e462d06082a360467c1 on mybatis:master.


Air Conditioner Auto mode not turning on A/c automatically

Hi,
Can someone please help me with the code that i can use to set the A/C to a certain temperature from the OFF position. As my A/C doesn't turn ON by itself when a certain temperature is selected, I have to initially turn it ON with the ON button and then set the temperature. I Learned the temp. hex code from the device itself, by selected the learn function and then coping the HEX code learned, to no success.
As a workaround, would it be possible to send two HEX codes at the same time, to the A/c once the temperature is selected(First code to turn the A/c ON and the second to set the temperature), something like below " tbh, being a newbie here makes it difficult to figure out the code on my own. Any help will be highly appreciated. Thank you in advance
"name": "Air Conditioner",
"type": "air-conditioner",
"host": "<IP_ADDRESS>",
"replaceAutoMode": "cool",
"autoHeatTemperature": "18",
"autoCoolTemperature": "26",
"autoMinimumDuration": "120",
"data": {
"off": "260076006c350f0b0f0c0e27110b0e260f0d0e0c0e0c0f2710250f0c0e0c100b0f270e270e0d100b0d0e0e0c0e0c100c0e0c0f0c0e0d0f0a0f0c0f0d0d0d0f270f0b0f0b100c0e0d0e0b0f0c0f0c0e280d0d0e0c110a100b0e270f0d0f0b0e0d0f0b0e0d100a11250e0d0e280e260e290e260e280f290e000d050000",
"on":"260006016b350f0b0e0d0e280d0c10260f0c0f0b0f0c0f280e260e0d0e0c110a0f260f280d0d100a0f0d0e0b0f0c100b100b0e0c0f0d0d0c0f0c0e0c0f0c0f270f0c0e0c0f0c100a0f0c0e0d0f0b0f270f0c0e0c0f0d0f0a0f280e26102510260f270e270e270f270f0d0c0d0f270e0d0e0d0f0b100b0d0d0e0d0e0c0e0c11250e270f0d0e0c0f260f0c0e0c110b0e0d0d0d0e270f0b0f281009110a100b100c0d0e0e0b0f0b0f0c0e290e0c0e0c0e0d0f26100c0e0b100d0c0d0f0c100a0f0c0f0b100c0e0c0e0d0f0b0e0e0f0b0e0c110a100a0f0c0e0c0f0e0d0c100c0f0a0f0c0f0b0f0c100c0e0c0e0d0e0c100b0f260e0d0e0d0e0d0f0a10280e25100b0f0d0e260f0f0e000d050000",
"temperature30": {
"pseudo-mode": "heat",
"power": "on",
"data": "260006016b34100b0e0c0f270e0d0e280d0d0f0b0f0c0f270f270f0a0f0c0e0d0e280f260e0d0e0c100b0e0c100b0f0d0e0b0e0d0e0c100c0d0d0e0c0f0c10260f0c0e0d0e0b0f0c0f0c0e0c110a10260e0c100c0e0c0e0d0e280d270e290d270f270e2610260e27100b0f0d0d270f0c0e0c100b0f0c0f0b0f0c0f0c0f0c0e270f260f0d0d0d0e0d0e0d0f0a0f0d0e280e0d0d270e0d0e270f0c0f0c0e0d0f0b0e0c100b100c0d0e0d27100a0e0e0d0d0f260f0c0e0e0d0c100b0f0b0f0c100b0f0b0f0d0e0c0e0c110a110a0f0b0e0d0e0d0e0c0f0c0e0c0f0c0f0c0e0d0f0b0f0c100c0d0c0f0c100a110b0f0b0e0c0f270e0e0f0b0f270f0a10260f260f270f26100b0f0e0f000d050000"

Added this to the next release (check out the sendOnWhenOff option)


Discussion: Breaking Logging changes and new additions

The is the discussion issue for the announcement aspnet/Announcements#238.

In the old way of configuring logging, we could add to the Configure method additional services registered in DI that our logging provider would need. How can we achieve the same in the new style?
Fox example, in my app, I use Serilog, and I had a custom Enricher: WebEnricher, that would take care of logging of additional data like querystring. For that, I was injecting the HttpContextAccessor in the Configure method and then constructing the WebEnricher with it.

@BrennanConroy don't want to look pushy, but can you take a look at my comment above? Just trying to understand if we are losing use cases with the new approach.

What's about non-web-hosted application? How should I use extension ConfigureLogging out of IWebHostBuilder?

What's about non-web-hosted application? How should I use extension ConfigureLogging out of IWebHostBuilder?

How does this change affect that? If you're in a non hosted web application who is creating the concrete LoggerFactory instance?

@epignosisx That scenario is genuinely broken and it's something we're going to look at fixing for preview2. The only work around I can think of right now would be to downcase ILoggerFactory to LoggerFactory and call AddProvider the same way you did before (but more hackily). Or by suppressing the deprecated warning.
We have plans to better integrate logging with DI when running in ASP.NET Core.

My code:
Configuration = new ConfigurationBuilder()
    .SetBasePath(Directory.GetCurrentDirectory())
    .AddJsonFile("appsettings.json", false, true)
    .Build();
....
Services = new ServiceCollection();
....
ServiceProvider = Services
                .BuildServiceProvider();
....
LoggerFactory = ServiceProvider.GetService<ILoggerFactory>();
LoggerFactory
    .AddDebug(LogLevel.Trace);

You're missing something there who added the ILoggerFactory to the container?

Sorry. I use this code:
Services.AddLogging()
                .AddOptions();

I've fixed my code sample.

@mgrishkov You would just do the following instead:
// Create your own logger factory
LoggerFactory loggerFactory = new LoggerFactory();
loggerFactory.AddDebug(LogLevel.Trace);

Services = new ServiceCollection();
Services
    // Add your own logger factory to DI
    .AddSingleton<ILoggerFactory>(loggerFactory)
    .AddLogging() // This adds the remaining interfaces (e.g. ILogger)
    .AddOptions();
....
ServiceProvider = Services.BuildServiceProvider();

@davidfowl This is a good example for why I thought https://github.com/aspnet/Logging/pull/501 would have been nice. I think it's much more important now that people have to work with the concrete LoggerFactory type more often.

Ok, thank you I'll check it.

Thanks @davidfowl. I'll keep eye for preview 2.

Thanks @davidfowl. I'll keep eye for preview 2. Is this issue being tracked? Should I open an issue for better visibility?

Open an issue.

Does this actually work for anyone? It doesn't work for me and I can't find examples where this works. My code:
public void Configure(IApplicationBuilder app, IHostingEnvironment env, LoggerFactory loggerFactory)
        {
            loggerFactory.AddFilter(new Dictionary<string, LogLevel>
            {
                { "Microsoft", LogLevel.Warning },
                { "System", LogLevel.Error }
            });
            loggerFactory.AddConsole();
            ...
        }

        public static void Main(string[] args)
        {
            var host = new WebHostBuilder()
                            .ConfigureLogging(loggerFactory =>
                            {
                                loggerFactory.AddConsole();
                                loggerFactory.AddDebug();
                            })
                            .UseKestrel()
                            .UseIISIntegration()
                            .UseStartup<Program>()
                            .Build();
            host.Run();
        }

Both ".AddDebug" and ".AddFilter" throw error
message: ''ILoggerFactory' does not contain a definition for 'AddDebug' and no extension method 'AddDebug' accepting a first argument of type 'ILoggerFactory' could be found (are you missing a using directive or an assembly reference?) [MyApi]'
message: ''LoggerFactory' does not contain a definition for 'AddFilter' and no extension method 'AddFilter' accepting a first argument of type 'LoggerFactory' could be found (are you missing a using directive or an assembly reference?) [MyApi]'
I tried switching between ILoggerFactory and LoggerFactory to no avail.
How can I make ".AddDebug()" work?

Closing this discussion as it has been superseded by https://github.com/aspnet/Announcements/issues/255. Take a look there and see if you can solve your issue.


Feature: Provide output as alternative to using loader

Was tinkering and came up with an interesting use case to throw out there. It would be interesting if, instead of loading elements or templates, a matching route could simply output its value.  Code example:
<app-route
   path="/line/:lineId/load"
   output="{{output}}"></app-route>

// where output would look like:
{
    lineId: '<line_id>'
}

another with a little more complexity:
<app-route
   path="/foo/:foo/bar/:bar/baz/:shizzle"
   output="{{output}}"></app-route>

// where output would look like:
{
    foo: '<foo>',
    bar: '<bar>',
    shizzle: '<shizzle>',
}

What would be interesting here is that the user could implement whatever mechanism desired for generating UI.  The  <flatiron-director></flatiron-director> examples tend to go this route, passing the path out of flatiron, but not having the benefits of matching variables.  They are always very simple from what I've seen.
So being able to do this:
  Polymer({
     outputChanged: function(oldVal, newVal) {
       // oldVal = the previous path match representation
       // newVal = the new match
       // I can map the route however I desire, binding to any number of
       // other components...
       this.foo = newVal.foo;
       this.bar = newVal.bar;
     }
  })

Its an interesting idea.

It's actually a really good idea. I've thought about that before too. I was thinking about completely splitting it into it's own element.
URL
/this/is/a/really/long/url?and=just&keep=going

Then put something like this in the page.
<url-parser path="/foo/:foo/bar/:bar/baz/:shizzle" model="{{url}}"></url-parser>

The Polymer element's this.url would look like this.
{
  "foo": "is",
  "bar": "really",
  "shizzle": "url",
  "and": "just",
  "keep": "going"
}

This way you could even do server-side routing and easily parse the URL.

Dude!  Exactly, that would be awesome.  And Splitting it out into its own element is probably even better.  The simplicity and flexibility would be really powerful.


Skip

This adds a new "skip_question" logic to Survey class.
@rbyh can you add to your docs TODOs.

Also - @rbyh we should document the visualization feature for survey skip logic.


Change translation typo in French example

Hi!
I was going through the doc, testing the examples and I have encountered some typo:

In unit-testing-vue-components.html The template is written in french Bienvenue sur le tutoriel VueJs and the test was testing the english version of it Welcome to the Vue.js cookbook. So I updated the test to make it test the french version.
Still in unit-testing-vue-components.html the last test with the factory is not working because data is not set as a function so I updated it data() { return { ...values  }}  to and it run well now.
Still in unit-testing-vue-components.html I wanted to make explicit the use of the jest notation for the tests, because they won't work with chai for example.

Thanks

Thanks, I will change VueJs to Vue.js.


🐛 [Housekeeping] Workflows should only run when relevant files are changed

Bug report
To make it easier to contribute to the repository with faster CI, only relevant checks should run on a PR.
Expected behavior
Only the checks relevant to a specific PR should run.

I think we have suitable checks for when to run e2e tests which is the workflow that takes the most amount of time. See: https://github.com/firebase/flutterfire/blob/master/.github/workflows/e2e_tests.yaml#L7-L25
I'll reopen if you have any further suggestions 😄


No support for export default from "foo"

Babel provides the module @babel/plugin-proposal-export-default-from that supports the syntax export default from "foo". Swc currently does not support this syntax.
error: Expected Semi, got Some(Str { value: Atom('foo' type=inline), has_escape: false })
 --> test.js:1:21
  |
1 | export default from "foo";
  |                     ^^^^^

Fixed with<EMAIL_ADDRESS>

Latest it 1.0.45, any timeline for a release?

@joaomilho
It is already released. You have to specify parser: { syntax: "ecmascript", exportDefaultFrom: true } to use it.

k, will try


Env vars that contain colons are not properly loaded

Describe the bug
I've been using some env vars that contain colons, line: ceramic_did_str: ${str:did:key:z6Mkon3Necd6N...}. It seems that some parts of it are removed during loading.

Is seems this has been fixed already. Viraj has shown a working example. We can close this.


Nested route - not found

Now that React Router 4 allows us to nest routes inside other components, I keep running into an issue with resolving the not found page.
Say we have a component tree like:
// Top-level
<App>
	<Switch>
		<Route path="/account" component={Account}/>
		//... other routes here
		<Route component={NotFound}/>
	</Switch>
</App>

// Nested in the component tree

<Account>

Some shared content among all account pages

	<Switch>
		<Route path="/account" component={MyAccount} exact/>
		<Route path="/account/register" component={Register} exact/>
		<Route path="/account/login" component={Login} exact/>
		<Route path="/account/password/reset" component={ResetPassword} exact/>
		<Route path="/account/password/forgot" component={ForgotPassword} exact/>
		// How to handle NotFound here?
	</Switch>

Some more shared content among all account pages

</Account>

It's rather difficult to handle a nested not found. At it stands, I put the shared stuff into their own components and then reuse them in every component in the "Account" section. It's not a terrible solution, but it's a bit verbose.
We could benefit from a set of <Throw/> and <Catch/> components. Of course React's data flow is unidirectional and for this to work, we have to use a callback on the context to indicate further up that we couldn't proceed with the render.
Another situation that this could come in handy is when a nested component has to make a data request to the server before it can render, but once it does the request, it finds out that the url is invalid and the resource doesn't exist and so it has to show a not found page.
Anyway, I was curious to know if any one else has come across this issue of a nested not found and if there's anything that can be done at the router level to make this less of a pain point. Thanks.

I am struggling with the same problem and haven't found any good solution. To use a redirect here seems a bit wrong because I am losing the url in the browser.

If you're using something like redux or mobx, you could pop a thing on the state tree that the top level component reads to switch the view into your NotFound component.
But how you handle that is entirely up to you. Switch handles that more as a "default" case, rather than a "no match" case. So mapping the functionality to that use case doesn't exactly work.

Sorry for opening this up again.
Would this be a valid solution?

import React, { Component } from 'react';
import ReactDOM from 'react-dom';
import { BrowserRouter, Switch, Route, Link } from 'react-router-dom';

const Home = () =>
Home

const User = () =>
User

// Lock down route to escape frontend component
class EscapeErrorRoute extends Component {
  componentWillMount() {
    const { lockdownRoute } = this.props;
    lockdownRoute();
  }
  render() {
    return
You shouldn't see this

  }
}

// Global error component
class Error extends Component {
  componentWillReceiveProps(nextProps) {
    const { location, unlockRoute } = this.props;
    const { location: nextLocation  } = nextProps;

    if (location.pathname !== nextLocation.pathname) {
      unlockRoute();
    }
  }

  componentWillUnmount() {
    // Required for navigating back to root route.
    const { unlockRoute } = this.props;
    unlockRoute();
  }

  render() {
    return

Global 404

  }
}

// Frontend component
const Frontend = (props) => {
  const { lockdownRoute } = props;
  return (

Frontend

<Link to="/">Home</Link>

<Link to="/user">User</Link>

<Link to="/not-found-route">Error</Link>

      <Switch>
        <Route exact path="/" component={Home} />
        <Route path="/user" component={User} />
        <Route render={ (props) => <EscapeErrorRoute {...props} lockdownRoute={lockdownRoute} /> } />
      </Switch>

  )
}

// Main app
class App extends Component {
  constructor() {
    super();

    this.lockdownRoute = this.lockdownRoute.bind(this);
    this.unlockRoute = this.unlockRoute.bind(this);

    this.state = {
      lockdown: false
    }
  }

  lockdownRoute() {
    this.setState({
      lockdown: true
    })
  }

  unlockRoute() {
    this.setState({
      lockdown: false
    })
  }

  render() {
    const { lockdown } = this.state;

    return (

{ lockdown ? 'Route locked down' : 'Route opened' }

        <Switch>
          <Route exact={lockdown} path="/" render={(props) => <Frontend {...props} lockdownRoute={this.lockdownRoute} unlockRoute={this.unlockRoute} />} />
          <Route render={(props) => <Error  {...props} unlockRoute={this.unlockRoute} />} />
        </Switch>

    )
  }
}

ReactDOM.render(
  <BrowserRouter><App /></BrowserRouter>,
  document.getElementById('root')
);

It's a new idea, but you'd have a nested NotFound. You know enough to show the account page, but nothing from there.
I actually just redirect to the best route that makes sense:
<Switch>
		<Route path="/account" component={MyAccount} exact/>
		<Route path="/account/register" component={Register} exact/>
		<Route path="/account/login" component={Login} exact/>
		<Route path="/account/password/reset" component={ResetPassword} exact/>
		<Route path="/account/password/forgot" component={ForgotPassword} exact/>
                {/* redirect, seems more useful than "a not found" message */}
		<Redirect to="/account"/>
	</Switch>

@ryanflorence Thanks for taking your time :).
When you do a redirect how would you keep the information of the wrong route?
For instance if you enter the route /account/i-am-no-valid-route into your browser and you redirect to /account you'll lose the information of i-am-no-valid-route.
How would you keep it?

Hey guys, so today I've came across this exact same issue and I was able to get something working to render a "global not found" component, while keeping the benefits of sharing some UI within a "parent" route. I wanted to share this with you, in case you find this useful for your case :)
Consider the routes I need to support:
| /
| /profile/:userId # General profile page
| /profile/:userId/settings # Settings within Profile

My goal was to render a global 404 (a not a nested 404) if trying to reach /profile/:userId/whatever or /profile/:userId/settings/whatever.  I also wanted to keep the fact that route component shouldn't be path specific (so I can move them around, or use them for multiple routes).
I'll share the code snippet and maybe write some explanations after.
// App.js (or the root component)

/**
 * Interpolate a string which holds variables (i.e :userId) and replace all occurrences
 * by the values held in the `params` object.
 *
 * Given the string `/profile/:userId` and the params { userId: 'thomas' }
 * it returns `/profile/thomas`.
 */
function interpolateParams(string, params = {}) {
  return string.replace(/:([a-zA-Z]+)/g, (match, token1) => `${params[token1]}`);
}

/**
 * Conditionally render a component for a base route and all of its sub routes.
 * If any sub route is valid, we render the same base component, otherwise a 404.
 */
const RouteWithSubRoutes = (initialProps) => (
  <Route path={initialProps.path} render={(props) => {
    const validRoutes = [initialProps.path, ...initialProps.subRoutes]
      .map(route => interpolateParams(route, props.match.params));

    return validRoutes.includes(props.location.pathname)
      ? <initialProps.baseComponent {...props} />
      : <Error404 />
  }} />
);

<Switch>
  <Route exact={true} path="/" component={Home} />
  <RouteWithSubRoutes
    path="/profile/:userId"
    baseComponent={Profile}
    subRoutes={[
      '/profile/:userId/settings'
    ]}
  />
  <Route component={Error404}/>
</Switch>

// in Profile.js
const Profile = ({ match }) => (

{match.params.userId} profile!

This is some UI shared between all sub routes within Profile.

  <Link to={`${match.url}/settings`}>See settings</Link>

  <Switch>
    <Route exact={true} path={match.url} render={() =>
Root Profile Page
} />
    <Route exact={true} path={`${match.url}/settings`} render={props =>
Profile Settings
} />
    </Switch>

));

So this logic will match /profile/thomas and /profile/thomas/settings but won't match anything else. If a no match is found, a global 404 is rendered even inside a nested route.

@Magellol Your solution would work. But it seems we have to declare all routes in a single file as react-router v3.

@jacobdam Well kind of yeah. I mean, you'd have to define the parent route and all paths for the children routes as well for sure.
I wasn't able to come up with more separation of concerns for this as I needed to see if a global 404 needed to be rendered early enough in the render pipeline (before going too deep in the component tree)

@Magellol I guess that instead of implementing the interpolateParams function yourself you could use the matchPath function from react-router-dom.

@vanpacheco Yeah, it looks like I could use that to simplify a bit the matching logic. Thanks for pointing that out 👍

I've made a simple example demonstrating a nested "not found" page, maybe it will help some people in this thread.
See: https://github.com/ReactTraining/react-router/issues/4698#issuecomment-314419439

That's an interesting approach! I guess it goes more into the dynamic aspect of react-router 4.
The only thing that tickles me a bit is that you have to repeat the <RouteNotFound /> on each sub routes as well instead of handling it once but pretty sure you'd be able to abstract that Switch away to always append a <RouteNotFound /> at the end.

I'm facing issue, when I login it redirects to the home and authentication is working fine, but in between
I can see the blank page which I tried in React like creating a component having please wait and imported in route.js.
Anyway to show loading on the screen instead of blank page and please let me know any one have resolved it. Thanks.


Create_exponential_function()

Problem
The create_exponential_function() asks the user to input a value n (x^n). After getting the input, it should return a string. For example, if the user gives 5 for n then the string will be "x**5"
Pseudocode
def create_exponential_function():
     n = get the input from user
     return it as x**n

Hi could I work on this issue?

go right ahead


Add option to the listener so polling can be used in stead of events.

Events weren't fired on my machines, therefore I created the option to retrieve the Sonos data by polling. To make it clean I have added configurable options to the module.

Look great, thank you for the PR 👌


Only do (expensive) SSL context setups when actually accessing HTTPS URLs

NOTE: GitHub mangles whitespace-only changes pretty badly in this case sigh
While upgrading our stack from CentOS 6.x to CentOS 7.x we noticed that between
rest-client 1.6.8 and 1.8.0 SSL certificate verification was added (yay! \o/),
which comes at some expense of SSL CA path setups and the like.
This expense cost us dearly, as we were doing a lot of backend requests via
CouchRest, which itself uses rest-client. For performance reasons, backend
communication is done unencrypted inside our secured network, so the SSL setup
was unnecessary. Our application code still needs to be ported to newer
versions of CouchRest and rest-client, so a patch for the 1.8.x branch was
needed.
This patch ensures SSL context setup is only done when accessing https URLs,
and updates related tests. Introduction of security issues by this PR is very
unlikely.
Forward-porting of this patch is recommended, additional recommended changes
might be caching/pooling of request objects or pre-creation/sharing of SSL CA
path information. The possible security implications of this additional change
where not explored in the scope of the current PR.

Thanks, yeah this has been on my to do list for a while.
Re: whitespace, github has a secret whitespace ignoring mode that you can get by adding ?w=1 to any diff view URL.

P.S. Really I'd recommend upgrading to rest-client 2.0.0, which fixes this behavior.

+1. Any chance this can make it into the 1.8.x branch? My team is using this gem and our performance tool pointed this out. Unfortunately our stack uses Ruby 1.9.3, so upgrading to 2.0.0 is not an option.

Hmm. Shall we retry the CI build, or try fixing it?

Thanks for the contribution, but I don't think it's worth it at this point to fix the 1.8.x branch tests. 2.0 has been the primary focus of development for years now.


Question: data collection across devices at scale with parent process data.

what is the best way to query the past occurrences of 2 different process names across roughly 20,000 devices and the parent process that spawned those processes.

Related to issue #351


pull api The target couldn't be found.

Description
curl --location --request GET 'https://git.aaa.com/api/v1/repos/go/go/pulls/14?access_token=27766e50b5c5389ff9bf64338692ecf5b863ae30'

{
    "errors": null,
    "message": "The target couldn't be found.",
    "url": "https://git.aaa.com/api/swagger"
}

And
curl --location --request GET 'https://git.aaa.com/api/v1/repos/go/go/pulls?access_token=27766e50b5c5389ff9bf64338692ecf5b863ae30'

{
    "errors": null,
    "message": "The target couldn't be found.",
    "url": "https://git.aaa.com/api/swagger"
}

Gitea Version
1.17.1
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
systemctl start gitea
Database
None

Incorrect permissions, resolved


Remove restriction of protobuf version

This was introduced in #195, but ovs-cni is currently working without it.
Signed-off-by: Masashi Honma<EMAIL_ADDRESS>

/release-note-none

protobuf >= 1.3.2 is needed to deal with https://nvd.nist.gov/vuln/detail/CVE-2021-3121, hence we cannot drop the version requirement. Unless you protest, I will close this PR

Ok, I will drop this.


exon length is ZERO!

Hi, guys
Did you ever notice that in StringTie's gtf lengths of some exons were equal to 0?

No -- could you provide an example output line please? I'm assuming such exons are not given as reference annotation to StringTie..

1       StringTie       exon    22175136        22175287        1000    -       .       gene_id "MSTRG.391"; transcript_id "MSTRG.391.8"; exon_number "21";
1       StringTie       exon    22175386        22175524        1000    -       .       gene_id "MSTRG.391"; transcript_id "MSTRG.391.8"; exon_number "22";
1       StringTie       exon    22176534        22176685        1000    -       .       gene_id "MSTRG.391"; transcript_id "MSTRG.391.8"; exon_number "23";
1       StringTie       exon    22176856        22176991        1000    -       .       gene_id "MSTRG.391"; transcript_id "MSTRG.391.8"; exon_number "24";
1       StringTie       exon    22178039        22178083        1000    -       .       gene_id "MSTRG.391"; transcript_id "MSTRG.391.8"; exon_number "25";
1       StringTie       exon    22179457        22179563        1000    -       .       gene_id "MSTRG.391"; transcript_id "MSTRG.391.8"; exon_number "26";
1       StringTie       exon    22180301        22180301        1000    -       .       gene_id "MSTRG.391"; transcript_id "MSTRG.391.8"; exon_number "27";

That's length 1 (not 0), which is theoretically possible (microexon) but could also be an artifact caused by spurious alignments.
I couldn't tell -- is that the last exon of that transcript ? Also, what was the aligner used?
It would be very helpful if you could provide us with the .BAM alignments in that region - is that a possibility? Also, if any reference annotation was used, I am curious if there was a micro-exon annotated at that coordinate already..
Thank you!


some confusion about this experiment

I have looked at the experimental code in detail and have the following confusion:
1.Why is it necessary to initialize model parameters on SimGCD? SimGCD contains more labeled samples (50% of Old) than AGCD in this paper (20% of Old). Doesn't this initialization method allow the model to learn labeled samples that appear in SimGCD but not in AGCD?
2. Why does this experiment need to decouple the originalDataset and SelectedDataset for training? I have observed other ActiveLearning methods and found that decoupling training is rare. In the replication experiment, it was indeed found that decoupling training would cause a sudden decrease in test results. Although the results in the paper can be replicated, I am still confused about this.

Hi, thanks for your questions. I will respond point by point.

Actually, the model is initialized with the model trained with 20% of the Old, rather than 50%, so it is consistent with our paper. I noticed that in the README file, we set --prop_train_labels to 0.5 for the train base model, but it is actually 0.2. I will correct this. Thank you for pointing it out. It does not change the results, just the typo in README.md :joy:
Plus, please see L93 of train_al_ema.py, when loading the checkpoints from the base model, we have to specify the args args.prop_train_labels. The model checkpoints can only be correctly imported when the parameter --prop_train_labels is consistent between the two files train_base.py and train_al_ema.py. The folder name of base model checkpoints is like old50_ratio0.2_20231010-081653 for CIFAR100.

Good question :+1:. The initial motivation for decoupling is that we found that in AGCD, it is more important to enhance the effect of the selected data. To be more specific, we could strategically set training hyperparameters for the selected data. For example, we empirically found that a smaller batch size (e.g., 8 or 16) of the selected data is more suitable in AGCD. If we set the same batch size of original data (i.e., 128), the effectiveness of active learning could be largely diminished.
The core difference between AL and AGCD is that there is no labeled data for new classes in  AGCD, while for AL, there are initially plenty of labeled samples for all classes. As a result, in AGCD, we have to enlarge the effect of selected labeled samples for new classes to balance with the old classes as much as possible. Besides, there are unsupervised learning objectives in AGCD, which might also diminish the effect of selected data.
In this work, decoupling the dataset is our solution considering the empirical results. Future works could also explore other possibilities in the training pipeline and dataset splits. By the way, if the training hyperparameters of the original and selected datasets are exactly the same, decoupled training equals the scenarios of conventional AL.

Thanks for ur response! Now I actually get it.


'awk' is not recognized

I saw this issue #23 which mentions that awk is not running. The issue is closed but since awk was not the main concern in the issue it was never treated.
I'm running Windows 7 64-bit and I have the awk binary in vendor\msysgit\bin\ but when I try to run it in Cmder it is not recognized
λ awk
'awk' is not recognized as an internal or external command,
operable program or batch file.

I changed the filename to awk.exe and got this instead:
λ awk
This version of [my path]\vendor\msysgit\bin\awk.exe is not compatible
with the version of Windows you're running. Check your computer's system
information to see whether you need a x86 (32-bit) or x64 (64-bit) version of
the program, and then contact the software publisher.

I'm not sure if this is supposed to work or not but I figured I'd post it here if you have any input or for anyone else looking for this.

I just added a new startup task with this command instead of an alias:
cmd /k "F:\ProgramFiles\CMDer\vendor\msysgit\bin\sh.exe --login" -new_console:d:%USERPROFILE%

@vohof Interesting, what are the benefits of using a startup task over an alias?

@rmorrin so I could use all the other msysgit binaries?

A simple solution to this issue that works for Vista on up is just to use a symlink.
mklink awk.exe gawk.exe

Or you could create a batch file named awk.bat with the command:
gawk %1

Do note that I'm not sure how the arguments are passed as far as spaces go. Wrapping the "%1" in quotes doesn't work. So I think the cleanest solution is just to use a symlink.

I just renamed gawk.exe to awk.exe, and then the awk command worked fine. I don't know whether or not that's stable or normal, though...


Get username from config variable

There is a hardcode username of vagrant in some of the `provisioning/tasks/' files. It would be nice to set a variable in the config and then use that instead, in case someone wants to set a different username.
https://github.com/geerlingguy/drupal-dev-vm/blob/master/provisioning/tasks/www.yml#L9
https://github.com/geerlingguy/drupal-dev-vm/blob/master/provisioning/tasks/www.yml#L15
https://github.com/geerlingguy/drupal-dev-vm/blob/master/provisioning/tasks/drupal.yml#L59

Makes perfect sense!

Awesome, thanks!


chore: liveness and readiness probes

This adds readiness and liveness probes for both exporter and ui on /healthz path.

Merging here:
https://github.com/opencost/opencost-helm-chart/pull/60


I added "information of open sourced companies"

i think it's better to add the details of few companies which entered open source.

[x] Have you followed the contributing guidelines?
[x] Have you explained what your changes do, and why they add value to the Guides?
[x] Have you enabled GitHub Pages Previews by pressing Enable GitHub Pages on the right sidebar to trigger a pages build for this PR?

Please note: we will close your PR without comment if you do not check the boxes above and provide ALL requested information.

its better to add information companies indulged in open source.

I've just installed awaiting my progress

Please reopen this pull request and make sure you take care of all the required steps, in particular:

Have you explained what your changes do, and why they add value to the Guides?


Add Au to alternatives section

Thanks for maintaining your list of C++ units libraries!  It's a really useful resource.
Today, we released our open source units library (Au), which can be found here (https://github.com/aurora-opensource/au).  I think the summary is apt:

A C++14-compatible physical units library with no dependencies and a single-file delivery option. Emphasis on safety, accessibility, performance, and developer experience.

Could Au please be added to the list in your README?

Thanks for the heads-up, I'll add Au to to the list with pleasure.

Thanks so much!  I really appreciate it.


Calling help! without parameters shows list of stdlib functions

Fixes #815
!(help!) shows the list of stdlib functions. Add REPL banner to inform user about website and !(help!).

@luketpeterson I added you for a quick look at REPL part.


Material-UI: too many re-renders. The layout is unstable.

[x] The issue is present in the latest release.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯

When typing a large input into a <TextField>, eventually the following error pops up in the console
Material-UI: too many re-renders. The layout is unstable.
TextareaAutosize limits the number of renders to prevent an infinite loop.

Expected Behavior 🤔
For this to not happen
Steps to Reproduce 🕹
Just type a lot into the <TextField>.
Context 🔦
Just trying to write a long input into <TextField>.
Your Environment 🌎

Tech
Version

Material-UI
v4.9.5

React
16.13.0

Browser
Firefox 74

TypeScript
3.8.3

Hopefully this helps someone; I found the answer to this actually wasn't anything to do with code actually doing updates. It's MUI not being able to find stable dimensions for the TextField when using the multiline parameter, as there are too many variables.
In my case it was a TextField with pretty much infinite space around it; MUI didn't know whether to make the input wide or tall!
So I fixed it by using the fullWidth parameter; so it was effectively constrained in a direction.
I hope that helps someone :)

having the same issue when using <TextField multiline ...
so when i the size changes vertically (from adding content to the input) i get this error
i also noticed that it happens when controlled
MUI: Too many re-renders. The layout is unstable.
TextareaAutosize limits the number of renders to prevent an infinite loop.  at TextareaAutosize

codesandbox demo
using<EMAIL_ADDRESS>and<EMAIL_ADDRESS>

Was having the same issue here. Have tried all the mentioned solutions with no luck.
Seems to only occur when the # of rows is dynamically generated by the content of the textarea; when I switched to a set # of rows the errors stopped.

The fullWidth parameter solved the problem for me
https://stackoverflow.com/a/72170317

I am having the same issue, even setting the rows property doesn't fix it.
My Code:
`typescript
const {
handleSubmit,
register,
reset,
formState: { errors },
} = useForm<{ name: string }>({
defaultValues: { name: 'test\nname\nmultiline' }
});
return (
<TextField
label='Name'
multiline
rows={3}
variant='filled'
disabled={loading}
{...register('name', {
required: 'Please enter a name!'
})}
error={errors.name!== undefined}
helperText={errors.name?.message}
/>
)`
My dependencies:
json {   "@emotion/react": "^11.9.0",   "@emotion/styled": "^11.8.1",   "@fontsource/roboto": "^4.5.5",   "@mui/icons-material": "^5.6.2",   "@mui/material": "^5.7.0",   "@next/bundle-analyzer": "^12.1.6",   "framer-motion": "^6.3.3",   "next": "^12.1.5",   "react": "^18.1.0",   "react-dom": "^18.1.0",   "react-hook-form": "^7.30.0",   "sharp": "^0.30.4" }

I found this error only occurs in td tag :
<td>
<TextField id="RemarkInput" label="xxxx" placeholder="xxxxx"                                variant="outlined" fullWidth                                helperText={remark.length + "/100"}                                multiline maxRows={5} inputProps={{maxLength: 100}}                                inputRef={remarkEl} value={remark}                                onChange={changeInput("remark")}            />
</td>

If anyone else came from Google, this is a MUI bug. Please see reproduction steps here: https://github.com/mui/material-ui/pull/32783#issuecomment-1143771496


Moving certificateregistration (1) resource to v1beta1 version

Description of your changes
Adding 1 resource in certificateregistration group:

[x] azurerm_app_service_certificate_order

Fixes #123
I have:

[x] Run make reviewable test to ensure this PR is ready for review.

How has this code been tested
azurerm_app_service_certificate_order - manually and uptest

/test-examples="examples/certificateregistration/appservicecertificateorder.yaml"

/test-examples="examples/certificateregistration/appservicecertificateorder.yaml"

/test-examples="examples/certificateregistration/appservicecertificateorder.yaml"


Maxtext docker functionality tests

Hi, I have added and verified the functionality checks for upstream-maxtext build. Here is the test run:
https://github.com/NVIDIA/JAX-Toolbox/actions/runs/7746294404
Please let me know if anything else is required to make it public.

@terrykong I have made the changes to support build and test using the same yaml file. Also verified it to be working. Please see the following run:
https://github.com/NVIDIA/JAX-Toolbox/actions/runs/7762930813


Add regression test for TypeError after returning NotImplemented.

This PR adds a regression test for issue #1185.

Thank you for finding this!
Looks the bug is around https://github.com/PyO3/pyo3/blob/a0960f891801c0534856cb90fa90451828579470/src/class/macros.rs#L128.
Here we use extract_or_not_implemented! even after the fallback call, but we should raise type error instead.
Are you willing to fix this yourself on this branch?
Or I can send a PR on this.

@kngwyu Now that you have pinpointed the place where it happens I could try to fix it.  If I fail, I'll pass it to you ;)

@mvaled
Thank you, let us know any question if you get stucked.

@kngwyu
I tried several things, without luck.  The reversed operator may itself return NotImplemented (which I think would be the case of our test), so I need to compare the result of the reversed call to NotImplemented.
The last commit (7d15e51ef7989a34402a06f8f77f1d3c56bc97c3) is the last attempt I've made so far.

@kngwyu
Well, the code of our py_binary_fallback_num_func is not being run for obj == 1, because == is implemented with py_binary_reversed_num_func.
I'm going to change that as well, while extracting the upgrade of NotImplemented to a TypeError in a macro.

Forget about my previous comment.  Still doesn't work.  I'd need to know how tp_richcompare is handled.
But I think @kngwyu could possibly fix this faster than I could.  I'm gonna close this PR and let you take it over, ok?


Add disk event detection plugin to node-problem-detector

node-problem-detector is a generic component running in the Kubernetes Cluster that has plugin mechanism to watch for disk-related events. Explore adding new plugins to node-problem-detector for handling disk related events that are exposed from the kernel.
Refer some initial work done here: https://github.com/openebs/openebs/issues/1180

Node Problem Detector

It aims to make various node problems visible to the upstream layers in cluster management stack.
It is a daemon which runs on each node , detects node problems and report them to apiserver.

It can run as -

DaemonSet and
standalone
For now, it is running as a kubernetes Addon enabled by default in the GCE cluster.

NPD uses Event and NodeCondition to report problems to apiserver.

NodeCondition - It could be some permanent problems that makes the node unavailable for pods
Event - It could be some temporary problems that has limited impact on pod but is informative

It uses a problem Daemon to monitor a specific kind of node problem.Currently, a problem daemon is running as a goroutine in the node-problem-detector binary.

KernelMonitor is one of those problem Daemons which monitors kernel log and reports problem according to predefined rules.
CustomPluginMonitor is the another supported problem daemon which can be used to invoke and check various node problems with user defined check scripts.
We can have various custom-plugin-monitor config files kept inside config folder. For exapmle https://github.com/kubernetes/node-problem-detector/blob/master/config/custom-plugin-monitor.json. Node problem detector starts a separate custom plugin monitor for each configuration.
Check scripts for custom-plugin-monitor should be kept in config/plugin folder. For example https://github.com/kubernetes/node-problem-detector/blob/master/config/plugin/check_ntp.sh


Add Skills section

Issue

I have added html code for a more about me and skills section,please see if this helps


Revive project: add tox/travis/bumpversion and improve doc

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@89bab4b). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             master        #1   +/-   ##
==========================================
  Coverage          ?   100.00%
==========================================
  Files             ?         2
  Lines             ?        34
  Branches          ?         0
==========================================
  Hits              ?        34
  Misses            ?         0
  Partials          ?         0

Continue to review full report at Codecov.

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


Feature Request: camera choice (Used Webcam.js file from CDN) High Importance

I am using webcam.js plugin to use camera in web app. But i am not getting solution for choose front or rear camera choice. please give me some solution to use camera choice.

I worked a little on this myself a few months ago and discovered the only browser that supports this sort of switching is Chrome. The others only seem to allow the browser itself to determine which camera is used.

Thanks Scott, but will you please provide me code for developed front/rear camera using webcam.js plugin

ravish: No. As I JUST said... I discovered it was only possible in Chrome, so I abandoned the idea, as it wasn't something that could be done in other browsers.

Thanku Scott for quick response

Firefox also supports it, check MediaDevices.getUserMedia() :

Not all constraints are numbers. For example, on mobile devices, the following will prefer the front camera (if one is available) over the rear one:
{ audio: true, video: { facingMode: "user" } }
To require the rear camera, use:
{ audio: true, video: { facingMode: { exact: "environment" } } }

After trying a few things out i found a solution to switch cameras:
var cameras = new Array();  //create empty array to later insert available devices
navigator.mediaDevices.enumerateDevices() // get the available devices found in the machine
.then(function(devices) {
devices.forEach(function(device) {
var i = 0;
if(device.kind=== "videoinput"){     //filter video devices only
cameras[i]= device.deviceId; // save the camera id's in the camera array
i++;
}
});
})
Webcam.set( 'constraints', {  //set the constraints and initialize camera device (0 or 1 for back and front - varies which is which depending on device)
width: 1920,
height: 1080,
sourceId: cameras[1]
} );
Webcam.attach('#my_camera');
Now if u set a button that resets the webcam and alternates between the 2 camera ids u get a the swap functionality.
Hope it helps :)

if you need everytime select rear camera then
Webcam.set( 'constraints',{          facingMode:'environment'     });

For lastest version 1.0.26, set constraints like this:
Webcam.set('constraints',{
                deviceId: { exact: deviceId }
             });

The deviceId get by navigator.mediaDevices.enumerateDevices()

For lastest version 1.0.26, set constraints like this:
Webcam.set('constraints',{
                deviceId: { exact: deviceId }
             });

The deviceId get by navigator.mediaDevices.enumerateDevices(), so you can switch camera by device id to what you want.

This worked for me.


Move to tagged version of frontend repo

Codecov Report

Merging #889 (882b8ec) into main (9f590cc) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #889   +/-   ##
=======================================
  Coverage   93.74%   93.74%
=======================================
  Files          33       33
  Lines        1422     1422
  Branches      226      226
=======================================
  Hits         1333     1333
  Misses         69       69
  Partials       20       20

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more