Using a different font in jou

Could you please help me change my template so that it used the font type below? I am not entirely sure what I should change in the template to use this font. Any help is greatly appreciated. I read your help site but was not able to find the answer.
% Color and font
\usepackage{xcolor}
\definecolor{JournalBlue}{RGB}{0, 0, 0} % Set the JournalBlue color to black
\usepackage{tgbonum}

apaquarto uses XeLaTeX, so it can handle any system font. TeX Gyre Bonum can be installed from https://www.fontsquirrel.com/fonts/tex-gyre-bonum
Try the latest version of apaquarto and in your yaml meta data add this:
mainfont: TeX Gyre Bonum
header-insert: |
  \usepackage{xcolor}
  \definecolor{JournalBlue}{RGB}{0, 0, 0}

I could not insert things in the header the usual Quarto way (include-in-header) because Quarto automatically inserts a lot of other stuff that breaks things for apaquarto.

Hi, I just started a clean project with quarto use template wjschne/apaquarto, and tried to render minimal.qmd with the above added to the YAML. Unfortunately it doesn't work:
$ quarto render minimal.qmd -t apaquarto-pdf                                                                        1 ↵
pandoc
  to: latex
  output-file: minimal.tex
  template: _extensions/wjschne/apaquarto/apatemplate.tex
  standalone: true
  pdf-engine: xelatex
  variables:
    graphics: true
    tables: true
  default-image-extension: pdf
  citeproc: false
  toc: false

metadata
  block-headings: false
  fig-cap-location: top
  tbl-cap-location: top
  cap-location: top
  csl: _extensions/wjschne/apaquarto/apa.csl
  documentclass: apa7
  link-ciations: false
  suppress-bibliography: false
  hyperrefoptions:
    - linktoc=none
  classoption: 'colorlinks=true,linkcolor=blue,citecolor=blue,urlcolor=blue'
  title: My Title
  shorttitle: Short Title in Running Header
  author:
    - name: Jane Doe
      corresponding: true
      orcid: 0000-0000-0000-0001
      email<EMAIL_ADDRESS>      affiliations:
        - name: Generic University
          department: Department of Scholarly Studies
          address: 1234 Capital St.
          city: New York
          region: NY
          country: USA
          postal-code: 12084-1234
  author-note:
    status-changes:
      affiliation-change: null
      deceased: null
    disclosures:
      study-registration: null
      data-sharing: null
      related-report: null
      conflict-of-interest: null
      financial-support: null
      gratitude: null
      authorship-agreements: null
  abstract: This document is a template.
  keywords:
    - keyword1
    - keyword2
    - keyword3
  bibliography:
    - bibliography.bib
  mainfont: TeX Gyre Bonum
  header-insert: |
    \usepackage{xcolor}
    \definecolor{JournalBlue}{RGB}{0, 0, 0}
  documentmode: man

Rendering PDF
running xelatex - 1
  This is XeTeX, Version 3.141592653-2.6-0.999996 (TeX Live 2024) (preloaded format=xelatex)
   restricted \write18 enabled.
  entering extended mode

updating tlmgr

updating existing packages
ERROR:
compilation failed- error
Undefined control sequence.
l.114 \defaultfontfeatures
                          {Scale=MatchLowercase}

see minimal.log for more information.

I figure this is because the above command needs the fontspec package. But this doesn't help:
header-insert: |
  \usepackage{xcolor}
  \usepackage{fontspec}
  \definecolor{JournalBlue}{RGB}{0, 0, 0}

Because those lines are inserted below the \defaultfontfeatures{Scale=MatchLowercase} line in minimal.tex. If I go in manually and add \usepackage{fontspec} to line 114 of minimal.tex, I can then render the PDF successfully with the Tex Gyre Bonum font (wow this is not a good looking font imo 😅).
I tried different variations of entering \usepackage{fontspec} into the YAML but alas none worked. Is there a way to load this package by default at the top perhaps?

@mvuorre, I believe the problem is fixed now. \usepackage{fontspec} is now loaded explicitly whenever mainfont is set in YAML

Great! Works like a charm 🚀
Now just adding mainfont: "Comic Sans MS" to the minimal template creates the following

Huh, I seem to be missing something, because nothing I've tried will get the font to change. If I modify the default template to include mainfont, either under the apaquarto-pdf key like I'd expect:
format:
  apaquarto-docx: default
  apaquarto-html: default
  apaquarto-pdf:
    # Can be jou (journal), man (manuscript), stu (student), or doc (document)
    documentmode: man
    mainfont: "Comic Sans MS"

but also at the top level:
mainfont: "Comic Sans MS"
format:
  apaquarto-docx: default
  apaquarto-html: default
  apaquarto-pdf:
    # Can be jou (journal), man (manuscript), stu (student), or doc (document)
    documentmode: man

I get a similar error as above:
processing file: example.qmd
output file: example.knit.md
pandoc
  to: latex
  output-file: example.tex
  template: _extensions/wjschne/apaquarto/apatemplate.tex
  standalone: true
  pdf-engine: xelatex
  variables:
    graphics: true
    tables: true
  default-image-extension: pdf
  citeproc: false
  toc: false

metadata
  block-headings: false
  fig-cap-location: top
  tbl-cap-location: top
  cap-location: top
  csl: _extensions/wjschne/apaquarto/apa.csl
  documentclass: apa7
  link-ciations: false
  suppress-bibliography: false
  hyperrefoptions:
    - linktoc=none
  classoption: 'colorlinks=true,linkcolor=blue,citecolor=blue,urlcolor=blue'
  title: Using Quarto to Generate Documents in APA Style (7th Edition)
  shorttitle: Template for the apaquarto Extension
  ...
  lang: en
  documentmode: man
  mainfont: Comic Sans MS

Rendering PDF
running xelatex - 1
  This is XeTeX, Version 3.141592653-2.6-0.999996 (TeX Live 2024) (preloaded format=xelatex)
   restricted \write18 enabled.
  entering extended mode

updating tlmgr

updating existing packages
ERROR:
compilation failed- error
Undefined control sequence.
l.241 \xpatchcmd
                {\appendix}

see example.log for more information.

And here's my Quarto/R info:
Quarto 1.4.549
[>] Checking versions of quarto binary dependencies...
      Pandoc version 3.1.11: OK
      Dart Sass version 1.69.5: OK
      Deno version 1.37.2: OK
[>] Checking versions of quarto dependencies......OK
[>] Checking Quarto installation......OK
      Version: 1.4.549
      Path: C:\Program Files\Quarto\bin
      CodePage: 1252
[>] Checking tools....................OK
      TinyTeX: v2024.04
      Chromium: (not installed)
[>] Checking LaTeX....................OK
      Using: TinyTex
      Path: C:\Users\betha\AppData\Roaming\TinyTeX\bin\windows\
      Version: 2024
[>] Checking basic markdown render....OK
[>] Checking Python 3 installation....OK
      Version: 3.8.18 (Conda)
      Path: C:/ProgramData/Anaconda3/python.exe
      Jupyter: 5.4.0
      Kernels: python3
[>] Checking Jupyter engine render....OK
[>] Checking R installation...........OK
      Version: 4.3.2
      Path: C:/PROGRA~1/R/R-43~1.2
      LibPaths:
        - C:/Users/betha/.R
        - C:/Program Files/R/R-4.3.2/library
      knitr: 1.46
      rmarkdown: 2.26
[>] Checking Knitr engine render......OK

But thanks for making this! It was useful to learn enough Latex to start trying to create something approximating APA format myself, but this is speeding things up a lot. I am simply a Times New Roman hater.

@bethanyhgardner,
I replicated your error. I think I have fixed it. Upgrade to version 3.5.2 (i.e., the latest version) and let me know if your error is gone.

Thanks! Now rendering Times New Roman-free documents and taking a peek at the commit to see how it works.


Elegantly exit out of the serve command

Refer https://github.com/CentOS/duffy/pull/97#pullrequestreview-811241312
On raising a KeyboardInterrupt, supposedly the event loop abruptly exits out and shows an error. Catching the KeyboardInterrupt exception and treating it to close the event loop before destroying it, should do it.

I'm not sure if catching KeyboardInterrupt helps, as it's asyncio.exceptions.CancelledError that bubbles to the top and causes the traceback to be shown – my comment in the other PR probably wasn't clear. Let's look if just catching the latter is good practice.

