EditPost won't change post's format to 'standard'

I have been able to use EditPost to change a post's format from 'standard' to 'aside' etc., but cannot change a post with, e.g., 'aside' format to 'standard'.
A sketch of the code I am using is:
from wordpress_xmlrpc import Client, WordPressPost
import wordpress_xmlrpc.methods.posts as wpp

client = Client(...)
post = client.call(wpp.GetPost(N))

post.post_format = 'standard'
post.title = 'visited -- ' + post.title
post.content = 'visited -- ' + post.content
r = client.call(wpp.EditPost(post.id, post))

When I run this code, the post in question was indeed "visited" by changes to title and content.  But if the post had format 'aside', then running the code above does not change the format to 'standard'.  (Trying None, 0, [] in place of 'standard' on the line above did not work either.)
However, if the post is format 'standard' and I run the code above with the one line changed to
post.post_format = 'aside'

then the post in question does change to format 'aside'.
Is there a trick to using EditPost to change a post's format to standard?  Thanks!

It looks like this may be a bug on the WordPress side, you are using the library correctly. I'll take a closer look and submit a patch to WordPress if I can determine the cause.


Is it working? I didn't see the calculation of punch force, nor the punch styles.

Is it working? I didn't see the calculation of a punch force, nor the punch styles.

Is it working? I didn't see the calculation of a punch force, nor the punch styles.

Hi, this isn't under active development, but I can help out a little.
Did you build and connect to the shadow boxer gloves? https://github.com/kylecorry31/shadow-boxer
If so, this code was updated to work with a newer version that I don't have a new schematic for (I'll eventually post that). Commit 7fc16bfe86cf5d741acf4449ee70881cce6d203f  should work with the previous hardware.
And the arduino code: https://github.com/kylecorry31/shadow-boxer/tree/66cbbe9e361970dafbf4f682833ce73a9ab31980


Add Ruby 2.5.x to the test matrix

The Rails team recently revealed that Rails 6 will require Ruby 2.5.x or later. With that in mind, I think it would be prudent to add Ruby 2.5.x to our test matrix. Initially, make it an allowed failure, and adjust later as needed.
https://weblog.rubyonrails.org/2018/12/20/timeline-for-the-release-of-Rails-6-0/

Just a couple VCR errors atm, not sure what to make of them yet.

If we are release hammer with 2.4.5, then yes, we can kill Ruby 2.3 for master.  @jrafanie can you arrange for a talk article and a timing schedule so that developers have time to upgrade their systems if necessary?

@Fryguy @jrafanie Ok, updated.

@djberg96 I'm working on a talk article on rubies and branches.  I hope to get it out today or tomorrow.  I think we can merge this as is since it doesn't actually change developer's experience on their laptops.  I'll try to hold off until I get the article out so people aren't surprised to see 2.5 in travis.
I think we can fix the travis.ymls to drop 2.3, add 2.5.3 as allow failures for now...
Then, in a few weeks, we'll make a change in the Gemfile to raise an error if you're less than the desired ruby on the release branch.  (2.4.5 on master/gap/etc).  See: https://github.com/ManageIQ/manageiq/blob/master/Gemfile#L1
At that point, we should drop the allow failures on 2.5 on master and continue on.


rewrited "resin.io" primer to "balena.io" primer

The images are changed, but the text is still resin, it seems.
https://www.resin.io/docs/learn/welcome/primer/

@imrehg we can probably close this, it was an environment setting that jack fixed for us


Fall back to empty string if neither description nor summary is available

Checklist

[x] I've read and followed the Contribution Guidelines
[x] step.yml and README.md is updated with the changes (if needed)

Version
This step is not versioned.
Context

This step currently fails to generate READMEs for steps where inputs don't have a description or a summary.

Changes

Fall back to empty string if neither description nor summary is available for a step input when README is generated.

I'm not sure this is a good idea. Shouldn't we encourage filling the description and/or summary fields by failing this step intentionally?

My take is that if the title of the input is self-explanatory then I wouldn't force people to write overly verbose descriptions or summaries.
One example I have in Certificate and Profile Installer step is Keychain password (keychain_password) which doesn't have any of that, but I think it's pretty straightforward what it does.
I think we can revisit this question in the future if we are not happy with this approach, but unless we have strong feelings against it I would respect the current situation and fall back to empty string now.
Wdyt?

I see your point and I have to agree. I'll close this PR for now; we might re-open it in the future if we change our minds.


Supports isSignalingNaN

Feature request
Supports isSignalingNaN.
Detail
softfloat-sys has isSignalingNaN, but isSignalingNaN does not seem to be supported by this wrapper.
See also
https://salsa.debian.org/Kazan-team/softfloat-sys/-/blob/v0.1.3/src/lib.rs#L174

Thanks.
I added is_signaling_nan function and released v0.3.3.


Nuget Package

Hello,
With only 1 bug to fix (the api call counter). I have added this package to nuget for easy installation.
PM> Install-Package TornCityAPISharp
To add it to you project, I have tried it for 4.6 and 4.5.2 and it seem to work, I don't think it will work not sure how this will ever work for dotnet core

Ok thanks, I will add it to the readme and the Wiki.


ARROW-16174: [Python] Fix FixedSizeListArray.flatten() on sliced input

ARROW-16174
Current behavior
import pyarrow as pa

array = pa.array([[1], [2], [3]], type=pa.list_(pa.int64(), list_size=1))
array[2:].flatten().to_pylist()
[1, 2, 3]

After this patch
import pyarrow as pa

array = pa.array([[1], [2], [3]], type=pa.list_(pa.int64(), list_size=1))
array[2:].flatten().to_pylist()
[3]

By inheriting from BaseListArray, we also inherit the value_parent_indices and value_lengths methods. Can you check (and test) that those are actually working? (I don't know if those kernels are implemented for fixed size lists)
They are also not super useful for fixed size lists, since they will be constant (or constantly increasing), but if working, I suppose it doesn't hurt to have them.

Ready for another round as time permits. :)

@milesgranger Do you have Github Actions enabled on your fork?

@pitrou I do, is that bad?

I see that lint was successful here: https://github.com/milesgranger/arrow/actions/runs/3051787384


Shouse brett

I have added a simple API addition that will pull the currently trending topics given a Where on Earth ID.
Syntax: ruby get_trends.rb -p oauth.props 1
This will output a trends.json file with the current trending topics. Twitter refreshes this data every 5 minutes. Any repeated requests in that time frame will return the same data and will be counted against your rate limit.

We have a winner! (That was fast! :smiley:)
I will review these changes in more detail later (I'm stuck in meetings right now) and pull them in tonight.
Thanks!

You did all the heavy lifting. Thank you.
Please let me know if I can make any changes or additions. This was a good exercise to help build my Ruby skillz. :-)


Exception in thread SpotifyRipperThread:

I'm running spotify-ripper with the php's exec()
    [9443] => Exception in thread SpotifyRipperThread:
    [9444] => Traceback (most recent call last):
    [9445] =>   File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    [9446] =>     self.run()
    [9447] =>   File "/usr/local/lib/python2.7/dist-packages/spotify_ripper/ripper.py", line 329, in run
    [9448] =>     self.post.clean_up_partial()
    [9449] =>   File "/usr/local/lib/python2.7/dist-packages/spotify_ripper/post_actions.py", line 247, in clean_up_partial
    [9450] =>     rm_file(ripper.audio_file)
    [9451] =>   File "/usr/local/lib/python2.7/dist-packages/spotify_ripper/utils.py", line 96, in rm_file
    [9452] =>     os.remove(file_name)
    [9453] => UnicodeEncodeError: 'ascii' codec can't encode character u'\xf8' in position 57: ordinal not in range(128)
    [9454] =>
    [9455] => Rip complete
    [9456] => Spotify error detected
    [9457] => 'ascii' codec can't encode character u'\xf8' in position 57: ordinal not in range(128)

It seems beeing a issue related to character encoding but I've already set theses env variables (php side):
putenv("PYTHONIOENCODING=utf-8");
putenv("LANG=en_US.UTF-8");
putenv("LANGUAGE=en_US:en");
putenv("LC_ALL=en_US.UTF-8");

I have the same env variable set in in Dockerfile :
ENV PYTHONIOENCODING utf-8
RUN locale-gen en_US.UTF-8
ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8'

Any ideas ? Thanks !

I also have the problem, but only on my raspberry, not on the mac version...


Fix mixer test

Thanks! I've applied most of this.

@LorenzMeier what about the RC lost and regained messages? https://github.com/PX4/Firmware/pull/4231/commits/9dac994fb1eb7268abd4440a74ce314799c226b6#diff-1d51a813dcb26f46616f71f28aacc70dR2278

Floating point printing is eval and error prone. We're not doing that in safety critical parts.

Makes sense. Thanks
On Sun, Apr 17, 2016 at 1:56 PM Lorenz Meier<EMAIL_ADDRESS>wrote:

Floating point printing is eval and error prone. We're not doing that in
safety critical parts.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/PX4/Firmware/pull/4231#issuecomment-211072255


Previous solution to add header doesn't work with null-safety

I've been using the solution proposed here from @micimize a while ago. Currently I'm migrating to null-safety and it seems
      connect: (uri, protocols) => _WebSocket.connect(
        uri.toString(),
        protocols: protocols!,
        headers: headers,
      ),

doesn't work anymore because connect expects a WebSocketChannel and _WebSocket.connect returns a WebSocket.
Is there any other possibility to add header with the current state of null-safety migration?
Thank you 🙇♂

WebSocketChannel supports headers directly, so you don't need the workaround anymore
https://github.com/zino-app/graphql-flutter/blob/7d521da148991d2d9a99d596f73ba51fc5cff6a0/packages/graphql/lib/src/links/websocket_link/websocket_client.dart#L100-L101

Awesome! 😁 Somehow I missed that. Thank you very much!

@micimize  is there a way I can use async headers that are fetched on every request with that? I am using CookieJar for storing cookies which I would pass into headers