As we found out in the call, this is an artifact of --reload and doesn't look like it's easily fixable (but also not super important as it's an options used for debugging/development). Closing.


add colorbar to hlut tool, add pause_events() context manager

adds a dynamic colobar to the HistogramLUT tool
https://github.com/fastplotlib/fastplotlib/assets/9403332/ecef47df-7f72-4439-94fe-177662f018ba
@clewis7 this will modify the test screenshot, but I will do that after getting your thoughts on this :smile:

closing because I merged this into axes #551


✨ wallet connect

Wallet Connect
feel free to test it
PR type

[x] Bugfix
[x] Feature

What's new?

[x] PR closes #2426
[x] PR closes #2427
[x] PR closes #2438
[x] Added new component to choose wallet provider on connect
[x] rename "Log In" to "Connect"
[x] Added notification message when extension not found + links in component
[x] Added disconnect wallet (logout)

Before submitting Pull Request, please make sure:

[ ] My contribution builds clean without any errors or warnings
[x] I've merged recent default branch -- main and I've no conflicts
[x] I've tried to respect high code quality standards
[ ] I've didn't break any original functionality
[x] I've posted a screenshot of demonstrated change in this PR

Had issue bounty label?

[x] KSM address: Payout

Screenrecord

Screenrecord
https://user-images.githubusercontent.com/9987732/155733309-acf492dc-0d2f-40fe-bfcc-d051e82b3a25.mov
Test Wallet Connect
WIP can't connect Talisman in localhost so I'll try on preview

let's see if it builds and push it to beta )

/giphy will it blend


[SMALLFIX]change a param description

Can one of the admins verify this patch?

Jenkins, test this please

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/13919/
Test PASSed.


Would Like To Contribute

Hi there,
Professional Java developer here. I have my own implementation of Riot's API and I'm wondering if we can merge codebases. I think the thing that I can bring immediately is my RiotApiThrottle class which implements rate controls for production and development API keys.
I also have things structured a lot differently, notably using factories to create RiotApi instances (allows flexibility when Riot releases new API versions at the cost of code complexity). Still there's obviously a lot of overlap and I think collaboration is a great tool for community projects like this.
I have also written JUnit tests for every single method and most parameter permutations available. I think the next thing I'm going to care about is some sort of caching / persistence module. I'm doing most of my work with Android apps in mind, though nothing I've currently developed is specific to Android. I plan to leave the caching module flexible enough to be platform agnostic and provide default implementations for Java and Android (Android will be easy since they already support SQLite so closely).
Finally, I understand this isn't an "issue" per se, but I don't have a Twitter and don't want one, so I opted to contact you through this channel.

Hey,
I prefer people to open issues rather than contact me on Twitter. It's sometimes hard to fit everything in 140 characters.
I'm down to add or merge stuff from your existing codebase, but it would have to take into consideration whats already in place, and likely be modified to fit. We don't want existing code breaking, or require people to completely rewrite their existing apps if they want to use the latest changes and features.
I don't feel like this should be a big issue with adding features like persistence and rate limit throttling, but when you talk about re-structuring things, we have to be careful about that.
We have a lot of contributors already, so I have no problem with you opening pull requests to contribute. I'm always happy to add more people as collaborators, but I want to make sure whoever I add as a collaborator understands the codebase enough to make quality contributions.

Roughly how many projects are using your source? I'm working on uploading all the stuff I have done right to my own github.

I'm personally a big fan of using design patterns, so I especially like your idea of making this library a factory. While this might have some advantages for the future, we obviously would break every single project using this code. It's hard to estimate how many projects are currently using this API and would be affected by this change, but with a proper note in the release notes I don't see much of a problem there.
Throttling and caching might be useful for some small project, but must definitely be optional features, since they won't work for big-scaling projects.
For example, I'm using one API code for a project that has multiple different applications, so I can't simply enter my rates into a single app. Also I run multiple instances of each app on different servers (for load balancing etc.) - making it even harder to properly throttle the rates.
Caching is a troubly topic for the same reasons - having multiple instances of an app across multiple servers makes it hard to cache data. You could be lucky to have the same request on the same server twice within the caching time, but in practice the second request is more likely to land on a different server - ultimatively you'll end up caching every request but will hardly ever make use of the cached data.
Also you may not want to cache every kind of method call. Let's say a user wants to look up his game, but he hits the button too early and gets a "not ingame" message. If he hits the button again 5 seconds later, the cache might keep telling him that he is not ingame, even though he actually is. Same issue the other way around: The game ended and the user started a new game, but the cache will still show his old game. These are just some of the issues I already had to deal with when building my custom caching methods - there is definitely alot to keep in mind.
While I don't mind having some basic caching or throttling methods, this definitely is not a high priority in my eyes.

Yeah, it's really hard to tell how many projects are using this API, as I'm only aware of the people that tell me and can estimate based off the amount of questions and emails I get.

We don't want existing code breaking, or require people to completely rewrite their existing apps if they want to use the latest changes and features.

I noticed this quote by me might be misleading. It is preferred we don't break people's code, but we have done so in the past to up the quality of the library. When we do, we just mention it in the release notes. I didn't mean for it to sound like we can't improve the structure and quality of the existing code at all.

All great answers! So I just pushed the stuff I have written up if you guys wanna take a look and see what's relevant to what you're doing. There are a lot of parallels.

Thanks for providing your code!
Unfortunatelly I have alot of stuff to do this weekend, but I hope to be able to have a deeper look into your code in a few days. For now, I just took a quick look at your Throttle class because I was interested in how you implemented that. I'm very unhappy with how you hard-fix the rates in the code like this:
    if (isDevelopmentKey) {
        requestsPer10 = 10;
        requestsPer600 = 500;
    } else {
        requestsPer10 = 300;
        requestsPer600 = 180000;
    }

I got applications with rates higher than that, because those 180000 limits just aren't enough for some apps. In your API you assume everyone to have the exact same limits - which may be true for standard-sized apps, but just doesn't cover all apps.
Also why do you need a class for Throttling at all? Wouldn't it be enough to have a setRateLimits(int per10, int per600) method in your main class? (If not set, no throttling will be done. If set, throttling will be done according to the given rates).
On a small side note, I like your use of a StringBuilder to build URLs within the API implementations. Looking forward to find some more goodies in your code in a few days.

Thanks for providing your source. I should have time this weekend, so I'll look over it too.

I'm very unhappy with how you hard-fix the rates in the code like this:

Yeah, me too.
I would actually like to solve the general problem of: given N time windows of M requests each design a class that maximizes number of requests from X clients without any client ever receiving a 429 response. The current RiotApiThrottle does maximize number of requests without getting a single 429, however X is bound to 1 (that is only a single client can be in use at once, Linnun raised this point earlier when he mentioned load balancing) and the time windows are hardcoded. There is a technology called HornetQ that can help make it possible for distributed computing nodes (like load balanced servers) to synchronize critical components like rate throttles. Setting up HornetQ can be nasty, nor do I know how invasive it would be to make though.
Additionally, a single Thread object pulls tasks from a queue. In a real high-speed environment this queue would become prohibitively large and, because it's managing an ArrayBlockingQueue, will actually cause the thread posting tasks (see throttle.post(..)) to block. In a real world application this would cause your UI thread or request processing thread to hang, not good.
Finally, it should be using a ThreadPool not a single thread. I did try using a thread pool originally, but I ran into some bugs on Riot's side. The best thing the current throttle did for me was show me the non-obvious issue that you have to time requests from the time you receive the response, not the time you send the response. It seems that Riot sets times on when the request completes. They also seem to like a 1.5 second buffer. So the throttling service is certainly a work in progress.

What about using guava - RateLimiter  for Rate Limiting?
Add the rate limits to e.g. riot-api.properties. When nothing is defined, ignore the rate limiting, else use those from the file.

Well I ended up writing my own Riot-API, but here is how I worked out the Rate Limiting:
I am using this Library:
<dependency>
	<groupId>org.isomorphism</groupId>
	<artifactId>token-bucket</artifactId>
	<version>1.6</version>
</dependency>
List<TokenBucket> tokenBuckets = new ArrayList<>();
tokenBuckets.add(TokenBuckets.builder().withCapacity(10).withYieldingSleepStrategy().withFixedIntervalRefillStrategy(10, 10, TimeUnit.SECONDS).build());
tokenBuckets.add(TokenBuckets.builder().withCapacity(500).withYieldingSleepStrategy().withFixedIntervalRefillStrategy(500, 10, TimeUnit.MINUTES).build());
[...]
tokenBuckets.parallelStream().forEach(tokenBucket -> { 	tokenBucket.consume(); });
[...]
if (responseCode == 429) {  if (connection.getHeaderField("Retry-After") != null)  Thread.sleep(1000 * .parseInt(connection.getHeaderField("Retry-After"))); }

The token bucket approach is really close to what I want. I still get a few 429's when I run it, but it's pretty elegant. Thanks for turning me on to that library. I'm currently working this issue with a thread pool and I'm really close to having a solid, truly asynchronous, blazing fast, memory efficient method of rate controlling. I am also working on leaving hooks in place to integrate load balancing and the likes.
But I really like this simplicity of this approach. 10 / 10.

In case you are succesfull, I'd be happy if you share you'r solution.

So the main difference with our stuff is that the solution that I came up with is more of a scheduler than a throttler. That is, when a request comes in the scheduler looks into the future and determines when a request can execute. It does not delay until a time has passed then allows a request to execute. This allows for some slick usage of Java's scheduling thread pool. My repo is https://github.com/dancarpenter21/lol-api-java and if you want to check stuff out look at the class org.dc.riotapi.service.scheduler.RiotApiScheduler.java. It's a pretty complex class but the gist is that the schedule method adds a callback to a ThreadPool for execution. The service then analyzes network rates and conditions to approach an ideal speed based on rate rules and outside factors. The issue that's going to arise now is all these asynchronous calls are resulting in callback hell when I want to do anything real. Since every request that I want to be throttled has to be passed in as a Runnable essentially there's a lot of inner class nesting going on. I also need to add a nice way to handle 429 codes but I do have a strategy in mind. I might be able to add that tonight. In all I think my approach will perform well, but might be too unwieldy to be useful. I definitely feel that a Reactive approach is the way to go here.


[sns] connection information extension

Coverage decreased (-9.3%) to 73.089% when pulling 341a51583dafa71696af667171b68558d20bb6cf on sunny4381:features/connection-extension into 79580af5868c31c2ffff9df38497dd776248bd30 on shirasagi:master.


TestWatchableKVWatch fails on travis.

--- FAIL: TestWatchableKVWatch (1.11s)
kv_test.go:806: failed to watch the event

Fixed by #4211


Update README.md

Environment variable listed for AGENT_SEED is incorrect I believe.

Thank you for the contribution, please be aware that each commit needs to be signed off see: https://github.com/apps/dco
and https://stackoverflow.com/questions/13043357/git-sign-off-previous-commits on how to sign a previous commit.

Hmmm - trying to do this directly via the edit interface in github to avoid having to fork the repo just to suggest edits. I made a new PR and added:
Signed-off-by: Mike Heavers<EMAIL_ADDRESS> to the commit request but it still failed DCO.
I'll just list it as an issue.


Jasmine sprout cherish os trigger

I think all builds are done related with this pr so check it and close pr


No such file or directory: 'data/southwest_images_new_test.pkl'

Hello！I am trying to run the 'backdoor_fedavg_convnet2_on_cifar10_small.yaml' which under 'scripts/backdoor_scripts/attack_config' directory in the background bench.The current issue is that pycharm prompts "FileNotFoundError: [Errno 2] No such file or directory: 'data/southwest_images_new_test.pkl'",I checked the data folder and found that there is indeed no such file. Is this a problem with the code or my environment?

It seems like I uploaded two identical issues at once. I don't know how this happened. Can you help me delete this issue? I don't know how to do it.


Improvements to unit tests

[ ] move class-level tests to class scope
[ ] investigate use of fixtures
[ ] naming convention for test input and output files to facilitate code reuse

http://pythontesting.net/framework/nose/nose-fixture-reference/#class
http://nose.readthedocs.org/en/latest/writing_tests.html

Not sure about all of these. Definitely need to move tests out of implementation files and into a testing directory.

Not really relevant or high-priority.


pg_dump: error: aborting because of server version mismatch

I updated the last vesion postgis (16-master). After that I tried to back up my data using pgAdmin. But backup process was failed.
There was a error message "pg_dump: detail: server version: 16.0 (Debian 16.0-1.pgdg110+1); pg_dump version: 15.3"

I see that the pgAdmin4 docker image doesn't yet support the new PG16.
Someone has already reported this issue in that repository.

https://github.com/pgadmin-org/pgadmin4/issues/6768

PostgreSQL 16 has not been released yet, so you will have to provide the Binary Path in the Preferences dialog for PG 16.


Metadatas.NEXT_PATCH_VERSION behaves different/wrong on CI

UPDATE: Works as expected, ignore/delete below.
Based on:
https://github.com/jgitver/jgitver/blob/f02ab852cb8409fd01eb47e9cdd6b3655fde1fb7/src/main/java/fr/brouillard/oss/jgitver/metadata/Metadatas.java#L138
I have created the following tasks in my build.gradle file:
task releasePatch() {
    doFirst {
        println "$project.ext.next_patch_version"
    }
}

When I build locally with e.g.:
./gradlew releasePatch
I get:
> Task :releasePatch
2.3.5
Which is correct since my last tag is 2.3.4.
But when I run the exact same task from Jenkins I get:
21:59:33  + ./gradlew releasePatch
21:59:34  Starting a Gradle Daemon, 1 incompatible and 3 stopped Daemons could not be reused, use --status for details
21:59:42
21:59:42  > Task :releasePatch
21:59:42  0.0.1

Which is wrong.
Based on:
https://github.com/jgitver/gradle-jgitver-plugin#building-on-detached-head
in my Jenkins pipeline I have also tried:
sh "./gradlew releasePatch -Djgitver.branch=master"
Any suggestions?

Take care in CI on how you checkout the code.
jgitver, generally speaking, needs:

the tags to be fetched
enough commit history
branch information
...

checkouting just the commit (which is the default on most CI) is probably not what users will expect.
Glad you found a solution by yourself.


WSS4JInHandler: Request does not contain required Security header

hi
first of all thank you for the great library.
in my soap request i must set header like this :100:

 <x:Header>
        <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
            <wsse:UsernameToken>
                <wsse:Username>username</wsse:Username>
                <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">p@ssewa1234</wsse:Password>
            </wsse:UsernameToken>
        </wsse:Security>
    </x:Header>

in my laravel app i have this
 $this->soapWrapper->add('functionName',function ($service) {
            $service
                ->wsdl('http://url?wsdl')
                ->trace(true)->header('wsse','UserNameTOoken',array("username" => "pass,
                    "password" => "pass"),true);

but i get this message :
WSS4JInHandler: Request does not contain required Security header

You need a custom header for wsse security.
Here is a example on how to do so:
http://stackoverflow.com/questions/22361180/create-wsse-auth-soap-call-for-webservices-api-in-php-using-soapclient
Hope you can figure it out.


j.u.ArrayDeque iterators should throw NoSuchElementException on bad next()

We should probably fix this for all collections and test it in CollectionsTest?

We should probably fix this for all collections and test it in CollectionsTest?

Yes, indeed. Good point.

I'll merge this and follow up with a PR that fixes this globally.


punctuation missing in readme

In readme file there was a missing " where the format of json was showed

Thanks for the fix 😄


SDA-7895 Enable editing subnet in machinepools for hosted clusters

ROSA CLI UX for
https://issues.redhat.com/browse/SDA-7895
It requires backend MR
https://gitlab.cee.redhat.com/service/uhc-clusters-service/-/merge_requests/5154
it will enable using "subnet" parameter for creating a machine-pool for a hosted cluster.
Additionally, it will allow the user to resolve the "subnet" from an "availability zone."
ROSA CLI UX:

## Non interactive tests

# It will work; "subnet-06023544bf8e5b199" is PRIVATE, and it belongs to the VPC where the cluster was created
rosa create machinepool -c lponce-local-02 --name mp-2c --subnet subnet-06023544bf8e5b199 --replicas 2

# It will fail; "subnet-0fd5b560cd0518bb9" is PUBLIC
rosa create machinepool -c lponce-local-02 --name mp-2c-public --subnet subnet-0fd5b560cd0518bb9 --replicas 2

# It will fail; "subnet-bad" doesn't exist
rosa create machinepool -c lponce-local-02 --name mp-2c --subnet subnet-bad --replicas 2

# It will work; there is a private subnet under the "us-west-2b" AZ in the VPC that cluster was created
rosa create machinepool -c lponce-local-02 --name mp-2b --availability-zone us-west-2b

# It will fail; there is no a private subnet under the "bad-az" AZ
rosa create machinepool -c lponce-local-02 --name mp-2b --availability-zone bad-az --replicas 2

# It will move to interactive mode where there are several subnets for a given availability zone
rosa create machinepool -c lponce-local-03 --name mp-2d --availability-zone us-west-2d
I: There are several subnets for availability zone 'us-west-2d'
? Select subnet for a hosted machine pool (optional): Yes
? Subnet ID: subnet-00afcc1145d04b345 (us-west-2d)
? Enable autoscaling (optional): No
? Replicas: 2
I: Fetching instance types
? Instance type: m5.xlarge
I: Machine pool 'mp-2d' created successfully on hosted cluster 'lponce-local-03'
I: To view all machine pools, run 'rosa list machinepools -c lponce-local-03'

## Interactive tests:

# Select subnet
 rosa create machinepool -c lponce-local-02 --name mp-2b --interactive
? Machine pool name: mp-2b
? Select subnet for a single AZ machine pool (optional): Yes
? Subnet ID:  [Use arrows to move, type to filter, ? for more help]
> subnet-06023544bf8e5b199 (us-west-2c)
  subnet-0310ceb7c0094e92a (us-west-2b)
  subnet-0d65e2465258986db (us-west-2a)
  subnet-00afcc1145d04b345 (us-west-2d)

# Select AZ
$ rosa create machinepool -c lponce-local-02 --name mp-2b --interactive
? Machine pool name: mp-2b
? Select subnet for a single AZ machine pool (optional): No
? AWS availability zone:  [Use arrows to move, type to filter, ? for more help]
  us-west-2c
  us-west-2b
> us-west-2a
  us-west-2d

Please @gdbranco @wgordon17 @pvasant take a look if the UX is addressed as expected.
Thanks

if the user specifies the az and there are more than one subnet in the AZ do we drop to interactive mode, cc: @oriAdler

if the user specifies the az and there are more than one subnet in the AZ do we drop to interactive mode, cc: @oriAdler
Good point. No, that case is missing on this PR, I'll add it

if the user specifies the az and there are more than one subnet in the AZ do we drop to interactive mode, cc: @oriAdler

In classic ROSA if the user specifies AZ we pass the AZ to the backend, and CS will choose the subnet belonging to this AZ that was provided on day 1. Moreover, we allow the user to select AZ from the clusters AZs https://github.com/openshift/rosa/blob/master/cmd/create/machinepool/machinepool.go#L130.
If the user decides not to select from the cluster's AZs, they could choose the subnet previously, because when they are choosing a subnet they are choosing also AZ implicitly.
@lucasponce what are the requirements for the node pool?

Requeriments are close but the same.
NodePools doesn't have the concept of MultiAZ, basically a NodePool is linked with a subnet (and an AZ).
And I guess this can be more dynamic in Day 2, as they can create a new NP in a new subnet that doesn't exist in Day 1.
So, then it makes sense @pvasant suggestion, if users select a specific AZ, then we can ask for the specific subnet if there are more than one.

@lucasponce My only minor nit is

subnet for a single AZ machine pool

Can we remove "single AZ"? It implies that it would be possible to create a "multi AZ" machine pool and I don't want to cause confusion or open ourselves up to questions.

@wgordon17 @pvasant @oriAdler
I've tried to address all comments.
I've tested the scenarios described in the description/first comment:
https://github.com/openshift/rosa/pull/1048#issue-1564836204
Please, let me know if this looks good to consolidate.
Thanks

LGTM

/lgtm


Fix counter example

Incorrect Alignment import over Align

The README in the examples folder mentions:

Iced moves fast and the master branch can contain breaking changes! If you want to learn about a specific release, check out the release list.

Alignment is correct. See #1065, #1077, and #1079.


Batch Write support default Value or null Value

Batch Write support default Value or null Value

close for it repeats with https://github.com/pingcap/tispark/issues/821


start-end days arguments don't work?

no matter how i specify the dates to set a time period for the graphs, the plugin doesn't seem to follow it
{{renderer :metrics, spent, -, cumulative-line, 2024-09-01, 2024-09-30}}
{{renderer :metrics, spent, -, cumulative-line, -, 2024-09-01, 2024-09-30}}
{{renderer :metrics, spent, -, cumulative-line, 2024-08-01, 2024-08-31}}
all queries rendered the same graph for all the data available

Thanks for submitting this issue.  Date ranges are currently supported by properties-line and properties-cumulative-line visualizations, but not line or cumulative-line.  This is an oversight.  I'll add this as a feature request, and I hope to have it resolved soon.


My docs look different / many links break header

Details

Read the Docs project URL: https://readthedocs.org/projects/aws-cf-templates/
Build URL (if applicable):
Read the Docs username (if applicable): michaelwittig

It looks like the layout / theme changed between mid September and mid October. The new layout has problems if the navigation contains too many links.
Expected Result
Before: https://templates.cloudonaut.io/en/v7.4.0/

Actual Result
After: https://templates.cloudonaut.io/en/v7.5.0/

Mhr, what theme do you want to use? readthedocs or mkdocs default theme?
If you want readthedocs you need to set it in the mkdocs.yml file (this is because the default theme picked by RTD changed some time ago to behaves in the same way than building locally).

okay. thanks


Crash when using (right-click) any items with Harvest Scythes installed

My Minecraft crashes at random when I attempt to use any items with the Harvest Scythes mod installed, the issue does not occur at all if I remove Harvest Scythes from my modpack:
crash-2020-12-30_21.27.59-client.txt

Taking this opportunity to also suggest / request adding compatibility for Tech Reborn's tool materials in a future version, no biggie though, AstroMine support is greatly appreciated. :)

Done and done 👍

Done and done 👍

Thank you, you rock! :)
Unfortunately, the Peridot Scythe shows up as a purple-black checkerboard in game, but it appears to stem from Peridot_Scythe.json being missing.
Writing it and adding it into the mod's .jar fixed the issue in-game for me, I have appended the .json down below:
peridot_scythe.zip


[added] add Miscellaneous section to the contributions.md file

Fixes #1022 ].
Changes proposed:

added Miscellaneous section to the contribution.md file to point out that you need nodejs version 16 to start the project

Upgrade Path (for changed or removed APIs):
Acceptance Checklist:

[x ] The commit message follows the guidelines in CONTRIBUTING.md.
[ ] Documentation (README.md) and examples have been updated as needed.
[ ] If this is a code change, a spec testing the functionality has been added.
[ ] If the commit message has [changed] or [removed], there is an upgrade path above.

Thanks, @YassineOmrani.
It would be better to also add the expected node version < 18 😞.
Can you add to the package.json this restriction?
Unfortunately, this node release breaks compatibility with existing packages.

On the stack trace, have you saw which package it broke?

On the stack trace, have you saw which package broke?

loader-runner and some of webpack modules broke like createHash.js under utils and NormalModule.js

Thanks, @YassineOmrani.
It would be better to also add the expected node version < 18 😞. Can you add to the package.json this restriction?
Unfortunately, this node release breaks compatibility with existing packages.

Thanks for your quick reply @diasbruno  i will make sure to that

Thanks. I need look those dependencies, as we can never trust node releases these days 😂.
LEGIT.

Hey @diasbruno, this doc change might be another good one to merge! 🙌 I ran across it when I was looking for the correct node version (with the goal of fixing some of the tests). :)

This will cause problems on projects that uses node 18+. I'll open an issue to find which library has this dependency.

Webpack 4 caching mechanism is one place where this issue happens.
I'll try to upgrade webpack to see if it fixes for nodejs 18.

at module.exports (/Users/dias/Programming/react-modal/node_modules/webpack/lib/util/createHash.js:135:53)

/Users/dias/Programming/react-modal/node_modules/loader-runner/lib/LoaderRunner.js:133
		if(isError) throw e;
		            ^

Error: error:0308010C:digital envelope routines::unsupported
    at new Hash (node:internal/crypto/hash:69:19)
    at Object.createHash (node:crypto:133:10)
    at module.exports (/Users/dias/Programming/react-modal/node_modules/webpack/lib/util/createHash.js:135:53)
    at NormalModule._initBuildHash (/Users/dias/Programming/react-modal/node_modules/webpack/lib/NormalModule.js:417:16)
    at handleParseError (/Users/dias/Programming/react-modal/node_modules/webpack/lib/NormalModule.js:471:10)
    at /Users/dias/Programming/react-modal/node_modules/webpack/lib/NormalModule.js:503:5
    at /Users/dias/Programming/react-modal/node_modules/webpack/lib/NormalModule.js:358:12
    at /Users/dias/Programming/react-modal/node_modules/loader-runner/lib/LoaderRunner.js:373:3
    at iterateNormalLoaders (/Users/dias/Programming/react-modal/node_modules/loader-runner/lib/LoaderRunner.js:214:10)
    at iterateNormalLoaders (/Users/dias/Programming/react-modal/node_modules/loader-runner/lib/LoaderRunner.js:221:10)
    at /Users/dias/Programming/react-modal/node_modules/loader-runner/lib/LoaderRunner.js:236:3
    at context.callback (/Users/dias/Programming/react-modal/node_modules/loader-runner/lib/LoaderRunner.js:111:13)
    at module.exports (/Users/dias/Programming/react-modal/node_modules/babel-loader/lib/index.js:182:8)
    at LOADER_EXECUTION (/Users/dias/Programming/react-modal/node_modules/loader-runner/lib/LoaderRunner.js:119:14)
    at runSyncOrAsync (/Users/dias/Programming/react-modal/node_modules/loader-runner/lib/LoaderRunner.js:120:4)
    at iterateNormalLoaders (/Users/dias/Programming/react-modal/node_modules/loader-runner/lib/LoaderRunner.js:232:2)
    at Array.<anonymous> (/Users/dias/Programming/react-modal/node_modules/loader-runner/lib/LoaderRunner.js:205:4)
    at Storage.finished (/Users/dias/Programming/react-modal/node_modules/webpack/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:55:16)
    at /Users/dias/Programming/react-modal/node_modules/webpack/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:91:9
    at /Users/dias/Programming/react-modal/node_modules/graceful-fs/graceful-fs.js:123:16
    at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3) {
  opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
  library: 'digital envelope routines',
  reason: 'unsupported',
  code: 'ERR_OSSL_EVP_UNSUPPORTED'
}