@micimize I am facing some troubles with new solutions when working with async headers.
Here is my custom web socket link
import 'dart:async';

import 'package:graphql_flutter/graphql_flutter.dart';
import 'package:web_socket_channel/io.dart';

typedef HeadersHandler = Future<Map<String, dynamic>> Function();

/// https://gist.github.com/micimize/04ee011b445d38ce34193a5225992504
/// https://github.com/zino-app/graphql-flutter/issues/815
/// Custom version of [WebSocketLink] that connects with the given headers
class WSLinkWithHeaders extends Link {
  /// Creates a new [WebSocketLink] instance with the specified config.
  WSLinkWithHeaders(
    this.url, {
    this.config = const SocketClientConfig(),
    this.headersHandler,
  });

  final String url;
  final SocketClientConfig config;
  final HeadersHandler headersHandler;

  // cannot be final because we're changing the instance upon a header change.
  SocketClient _socketClient;

  @override
  Stream<Response> request(Request request, [forward]) async* {
    if (_socketClient == null) {
      final headers = await headersHandler();
      connectOrReconnect(headers);
    }

    yield* _socketClient.subscribe(request, true);
  }

  /// Connects or reconnects to the server with the specified headers.
  void connectOrReconnect(Map<String, dynamic> headers) {
    _socketClient?.dispose();
    _socketClient = SocketClient(
      url,
      config: config,
      connect: (url, protocols) => IOWebSocketChannel.connect(
        url,
        protocols: protocols,
        headers: headers,
      ),
    );
  }

  /// Disposes the underlying socket client explicitly. Only use this, if you want to disconnect from
  /// the current server in favour of another one. If that's the case, create a new [WebSocketLink] instance.
  Future<void> dispose() async {
    await _socketClient?.dispose();
    _socketClient = null;
  }
}

and here is how I use it
  final _wsLink = WSLinkWithHeaders(
    wsUrl,
    headersHandler: () async {
      if (cookieJar != null) {
        final cookies = await cookieJar.loadForRequest(Uri.parse(baseUrl));

        final cookie =
            cookies.map((e) => '${e.name}=${e.value}').toList().join('; ');

        return {'Cookie': cookie};
      }

      return {};
    },
    config: SocketClientConfig(
      inactivityTimeout: Duration(seconds: 30),
      delayBetweenReconnectionAttempts: Duration(seconds: 1),
      autoReconnect: !baseUrl.contains('9002'),
    ),
  );

Same implementation used to work but I can't make it work with web_socket_channel/io.dart. any idea?


Update Facility_Location.ipynb

fixing spelling mistake, 'maintaince' to 'maintenance'
Hello! Please make sure to check all these boxes before submitting a Pull Request
(PR). Once you have checked the boxes, feel free to remove all text except the
justification in point 4.

[ ] You have run tests on this submission, either by using Travis Continuous Integration testing testing or running nosetests on your changes?
[ ] This pull introduces new functionality covered by
docstrings and
unittests?
[ ] You have assigned a
reviewer and added relevant labels
[ ] The justification for this PR is:

Pull Request Test Coverage Report for Build 1358

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 97.85%

Totals

Change from base Build 1336:
0.0%

Covered Lines:
1353

Relevant Lines:
1367

💛  - Coveralls

Pull Request Test Coverage Report for Build 1358

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 97.85%

Totals

Change from base Build 1336:
0.0%

Covered Lines:
1353

Relevant Lines:
1367

💛  - Coveralls


lib: Filter out include paths when looking for clang paths.

Fixes #848

r? @upsuper or @fitzgen

And again, all credit due to @upsuper for that amazing test-case :)

@bors-servo r=fitzgen

:pushpin: Commit 2c47721 has been approved by fitzgen

:hourglass: Testing commit 2c4772185b883a6f32f44e75b5efbc1022b307ab with merge c726cd2a6c8d3e0470857439c43d90cfe08111e2...

:broken_heart: Test failed - status-travis

@bors-servo r=fitzgen

:pushpin: Commit 05b1550 has been approved by fitzgen

:hourglass: Testing commit 05b1550f0450cea997dc5dff4083aa4b09d01aae with merge 0e39721b6c72b574026a0802792c4e95f0d83e68...

:sunny: Test successful - status-travis
Approved by: fitzgen
Pushing 0e39721b6c72b574026a0802792c4e95f0d83e68 to master...


glide~

takes arg in ms, linear or log

slope~ / lag~ / smooth~
env~

fade~

SLEW~ / GLIDE~ https://www.synthesizers.com/q105.html


HDDS-2816. Fix shell description for --start parameter of listing keys

What changes were proposed in this pull request?
Fix ozone shell description.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-2816
How was this patch tested?
Run on docker-compose.

Thanks @adoroszlai for review, I I fixed it now,
and my Apache Jira ID is flirmnave.

Thanks @flirmnave for the update.
Unit test error is not related, filed HDDS-3089 for it.
2020-02-27T05:28:36.6849915Z [ERROR] Crashed tests:
2020-02-27T05:28:36.6850376Z [ERROR] org.apache.hadoop.hdds.scm.node.TestSCMNodeManager


Added answer 1a, without make.

Make file line 27, missing extension, missing header file inclusion and unity.h inclusion in case of test.  Also not making use of os independent makefile code.


Install jq because it is useful to have as an essential tool

jq is a useful tool to have on all nodes because:

It is a useful companion for the dcos-cli tool
It is required by the dcos-postflight script from the dcos-docker project that you maybe want to run on your cloud instances during cluster deployment.

Our cloud images are maintained at https://github.com/dcos/dcos-images repo.


freifunk-common: bump version as of recent changes

the updates for olsr-0.9.5 compatibility should have changed the release-number

@bittorf as you did the commit of the code, you like to merge this too

IMHO the bump is not strictly needed (but OK), because the changes are not backward compatible. beside that: i have no rights for comitting this...


Merge master + libnetwork-release

This branch is a version of libnetwork-release with master merged in.

Can one of the admins verify this patch?

LGTM


Fixed deprecation warnings from v0.4-rc3

Cleans up all the deprecation issues in v0.4 to give a clean load.

@slundberg Thanks for this, but could you please rebase and force-push the branch again? I'd like to get a successful travis run before merging this.

Will do, thanks for adding travis. I'll sort out the 0.3 issues and then update this request.

Alright, sorry to submit a bad pull request initially! Everything passes now on both 0.3 and 0.4

Thanks!


Letter for Duluth, MN City Council

To:
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Dear Duluth City Council,
My name is [YOUR NAME] and I am a resident of Duluth, MN.
I am writing to you today to demand the council defund the Duluth Police Department. I stand in solidarity with protesters across the country who are out in the streets in response to the horrific murders of George Floyd, a Black man, by the Minneapolis police, and are appalled by the recent murders of Breonna Taylor, Ahmaud Arbery, Tony McDade and countless others.
People have been left without the resources they need. Jobs and livelihoods will take a long time to recover. And most of all, Black citizens of Duluth continue to live in a city that is currently upholding White Supremacy, enforced by guns of the DPD. I stand with the anti-racist movement in our city in saying that we will no longer accept empty gestures and suggestions of reform.
I call on the Duluth City Council to take the following actions:

Redirect funds divested from policing to provide educational opportunities for communities impacted by police violence.

Commit resources to support community-led alternatives to policing.

Propose plans for ensuring the safety of Black and other marginalized people in our community from racial profiling by police and other security forces with input from members of the marginalized communities themselves.

Issue statements condemning these recent murders.

Although the murder of George Floyd was the catalyst for these recent protests, it was not the sole cause. Black people have been subjected to centuries of state terror, and economic and social exclusion. The current protests reflect concerned members of society taking direct, collective action to demand an end to the abuse and violence directed against Black people. I am urging you, and the rest of the Duluth City Council, to adopt a budget that defunds the police and funds non-violent, community-led, health and safety strategies.
Your neighbor,
[YOUR NAME]
[YOUR ADDRESS]
[YOUR PHONE NUMBER]

On this one

Hi @gunnaraas ! Thanks for your interest in adding Duluth to the site. Can you provide more detail about the city budget (and your source) to make a more compelling argument, showing the disparities in numbers?
Please see our email style guide for some suggestions.
Thank you!

Hi,
I attached a letter that I wrote. Feel free to borrow language from it and add it to your own letter or not. You wrote a good letter. I will add the link to the Duluth 2020 Budget and post the numbers of the DPD budget and the city budget below too, so you don't have to go and find the numbers to add to the current letter.
https://duluthmn.gov/media/9899/2020-budget-book-online-version.pdf
The DPD Approved expenditure was around 24 million dollars, most of it is for salaries (I believe that to be about 14 Million Dollars). Another 7 million dollars is for benefits The last big expense is a little over a million dollars in "other expenses". It is about 26% of the general fund (ie approved expenditures), which totals $92,912,600 dollars. the main thing to harp on, in my opinion, is the lack of transparency in the budget. The budget doesn't illuminate the military style equipment they have, I believe most of it has been gifted to the DPD through a small christian non-profit funded by Twin Metals. Slate did an article on it 2 years ago (I believe).
Letter to Duluth MN City Council and Mayor.docx

@gunnaraas @OwlCat-Fox I attempted to edit the original message, adding in data provided by @OwlCat-Fox. If you'd like to add another bit about the military style equipment, feel free to write it up and comment below. Let me know what you think:

To:
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Dear Duluth City Council,
My name is [YOUR NAME] and I am a resident of Duluth, MN.
I am writing to you today to demand the council defund the Duluth Police Department. I stand in solidarity with protesters across the country who are out in the streets in response to the horrific murders of George Floyd, a Black man, by the Minneapolis police, and are appalled by the recent murders of Breonna Taylor, Ahmaud Arbery, Tony McDade and countless others.
People have been left without the resources they need. Jobs and livelihoods will take a long time to recover. And most of all, Black citizens of Duluth continue to live in a city that is currently upholding White Supremacy, enforced by guns of the DPD. I stand with the anti-racist movement in our city in saying that we will no longer accept empty gestures and suggestions of reform.
We must be aware that our low-income communities and communities of color are disproportionate targets of police violence. An audit conducted by BerryDunn in a 2019 report lays out the injustice in the Duluth Police Department. Yet little is revealed to the public about the progress of reformation. Justice will only be served when our vision of safety is based on community, equality, and justice. This will not be possible until we defund DPD.
According to the 2020 Budget Book, the DPD approved expenditure was around $24 million, paying for salaries, benefits, and "other expenses." This is about 26% of the $92.9 million general fund, more than Property, Parks, Libraries, and Public Works combined.
I call on the Duluth City Council to take the following actions:

Redirect funds divested from policing towards social programs and resources that support housing, jobs, education, health care, child care, and other critical community needs.
Commit resources to support community-led alternatives to policing.
Propose plans for ensuring the safety of Black and other marginalized people in our community from racial profiling by police and other security forces, with input from members of the marginalized communities themselves.
Issue statements condemning these recent murders.

Although the murder of George Floyd was the catalyst for these recent protests, it was not the sole cause. Black people have been subjected to centuries of state terror, and economic and social exclusion. The current protests reflect concerned members of society taking direct, collective action to demand an end to the abuse and violence directed against Black people. I am urging you, and the rest of the Duluth City Council, to adopt a budget that defunds the police and funds non-violent, community-led, health and safety strategies.
Your neighbor,
[YOUR NAME]
[YOUR ADDRESS]
[YOUR PHONE NUMBER]
Sources:
https://duluthmn.gov/media/9899/2020-budget-book-online-version.pdf
https://duluthmn.gov/media/9310/duluth-report-full-v21.pdf

@mahrer @gunnaraas Those edits look good to me. I would only change the WE in the first sentence of the third paragraph ("we must be aware that our low-income communities and communities of color are disproportionate targets of police violence") to a "You".
So, it would read "You must be aware that our low-income communities and communities of color are disproportionate targets of police violence."

Got it. Final version below:

To:
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Dear Duluth City Council,
My name is [YOUR NAME] and I am a resident of Duluth, MN.
I am writing to you today to demand the council defund the Duluth Police Department. I stand in solidarity with protesters across the country who are out in the streets in response to the horrific murders of George Floyd, a Black man, by the Minneapolis police, and are appalled by the recent murders of Breonna Taylor, Ahmaud Arbery, Tony McDade and countless others.
People have been left without the resources they need. Jobs and livelihoods will take a long time to recover. And most of all, Black citizens of Duluth continue to live in a city that is currently upholding White Supremacy, enforced by guns of the DPD. I stand with the anti-racist movement in our city in saying that we will no longer accept empty gestures and suggestions of reform.
You must be aware that our low-income communities and communities of color are disproportionate targets of police violence. An audit conducted by BerryDunn in a 2019 report lays out the injustice in the Duluth Police Department. Yet little is revealed to the public about the progress of reformation. Justice will only be served when our vision of safety is based on community, equality, and justice. This will not be possible until we defund DPD.
According to the 2020 Budget Book, the DPD approved expenditure was around $24 million, paying for salaries, benefits, and "other expenses." This is about 26% of the $92.9 million general fund, more than Property, Parks, Libraries, and Public Works combined.
I call on the Duluth City Council to take the following actions:

Redirect funds divested from policing towards social programs and resources that support housing, jobs, education, health care, child care, and other critical community needs.
Commit resources to support community-led alternatives to policing.
Propose plans for ensuring the safety of Black, Indigenous, and other marginalized people in our community from racial profiling by police and other security forces, with input from members of the marginalized communities themselves.
Issue statements condemning these recent murders.

Although the murder of George Floyd was the catalyst for these recent protests, it was not the sole cause. Black people have been subjected to centuries of state terror, and economic and social exclusion. The current protests reflect concerned members of society taking direct, collective action to demand an end to the abuse and violence directed against Black people. I am urging you, and the rest of the Duluth City Council, to adopt a budget that defunds the police and funds non-violent, community-led health and safety strategies.
Your neighbor,
[YOUR NAME]
[YOUR ADDRESS]
[YOUR PHONE NUMBER]
Sources:
https://duluthmn.gov/media/9899/2020-budget-book-online-version.pdf
https://duluthmn.gov/media/9310/duluth-report-full-v21.pdf


Tuturials are currently shown in French

If i go to https://docs.typo3.org/typo3cms/Tutorials/Index.html and click in the Getting Started Tutorial Link I will get the Tutorial in French:
https://docs.typo3.org/typo3cms/GettingStartedTutorial/Localization/fr_FR/Index.html#start
Can you change this to English?

Hi Olivier, note that this repo is about theme (=layout) issues, but nevertheless you reached the right person. I'm heavily working on migration to a new buildchain for documentation. It will fix that problem. Beginning of next week, I hope. The old cronjob renders French last and leaves those links for "interlinking" between manuals. So I guess I won't waste time on fixing the old tool. Have a nice T3DD!


install tomcat8 from Apache binaries for centos

Addresses issue #2
Integrates DigitLib's work into a single role that supports both Debian and CentOS. Installs Tomcat8 from source on CentOS machines.

vagrant up

I wonder if we should split up (maybe just with comments) the default/main.yml file, so its clear what variables are applied when using Cent and Ubuntu.
Right now we have variables like tomcat8_logfile_compress: 1 that only apply in Ubuntu installs.
Maybe just something like:
# ---- Ubuntu ----
# These variables are only used when installing on Ubuntu

# Java compiler to use for translating JavaServer Pages (JSPs). You can use all
# compilers that are accepted by Ant's build.compiler property.
tomcat8_jsp_compiler: javac

# Use the Java security manager? (yes/no, default: no)
tomcat8_tomcat8_security: "no"

# Number of days to keep logfiles in /var/log/tomcat8. Default is 14 days.
tomcat8_logfile_days: 14

# Whether to compress logfiles older than today's
tomcat8_logfile_compress: 1

# Location of the JVM temporary directory
# WARNING: This directory will be destroyed and recreated at every startup !
#tomcat8_jvm_tmp: /tmp/tomcat8-temp

# If you run Tomcat on port numbers that are all higher than 1023, then you
# do not need authbind.  It is used for binding Tomcat to lower port numbers.
# (yes/no, default: no)
tomcat8_authbind: no

@seth-shaw-unlv I'm getting this
failed: [default] (item=libapache2-mod-php7.0) => {"changed": false, "failed": true, "item": "libapache2-mod-php7.0", "msg": "No package matching 'libapache2-mod-php7.0' found available, installed or updated", "rc": 126, "results": ["No package matching 'libapache2-mod-php7.0' found available, installed or updated"]}
failed: [default] (item=php7.0-mysql) => {"changed": false, "failed": true, "item": "php7.0-mysql", "msg": "No package matching 'php7.0-mysql' found available, installed or updated", "rc": 126, "results": ["No package matching 'php7.0-mysql' found available, installed or updated"]}
failed: [default] (item=php7.0-pgsql) => {"changed": false, "failed": true, "item": "php7.0-pgsql", "msg": "No package matching 'php7.0-pgsql' found available, installed or updated", "rc": 126, "results": ["No package matching 'php7.0-pgsql' found available, installed or updated"]}

@whikloj Do you have the repo-remi PR applied to your test?

@seth-shaw-unlv yes I do, it is weird to me.
Maybe we need other of the remi-repos installed? This worked when I tested it.
But now
[vagrant@claw ~]$ sudo yum search libapache2-mod-php7.0
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: muug.ca
 * epel: muug.ca
 * extras: mirror.csclub.uwaterloo.ca
 * remi-safe: mirror.team-cymru.org
 * updates: centos.les.net
Warning: No matches found for: libapache2-mod-php7.0
No matches found

I don't think Centos uses libapache2-mod-php7.0 I think this is an Ubuntu thing. So maybe something in pulling this tomcat role overtop of claw-playbook master has messed something up?

Hmm... BTW, did you include crayfish in this build? The crayfish.yml in claw-playbook also calls geerlingguy.php and that might have caused the problem. Comment out this line and try again.

Hmmm I think this is due to overlapping, I seem to have the two new php-DISTRO.yml file but still have the original php.yml file too.

@seth-shaw-unlv @jonathangreen @dannylamb
So I couldn't figure out why you needed to set __tomcat8_home variables to set tomcat8_home? I thought ansible allowed you to override the variables by assigning them in the group_vars? But apparently Ansible says that if you include a role's vars then they are more important that the inventory/vagrant/group_vars?!
Am I correct?
I'm starting to see Ansible as a huge pain for all this tweaking to make 2 OSes work.

@whikloj yes you are correct, that is what we are doing with the variables and why.
As for Ansible, familiarity breeds contempt? 🤷♂
Not sure a better way to approach it really... I think there is a lot of value in having these configs to bring up boxes.

@jonathangreen yeah I guess, the decision for variable precendence where the actual inventory are at the low end of priority seems counter-intuitive. The defaults are low, but if you want to include vars (like separate ones for each OS) then suddenly you are unable to override those from your inventory.
Long whining story short. I guess we need to make a ticket to unset all the defaults in our roles and add a task to use the loaded vars file with the same __variable structure, if they aren't already set.

Actually, the way we have it now, the variables prefixed by an underscore are only set in the vars/* but our defaults and group_vars still work as expected (vars/* with underscored prefix is overridden by defaults which is overridden by group_vars). Adding the underscore prefixes to the defaults/main.yml and README was a mistake now corrected.

@seth-shaw-unlv can you rebase this to fix this conflict and I'll try it again and see if I can't start clearing out these Centos PRs

@whikloj Well, I think I did that right.

@seth-shaw-unlv this is good to merge, but can I get a follow-up PR on claw-playbook to fix this line.
We actually need to add a second variable as the defaults from ansible-role-fcrepo-syn no longer work. So we need
fcrepo_syn_default_public_key_path: "{{ tomcat8_home }}/conf/public.key"
fcrepo_syn_tomcat_home: "{{ tomcat8_home }}"

I'll fix up that role later to not need to overwrite two variables, but for now we do need that.
If you can add that PR, then I'll be good to merge them both.

@seth-shaw-unlv I'm going to merge this and tag it as 0.0.2 so if you could also add to your above claw-playbook PR to update the requirements.yml to need version 0.0.2 of this role.

tomcat8_home in /vars/RedHat.yml need to change to /var/lib/tomcat8 because of later roles which have defined that path.


Blank popup when nothing matched with search term

Fistly, thanks so much for sharing this great app.
If checked Avoid taking application focus and nothing matched search term, the popup window will be blank, shown as below:

Screen captured by LICEcap.

I can't reproduce the issue regardless of whether the focus is enabled or not. Maybe this is something specific to OS version? Which one do you use?

MacBook Air wiht Apple Silicon
macOS 13.4.1 (22F82)
Maccy 0.26.5(Universal)
Now (after rebooted last night), everything works like a charming.
Maybe it's only can be reproduced when a fresh installation?

It's a fresh macOS.
Never installed Maccy.
Install Maccy, then open it, first time need to allow some Accessibility permissions.
Then do the search test.

I'll close this issue.
Thanks again for this great app.

Still exists.

Can you please confirm you don't run 2 instances of Maccy at the same time? It acts and looks weird in general.

Only one instance.
Reproduced only once.

I think thiis is a very small bug and the priority is low.
Thanks.

Confirmed that there's only one instance is running.
Today I can only reproduce the blank window one time.
I think it's just a low priority bug.


UI Fixes

Fixes #131
Rather than using the CSS approach, I opted to modify the primary and accent colors of the app directly in the mkdocs.yml file.
Modifications:

Updated the primary color to blue.
Altered the accent color to teal.

Screenshots:

Nice. This is simple and beautiful. Love it! Thanks a bunch @its-me-abhishek !!!


Python is now 0.12.0

Current coverage is 91.23% (diff: 100%)

Merging #145 into master will not change coverage

@@             master       #145   diff @@
==========================================
  Files             3          3
  Lines           719        719
  Methods         150        150
  Messages          0          0
  Branches        116        116
==========================================
  Hits            656        656
  Misses           63         63
  Partials          0          0

Powered by Codecov. Last update 930a999...61423d1

(LGTM)


Changes required in ITS, GIC drivers and tests

Multiple changes being submitted, these are tested at a live project and verified locally in our setup as well.

Hello @naresh-madhusudana,
Can you please check the review comments and share your thoughts.
Thanks,
ACS team

Hi,
Sorry for the delay, please expect an update by week of September 15th.
Thanks,
Naresh

Hello @naresh-madhusudana,
Can you please update the PR as per review comments.
Thanks,
ACS team

I have addressed the comments and pushed the changes again. please check and let me know


Dead link

Link "Use Ansible to manage your Azure dynamic inventories" to https://github.com/MicrosoftDocs/azure-docs/blob/master/articles/ansible/ansible-manage-azure-dynamic-inventories is dead

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

ID: 4907f484-c7d8-8fac-7779-a21deb8c0ceb
Version Independent ID: 33548d97-b345-5aa4-0255-bacd85465d85
Content: Use Ansible to manage a Linux virtual machine in Azure
Content Source: articles/virtual-machines/linux/ansible-manage-linux-vm.md
Service: ansible
GitHub Login: @TomArcher
Microsoft Alias: tarcher

@Klaas- Thanks. I'll correct this in the article. The URL should be: http://docs.microsoft.com/azure/ansible/ansible-manage-azure-dynamic-inventories


service account certificate renewal -  token invalid error

Hi all
Urgent help:
I am getting invalid token error in the aws-iam-authenticator pods which - increasing the cpu core and restarting/crashing the pods
we started experiencing this issue after renewing the service account cert in the kube-master nodes
aws-iam-authenticate error
level=warning msg="access denied" client="<IP_ADDRESS>:40222" error="input token was not properly formatted: token is missing expected "k8s-aws-v1." prefix" method=POST path=/authenticate
Any help appreciated
I tried all the steps mentioned below
https://github.com/kubernetes/kubernetes/issues/72026
https://github.com/kelseyhightower/kubernetes-the-hard-way/issues/603
Nothing helped me

Getting the same issue in API server logs on EKS 1.22. I don't have access to master nodes due to the EKS nature, but it looks like AWS is having the same issues on the masters internally.
CloudWatch EKS API server logs:
time="2022-06-10T12:01:49Z" level=warning msg="access denied" client="<IP_ADDRESS>:43752" error="input token was not properly formatted: token is missing expected \"k8s-aws-v1.\" prefix" method=POST path=/authenticate
time="2022-06-10T12:01:59Z" level=warning msg="access denied" client="<IP_ADDRESS>:43752" error="input token was not properly formatted: token is missing expected \"k8s-aws-v1.\" prefix" method=POST path=/authenticate
time="2022-06-10T12:02:09Z" level=warning msg="access denied" client="<IP_ADDRESS>:43752" error="input token was not properly formatted: token is missing expected \"k8s-aws-v1.\" prefix" method=POST path=/authenticate
time="2022-06-10T12:02:19Z" level=warning msg="access denied" client="<IP_ADDRESS>:43752" error="input token was not properly formatted: token is missing expected \"k8s-aws-v1.\" prefix" method=POST path=/authenticate
time="2022-06-10T12:02:19Z" level=warning msg="access denied" client="<IP_ADDRESS>:43752" error="input token was not properly formatted: token is missing expected \"k8s-aws-v1.\" prefix" method=POST path=/authenticate
``

Did anyone solve this issue? I am facing this too.

@aleksmark I was able to solve this by editing the aws-auth config map. I added system:masters to role of EKS worker node. After removing system:masters these errors went away.

Sorry, @abhinavttyagi  I did not quite get that. The errors started when you added system:masters to role of EKS worker node and stopped when you undo that change and removed the system:masters group?
In our case, we don't have system:masters group configured for EKS worker node.
The cluster was running for months without these issues, then we had errors for two days, after that they were just gone and the authenticator started working normally again.

@aleksmark yes for us issue was that only.
Did you update some services during that time so that it started to work?

We haven't done anything to fix it, at least nothing on purpose :)
@nckturner can we reopen this, or I should create a new issue? Or maybe reach out to AWS support? (happened on EKS)

Our issue was something completely different and non-related to AWS authenticator.

@aleksmark facing the same issue, how did you resolve this?

what was the issue in your case @aleksmark


Tag-based management system

Stump currently supports tags for the 3 big entities, Media, Series, and Library, however there are no functional interfaces for managing them.

[ ] Tags can be created (by a server owner):

[ ] during the library creation process
[ ] on a dedicated section somewhere in settings?

[ ] Tags are created and assigned to media automatically if metadata contains tags (during scan)
[ ] Series can be assigned tags
[ ] Tags can be used to restrict access for users, via an excluded_tags field on User

If I may ask, is there a way to actually assign tags in the UI at the moment? I have ~50k PDFs, and if possible would love to add the tags to the filename (so that they will never be lost in the future). Would it be possible to have some sort of default format that stump understands and parses the tags from, e.g. The Best Book Ever [tag1 tag2 tag3].pdf (or whatever other delimiters seem fine and workable on all supported platforms).

is there a way to actually assign tags in the UI at the moment?

No, this is something that would likely be handled alongside https://github.com/stumpapp/stump/issues/258#issue-2113878498 since it fits nicely with other bulk operations IMO.
I'd be hesitant to add a custom format that, I generally like adopting more broadly used standards so people don't at any point get locked in. This also, on the surface, seems to immediately clash with another filename-based method for extracting metadata: https://github.com/stumpapp/stump/issues/500.
I'd be happy to use this issue as a means of discussing some options, though!

Unfortunately the amount of standardisation around PDF metadata is ... small :-/
I understand that one focus of Stump is comics / manga, which I do not have at all. My books fall into the following categories:

just "normal" books, I'd like to look for them by author and series. E.g. Fantasy, Scifi, Technical books, Self-Help, ...
papers, mostly just the title, authors and publication date is relevant here

I've looked into DDC and BISAC a bit, but don't think those will really help. I've been using a purely tag-based email client for years now, and I think that this would actually be a good way to organise all the books: extract all the metadata from the file, and also have some way to add tags. I can rename the files (or write tags into the metadata), Stump picks it up, and I can then look for books that way.
I'm not sure whether this is really a good idea, but maybe even a hierarchy of tags would be useful, so everything tagged compilers or proglang would also show up under computers.
I'm not sure whether support for languages is already in, but I have a lot of grammars that are written in one language but deal with another one, it would be great if there were some way to capture this information (maybe tags are the best option here too)...
Sorry for the rambling, unfortunately I don't have a perfect solution to suggest, but I really believe that a good way to tag my books would help deal with the large amount.

https://github.com/novoid/filetags for example takes anything after -- in a filename as a space separated list of tags. so My favourite book -- favourite lang-en.pdf would have the two tags favourite and lang-en.
Would it be possible to have an optional plugin to read the tags from the filename, so that users can load or not load that plugin? (I'd gladly try to write that plugin, if this is something that can be done).

I understand that one focus of Stump is comics / manga, which I do not have at all. My books fall into the following categories

I don't read manga, either 🙂 I'd estimate my own usage is 60% ebooks and 40% comics, granted I avoid PDF files so I don't have the same metadata issues.

I've been using a purely tag-based email client for years now, and I think that this would actually be a good way to organise all the books

I think a modality for exploring books purely based on tags is valuable, for sure. There isn't an issue open for this kind of feature, at the moment

...extract all the metadata from the file, and also have some way to add tags

These are both within the domain of this issue, for sure

I'm not sure whether this is really a good idea, but maybe even a hierarchy of tags would be useful, so everything tagged compilers or proglang would also show up under computers

I think this would be a really neat feature, but depending on the approach implementation might be tricky. I think some kind of programmatic "reaction" or trigger would be easiest, e.g. register relations and if a book has one it auto-adds another. If it was query-based, it greatly increases query complexity. I like this though! Just something I'd need to sit on and give a think
For the languages question, I think tags are honestly the best approach. That or adding additional metadata for the language.

Sorry for the rambling, unfortunately I don't have a perfect solution to suggest, but I really believe that a good way to tag my books would help deal with the large amount

Forgot to respond in my last message, but literally no worries! I enjoy rambling, I don't have all the answers either

Would it be possible to have an optional plugin to read the tags from the filename

That's tricky to answer! There isn't really a plugin system at the moment, and I'm not sure how it would be best to approach implementing one. There are two related plugin issues I can recall:

https://github.com/stumpapp/stump/issues/371
https://github.com/stumpapp/stump/issues/510

For 510, I suggested a custom service using the SDK. This works in that instance, but I imagine you'd want more of a post-scan script or something instead of a long-running process.
Plugins are cool, though! I'd be happy to help further thinking through some system where they are possible. It could even just be literal commands registered to run after a scan, maybe.

I think one of the most versatile ways to do this is to call a script (or executable) with the full path of the file, and have it output yaml / json / xml / some other structured format. you read this output and merge it into the internal data structures. This way, you still get to decide what to actually use, but the external program can be written in any language and do whatever it wants to get the data.

as an example, this would allow someone to add ISBNs to the filename, then the plugin could download the metadata from various internet sources


[stable/minio] Add S3 gateway support

Signed-off-by: Alex Wied<EMAIL_ADDRESS>@wlan0 @nitisht
What this PR does / why we need it:
This PR adds support for configuring minio to act as an S3 gateway.
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md

/assign @nitisht

/lgtm


please help me

your site is simply too good. im finding it impossible to look away from this site. please make it less mesmerizing and please somehow kick me off from your site i havent eaten for days because ive been looking at this site so much. im typing this message with voice dictation

Thank you for pointing this out. I will try adding seizure-inducing effects and potential heart attacks.


Adds "Add Orders to Packet" section

Adds new section explaining new route to add orders to existing packets.
Only to deployed once corresponding PR is deployed.

.deploy staging


2.x.x - Shutdown hangs forever if there are stalled TLS connections

Commit: 2.0-rc.1
Environment: macOS (issue happens for both BSD sockets and Transport Services)
Issue: Graceful shutdown never completes if the server is using TLS and a connection is still open.
The following code demonstrates the issue by doing the following:

Starts a HTTP server
After one second, connects a socket (without sending any data)
After another two seconds, triggers graceful shutdown

import Foundation
import Hummingbird
import ServiceLifecycle
import HummingbirdTLS
import NIOSSL

@main
struct HummingbirdShutdownTesterApp {

    static let hostname = "<IP_ADDRESS>"
    static let port = 8080

    static func main() async throws {

        // use any identity for testing; in this example,`server.p12` from Hummingbird's testing assets is being used
        guard let p12Path = Bundle.main.path(forResource: "server", ofType: "p12") else {
            print("Failed to find certificate")
            exit(1)
        }

        let p12Passphrase = "HBTests"
        let p12Bundle = try NIOSSLPKCS12Bundle(file: p12Path, passphrase: p12Passphrase.utf8)

        var tlsConfiguration = TLSConfiguration.makeServerConfiguration(
            certificateChain: p12Bundle.certificateChain.map({ .certificate($0) }),
            privateKey: .privateKey(p12Bundle.privateKey)
        )

        var app = Application(
            router: Router(),
            server: try .tls(tlsConfiguration: tlsConfiguration),
            configuration: .init(address: .hostname(hostname, port: port))
        )

        app.logger.logLevel = .trace

        var serviceGroup: ServiceGroup?

        Task {
            // trigger shutdown after the specified number of seconds
            try await Task.sleep(for: .seconds(3), tolerance: .seconds(1))
            await serviceGroup?.triggerGracefulShutdown()
        }

        Task {
            // wait one second for the server to start
            try await Task.sleep(for: .seconds(1), tolerance: .seconds(1))
            // connect a single socket and keep it open
            openSocket()
        }

        serviceGroup = ServiceGroup(services: [app], logger: app.logger)
        try await serviceGroup?.run()
    }

    static func openSocket() {

        let socketDescriptor = socket(AF_INET, SOCK_STREAM, IPPROTO_IP)
        guard socketDescriptor != -1 else {
            print("Failed to create socket")
            return
        }

        var serverAddress = sockaddr_in()
        serverAddress.sin_family = sa_family_t(AF_INET)
        serverAddress.sin_port = in_port_t(port).bigEndian
        serverAddress.sin_addr.s_addr = inet_addr(hostname)

        let connectResult = withUnsafePointer(to: &serverAddress) {
            $0.withMemoryRebound(to: sockaddr.self, capacity: 1) {
                connect(socketDescriptor, $0, socklen_t(MemoryLayout<sockaddr_in>.size))
            }
        }

        guard connectResult != -1 else {
            print("Socket failed to connect (server not running or sandbox restriction?)")
            return
        }

        print("Connected socket with descriptor \(socketDescriptor); server shutdown will now hang")
    }
}

The problem originates here:
https://github.com/hummingbird-project/hummingbird/blob/d29b0de9a2f83d9ac76d5062372da16ccf545613/Sources/HummingbirdCore/Server/HTTP/HTTPChannelHandler.swift#L99-L105
When closing the channel with mode .input, the function doShutdown() is never called on the NIOSSL.SSLConnection.
Setting mode to .all fixes this.
The same may apply to onCancel.
I still find SwiftNIO fairly confusing, so I'm not sure if that's a suitable fix. ;)

Can I ask you to try two different things, separately and together

When you create your Application add an additional channel handler

let app = Application(
    router: router,
    server: http1(additionalChannelHandlers: [IdleStateHandler(readTimeout: .seconds(15))])
)

Can you try using the quiescing-helper branch of Hummingbird and see if that helps with the shutdown

Adding the IdleStateHelper like in the following snippet (to still use TLS) didn't help:

var app = Application(
    router: Router(),
    server: try .tls(.http1(additionalChannelHandlers: [IdleStateHandler(readTimeout: .seconds(15))]), tlsConfiguration: tlsConfiguration),
    configuration: .init(address: .hostname(hostname, port: port))
)

2. Using the quiescing-helper branch worked and the app shut down properly.
Using both changes, the app also shut down properly.


Pre wf fixes

Fixing a whole bunch of things that were either preventing ansible from running or were doing the wrong thing.
Aside from syntax errors and the like, the notable changes were:

Stop installing/configuring ntp (because I'm pretty sure we use systemd-timesyncd now)
Refactor some for the apache configuration stuff to avoid a2enmod/a2ensite and just set the symlinks directly

@troy2914 I fixed up the logrotate config and made sure apport is not present. Can we ship this as-is and sort out NTP on site next week?


Allow negative numbers

Includes basic test
I'm happy to write more tests and tweak the implementation too.

@ianmcnally Something like this?

Awesome work. Thanks @Hillshum!

Released in 2.2.0


Code editor: crash when trying to auto-complete code with mouse click then Enter/Tab

Godot version
v4.0.beta.custom_build [9de0c73e4]
System information
Linux Ubuntu 20.04 with Unity desktop
Issue description
The editor craches when you try to auto-complete a string by clicking on the auto-complete popup, then press Enter/Tab.
More exactly, clicking on the auto-complete popup will not apply auto-completion as expected, but extend the selection to the next line (you may need to hold the mouse a bit). You can repeat this a certain number of times (undetermined) until the popup closes. If however, the popup is still open at this point (you may need to hold the last click) and you press Enter/Tab to fill with the selected autocompletion, the editor may crash.
Debugging shows that we are in fact trying to access the original line selection with a bad index, due to index being incorrectly offset when the selection is extended.
Crash location
	_FORCE_INLINE_ const T &get(int p_index) const {
		CRASH_BAD_INDEX(p_index, size());  // HERE

		return _ptr[p_index];
	}

Crash log output

ERROR: Index p_to_column = 22 is out of bounds (text[p_to_line].length() + 1 = 18).
at: _base_get_text (scene/gui/text_edit.cpp:7673)
ERROR: Index p_to_column = 22 is out of bounds (text[p_to_line].length() + 1 = 18).
at: _base_remove_text (scene/gui/text_edit.cpp:7696)
ERROR: FATAL: Index p_index = 29 is out of bounds (size() = 18).
at: get (./core/templates/cowdata.h:155)

Crash callstack
CowData<char32_t>::get(int) const (/home/leyn/Developer/Godot/godot-repo/core/templates/cowdata.h:155)
String::operator[](int) const (/home/leyn/Developer/Godot/godot-repo/core/string/ustring.h:224)
CodeEdit::confirm_code_completion(bool) (/home/leyn/Developer/Godot/godot-repo/scene/gui/code_edit.cpp:2033)
CodeEdit::gui_input(Ref<InputEvent> const&) (/home/leyn/Developer/Godot/godot-repo/scene/gui/code_edit.cpp:506)
Control::_call_gui_input(Ref<InputEvent> const&) (/home/leyn/Developer/Godot/godot-repo/scene/gui/control.cpp:1748)
Viewport::_gui_input_event(Ref<InputEvent>) (/home/leyn/Developer/Godot/godot-repo/scene/main/viewport.cpp:1987)
Viewport::push_input(Ref<InputEvent> const&, bool) (/home/leyn/Developer/Godot/godot-repo/scene/main/viewport.cpp:2781)
Window::_window_input(Ref<InputEvent> const&) (/home/leyn/Developer/Godot/godot-repo/scene/main/window.cpp:1347)
void call_with_variant_args_helper<Window, Ref<InputEvent> const&, 0ul>(Window*, void (Window::*)(Ref<InputEvent> const&), Variant const**, Callable::CallError&, IndexSequence<0ul>) (/home/leyn/Developer/Godot/godot-repo/core/variant/binder_common.h:293)
void call_with_variant_args<Window, Ref<InputEvent> const&>(Window*, void (Window::*)(Ref<InputEvent> const&), Variant const**, int, Callable::CallError&) (/home/leyn/Developer/Godot/godot-repo/core/variant/binder_common.h:407)
CallableCustomMethodPointer<Window, Ref<InputEvent> const&>::call(Variant const**, int, Variant&, Callable::CallError&) const (/home/leyn/Developer/Godot/godot-repo/core/object/callable_method_pointer.h:104)
Callable::callp(Variant const**, int, Variant&, Callable::CallError&) const (/home/leyn/Developer/Godot/godot-repo/core/variant/callable.cpp:50)
DisplayServerX11::_dispatch_input_event(Ref<InputEvent> const&) (/home/leyn/Developer/Godot/godot-repo/platform/linuxbsd/x11/display_server_x11.cpp:3478)
DisplayServerX11::_dispatch_input_events(Ref<InputEvent> const&) (/home/leyn/Developer/Godot/godot-repo/platform/linuxbsd/x11/display_server_x11.cpp:3449)
Input::_parse_input_event_impl(Ref<InputEvent> const&, bool) (/home/leyn/Developer/Godot/godot-repo/core/input/input.cpp:685)
Input::flush_buffered_events() (/home/leyn/Developer/Godot/godot-repo/core/input/input.cpp:909)
DisplayServerX11::process_events() (/home/leyn/Developer/Godot/godot-repo/platform/linuxbsd/x11/display_server_x11.cpp:4532)
OS_LinuxBSD::run() (/home/leyn/Developer/Godot/godot-repo/platform/linuxbsd/os_linuxbsd.cpp:874)
main (/home/leyn/Developer/Godot/godot-repo/platform/linuxbsd/godot_linuxbsd.cpp:73)

Demo gif
With simple click or minimal drag (doesn't always work):

With long drag, but make sure to press Enter/Tab while dragging:

(when you see the code editor, it means Godot crashed, more exactly it hit the CRASH_BAD_INDEX breakpoint in debug, but if not debugging it would just close)
Steps to reproduce

Start typing some method name
Ctrl+Space to show auto-complete popup
Click on the auto-complete suggestion => instead of applying auto-completion, the selection is extended to the line below. If the popup closes, drag the mouse a little to the left to make sure you extend selection to the next line. In this case, I recommend keeping dragging (mouse button held) to make sure the popup remains open.
Press Enter or Tab to apply the auto-completion (while popup is still open) => no auto-completion, the editor crashes instead

Minimal reproduction project
N/A

This is related to https://github.com/godotengine/godot/issues/63726.
The crash is new, and it happens because code completion doesn't expect a bunch of lines to disappear in the process (which is fair). This can be patched somewhat to avoid the crash, but it shouldn't happen in the first place, code completion should not remove any lines in the process, because you should not be able to do mouse selection in the process.
From my testing, the PR linked to the aforementioned issue, https://github.com/godotengine/godot/pull/63876, does address some of the conditions, but not all of them. I no longer get random selection while the cursor stays within the completion box. But I can still start dragging from inside of it and over to the code area, and reach the same state as reported before. And then pressing Enter like you suggest crashes again.


Wrong text for assertEquals

Closes #1935
Fixes #1935  #1921 .
Did you remember to?

[X] Add test case(s)
[X] Update CHANGES.txt

We encourage pull requests that:

Add new features to TestNG (or)
Fix bugs in TestNG

If your pull request involves fixing SonarQube issues then we would suggest that you please discuss this with the
TestNG-dev before you spend time working on it.

Merged this changes since @juherr has helped approve the changes

When can we expect this to be fixed in a release? Version 7.0.0-beta3 seems to have the problem.

@HelgeStenstrom It should be fixed since 7.0.0-beta2
Could you open a new issue with a sample?

My pom.xml:
        <!-- https://mvnrepository.com/artifact/org.testng/testng -->
        <dependency>
            <groupId>org.testng</groupId>
            <artifactId>testng</artifactId>
            <version>7.0.0-beta3</version>
            <scope>test</scope>
        </dependency>

My test file:
import org.testng.annotations.Test;

import static org.testng.Assert.assertTrue;

public class testTestNg {
    @Test
    public void showFail() {
        assertTrue(false, "MyMessage");
    }

    @Test(expectedExceptions = AssertionError.class, expectedExceptionsMessageRegExp = "MyMessage did not expect to find \\[true\\] but found \\[false\\]")
    public void version7Behavior() {
        assertTrue(false, "MyMessage");
    }

    @Test(expectedExceptions = AssertionError.class, expectedExceptionsMessageRegExp = "MyMessage expected \\[true\\] but found \\[false\\]")
    public void version6Behavior() {
        assertTrue(false, "MyMessage");
    }
}

I the test "showFail", I get:
java.lang.AssertionError: MyMessage did not expect to find [true] but found [false]
which is bad language. Isn't that exactly what this issue is about?


Add international Freephone Service Support

A customer was trying to use an international freephone number for their support number, but phony did not validated this phone number. I looked up the rules, fortunately the ITU has a nice document describing the number format: https://www.itu.int/en/ITU-T/inr/unum/Pages/uifn.aspx#format
And it ends up being real simple ... +800 "country" code + 8 local digits, so we can split this easily.
If any more tests are needed, let me know and I will add this.

@klaustopher Thanks so much! 👏🏼 An important addition (perhaps gone under the radar for so long because of country-specific "800" numbers). Released in 2.19.5 🚀


Bugfix/api

Enable use of Ghost API v2 in order to fix {{#get}} and other helpers
Update deprecations
Update package.json to account for vulnerabilities found in NPM

P.S. I'm a fan of your theme and am using a modified version of it for my blog. Thanks for the open source!

Really sorry to have you waited for so long, but I couldn't find any time for this until now. PR looks fine, thanks a lot!


feat(webSocketSubject): adding support for closing the socket using a…

Adding support for closing internal socket with custom error code and message:
import { webSocket } from "rxjs/webSocket";

const webSocketSubjectConfig = {
    closeObserver: {
        next(closeEvent) {
            // Printing custom error and code
            console.log(closeEvent);
        }
    }
};

const wsSubject = webSocket(webSocketSubjectConfig);
wsSubject.close(3000, "custom evil reason!");

Motivation
Currently we have no way to close the inner socket with a custom error or message that provides to our users a better understanding about what could be possible went wrong with the connection.
Issue related #4087

Hmm... interesting. It makes me wonder if it would be better to have the subject accept actions. like
webSocket.next(new CloseAction(code, reason));

Pros:

It would be a better "reactive" flow, because you could compose it.
It's a non-breaking change, because internally we could do an instanceof check (or a symbol check or something for node's multiple copies of the same package problems, I guess).
It doesn't involve adding a new method that people would have to know about.

Turns out this isn't necessary, although we clearly need to update the documentation.  });


Bug when trying to change percentage of a block

I have a mine and a block set up to be 70% of the mine, but I want to add another block to be a majority along side that, when I try to change the percentaje from 70% to 40% it doesnt let me, and when I try to cancel, it doesnt let me

Server is running purpur 1.19.2 with java 18, real mines version is 1.0

What are you putting in the chat?

What are you putting in the chat?

I tried putting 40, then it said that I needed to put between 0 and 1 and wanted to cancel the edit, but didnt let me cancel

What if you put 0.4?

Tried with 0.6 just to test and didnt worked, still same issue when tried to ''cancel'' the action..

Did you perform a server restart? That behaviour seems strange

Did you perform a server restart? That behaviour seems strange

Same issue after a restart, turned off and turned on the whole server

Try the new version


Write some tests for failure modes

We don't report some failures well.
helm repo add failing is one I noticed.
Write a test suite for these

Done via various commits


Collect all mocks created in a test?

Adding this to every test class is tedious and error-prone:
@AfterTest
fun verify() {
	verifyNoUnverifiedExpectations(dep1)
	verifyNoUnverifiedExpectations(dep2)
	verifyNoUnverifiedExpectations(dep3)
	verifyNoUnmetExpectations(dep1)
	verifyNoUnmetExpectations(dep2)
	verifyNoUnmetExpectations(dep3)
}

Is there a way to get mocks?
i.e.
@AfterTest
fun verify() {
	mocks().forEach { // runs for dep1, dep2, dep3
		verifyNoUnverifiedExpectations(it)
		verifyNoUnmetExpectations(it)
	}
}

This would enable nice abstractions and helper methods to reduce boilerplate.
(Might require a Mocker stateholder similar to MocKMP. I chose your library because MocKMP is full of workarounds hacks and weird APIs.)

Hi @TWiStErRob
Sorry for my hiatus from the project. I like this suggestion, and I believe we could generate code to do something like this instead:
@AfterTest
fun verify() {
    verifyMockative(this)
}

I'll have a look as to whether we can generate a function for every test class, which would access the test properties and verify them.

Try to separate/enable the two different verifyNo classes in the API as they're significantly different functionality.


Live Histogram

Need a new feature that produces a live histogram of the amplitude of triggered events

Done with commit 5c7502e.


Occasional crash on NVS operations (IDFGH-3464)

Environment

Development Kit:      none
Module or chip used: ESP32-WROVER-B
IDF version: v4.2-dev-1660-g7d7521367
Build System:      idf.py (ninja)
Compiler version: (crosstool-NG esp-2020r1) 8.2.0
Operating System: Linux
Using an IDE?: No
Power Supply:       external

Problem Description
Occasionally when performing NVS operations (read or write), the ESP32 panics with the following message:
Guru Meditation Error: Core  1 panic'ed (Cache disabled but cached memory region accessed)

Setting breakpoint at 0x40089db5 and returning...
0x40089db5: spi_flash_op_block_func at /dev/esp-idf/components/spi_flash/cache_utils.c:103 (discriminator 1)

This happens every ~10 NVS operations in my application.
From the stack trace, it looks like some WiFi ISR is causing the crash. I have disabled WiFi IRAM optimizations (both CONFIG_ESP32_WIFI_IRAM_OPT and CONFIG_ESP32_WIFI_RX_IRAM_OPT) to avoid overflowing the iram segment. Could this be related?
Debug Logs
Stack trace of crashing NVS operation:
#0  0x4009865d in spi_flash_hal_poll_cmd_done (host=0x3ffbf0f8 <esp_flash_default_host_drv>)
    at /dev/esp-idf/components/soc/src/esp32/include/hal/spi_flash_ll.h:86
#1  0x400983f8 in spi_flash_hal_read (host=<optimized out>, buffer=0x3ffef7f0, address=<optimized out>, read_len=32)
    at /dev/esp-idf/components/soc/src/hal/spi_flash_hal_common.inc:121
#2  0x40098ed6 in spi_flash_chip_generic_read (chip=0x3ffbf0dc <default_chip>, buffer=<optimized out>, address=42336,
    length=<optimized out>) at /dev/esp-idf/components/spi_flash/spi_flash_chip_generic.c:155
#3  0x4008ab8a in esp_flash_read (chip=0x3ffbf0dc <default_chip>, buffer=0x3ffef7f0, address=42336, length=32)
    at /dev/esp-idf/components/spi_flash/esp_flash_api.c:555
#4  0x4008ace4 in spi_flash_read (src=42336, dstv=0x3ffef7f0, size=32)
    at /dev/esp-idf/components/spi_flash/esp_flash_api.c:760
#5  0x40124a80 in nvs::nvs_flash_read (srcAddr=42336, destAddr=0x3ffef7f0, size=32)
    at /dev/esp-idf/components/nvs_flash/src/nvs_ops.cpp:76
#6  0x401235d8 in nvs::Page::readEntry (this=0x3ffbd79c, index=<optimized out>, dst=...)
    at /dev/esp-idf/components/nvs_flash/src/nvs_page.hpp:206
#7  0x40123932 in nvs::Page::findItem (this=<optimized out>, nsIndex=6 '\006', datatype=-1, key=0x3ffef890 "item.b8",
    itemIndex=@0x3ffef810: 0, item=..., chunkIdx=chunkIdx@entry=255 '\377', chunkStart=chunkStart@entry=-1)
    at /dev/esp-idf/components/nvs_flash/src/nvs_page.cpp:835
#8  0x401228f5 in nvs::Storage::findItem (chunkStart=-1, chunkIdx=255 '\377', item=..., page=<synthetic pointer>: <optimized out>,
    key=0x3ffef890 "item.b8", datatype=-1, nsIndex=6 '\006', this=0x3ffbd6cc)
    at /dev/esp-idf/components/nvs_flash/src/nvs_storage.cpp:154
#9  nvs::Storage::eraseItem (this=0x3ffbd6cc, nsIndex=6 '\006', datatype=<optimized out>, key=0x3ffef890 "item.b8")
    at /dev/esp-idf/components/nvs_flash/src/nvs_storage.cpp:604
#10 0x401249ee in nvs::Storage::eraseItem (key=0x3ffef890 "item.b8", nsIndex=<optimized out>, this=<optimized out>)
    at /dev/esp-idf/components/nvs_flash/src/nvs_storage.hpp:96
#11 nvs::NVSHandleSimple::erase_item (this=<optimized out>, key=0x3ffef890 "item.b8")
    at /dev/esp-idf/components/nvs_flash/src/nvs_handle_simple.cpp:81
#12 0x40121325 in nvs_erase_key (c_handle=<optimized out>, key=0x3ffef890 "item.b8")
    at /dev/esp-idf/components/nvs_flash/src/nvs_api.cpp:277

Stack trace of the crashing ISR:
#0  panic_handler (frame=<optimized out>, pseudo_excause=true)
    at /dev/esp-idf/components/esp_system/port/panic_handler.c:495
#1  0x400925c0 in panicHandler (frame=0x3ffbe2c0)
    at /dev/esp-idf/components/esp_system/port/panic_handler.c:546
#2  0x400814dd in xt_highint4 ()
    at /dev/esp-idf/components/esp_system/port/esp32/dport_panic_highint_hdl.S:117
#3  0x40040025 in ?? ()
#4  0x4008b8b9 in lmacProcessRxSucData ()
#5  0x40084168 in _xt_lowint1 () at /dev/esp-idf/components/freertos/xtensa/xtensa_vectors.S:1105

More info from the panic frame:
(gdb) p/x *frame
$23 = {exit = 0xb33fffff, pc = 0x4008b8b9, ps = 0x60034, a0 = 0x8008beb2, a1 = 0x3ffbe380, a2 = 0x3ffc34c8, a3 = 0x3ffbf21c,
  a4 = 0x80089f4a, a5 = 0x3ffef640, a6 = 0xfffffff7, a7 = 0x3ffc334c, a8 = 0xad, a9 = 0x3ffbe360, a10 = 0x3ffc29fc,
  a11 = 0x3ffc2a04, a12 = 0x3ffc29fc, a13 = 0x60021, a14 = 0xfe, a15 = 0x1, sar = 0x1c, exccause = 0x7, excvaddr = 0x0,
  lbeg = 0x4008e778, lend = 0x4008e794, lcount = 0x0, tmp0 = 0x3ffc29fc, tmp1 = 0x60021, tmp2 = 0x4008149c}

(gdb) x/i frame->pc
   0x4008b8b9 <lmacProcessRxSucData+9>: beqz.n  a8, 0x4008b8dd <lmacProcessRxSucData+45>

Hi @itayperl, the issue you're seeing sounds similar to what I'm seeing in #5354. In the minimal test case to reproduce it, it doesn't actually generate a useful panic trace, but when I've seen it crash sporadically in my actual application, I've seen similar traces where there is an SPI flash operation concurrent with lmacProcessRxSucData(), just like your trace.
Can you confirm whether you've also set CONFIG_SPIRAM_ALLOW_BSS_SEG_EXTERNAL_MEMORY vs if you have some other configuration that can also trigger this kind of error?

This issue should have been fixed by: 2c599137, please help to check it.

@liuzfesp
I cannot find commit 2c599137 from current master tree (v4.2-dev-1660-g7d75213674b4).

Thanks for reporting, feel free to reopen if the issue still happens. Thanks.


ForceClosing bug fixes

Thanks for submitting a pull request!
Please confirm you have linted your code and fixed any issues:

[x] I ran yarn run fix on my PR and fixed any formatting issues

Please provide information on what your PR achieves and any issues that it addresses:
ForceClosing callback was double fired. Fixed.

For example, onForceCloseToRight callback was fired twice on force-close

Force-closing row wasn't manually closing the row all the way down to 0. Fixed.

For example, when the row was force-closed manually, it stayed open stopped at the leftOpenValue or rightOpenValue depends on the direction. Now fully closes as usual.

Sweet @sungsong88, thanks for fixing this!


{“error”:“FOREIGN KEY constraint failed”} when trying to delete an Application

Application.Identities needs constraint:OnDelete:CASCADE
We should review all of the models.

Fixed by #62


Support Scala as target language

I would like to create an Example.scala.scala template for generating Scala code with Twirl. Right now, anything that isn't a supported format is excluded from the plugin. Why is this? Couldn't this project theoretically support any filetype?
My current workaround is to use .txt and then dump it to a .scala file.

Would this solve your problem?  I believe it's extensible.
https://www.playframework.com/documentation/2.5.x/ScalaCustomTemplateFormat

Yup. I was able to get this working pretty easily by just creating a ScalaFormat object and adding it to the TwirlKeys.templateFormats. Thanks!


Provide an example folder with different config.json examples

Provide example homebridge configurations for the various uses of this plugin.

Hi @grover
Yes. It would be great if you can provide an example folder with different config.json cause I'd like to implement more than only the play/pause feature like, "Now Playing" for example.
Thanks alot.

Available now in examples along with updated documentation.


Improve usability of performance testing framework

Here are several issues we can improve for better readability of benchmark results.

[x] Show the cypher query directly for the website.
[x] Show PR number of commit message or link to the commit/pr so it is easier to trace back to what happened.
[x] Report database binary size.
[x] Summarized diff report in CI to show the performance difference compared to latest master if there are noticeable changes.

More functionalities:

[x] multiple datasets. we will add more datasets to benchmark runs, and currently we don't have a good way to show results based on different datasets as I understand. Will need to add a category for datasets too later.

Another good feature to add is generating flamegraph for specific queries. This can be triggered manually when needed. Right now, it is non-trivial to get the flamegraph manually on server, as it requires manual efforts to run the script and scp files around.

The basic ones are done. For flame graph we can add when we enter the next performance improvement stage. I'm closing this issue for now.


16S short: update workflows

couple more workflow fixes

if you have histories where you've run these, then we can extract workflow tests (but let's save that for next week)


Fixed an issue where Retrieve calls for a specific would fail, because the request was not being referenced

There is a small typo where the request is not being used an error is being throw from JavaScript strict mode (paritionKey is not defined)

Hi David, thanks for your contribution!
I'm just working through a couple of things, and will then be updating the project accordingly.
Please give me a couple days to get everything straight.

This has already been merged. :)


Apple and Orange.cpp

@adityabisoi , This is the c++ solution for Apple and Orange problem. (https://www.hackerrank.com/challenges/apple-and-orange/copy-from/145525722)

Add comments and Apple and Orange/solution.cpp


Php GAPIC: Container v1

This pull request was generated by artman. Please review it thoroughly before merging.

cc @ethanbao


Consider 'standard' for code formatting

I'm not sure your thoughts on this but it might be worth implementing standard or something similar for code formatting.
Happy to submit a PR if you're interested.

It was already proposed #14, but I would be happy with a formatting validation on that github action that you've created according to a rubocop.yml like this https://github.com/basecamp/console1984/blob/master/.rubocop.yml

I would like to have a validation step for code formatting and breakman on the generated applications (GitHub actions).

Now we use the configuration of the rubocop rails...


Semicolon not allowed as terminator for normal pattern without action

Hi, I've studied the Posix awk spec (same as linked in the readme) because I noticed a parsing difference between awk and gawk. This lead me to test other implementations as well, and I noticed a bug in GoAWK's parsing.
GoAWK fails to accept semicolon as the terminator for a normal pattern without action, this is allowed by the Posix grammar and also accepted by other major awk implementations.
Example of a failing program:
normal_pattern ; item

The program should work the same way it does when the two items are on separate lines, but instead it gives the following parse error:
<cmdline>:1:16: expected , instead of ;
normal_pattern ; item
               ^

I've implemented a possible fix for this and could submit a PR if you wish.

The relevant parts of the Posix grammar
program          : item_list
                 | item_list item
                 ;

item_list        : /* empty */
                 | item_list item terminator
                 ;