Bot platform compatibility (Facebook, Slack, etc.)

It'd be great to build an interface that enables communication from Abot via Facebook's Bot platform or any other. Facebook bots, Slack bots, etc. built using Abot would be able to use our language tools, state management, and memory API. They'd also benefit from integrating with the other platforms through user discovery, and by having their users communicate with the bot on the platforms they use already (like Slack).
Whoever wants to tackle this would have to design an interface to communicate with arbitrary HTTP bot platforms (Kik, Facebook, Telegram, Slack, etc.), then implement that interface in a driver for at least one platform--ideally Facebook, but any are helpful.
To get started, take a look at one of the existing interfaces, such as the SMS interface. Then see how a driver integrates with it by implementing that SMS interface: Twilio driver.

Which release would this feature be aimed for?

I will soon start working on integrating it with telegram.

Any particular reason for Telegram over other platforms?

@DaleWebb for v0.3, but ASAP 👍🏻

@DaleWebb - I have worked with Telegram before and I need it for the project I have in mind anyways.
@egtann  / @all -
Telegram provides two means of fetching updates.
getting-updates Long polling and webhooks.
long-polling Long polling doesn't fits in well with Abot design because it's a blocking call. And more so it will not come via the httprouter routes.
webhooks Webhooks seems like the better approach to use and is very similar to SMS driver model
But Telegram only allows HTTPS.
So can we change Abot http server to accept both http and https connections?

Or i can run the long polling update loop on a separate go routine. What do you guys suggest?

Use webhooks. An HTTPS requirement is fine
E
On Sun, Jun 5, 2016 at 10:49 AM -0700, "Ankit Bansal"<EMAIL_ADDRESS>wrote:
Or i can run the long polling update loop on a separate go routine. What do you guys suggest?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

I agree with the webhooks.
It would be good to get the interface going, so that anyone can do the other platforms too!  I would imagine that they all communicate in a similar fashion with third-party tools.

I'm planning to pick up this task.  For the first plugin, I thought smooch.io would be good, as it can already communicate with other messaging services.
What do you think? :)


[+XWATCH√Trending!] Gabriela de Viral Leaked Video 2024 Link On Social Media X Twitter [FULL01K]

01 sec ago Gabriela de Leaked Video Viral On Social Media. [+XWATCH√Trending!] Gabriela de Viral Leaked Video 2024 Link On Social Media X Twitter [FULL01K]

Gabriela de latest video has taken the internet by storm, igniting widespread discussions across various social media platforms. The emerging digital creator, known for her captivating content—especially her recent Spiderman-themed clip—has experienced a significant rise in popularity, with fans eagerly searching for the full version. Audiences are flocking to platforms like Instagram, X (formerly Twitter), and Discord to engage with her newest creation.
As excitement continues to build, fans are actively sharing their reactions online, highlighting the vital role social media plays in boosting creators like Gabriela de. With her distinctive style and creative flair, she has quickly made a notable impact in the digital space, leaving many curious about her upcoming projects.


OSGI JDBC configuration property name seems wrong

Deploying my plugin, I've used the org.killbill.billing.osgi.jdbc.url system property name, but that seems to have changed somewhere in the code...
I noticed that by setting the org.killbill.billing.osgi.dao.url everything seems to work all-right!

Thanks! You are right, it changed last year. FYI, the source code is in OSGIDataSourceConfig.


Error compiling with webpack

I tried using fixed-data-table with webpack, and I get the following warning when building my application:
WARNING in ./~/fixed-data-table/internal/React.js
There is another module with an equal name when case is ignored.
This can lead to unexpected behavior when compiling on a filesystem with other case-semantic.
Rename module if multiple modules are expected or use equal casing if one module is expected.

WARNING in ./~/fixed-data-table/internal/react.js
There is another module with an equal name when case is ignored.
This can lead to unexpected behavior when compiling on a filesystem with other case-semantic.
Rename module if multiple modules are expected or use equal casing if one module is expected.

Whenever I import fixed-data-table as follows:
import {Table, Column, Cell} from 'fixed-data-table';
I get the following error in the browser:
Uncaught TypeError: Cannot read property 'number' of undefined in the Scrollbar.react.js:48 file, which is using React.PropTypes.Number:
contentSize: PropTypes.number.isRequired
Any idea what this is happening? I don't have issues building other packages using webpack, including React.

We have a fork that is compiled via webpack
github.com/schrodinger/fixed-data-table-2
We also have bug fixes, new features, better documentation, etc.

Thanks! Do you know why this is happening? It seems as though it doesn't import react well.

React is only listed as a peer dependency, so I think it tries to avoid compiling  using the React stub as a placeholder for the imports. I think  you might be importing react as 'React' somewhere in your code causing a conflict


The 'move StaffHub team' feature is not enabled for your tenant

Move-StaffHubTeam command fails with an error stating that the move feature is not enabled for our tenant?
{"error":{"code":"PreconditionFailed","message":"The 'move StaffHub team' feature is not enabled for your tenant.","details":[],"innererror":{"code":"FeatureNotEnabled"}}}
Any suggestions as to how this is to be enabled?

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

ID: 8f64dee1-c968-9d64-757e-7ca3263a4fc4
Version Independent ID: a3157a8b-a127-0726-2ee4-8972e773a785
Content: Move your StaffHub teams to Shifts in Microsoft Teams
Content Source: Teams/expand-teams-across-your-org/shifts/move-staffhub-teams-to-shifts-in-teams.md
Service: msteams
GitHub Login: @LanaChin
Microsoft Alias: v-lanac

@jarrodmast thank you for submitting feedback.
I think the best way forward is if you open a service ticket in your tenant so this can get resolved ASAP. Based on the outcome let me know if it is something that can be called out in the docs.
Please follow this link to contact support for business products:https://docs.microsoft.com/office365/admin/contact-support-for-business-products
Please keep us posted here on the resolution so we can feed whatever information you discover into the content.

@officedocsbot close

Could you confirm the solution for this? We are also experiencing this issue.


change random_sample_percentage to sampling_rate

Description
Sampling_strategy -> random_sample_percentage has been changed to sampling_rate and the allowed values have been changed from [0,100] to [0.0,1.0].
All SDK Contribution checklist:

[x] The pull request does not introduce [breaking changes]
[x] CHANGELOG is updated for new features, bug fixes or other significant changes.
[x] I have read the contribution guidelines.

General Guidelines and Best Practices

[x] Title of the pull request is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

API change check
API changes are not detected in this pull request.


Sphinx dependency interferes with local, non-installed sphinxcontrib packages