item             : action
                 | pattern action
                 | normal_pattern
                 | ...
                 ;

terminator       : terminator NEWLINE
                 |            ';'
                 |            NEWLINE
                 ;

And the original difference that got me here with some pondering about the posix spec...
First I noticed that awk accepts the following code, but gawk (and mawk) produces a syntax error at function:
normal_pattern function name() {}

From this, I deduced that awk does not require the terminator between items at any point, but I wanted to see what would be correct according to Posix.
After reading the spec, however, it seems to me that a terminator is required between any two items.
But all major implementations seem to treat the terminator as optional when the previous item ends with a closing brace. In my opinion this is a bug in either my reading comprehension or in the Posix spec, and the status quo of the implementations is the way to go.
The only possibly applicable exception mentioned in the text (that I could find) was about function definitions, not actions in general:

In the function definition,  characters shall be optional before the opening brace and after the closing brace.

Thanks for the report. I didn't know you could separate/terminate patterns with semicolon. A PR would be helpful (please include a test in the big interp/interp_test.go table).

Thanks again -- your fix is merged.


Incorrect presentation of backticked code in parsing.hpp

Hello. Thanks for sharing the tool with the community. Looks very promising.
There's an issue with the presentation of the escapee member variable. It looks like this:

Attempt to move a member out of its class with but should remain inClassWithMembers`.

But the expected presentation is

Attempt to move a member out of its class with @ingroup, but should remain in ClassWithMembers.

according to the sources:
https://github.com/lawmurray/doxide/blob/96e83f492bbad4314043cfa9e97110df18dab17a/demo/parsing.hpp#L401-L407

I tried to build the demo locally, and doxide printed a bunch of warnings like:

warning: ignoring @ingroup presentation, no such group
warning: ignoring @ingroup parsing, no such group

Thanks for the heads up on this @tocic. Now fixed.
To explain, escape sequences have gone through a few iterations. At some point backticks were parsed separately so that it was unnecessary to escape @ symbols used between them. That had it's own problems, however, and it's now necessary to do so. It seems that I did not update the demonstration for this change. It should now be written @@ingroup in order to to display as @ingroup rather than be interpreted as a command.

I tried to build the demo locally, and doxide printed a bunch of warnings like:

warning: ignoring @ingroup presentation, no such group
warning: ignoring @ingroup parsing, no such group

On this one, are you using a different doxide.yaml config file from that in the repository? Groups are defined in this file. Warnings like this typically mean that the groups have not been defined.

Now fixed.

Great! I can confirm it works locally too.

On this one, are you using a different doxide.yaml config file from that in the repository? Groups are defined in this file.

Oh, I see. I've not been launching doxide from the root directory where the doxide.yaml file resided (with the intent to build docs only for the demo folder):
git clone https://github.com/lawmurray/doxide --recurse-submodules
cd "doxide/"
cmake -B "build/" -S .
cmake --build "build/"
cd "demo/"
../build/doxide init
../build/doxide build


New unofficial Typeform Node API

Previous Node API link is gone (404). Added new Node API, fully tested and production-ready.
https://github.com/auttoio/typeform-node
https://www.npmjs.com/package/typeform

Thank you so much, @yanneves!


button change added

Hey  @DevAnuragT  please follow the project guidelines, create the issue first, and submit a pull request only after it has been assigned


test.js: move to a function.

Fixes #87
/CC @Johann-S for a review. It seems to do the job, it's not so much better, just gets rids of the warnings.

Yup agreed. I will change that here in a separate patch.


channel option for training of gray images

Can you make an option for selecting the number of channel?
It would be helpful for treating gray images.

@OlafenwaMoses @johnolafenwa Do we have any support for this?

We will work on providing support for this.


[FEATURE] Animate updates to axis?

When I provide an update to the labels for an axis, I would like to have an option to animate that change....in my case I'd like to see the axis scroll left so that the left-most value disappears from view and the newly added value slides in on the right. It doesn't appear that there's any way to do this, currently.

This is an interesting idea that I thought was requested before but I couldn't find an existing issue for. Unfortunately it will take a lot of work to implement this since all the axes will need to change. I'm not sure how feasible it is to implement this in Chart.js v2

Okay! If anyone comes back to this later and wants to see a live example of what I mean, it's the last graph on this page, in this case a d3 example.
https://bost.ocks.org/mike/path/

I just released chartjs-plugin-streaming (GitHub & Tutrial), which provides the exactly same feature you are looking for. I'm now refactoring the code to use a custom scale ('realtime' scale type) to improve flexibility, and would like to contribute it to github.com/chartjs/* repository once I finished.

@nagix looks really good :) I didn't check the code, only the tutorials, very promising!
A few things I would recommend:

use rollup instead of browserify (see this plugin | discussion)
remove dist files from master (you can find here lot of topics about)

@simonbrunel Thanks for your suggestion. I will fix these shortly. I understand the dist issues from #3033.

Sounds good and should be very easy since you already use the same release workflow as the Chart.js and chartjs-plugin-deferred repos, so dist files are already in tags and release downloads.

@nagix this looks amazing!

Whereas chartjs-plugin-streaming seems to solve the issue for animating the x-axis for streamed data, I still think that it would be very powerful for chart.js to include the possibility to animate the axes upon general calls to chart.update().
This simple yet powerful example (d3) shows how an axis animation can provides very useful context for how the scale changes, compared to just animating the datasets. Especially the Y-axis animation is helpful to grasp the scale of the update more easily:

@etimberg closed as completed – Is this part of the v4.0.0 release, or any other docs on how to achieve this?
thanks!


1.0.0

https://github.com/szepeviktor/phpstan-wordpress/blob/master/stub-generators/wp-cli-generate-stubs.sh
Check finder in https://github.com/php-stubs/woocommerce-stubs to get inspiration
Include and exclude stuff based on https://github.com/wp-cli/wp-cli-bundle/blob/75cb7e32de9a10a44e0e800deee72fdc224b0a01/composer.json#L12-L37

Pushed a first version

Very nice!

Ref: https://github.com/php-stubs/wp-cli-stubs/pull/2


"Peek" definition

Here's how it looks in vscode:

It'd be nice if Bikeshed could do similar, I guess if I hold some hotkey while clicking a link.
An iframe would appear just below the link, pointing to the link destination. It'd have a close button, and maybe a pop-up button which would open the current href in a new window.

Mockup, incase the above wasn't clear:

...huh, interesting.


CMP-2547: Implement ROSA e2e test suite

We have to handle some differences in how we setup e2e testing on
managed OpenShift offerings, like ROSA. This commit stands up a separate
e2e suite that will be specific to ROSA test cases and wires it up to a
Makefile target for easy use.

Quick rough draft that I was able to get working with a rosa HCP cluster (no master nodes, only worker nodes).
We'll need a separate PR to wire up testing in openshift/release so we can run this against an actual ROSA cluster.

/test e2e-rosa

Rerunning the rosa e2e job since it failed to provision the cluster. Unrelated to this change.

/test e2e-rosa

/test e2e-rosa

Adding doc, px, and qe labels since this is an upstream testing change for developer productivity.


Error type 3 while re-installing app

we used this library and it works great.
the issue is when we successfully change the app icon to settings icon then try to re-install app using android studio it gives an error below.
Error while executing: am start -n "in.myinnos.changeappiconandname/in.myinnos.changeappiconandname.MainActivity-settings" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER
Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=in.myinnos.changeappiconandname/.MainActivity-settings }
Error type 3
Error: Activity class {in.myinnos.changeappiconandname/in.myinnos.changeappiconandname.MainActivity-settings} does not exist.
Error while Launching activity

+1

+1

@Mateeen @shafayatrmg @ercandemirtekin @eduardo-calzado-agentero @sureshperiyasamy  fixed in new version please update lib gradel version Read.Me


Cleanup test runner

Move around functions into a logical order
Delete dead code
Reduce some duplication, add helpers like run
Net reduction of about 30LOC

This looks good, thanks. One nit pick is if you capitalize sentence fragments, then also add a final dot :)


is it possible to get a subclass list count directly

as per your example , we can write:
store.products.count

it does not seem to be possible to write:
store.pens.count

is that right ?

I don't think so, it works for me.

It's not possible for now. But something like this may help:
store.products.where(actable_type: 'Pen').count


Updated all image files.

Ran all images through lossless compression (e.g. pngout, advpng, pngwolf... etc) for space considerations. Nothing else changed.
Total size reduction : ~8MB on disk, or 7% of the entire repository. :grinning:

github didn't take all the images for some reason. reuploading and submitting a new pull request.


Meeting Count per page

Is there a way to call the shortcode to limit the result to the next 10 meetings?

not with the [tsml_ui] shortcode, that shows the whole meeting finder. there is another shortcode though: [tsml_next_meetings count="10"]. does that work for your use-case?