Issue description
The Sphinx documentation system comes with extension support. Third-party extensions don't need to by installed by the user in order to be used, they can instead by placed locally and found by the Python runtime (from the docs). This is convenient for building documentation on other systems: ship the extension with the software that is being documented, no installation required.
I used to be able to build a Sphinx project of my own using a third-party extension before, but now I end up with the following Sphinx error:
Extension error:
Could not import extension sphinxcontrib.fulltoc (exception: No module named 'sphinxcontrib.fulltoc')

Steps to reproduce
(Roughly speaking.)

put a third-party extension (in my case I'm using sphinxcontrib-fulltoc) somewhere without installing it either purely or impurely.
create a Sphinx project making sure conf.py is set-up as per the official instructions to find this third-party extension
drop into nix-shell -p python36.setuptools python36.sphinx and try to build the docs

Likely cause
d58e1f1c7b3e955d3ee1194ea96c574338b47b97 added the sphinxcontrib-websupport extension as a dependency to Sphinx. (Meanwhile sphinxcontrib-websupport was itself added to nixpkgs with 7726a1ec25854e85aee988111fae83d767a5b179.)
My understanding is that in the Sphinx ecosystem sphinxcontrib is meant to be a namespace package--both sphinxcontrib-websupport and sphinxcontrib-fulltoc provide their functionality as sphinxcontrib.websupport and sphinxcontrib.fulltoc modules respectively. Because Sphinx is a relatively long-lived project targeting both Python 2 and Python 3 its ecosystem uses pkg_resources-style namespace packages.
Because of its dependency, installing python36Packages.sphinx does a Nixified setuptools-style installation of sphinxcontrib-websupport. At this point setuptools turns the pkg_resources-style namespace package into a PEP 420-style namespace package. This is incompatible with the pkg_resources-style namespace package that is found at runtime in the local third-party extension, and this incompatibility is enforced by the interpreter starting from CPython 3.6.
That setuptools turns one kind of namespace package into another is possibly a bug:

the python issue
the setuptools issue

As a workaround I've changed my local copy of sphinxcontrib-fulltoc to use a PEP 420-style namespace package.
Technical details

System: NixOS 18.03pre115134.d6f9c0b353 (Impala)
Nix version: nix-env (Nix) 1.11.14
Nixpkgs version: 18.03pre115134.d6f9c0b353
Sandboxing enabled: no

From what you describe this would seem to me entirely an upstream issue (CPython/Setuptools) and would have nothing to do with Nixpkgs. Do you agree? If yes, then we can close this issue. In any case, thank you for the extensive issue description. There's always something going on with namespace packages...

Well, I don't see how this is a Nixpkgs issue so I am closing this.


[per_second_graph & driver script] Implement per second graphs and driver script for mysql_service.

@stfeng2 @gareth-ferneyhough
Fix for PR # 1143. I will delete 1443 once this has been merged.
@gareth-ferneyhough I addressed your comments from 1443 in this PR.

some more comments but there are two comments from the previous round not addressed yet, please address them first. Thanks.


Data types in C

Description 📜
I briefly explained data types and have included a doc file for better understanding with  numerous example and all.
Fixes # 1295

Type of change 📝

[ ] Au#dio (Should be in mp3 format Includes speech clarity, Concise ,Low distortion)
[ ] Vi#deo (Animations, screen-recordings, presentations and regular explanatory films are all possibilties etc)
[ ] Docmentation (Content Creation in the form of codes or tutorials)
[ ] Other (If you choose other, Please mention changes below)

Domain of Contribution 📊

[ ] Android Dev #(Flutter)
[ ] Android Dev #(Java)
[ ] Android Dev #(Kotlin)
[ ] Backend Dev #(Java)
[ ] Backend Dev #(.NET)
[ ] Backend Dev #(PHP)
[ ] Backend Dev #(Python)
[x] C/CPP
[ ] Competitive #Programming
[ ] Cyber #Security
[ ] DS#A
[ ] Data#base
[ ] Datascience with #Python
[ ] Datascience with #R
[ ] Frontend Dev #HTML/CSS/JS
[ ] Frontend Dev #React/Angular/Vue
[ ] Go#lang
[ ] Interview #Prep
[ ] Java_#Domain
[ ] Java#Script
[ ] ME#RN
[ ] Machine #Learning
[ ] Open #Source
[ ] Python_#Domain
[ ] Ru#st
[ ] Statis#tics
[ ] UI/#UX

Checklist ✅

[ x] I follow Contributing Guidelines & Code of conduct of this project.
[ x] I have performed a self-review of my own code or work.
[x ] I have commented my code, particularly in hard-to-understand areas.
[x ] My changes generates no new warnings.
[x ] I'm GWOC'21 contributor

Screenshots / Gif (Optional) 📸

@shreyarai05 ,pls submit in .md file ,not doc file

How to do that?I am not understanding it.
On Wed, 22 Sep, 2021, 2:46 PM Chetas Shree Madhusudhan, <
@.***> wrote:

@shreyarai05 https://github.com/shreyarai05 ,pls submit in .md file
,not doc file
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/girlscript/winter-of-contributing/pull/1910#issuecomment-924740376,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUIXTRY5REI25Y6AYBRMPGDUDGNIVANCNFSM5EQ2HVDQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Moreover my issue no. Was 1295
On Wed, 22 Sep, 2021, 5:35 PM Ruhi Chaudhary, @.***>
wrote:

How to do that?I am not understanding it.
On Wed, 22 Sep, 2021, 2:46 PM Chetas Shree Madhusudhan, <
@.***> wrote:

@shreyarai05 https://github.com/shreyarai05 ,pls submit in .md file
,not doc file
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/girlscript/winter-of-contributing/pull/1910#issuecomment-924740376,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUIXTRY5REI25Y6AYBRMPGDUDGNIVANCNFSM5EQ2HVDQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

@shreyarai05 , when u make a file for CPP,u write an extension of .cpp, similarly, for a .md file, u have to save it with the extension of .md

Okay
On Wed, 22 Sep, 2021, 7:03 PM Chetas Shree Madhusudhan, <
@.***> wrote:

@shreyarai05 https://github.com/shreyarai05 , when u make a file for
CPP,u write an extension of .cpp, similarly, for a .md file, u have to save
it with the extension of .md
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/girlscript/winter-of-contributing/pull/1910#issuecomment-924935559,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUIXTR2AOOE5KPYXLRXEGATUDHLKRANCNFSM5EQ2HVDQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

But i have cloned the repo on and then put my doc file from local machine.
How would I create a md file on my local machine??
On Wed, 22 Sep, 2021, 7:03 PM Ruhi Chaudhary, @.***>
wrote:

Okay
On Wed, 22 Sep, 2021, 7:03 PM Chetas Shree Madhusudhan, <
@.***> wrote:

@shreyarai05 https://github.com/shreyarai05 , when u make a file for
CPP,u write an extension of .cpp, similarly, for a .md file, u have to save
it with the extension of .md
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/girlscript/winter-of-contributing/pull/1910#issuecomment-924935559,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUIXTR2AOOE5KPYXLRXEGATUDHLKRANCNFSM5EQ2HVDQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

@shreyarai05 You can use any IDE/text editor : VS Code, Sublime, Notepad++ even normal notepad
Also,

Pull from girlscript/C_CPP

Okay sure
On Wed, 22 Sep, 2021, 7:33 PM Suvraneel Bhuin, @.***>
wrote:

@shreyarai05 https://github.com/shreyarai05 You can use any IDE/text
editor : VS Code, Sublime, Notepad++ even normal notepad
Also,
[image: image]
https://user-images.githubusercontent.com/63473496/134358479-76b8bf02-f700-4195-a1ff-2ec1576a9023.png
Pull from girlscript/C_CPP
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/girlscript/winter-of-contributing/pull/1910#issuecomment-924963203,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUIXTR4DSX2GSU7WT22UWP3UDHO4RANCNFSM5EQ2HVDQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Here is a video explaining the complete workflow. Hopefully it clears all your doubts !

@shreyarai05 pls check the syntax of .md file and make changes accordingly.
Hope this helps : https://guides.github.com/features/mastering-markdown/

Is not there any shortcut method of making a md file? Will I have to edit
all this line by line???
On Mon, 27 Sep, 2021, 1:54 PM Chetas Shree Madhusudhan, <
@.***> wrote:

@shreyarai05 https://github.com/shreyarai05 pls check the syntax of .md
file and make changes accordingly.
Hope this helps : https://guides.github.com/features/mastering-markdown/
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/girlscript/winter-of-contributing/pull/1910#issuecomment-927644307,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUIXTR7VSH4MDVC7TIEOXT3UEAS5JANCNFSM5EQ2HVDQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Markdown is a file type just like a txt , docx. Just copy all the content in a markdown file and you are good to go. I consider you should have a look at the merged PRs of CPP domain and you will get a better idea.

Great work on the content @shreyarai05 just add the file into the correct place now, you could add this file in introduction to C, rather than creating a new folder called datatype in C.

@shreyarai05  Awesome ❤  Merging 🚀

What is this workflow run?? I am getting constant notif as workflow run
failed.
On Tue, 28 Sep, 2021, 8:58 PM Suvraneel Bhuin, @.***>
wrote:

Merged #1910
https://github.com/girlscript/winter-of-contributing/pull/1910 into
C_CPP.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/girlscript/winter-of-contributing/pull/1910#event-5374781520,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUIXTR2HJDAWONQWIBGYJQTUEHNLLANCNFSM5EQ2HVDQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

@shreyarai05 You can ignore those notifications, it's related to the various bots which we have added to the repo. Sorry for the inconvenience.


API level addressing of the string-only custom arg rule

custom args can only be strings per SendGrid support otherwise a 400 bad request will be returned

Hello @cbschuld,Thank you for the PR! We will be reviewing this PR soon, in the mean                                              time, if you have not, please be sure to                                                                                sign our CLA so that we can merge your changes. Thanks again!                                             Team DX

Hello @cbschuld,
We have not received a signed CLA from you just yet. Are you still interested in us merging this pull request?
Thanks!
Elmer

Thanks for the PR @cbschuld!
Please take a moment to fill out this form so that we can send you some swag :)


Where should query validation occur?

Left open for Twitter to respond with a failure
Fail before when required parameters are invalid?
How can we configure the validation of parameters (in case it changes in the future)
Which class/layer is responsible for the validation?

Parameters validation is performed before reaching Twitter.
client.ClientSettings.Limits can be used in order to configure the limits if they happened to change at Twitter.
Requesters are responsible for the validation of parameters so that we can easily make assumptions in lower layers.


Bump Spark 3.3.0-rc5

Why are the changes needed?

<EMAIL_ADDRESS>How was this patch tested?

[ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[x] Run test locally before make a pull request

Codecov Report

Merging #2817 (aba2f42) into master (b42c28b) will increase coverage by 0.08%.
The diff coverage is 78.26%.

@@             Coverage Diff              @@
##             master    #2817      +/-   ##
============================================
+ Coverage     62.84%   62.93%   +0.08%
  Complexity      202      202
============================================
  Files           480      481       +1
  Lines         21339    21415      +76
  Branches       2833     2843      +10
============================================
+ Hits          13411    13477      +66
- Misses         6651     6659       +8
- Partials       1277     1279       +2

Impacted Files
Coverage Δ

...a/org/apache/kyuubi/service/TFrontendService.scala
94.65% <0.00%> (-0.30%)
:arrow_down:

...kyuubi/server/statestore/api/SessionMetadata.scala
95.23% <0.00%> (ø)

...g/apache/kyuubi/session/KyuubiSessionManager.scala
85.36% <ø> (-1.22%)
:arrow_down:

...e/kyuubi/server/statestore/SessionStateStore.scala
91.54% <62.50%> (-3.84%)
:arrow_down:

.../apache/kyuubi/server/api/v1/BatchesResource.scala
87.87% <66.66%> (+0.92%)
:arrow_up:

...e/kyuubi/client/api/v1/dto/CloseBatchResponse.java
72.22% <72.22%> (ø)

...g/apache/kyuubi/operation/BatchJobSubmission.scala
83.05% <72.50%> (-4.19%)
:arrow_down:

.../apache/kyuubi/client/KyuubiSyncThriftClient.scala
88.18% <82.85%> (-0.40%)
:arrow_down:

...rg/apache/kyuubi/server/api/v1/AdminResource.scala
90.90% <90.90%> (ø)

...a/org/apache/kyuubi/operation/OperationState.scala
44.44% <100.00%> (+1.58%)
:arrow_up:

... and 17 more

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 9265cf3...aba2f42. Read the comment docs.

we should also update the file .github/workflows/master.yml:
https://github.com/apache/incubator-kyuubi/blob/aabc53ec550dca23922defe3072759859d369bb2/.github/workflows/master.yml#L66

Thanks, merging to master


API key option is missing from the settings/tools

With the latest version, I no longer see the api key form field in the tools so I can not use the plugin. When I try to click on the Open settings prompt of the plugin, an ide error occurs:
java.lang.AssertionError: Cannot find configurable for specified predicate
at com.intellij.ide.actions.ShowSettingsUtilImpl.showSettingsDialog(ShowSettingsUtilImpl.java:128)
at com.intellij.ide.actions.ShowSettingsUtilImpl.showSettingsDialog(ShowSettingsUtilImpl.java:107)
at com.intellij.ide.actions.ShowSettingsUtilImpl.showSettingsDialog(ShowSettingsUtilImpl.java:99)
at ee.carlrobert.chatgpt.ide.toolwindow.ToolWindowService$1.mouseClicked(ToolWindowService.java:136)
at java.desktop/java.awt.Component.processMouseEvent(Unknown Source)
at java.desktop/javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.desktop/java.awt.Component.processEvent(Unknown Source)
at java.desktop/java.awt.Container.processEvent(Unknown Source)
at java.desktop/java.awt.Component.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.Component.dispatchEvent(Unknown Source)
at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.Window.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.Component.dispatchEvent(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.EventQueue$3.run(Unknown Source)
at java.desktop/java.awt.EventQueue$3.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Unknown Source)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Unknown Source)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:918)
at com.intellij.ide.IdeEventQueue.dispatchMouseEvent(IdeEventQueue.java:840)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:763)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$6(IdeEventQueue.java:450)
at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:791)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$7(IdeEventQueue.java:449)
at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:113)
at com.intellij.ide.IdeEventQueue.performActivity(IdeEventQueue.java:624)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:447)
at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:881)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:493)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)

Hi, the settings storage xml file was changed recently.
Can you try re-installing the plugin and see if that helps?

I already tried it, it does not help. Weird thing is, I re-installed one of the older versions that works and now I can't see the api key tools page on them either(although at least the gpt works now, I guess it still knows the api key I set before). Somehow updating to the newest version corrupted the old versions as well?

Okay, this is a weird solution for a weird bug. I removed plugin's folder/cache and reinstalled,  searched for codegpt in the settings but it was still not there. Then I noticed even  though I searched for codegpt, there was a page for another plugin in the search results. I deactivated that plugin and voila! chatgpt settings appeared instead of other plugin's settings. When I re-activate the other plugin now I am seeing both in the settings. I guess the problem was the conflict between two plugin's settings files? Thanks for the help!

I'm glad you got it working.
The previous state schema was using SdkSettingsPlugin name which might conflict with the other plugins settings, so I renamed it.
Also someone reported similar conflicting issue with the ChatGPT ToolWindow id because the person had multiple plugins downloaded.


Issue with creating certificate

Hello,
When setting the EasyRSA with a value that has a special character, in this case a period, creation of certificate fails
I've added the "Ltd." to my EasyRSA_REQ_ORG and now when I try to create a certificate I get "Exit status 1"
The logs show this message
openvpn-ui | 2023/12/06 12:07:51.533 [D] [certificates.go:157]  /bin/bash: line 1: export: Ltd.': not a valid identifier`
Thanks

Hi @reamasesa
Thanks for reporting it. Did you try without dot at the end - Ltd?
It may be related to back-end bash script which may interpritate . as a special character.
Im curious how did you update the this var - with OpenVPN-UI or configuration file.
Interesting, what happens if you'll try this way Ltd\..

Hi @reamasesa it is fixed in dev.
I'll combine bug fix in the next release all together with the rest bug fixes.
Thank you for reporting, once again!

Hi @reamasesa it is fixed in dev. I'll combine bug fix in the next release all together with the rest bug fixes.
Thank you for reporting, once again!

Thank you very much, sorry for the late replies
I'm trying to use the UI for everything (although I would have liked the option to pre-set the EasyRSA variables for easier deployment), I only checked "Ltd." and "Ltd"
Thanks again

Closed as fixed in <IP_ADDRESS>


Improve cat-like behaviour

In order for this to feel more like a cat, this would need to ignore the user's input a huge slice of the times, like 9 out of 10. Desirable but not required is to occasionally purr of its own accord.
Otherwise, this is great :)

And ideally get it to randomly throw stuff on the floor...

So much unexplored potential ;)


Error using PnP Property Controls on SPFx Adaptive Card Extension

Category

[ ] Enhancement
[X] Bug
[ ] Question

Version
Please specify what version of the library you are using:  3.13.0
I'm trying to use PnP Property Controls on a SPFx Adaptive Card Extension, in order to use advanced controls (PropertyFieldSpinner and PropertyFieldIconPicker) in property panel of adaptive card. I try to use a "simple" control as Spinner with properties:
PropertyFieldSpinner("", {
      key: "sp1",
      size: SpinnerSize.medium,
      isVisible: true,
      label: "Loading ..."
  })

And a more "complex" control , with elaborated properties like component context or onPropertyChange function:
PropertyFieldIconPicker('iconPicker', {
                  currentIcon: this.properties.iconPicker,
                  key: "iconPickerId",
                  onSave: (icon: string) => { console.log(icon); this.properties.iconPicker = icon; },
                  onChanged:(icon: string) => { console.log(icon);  },
                  buttonLabel: "Icon",
                  renderOption: "panel",
                  properties: this.properties,
                  onPropertyChange: this.onPropertyPaneFieldChanged.bind(this),
                  label: "Icon Picker"
                }),

Neither option works despite of I follow documentation step by step.
Expected / Desired Behavior / Question
Expect behaviour would be to view and use Property Controls in the property pane of the Adaptive Card.
Observed Behavior
When I open property pane to edit Adaptive Card properties, it shows a blank pane. In the browser console it shows this error:
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'isInternal')
    at e.loadComponent (sp-pages-assembly_es-es_a3e0bec465829500ae697c1a8bdc6de0.js:70:742212)
    at sp-pages-assembly_es-es_a3e0bec465829500ae697c1a8bdc6de0.js:70:742851
    at async Promise.all (/SitePages/index 1)
    at async Promise.all (/SitePages/index 0)

Steps to Reproduce
Using a default Adaptive Card Extension on SPFx v1.17.2 , with default scaffolding, I install @pnp/spfx-property-controls with npm. Then, I add code of the control in AdaptiveCardPropertyPane as it is said in documentation, for example:
import { PropertyFieldSpinner} from '@pnp/spfx-property-controls/lib/PropertyFieldSpinner';
import {  SpinnerSize } from '@fluentui/react/lib/Spinner';

export class AdaptiveCardPropertyPane {
  public getPropertyPaneConfiguration( ): IPropertyPaneConfiguration {
    return {
      pages: [
        {
          header: { description: strings.PropertyPaneDescription },
          groups: [
            {
              groupFields: [
                PropertyPaneTextField('title', {
                  label: strings.TitleFieldLabel
                }),
                PropertyFieldSpinner("", {
                  key: "sp1",
                  size: SpinnerSize.medium,
                  isVisible: true,
                  label: "Loading ..."
              })
              ]
            }
          ]
        }
      ]
    };
  }
}

I am having the exact same issue having gone through the documentation multiple times and looking at source code from other projects it just doesn't seem to work.

@mfdezvil - thanks for reporting this one.
Does the solution work fine without PnP controls in the property pane?
Could you please share the test solution with us?
Thanks!

Hi @AJIXuMuK ,
Yeah, solution works perfect if I don't use any PnP Property Controls component.
I upload a test adaptive card to this repo -all code is default created by yeoman, except I installed PnP Property Controls and use them in property pane.
Let me know if you need more info.
Thanks.

@mfdezvil Thanks for the confirmation!
We'll be looking into it.

Hi, any updates on this one?

I have a brand new 1.18.2 SPFx ACE project, and installed 3.15.1 of this project and I get the same result as the OP. I've tried several controls including Taxonomy Picker and MultiSelect.

It is hard to tell if the error is coming from this library or something within SPFx. @mfdezvil , did you have any luck getting around this issue? I can use any controls from the @microsoft/sp-property-pane space, just none from this repo.

Hi @c-eiser13 , I did not find a solution for this, so finally I removed library, stopped use these controls and redefined my application design. A bit disappointed about support team, who never taked care of this bug and neither answered me  :(

@mfdezvil I am sorry that this slipped through and created a bad experience for you when using the controls.
We try our best to review PRs, handle issues and questions, general project maintenance, etc, but sometimes it's hard to keep up with all the work as we do all this outside of working hours.
Hoping for one of us or a community member to provide an update soon

@mfdezvil,  please see this samples:  https://github.com/pnp/sp-dev-fx-aces/tree/main/samples/PrimaryTextCard-My-Notifications/src,
https://github.com/pnp/sp-dev-fx-aces/tree/main/samples/PrimaryTextCard-my-calendar-plan


Allow users to toggle strong mode OFF (strong=false, strong=f)

Test URL: https://dartpad-test.appspot.com/?strong=false

I still see strong mode when I visit https://dartpad-test.appspot.com/?strong=false. Is an old version being served?

Should be updated now!
If it still shows strong mode, try it in incognito/manually clear cookies.

It's working now (tried it in an incognito window).
Strangely, the first time I visit that URL, I see a checkmark for Strong mode that then becomes unchecked. (I tried Chromium, Chrome, Firefox, and Safari on Mac; in all but Safari, the checkmark was initially checked.) Since the default sample is strong-mode safe, I don't know if warnings might show up before the box is unchecked.

Merging.
@kwalrath the pad will only be sent off for analysis after resolving strong mode, so warnings should not show up.


Stac-FastAPI as a Terraform module

Added a Terraform module that installs the STAC-FastAPI Helm Chart from the Element84 GitHub Helm Chart repository (https://element84.github.io/filmdrop-k8s-helm-charts/)

Another request: can you update the root README and add stacfast-api to the "Installed Components" section?


Presentation of multiple bottom sheets

I am facing issues with the presentation of multiple bottom sheets, particularly when one is triggered before the other has finished its presentation,
One of scenarios as an example:
LoadingBottomSheet is presented.
An error response is received from server and ErrorBottomSheet should be presented.
So, Loading dismiss is called and it gets dismissed but the EroorBottomSheet is not presented because:
Attempt to present <ErrorBottomSheet: 0x113e1e2e0>  while a presentation is in progress.
Is there a solution for this in the current version like creating a queue when calling present or not?

Hello, thank you for you question!

So, Loading dismiss is called and it gets dismissed but the EroorBottomSheet is not presented because

If you're triggering this action by yourself then I suppose you need to sync presentation logic by yourself. As I understand it would be the same (the same error) as if you try to dismiss and present at the same time some view controller modally and it's not directly related to BottomSheet
I would try to invoke the next screen when completion handler is invoked. If it works, you can indeed try to implement queue like structure to dismiss / present view controller in a sequential manner
What do you think?

Thank you. You're right about creating a queue. As you mentioned, I need a completion handler.
the default modal present method has completion like this:
func present(_ viewControllerToPresent: UIViewController, animated flag: Bool, completion: (() -> Void)? = nil)
however the presentBottomSheet in the library lacks it.
func presentBottomSheet(
viewController: UIViewController,
configuration: BottomSheetConfiguration,
canBeDismissed: @escaping (() -> Bool) = { true },
dismissCompletion: (() -> Void)? = nil
)
Please let me know if i'm not right or i can create queue other way.


Truet future.types.newint.newint properly in get_device

Note that we do not use isinstance in get_device for performance.

import chainer
from chainer import cuda
from chainer import links as L
from builtins import int

gpu = int(3)
model = L.Linear(1,1)
cuda.get_device(gpu).use()
model.to_gpu(gpu)
# before merging this PR, this print says device 0 (should be device 3)
print(cuda.get_device(model.W.data))

future: https://pypi.python.org/pypi/future/

Shouldn't we add tests for this feature? Though I guess it would not easy.

Writing the test is not difficult, but running the test may be difficult.

I ran nosetests -s tests/chainer_tests/test_cuda.py with (py2, py3) x (with-future, without-future) without error.
py2 without future
nosetests tests/chainer_tests/test_cuda.py
..S...........................................
----------------------------------------------------------------------
Ran 46 tests in 0.394s

OK (SKIP=1)

py2 with future, py3 without future, py3 with future
nosetests tests/chainer_tests/test_cuda.py
..............................................
----------------------------------------------------------------------
Ran 46 tests in 0.397s

OK

LGTM.


fix: 🐜 track closeLinear event

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[Slack] Fix whisper v0.6

#1071 Says it all
This PR is not working, wanted to share my progress before going to sleep in my TZ
Currently ephemeral message info is not making it out of format middleware
I changed whisper to just set message type to 'ephemeral' and set the user field on outgoing request to slack (required info for ephemeral messages).
But I ran into this error and I can't find where slack_message is referenced at all in format:
info: An error occured in the format middleware: ReferenceError: slack_message is not defined

This is fixed in 0.6.4! Thanks @jonchurch


Incorrect documentation for BeTimePoint.plus

BeTimePoint.plus is described as the same method as BeTimePoint.minus:
/** Subtract a BeDuration from this BeTimePoint, returning a new BeTimePoint. This moves this BeTimePoint backwards in time if BeDuration.isTowardsFuture() === true
  * @param duration the duration to subtract.
  */
 public minus(duration: BeDuration): BeTimePoint { return new BeTimePoint(this._milliseconds - duration.milliseconds); }

 /** Subtract a BeDuration from this BeTimePoint, returning a new BeTimePoint. This moves this BeTimePoint backwards in time if BeDuration.isTowardsFuture() === true
  * @param duration the duration to subtract.
  */
 public plus(duration: BeDuration) { return new BeTimePoint(this._milliseconds + duration.milliseconds); }

I am assuming this was intended:
  /** Add a BeDuration from this BeTimePoint, returning a new BeTimePoint. This moves this BeTimePoint forwards in time if BeDuration.isTowardsFuture() === true
   * @param duration the duration to add.
   */

Fixed


Update docker-compose.metrics.yml

Sorry for the long silence. I implemented the feature to support yaml and yml file endings.
https://github.com/d-Rickyy-b/certstream-server-go/commit/beb21136a4ea18e059e0a08aab936ad46f526100


Updated flax docs.

Updated flax docs.

Codecov Report

Merging #2667 (f2bad3d) into main (3af2153) will increase coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #2667      +/-   ##
==========================================
+ Coverage   80.74%   80.75%   +0.01%
==========================================
  Files          50       50
  Lines        5370     5368       -2
==========================================
- Hits         4336     4335       -1
+ Misses       1034     1033       -1

Impacted Files
Coverage Δ

flax/core/scope.py
89.81% <0.00%> (-0.03%)
:arrow_down:

flax/training/prefetch_iterator.py
0.00% <0.00%> (ø)

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


could not run phased build action using connection to gradle

Type: Bug
Could not run phased build action using connection to Gradle distribution 'https://services.gradle.org/distributions/gradle-7.4-all.zip'.
org.gradle.api.ProjectConfigurationException: A problem occurred configuring root project 'android'.
A problem occurred configuring root project 'android'.
A problem occurred evaluating root project 'android'.
A problem occurred configuring project ':app'.
A problem occurred evaluating project ':app'.
Failed to apply plugin 'com.android.internal.application'.
Android Gradle plugin requires Java 11 to run. You are currently using Java 1.8.
You can try some of the following options:

changing the IDE settings.
changing the JAVA_HOME environment variable.
changing org.gradle.java.home in gradle.properties.

VS Code version: Code 1.70.0 (da76f93349a72022ca4670c1b84860304616aaa2, 2022-08-04T04:38:16.462Z)
OS version: Windows_NT x64 10.0.25174
Modes:

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (8 x 2808)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: unavailable_offvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
15.89GB (3.61GB free)

Process Argv
--crash-reporter-id e0ede38b-5239-47d1-8a69-e61574a5d928

Screen Reader
no

VM
67%

Extensions (31)

Extension
Author (truncated)
Version

flutter-snippets
ale
3.0.0

dart-code
Dar
3.46.1

flutter
Dar
3.46.0

flutter-auto-import
dav
0.0.1

xml
Dot
2.5.1

flutter-tree
mar
1.0.0

fluent-icons
mig
0.0.18

Angular-BeastCode
Mik
10.0.3

vscode-language-pack-tr
MS-
1.70.8100917

csharp
ms-
1.25.0

python
ms-
2022.12.0

vscode-pylance
ms-
2022.8.20

jupyter
ms-
2022.7.1102252217

jupyter-keymap
ms-
1.0.0

jupyter-renderers
ms-
1.0.9

azure-account
ms-
0.11.1

hexeditor
ms-
1.9.8

notepadplusplus-keybindings
ms-
1.0.7

powershell
ms-
2022.7.2

awesome-flutter-snippets
Nas
3.0.3

mvvm-flutter-widget
pan
0.2.1

dartgettersetter
Pet
1.0.2

material-icon-theme
PKi
4.19.0

java
red
1.9.0

vscodeintellicode
Vis
1.2.22

vscode-java-debug
vsc
0.43.0

vscode-java-dependency
vsc
0.21.0

vscode-java-pack
vsc
0.25.0

vscode-java-test
vsc
0.36.0

vscode-maven
vsc
0.37.0

vscode-icons
vsc
11.15.0

(1 theme extensions excluded)

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263cf:30335440
pythondataviewer:30285071
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30542924
vsaa593:30376534
pythonvs932:30410667
wslgetstarted:30449410
cppdebug:30492333
pylanb8912:30545647
vsclangdc:30486549
c4g48928:30535728
hb751961:30543456
dsvsc012:30540252
azure-dev_surveyone:30545435

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.70.1. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

/question

We closed this issue because it is a question about using VS Code rather than an issue or feature request. Please search for help on StackOverflow, where the community has already answered thousands of similar questions. You may find their guide on asking a new question helpful if your question has not already been asked. See also our issue reporting guidelines.
Happy Coding!


✨ upgrade to react18

Purpose:  Upgrade to react18
The upgrade of ReactQuery asks a big refacto, but the upgrade doesn't seem necessary to have our apps working correctly with React 18, better to do it in another PR.
Proposal

[x] upgrade to react 18
[x] upgrade testing-library packages
[x] upgrade to react-router-v6

Noticeable differences

In our tests userEvent is now a promise, it is better to put await before to help reducing the side effects. Thanks to that we have less problems with things that we have to put inside a act.
Tests seem generally faster, causing sometime the first render to give the warning to add things inside an act. Searching the first element with await screen.findBy can let a bit of time to the state to setup correctly and remove the warning.
about react-router-v6, it is really a different way to organize your routes, routes are now relatives to their parents. https://reactrouter.com/en/main/upgrading/v5#upgrade-to-react-router-v6

When downloading a file from a filedeposit, we get this
https://github.com/openfun/marsha/assets/720491/6cbb0c08-d3d9-4ab8-880a-f9e721ffa7a6


[3.86.0] Resize RenderTexture/dynamicTexture issue

Version

Phaser Version: 3.86.0

Operating system: window

Browser: chrome/firefix

Description
In dynamicTexture's setSize method, it invokes renderTarget.resize method.
This renderTarget.resize method will check this.autoResize, but dynamicTexture's autoResize  is false. So that the resize action won't run.

Hmm - yes. It's half right and half wrong. We don't want them to auto resize at all, because they should remain the same size they were created and shouldn't get changed if the renderer resizes. But equally, the setSize call needs a way to actually resize them. I'll have a think about it.

Hi @photonstorm ,
Would this also be related? We are using the rope functionality and rendertexture in order to print 'curved text' to our game. In phaser 3.80.0, this works correctly, in 3.86 - we are seeing some kind of distortion with the same code:
Many thanks
3.80.0

3.86.0

`import { FontStyleKey } from '../../../config/font_style_key';
import { BaseScene } from '../../phaser_scenes/base_scene';
import { FontFactory } from '../factories/font_factory';
export type ICurvedTextParams = {
text: string;
textStyleKey: FontStyleKey;
getPoints: (textWidth: number) => { x: number; y: number }[];
offsetY: number;
};
export class CurvedText extends Phaser.GameObjects.Container {
private static id = 0;
protected renderTexture: Phaser.GameObjects.RenderTexture;
protected text = '';
protected textStyleKey: FontStyleKey;
protected tempText: Phaser.GameObjects.Text;
protected rope: Phaser.GameObjects.Rope;
protected targetTextureId: string;
protected getPoints: (textWidth: number) => { x: number; y: number }[];
protected offsetY: number;
constructor(scene: BaseScene, x = 0, y = 0, options: ICurvedTextParams) {
	super(scene, x, y);

	this.targetTextureId = `curved_text_${CurvedText.id}`;
	CurvedText.id += 1;

	this.textStyleKey = options.textStyleKey;
	this.getPoints = options.getPoints;
	this.offsetY = options.offsetY;

	this.renderTexture = scene.add.renderTexture(0, 0);
	this.renderTexture.setOrigin(0, 0);
	this.add(this.renderTexture);

	this.tempText = FontFactory.get.addText(this.textStyleKey, 0, 0, this.text, false, this.scene);
	this.tempText.setResolution(2);
	this.add(this.tempText);

	this.rope = this.scene.add.rope(0, 0, this.targetTextureId, undefined, this.getPoints(this.tempText.width), true);
	this.add(this.rope);

	this.setText(options.text);
}

/**
 * Update text. Please note, this is very expensive!
 * @param text new text
 */
public setText(text: string): void {
	if (text === this.text) {
		return;
	}
	this.text = text;
	this.updateRenderTexture();
}

protected updateRenderTexture(): void {
	this.tempText.text = this.text;
	this.tempText.setVisible(true);
	this.renderTexture.resize(this.tempText.width, this.tempText.height);
	this.renderTexture.clear();
	this.renderTexture.draw(this.tempText);

	this.renderTexture.saveTexture(this.targetTextureId);
	this.rope.setTexture(this.targetTextureId);
	this.rope.width = this.tempText.width;
	this.rope.height = this.tempText.height;
	this.rope.setPoints(this.getPoints(this.tempText.width));

	this.rope.x = 0;
	this.rope.y = this.offsetY;

	this.renderTexture.setVisible(false);
	this.tempText.setVisible(false);
}

protected override preDestroy(): void {
	super.preDestroy();
	this.rope.destroy();
	this.tempText.destroy();
	this.renderTexture.destroy();
}

getCurvedTextWidth() {
	return this.rope.displayWidth;
}
/**
 * Calculates the positions of points on a circle. Can be used to create a curved text as the function in TCurvedTextOptions.
 *
 * @param {number} radius - The radius of the circle.
 * @param {number} pointsNumber - The number of points to be calculated on the circle.
 * @param {boolean} curveUpwards - Optional. Specifies whether the curve should face upwards or downwards. Default is false.
 * @returns {Array} - An array of objects representing the x and y coordinates of the points on the circle.
 */
static getCirclePoints(radius: number, pointsNumber: number, curveUpwards = false) {
	return (textWidth: number) => {
		const step = Math.PI / pointsNumber;
		let ropePoints = pointsNumber - Math.round((textWidth / (radius * Math.PI)) * pointsNumber);
		ropePoints /= 2;
		const points = [];
		for (let i = pointsNumber - ropePoints; i > ropePoints; i--) {
			const x = radius * Math.cos(step * i);
			const y = radius * Math.sin(step * i);
			points.push({ x: x, y: curveUpwards ? y : -y });
		}
		return points;
	};
}

}
`


Can we turn off the isExposed flag in the meta?

I want to use the base-components internally in my salesforce managed package by deploying all the components as part of my package. With the isExposed flag turned on I would have to go through a security review from salesforce if I ever plan to delete them in the future. Do you plan to not expose these base components in the future?

Hi Manish-Padakanti, base components should not be exposed. The flag isExposed has been set to false for all components. Thanks,


[Bug Report] Select with filtering cannot be closed from caret

Element UI version
2.12.0
OS/Browsers version
Firefox 69.0.1 & Chrome 77.0.3865.90
Vue version
2.5.21
Reproduction Link
https://jsfiddle.net/ujqzL47h/6/
Steps to reproduce

Open select list from caret icon.
Try closing the list by clicking the icon again.

What is Expected?
Clicking on the close icon should close the select list.
What is actually happening?
Select list stays open and user has to click outside of the element to close the list.
However if you open the select list by clicking on the "el-input__inner" part of the element and press the close icon it works.

blur:function(e){
let that=this,val="";
this.options.forEach(function(item){
if(that.Select==item.value){
that.Select="";
val=item.value;
}
})
this.Select=val;
}
加个blur事件,亲测有效

Sorry. Where do you mean adding blur would help? I think that this is bug in the select component.

blur event,not a bug
------------------ 原始邮件 ------------------
发件人: "Pentti<EMAIL_ADDRESS>发送时间: 2019年10月11日(星期五) 中午1:55
收件人<EMAIL_ADDRESS>抄送: "阿蒙"1078619622<EMAIL_ADDRESS>主题: Re: [ElemeFE/element] [Bug Report] Select with filtering cannot beclosed from caret (#17668)
Sorry. Where do you mean adding blur would help? I think that this is bug in the select component.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

Here you can see the demonstration of the bug.

You can try what I added,blur event
------------------ 原始邮件 ------------------
发件人: "Pentti<EMAIL_ADDRESS>发送时间: 2019年10月11日(星期五) 下午2:23
收件人<EMAIL_ADDRESS>抄送: "阿蒙"1078619622<EMAIL_ADDRESS>主题: Re: [ElemeFE/element] [Bug Report] Select with filtering cannot beclosed from caret (#17668)
Here you can see the demonstration of the bug.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.


lab(ch02s09): Add apps & solutions

Good job @shatakshi06!
Just a couple of suggestions to remove, as we usually not push anything that it is not exactly need.

Thank you @ebramirez :)
I will definitely remove all the code which is not needed.


shell-escape is being over zealous.

Was trying to do a curl and notice that the args would fail. turns out the shell-escape is adding a few more single/double quotes.
try something like this and review the data structure. I think you need to use a different crate as shell-escape hasn't been updated in years.

let cmd = dbg!(session.command("curl")
.arg("-H 'Auth'")
.arg("some_host_ip)
.arg(-o 'stuff.txt')
)
.output()
.await()
.unwrap();

workaround for this is to create one arg for the flag and one for the content.
.arg("-H")
.arg("Auth: ....")

workaround for this is to create one arg for the flag and one for the content.
.arg("-H")
.arg("Auth: ....")

That is the intended way, every argument has to pass separately.
It is the same as std::process or tokio::process, every argument has to be passed separately.
You can use args([...]) which can pass an array or a slice to simplify this.

turns out the shell-escape is adding a few more single/double quotes.

Because you pass that as a simple argument, so shell-escape will escape every ' in them in order to pass it as a single argument and not be reinterpreted as multiple argument.

curl -H 'Auth' some_host_ip -o 'stuff.txt'

This command contains the following arguments:

curl, also the program name
-H
Auth
some_host_ip
-o
stuff.txt

When you passed this to bash, it will split them based the syntax: everything quoted will be treated as a single argument, everything else will be split based on ascii whitespace.

Thanks for the response. that's good to know, I'll update my automation code to split up cmds into tokens.

@Hraesvel You can try shlex which does splitting in the same manner as POSIX shell

@NobodyXu Ha I wish I saw this, just spent the last hour or so creating a Nom parser to handle complex curl cmd strings. This crate will likely do a better job than my quick write up.

I will close this issue then


Automated Package Upgrade

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Web ui opening

fix: #17 replaces #31

rebased on master
applied review comments
changed the timeouts (as explained in commit message 10s isn't enough on my system for start and 10s is way too much for web)

descriptions added and rebased on master


Client responsibilities

I just wanted to write down my current understanding of the responsibilities of the "client".  By which I mean the process that connects to the transactor cluster and exposes an RPC interface to "supplicants" (or whatever we end up calling the lightweight clients that don't talk directly to the transactors).  Please let me know if I'm missing anything!
The client is responsible for:

getting the current block from a transactor at init, to bootstrap the system

responding to blockchain updates from the transactors & pulling new blocks, records, etc.

fetching blocks from the datastore, beginning with the current block, and working back to the genesis block

fetching the CanonicalRecords and ChainCells referenced in the journal blocks

"folding" the chain of update cells into a consistent "view" of an object at a point in time.

"point in time" defaults to "now", but could potentially be "as of" any point in the past

can happen "on demand" in response to queries, and/or cached for future reference

maintaining a local cache of the datastore for efficient query

technically optional, but probably necessary for performance
if the datastore is ipfs, could potentially use the local repo as a cache
first pass can use RocksDB datastore

exposing an RPC interface for "supplicants"

Allows lightweight query of the system without participation in the blockchain update process
provides "folded" view of records
relays write requests to the transactors

It doesn't necessarily need a cache of the datastore -- it can access the backing store directly.

I think we worked through this, pretty much