Write-Progress on macOS unexpectedly outputs additional whitespace characters to std out

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.
[X] Refer to the FAQ.
[X] Refer to Differences between Windows PowerShell 5.1 and PowerShell.

Steps to reproduce
Create a script e.g test.ps1 with the following contents
Write-Warning "This is a warning"
Write-Progress -Activity "Progress" -PercentComplete 100
Write-Warning "This is a warning"

Run this script with the following command pwsh test.ps1 > mac.txt on macOS (probably Linux distros as well I just haven't tested)
Run this script with the following command pwsh test.ps1 > win.txt on Windows (tested on Windows 10)
I have attached the files that are produced from the commands above.
mac.txt
win.txt
Expected behavior
The files contain the same content similar to below as shown in the windows output from above

WARNING: This is a warning
WARNING: This is a warning

win.txt
Actual behavior
Based on the file content above (and linked below) you can see the mac version has lots of whitespace between the two warning messages and the second warning isn't on a new line as expected.

Whereas the file produced on Windows outputs as I expect it to.

mac.txt
Error details
No response
Environment data
On macOS

Name                           Value
----                           -----
PSVersion                      7.1.4
PSEdition                      Core
GitCommitId                    7.1.4
OS                             Darwin 20.6.0 Darwin Kernel Version 20.6.0: Mon…
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

On Windows

Name                           Value
----                           -----
PSVersion                      7.1.4
PSEdition                      Core
GitCommitId                    7.1.4
OS                             Microsoft Windows 10.0.19043
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Visuals
No response

Please check with latest PowerShell 7.2 preview build.

Yes I have tried it with a preview version
This seems to resolve the issue.
Is the timeframe known for when this is going to be released
mac-preview.txt
Name                           Value
----                           -----
PSVersion                      7.2.0-preview.9
PSEdition                      Core
GitCommitId                    7.2.0-preview.9
OS                             Darwin 20.6.0 Darwin Kernel Version 20.6.0: Mon…
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Is the timeframe known for when this is going to be released?

Immediately after .Net 6.0 release
https://devblogs.microsoft.com/dotnet/announcing-net-6-preview-4/

Speaking of the final release, we now have a date! Book off November 9-11 for .NET Conf 2021. We’ll launch .NET 6 on the 9th with many in-depth talks and demos that tell you everything you want to know about .NET 6.

Fantastic, thank you for getting back to me 😄


Improve display of information for outdated crates

With #32 merged, we now have more information to use when deciding how to display the dependency information.
Let's use this to provide more details when a crate is in Debian/NEW,but the package is incompatible with the current version of the crate being inspected.
In particular, we should display the dependency information for outdated/incompatible crates, since it's likely there have been changes. Also, provide more visual clues about the incompatibility -- crate names are yellow, rather than green/blue, "outdated" is included in the "(in debian" clause, and the version is red.
0.5.1:

After #32:

This PR:

I just tested this, and to it seems like a clear improvement to my workflow.
@kpcyrd what do you think about merging it?

Fine with me :+1:


angular 6 compat?

Any plan for this????????????????????

Please fix Angular 6 compatibility!

Please support Angular 6 ASAP !!!

Hello @tosehee75, @SpiderPork, @jhlee1025,
The existing angular4-fusioncharts wrapper is compatible with Angular6.
Let us know if face any problems.

Hello @rousan  i still having this message when i try to upgrade mi angular version to the latest
Package "angular4-fusioncharts" has an incompatible peer dependency to "@angular/core" (requires ">=5.0.0-rc.0 <6.0.0||>=4.2.4 <5.0.0", would install "6.0.7").
i already delete and reinstall    "fusioncharts": "^3.12.2", and "angular4-fusioncharts": "^1.0.0"
any idea on how to upgrade?

I have the same problem, with the same error message.

Hey @torresdaniel11,
can you show us the exact messages printed in the console?

@rousan
hello, below is the warning I get when using angular4-fusioncharts with angular6 (it gets installed and entry is added in package.json file), but unable to import modules
npm install angular4-fusioncharts --save
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>|| >=4.0.0-beta <5.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>|| >=4.0.0-beta <5.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

<EMAIL_ADDRESS>added 1 package from 3 contributors and audited 21778 packages in 11.036s

All the below import statements throw this error => 'cannot find module '
import * as FusionCharts from 'fusioncharts';
import * as Charts from 'fusioncharts/fusioncharts.charts';
import * as FintTheme from 'fusioncharts/themes/fusioncharts.theme.fint';

@balaji142857, Please avoid the warning appeared during installing the package,
And you are facing the error at runtime as you are supposed to use the angular4-fusioncharts module as below in your AppModule:
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
// Import fusioncharts modules
import * as FusionCharts from 'fusioncharts';
import * as Charts from 'fusioncharts/fusioncharts.charts';
import * as FintTheme from 'fusioncharts/themes/fusioncharts.theme.fint';
import { FusionChartsModule } from 'angular4-fusioncharts';
import { AppComponent } from './app.component';

// Call fcRoot with FusionCharts as first arguemnt
FusionChartsModule.fcRoot(FusionCharts, Charts, FintTheme);

@NgModule({
    declarations: [
        AppComponent
    ],
    imports: [
        BrowserModule,
        FusionChartsModule
    ],
    providers: [],
    bootstrap: [AppComponent]
})
export class AppModule { }

import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import * as FusionCharts from 'fusioncharts';
import * as Charts from 'fusioncharts/fusioncharts.charts';
import * as FusionTheme from 'fusioncharts/themes/fusioncharts.theme.fusion';
import { FusionChartsModule } from 'angular-fusioncharts';
FusionChartsModule.fcRoot(FusionCharts, Charts, FusionTheme);
import { AppComponent } from './app.component';
@NgModule({
declarations: [
AppComponent
],
imports: [
BrowserModule,
FusionChartsModule
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
I got the below error,

I got this error.
Please help me out!
thanks in advance!

@nitthi,
The error you are facing is not related to fusioncharts, I think that is happening because of config mismatch in your build system.

@Nisha-Yadav-1
Can you tell me which version of fusioncharts you are using ?

i have the same error as @Nisha-Yadav-1
i start a new project created with AngularCLI
Angular CLI: 6.0.8
Angular: 6.1.7
_"angular4-fusioncharts": "^1.0.0",
"fusioncharts": "^3.12.2"_

@rousan i follow your example (is working on my angular 4 project) but in this project (V6) i have this error :

Please, give me a hand on this
Thanks

@torresdaniel11  please refer the new plugin for fusioncharts, angular-fusioncharts


Incorrect behavior of indent filter

Expected Behavior
I expect that my code generates following text:
  "A"
  "B"

  "A"
  "B"

  "A"
  "B"

  "A"
  "B"

Actual Behavior
Code generates following
  "A"
  "B"

  "A"
  "B"

  "A"
  "B"

  "A"
  "B"

Template Code
import jinja2

env = jinja2.Environment()

text = '"A"\n"B"\n'

print env.from_string('{{ t | indent(2, True) }}').render(t=text)
print env.from_string('{{ t | indent(2, True, True) }}').render(t=text)

print env.from_string('{{ t | indent(2, True) }}').render(t=jinja2.Markup(text))
print env.from_string('{{ t | indent(2, True, True) }}').render(t=jinja2.Markup(text))

Your Environment

Python version: 2.7.13
Jinja version: 2.10

I am seeing this as well. This is happening because the indent filter was changed in https://github.com/pallets/jinja/commit/bb8ef40#diff-33dcdc15f917259c644200be7d924eb0R552 to concatenate strings to markupsafe.Markup objects. A more concise example can be found here:
[root@b98126fdc23f /]# pip install jinja2==2.9.6
Collecting jinja2==2.9.6
  Using cached Jinja2-2.9.6-py2.py3-none-any.whl
Requirement already satisfied (use --upgrade to upgrade): MarkupSafe>=0.23 in /usr/lib64/python2.7/site-packages (from jinja2==2.9.6)
Installing collected packages: jinja2
  Found existing installation: Jinja2 2.10
    Uninstalling Jinja2-2.10:
      Successfully uninstalled Jinja2-2.10
Successfully installed jinja2-2.9.6
You are using pip version 8.1.2, however version 9.0.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
[root@b98126fdc23f /]# python
Python 2.7.5 (default, Aug  4 2017, 00:39:18)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-16)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from markupsafe import Markup
>>> from jinja2.filters import do_indent
>>> do_indent(Markup("foo\nbar\n'baz'\n"))
u"foo\n    bar\n    'baz'"
>>>
[root@b98126fdc23f /]# pip install jinja2==2.10
Collecting jinja2==2.10
  Using cached Jinja2-2.10-py2.py3-none-any.whl
Requirement already satisfied (use --upgrade to upgrade): MarkupSafe>=0.23 in /usr/lib64/python2.7/site-packages (from jinja2==2.10)
Installing collected packages: jinja2
  Found existing installation: Jinja2 2.9.6
    Uninstalling Jinja2-2.9.6:
      Successfully uninstalled Jinja2-2.9.6
Successfully installed jinja2-2.10
You are using pip version 8.1.2, however version 9.0.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
[root@b98126fdc23f /]# python
Python 2.7.5 (default, Aug  4 2017, 00:39:18)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-16)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from markupsafe import Markup
>>> from jinja2.filters import do_indent
>>> do_indent(Markup("foo\nbar\n'baz'\n"))
Markup(u'foo\n    bar\n    'baz'\n')
>>>

Concatenating strings to markupsafe.Markup objects causes markupsafe.Markup.__add__() to escape the string being concatenated:
>>> from markupsafe import Markup, escape
>>> Markup('foo bar') + "'baz'"
Markup(u'foo bar'baz'')
>>> escape("'baz'")
Markup(u''baz'')

I've opened https://github.com/pallets/jinja/pull/826 to fix this.


[dns] negative response cache doesn't expire

start a container
do a lookup
stop the container
lookup until no results are returned
restart the container
looks keep failing

This only affects A-queries, no PTR-queries...


Alphabetize Gemfile

Signed-off-by: Jason Dossett<EMAIL_ADDRESS>

Current coverage is 99.04% (diff: 100%)

Merging #538 into master will not change coverage

@@             master       #538   diff @@
==========================================
  Files            39         39
  Lines          1042       1042
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits           1032       1032
  Misses           10         10
  Partials          0          0

Powered by Codecov. Last update b4e768a...11df1fe

Looks good to me. Does anyone else have any comments?


Show "Test Mode" indicator in GUI on all screens for testnet builds

"Scroll to top" on click on status bar not working when indicator is shown


One more book to add :)

Hello,
I was wondering if you would add this free eBook sampler to your list too.
Cheers

Thanks again!


Small cleanup now that we have multiple details about the server stored on the cli

@dnephin rebase please, thx!

rebased

LGTM (nam)

ServerType type (and subsequent interface method) is a bit weird.
Other than that it looks ok.

Thinking..  are ServerDetails, ServerProperties, ServerInfo better options?

ServerInfo seems better.

SGTM, I changed the name to ServerInfo

LGTM ping @cpuguy83  @thaJeztah


Fix using frames as a setter

Setting the frames didn't clear the raw data structure, meaning that the
new value for frames would be mistakenly overwritten by the module
incorrectly converting the raw data structure the first time frames
were accessed even if they'd been manually set to some other value

This test failure is something wrong on one of the author tests on 5.10 (but not other Perls)

I merged this from the CLI. Thanks!


Why
The API server and STUN-like coordination usually need to happen on a public server.
For tailscale's own, they have it public.
Headscale could probably get away with having the coordination server itself have the host firewall (e.g., iptables) use a port knocking daemon. The cloud firewall would still be open on those port knocking ports.
Description
Is it possible to have a port knocking client on a device alongside the tailscale client?
is it possible to have headscale operate behind port knocking?
what would need to change for that to be the case?
This limits the ability of an attacker to try exploiting RCE without knowing the port knocking code. Or even knowing the headscale coordination server is there.

e.g., survivability onion: don't be there, don't be visible, don't be hit

I don't think this is possible as you would need to implement port-knocking features in the tailscale client. This project doesn't implement the client and therefore I this feature would first need to be implemented there. This will only be the case if tailscale is going to implement this feature for their customers.
I don't see the headscale folks implementing this by themselves.
Furthermore I rather see it as an edge case, which is not realistic to be implemented. As usual PRs are welcome.  I hope this will give a bit of an explanation to your concerns.

I would mark this out of scope and close it as won't implement.

Yes as mentioned, I think this is going to be too complicated for us to do. A requirement for headscale will continue to be that it is accessible of the public internet.


[BEAM-4375] Replaces usage of JUnit runners that do not work well with Gradle

RunWith(Enclosed.class) causes tests to be skipped https://github.com/gradle/gradle/issues/2985 (in this PR I also fixed MetricsTests which was actually failing).
RunWith(Suite.class) causes them to be duplicated https://github.com/gradle/gradle/issues/5484 .
Additionally, fixed :beam-runners-direct-java:validatesRunner to actually run those tests too - it had an empty classpath and didn't run anything.
R: @swegner

Run Run Flink ValidatesRunner

Run Flink ValidatesRunner

Run Dataflow ValidatesRunner

Yikes, good catch, and thanks for putting together a fix.
In general looks good to me. I checked to verify there are no other references to Enclosed.class in the codebase (git grep Enclosed). I kicked off Flink + Dataflow ValidatesRunner tests so we can verify that the tests actually get run.

Run Flink ValidatesRunner

Ugh, forgot the debugging leftover where I was ensuring that ValidatesRunner tests run at all by throwing an exception. Now they do, and the exception failed Flink ValidatesRunner, WAI.

Run Flink ValidatesRunner

The only failing tests are the archetype tests unrelated to this PR, which fail randomly. Merging.

Thanks for this. I can see from the Gradle build scan that tests such as 	ParDoTest$TimerTests are now being run.


Implement executing the last run using --last

Covers story /stories/cli/run/last introduced in #136. I have renamed the option to --last as it sounds somehow more natural to me. @lukaszachy, @thrix, what do you think?

@psss some modules will need some love to work properly ....
Run in tmt repo ...
$ tmt run -a provision -h container
$ tmt run --last
/var/tmp/tmt/run-121

/plans/basic
    discover
        status: done
        summary: 6 tests selected
    provision
        status: done
        summary: 1 guest provisioned
    prepare
        status: done
        summary: 1 preparation applied
    execute
        how: beakerlib
    finish

stderr (1/1 lines)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: no container with name or ID tmt-var-tmp-tmt-run-121-plans-basic found: no such container

 ERROR  Failed to run command 'podman container stop tmt-var-tmp-tmt-run-121-plans-basic'.

Do we want to fix it here?

Well, I would say this is a not supported scenario. You should either skip finish when running for the first time or use tmt run -lf to force creating a new container.

Well, I would say this is a not supported scenario. You should either skip finish when running for the first time or use tmt run -lf to force creating a new container.

Yeah, this is not user friendly, I would just expect it to go through with some nice warning nothing to cleanup .... maybe

Well, I would say this is a not supported scenario. You should either skip finish when running for the first time or use tmt run -lf to force creating a new container.

Yeah, this is not user friendly, I believe the default scenario for rerunning should be easy like this ...

cleared up on IRC

Thanks for the quick review!


Corrupted (not Vaal) gem incorrectly used in Vaal Orb recipe

Procurement is considering a corrupted, but not Vaal, support gem for use in Vaal Orb recipe recommendations.
Here's a copy of the gem from game:
Blastchain Mine Support
--------
Support, Mine
Level: 1
Mana Multiplier: 30%
Quality: +3% (augmented)
Experience: 1/3,231
--------
Requirements:
Level: 8
--------
Supports spells, or attacks that use bows or wands. Instead of using that skill, you will throw a mine
that will use the skill for you when you detonate it. Mines cannot use channelling skills.
--------
Supported Attack Skills cannot be used with Melee Weapons
Supported Skills deal 35% less Damage
Mine lasts 5 seconds
Supported Skills have a Base Mine Detonation Time of 0.25 seconds
Supported Skills have 1% increased Mine Throwing Speed
Supported Skills deal 5% more Damage for each prior Mine in Detonation Sequence
--------
This is a Support Gem. It does not grant a bonus to your character, but to skills in sockets
connected to it. Place into an item socket connected to a socket containing the Active Skill Gem you
wish to augment. Right click to remove from a socket.
--------
Corrupted

When trying to vendor in game with the other suggested Vaal gems, it does not result in a Vaal Orb.

Thanks for the report.  It does indeed look like Procurement is just looking at whether the gem is corrupted, which is incorrect.  I'll work on a fix shortly.

I created PR #1081 that fixes this issue.


Update Airframe to Autopilot

autopilot is the new name of the previous airframe.

autopilot needs to be updated to be a classless CSS framework, that can be expanded with CSS variables and custom themes.

using default Markdown for editing inside of visual editors and text editors should have good styling.


irc-mirror.py : updated the installation link

The link to download python-irc module now lives at github instead of bitbucket.

Automated message from Dropbox CLA bot
@reyha, it looks like you've already signed the Dropbox CLA. Thanks!

Merged as 34766e38c31ca9bd3b9e6a143ed05574abb3bfb1, thanks @reyha!  We really appreciate this sort of documentation update.
BTW I did change the commit message to match our style; check out the Zulip coding style guidelines here for more details: https://zulip.readthedocs.org/en/latest/code-style.html#version-control


FEAT: Allow ignoring mismatched sizes when loading

Resolves #1605
When users pass ignore_mismatched_sizes=True to PeftModel.from_pretrained, the mismatched tensors will be ignored instead of raising an error. This is in line with how transformers handles this argument.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.


ScanExitron test.bam returned error

I've installed all required packages for ScanExitron.py. When I give a try on the test file, it returns with error message as follow:
`tomas@tomas-virtual-machine:~/ScanExitron/tests$ python ~/ScanExitron/ScanExitron.py -i test.bam -r hg38
Checking for 'regtools': found /home/tomas/regtools/build/regtools
Checking for 'bedtools': found /home/tomas/anaconda3/bin/bedtools
Checking for 'samtools': found /home/tomas/anaconda3/bin/samtools
error! Command 'samtools view -q 0 -@ 1 -O BAM -o test.hq.bam test.bam && samtools index test.hq.bam' returned non-zero exit status 127.
`
May I ask what's going on there? Did I make any mistake?
Thank you.

Can you check your SamTools version?
If SamTools version < 1.0, the "-O" parameter will be not available.

I got this problem solved. "Conda install" via bioconda channel will automatically install samtool v1.7.  Even I forced conda to download version "1.10", it still reports many conflicts. Somehow samtools v1.7 seems not to be compatible and reported this error.
I add another channel conda-forge, at this time it could be successfully installed.
tomas@tomas-virtual-machine:~/ScanExitron/aaa$ samtools --version samtools 1.10 Using htslib 1.10.2 Copyright (C) 2019 Genome Research Ltd.
BTW, to avoid such mistakes, I checked all the other packages. The versions of the other packages should work.
(bedtools 2.30, pyfaidx 0.5.9, bedops 2.4.39, Regtools 0.4.2)
But another error occurs as shown below. The command 'samtools bedcov test.hq.position.bed test.bam -Q 0' returned error message.
tomas@tomas-virtual-machine:~/ScanExitron/aaa$ python /home/tomas/ScanExitron/ScanExitron.py -i test.bam -r hg38
Checking for 'regtools': found /home/tomas/regtools/build/regtools

Checking for 'bedtools': found /home/tomas/anaconda3/bin/bedtools

Checking for 'samtools': found /home/tomas/anaconda3/bin/samtools

MAPQ filtering finished!
regtools junctions extract -i 5 -I 10000000 test.hq.bam -o test.hq.bed
Calling junctions start
Calling junctions finished!
regtools junctions annotate /home/tomas/ScanExitron/aaa/test.hq.bed /home/tomas/human_genome/hg38.fa /home/tomas/human_genome/gencode.v21.annotation.gtf -o test.hq.janno
test.hq.janno generated!
test.hq.janno generated!
Reading test.hq.janno
bedtools intersect -s -wo -a 28005.junction.bed -b /home/tomas/human_genome/gencode.hg38.CDS.bed > 28005.overlap.bed
Junctions intersect with CDS
Junctions intersect with CDS finished!
Reading BAM file: test.bam
samtools bedcov test.hq.position.bed test.bam -Q 0
Error happend!: Command 'samtools bedcov test.hq.position.bed test.bam -Q 0' returned non-zero exit status 2.
b"[E::idx_find_and_load] Could not retrieve index file for 'test.bam'\nERROR: fail to open index BAM file 'test.bam'\n"
Traceback (most recent call last):
  File "/home/tomas/ScanExitron/ScanExitron.py", line 412, in <module>
    main()
  File "/home/tomas/ScanExitron/ScanExitron.py", line 406, in main
    percent_spliced_out(bam_file=args.input, src_exitron_file=src_exitron_file, position_bed_file=position_bed_file, ao_cutoff=args.ao, pso_cutoff=args.pso, mapq=args.mapq)
  File "/home/tomas/ScanExitron/ScanExitron.py", line 304, in percent_spliced_out
    five_prime_reads = depth_dict['{}\t{}'.format(chrm, start)] - ao
KeyError: 'chr17\t50071324'

I think SamTools v1.7 will work, as well.
The error message showed that you didn't have the INDEX file for the "test.bam".
You need test.bam.index or test.bai.

My bad. I moved bam to a new folder but forgot the index.
After generating test.bam.bai using samtools index test.bam , it can output a "test.hq.exitron" file but contains no exitrons.
I don't know if it is the problem with src_exitron_file so that the function main() did not remove janno file and left "test.hq.bam", "test.hq.bai", "test.hq.janno" etc. Would you mind telling me how to debug this? Sorry to interrupt. Thank you again.
Checking for 'regtools': found /home/tomas/regtools/build/regtools

Checking for 'bedtools': found /home/tomas/anaconda3/bin/bedtools

Checking for 'samtools': found /home/tomas/anaconda3/bin/samtools

MAPQ filtering finished!
regtools junctions extract -i 5 -I 10000000 test.hq.bam -o test.hq.bed
Calling junctions start
Calling junctions finished!
regtools junctions annotate /home/tomas/ScanExitron/aaa/test.hq.bed /home/tomas/human_genome/hg38.fa /home/tomas/human_genome/gencode.v21.annotation.gtf -o test.hq.janno
test.hq.janno generated!
test.hq.janno generated!
Reading test.hq.janno
bedtools intersect -s -wo -a 3866.junction.bed -b /home/tomas/human_genome/gencode.hg38.CDS.bed > 3866.overlap.bed
Junctions intersect with CDS
Junctions intersect with CDS finished!
Reading BAM file: test.bam
samtools bedcov test.hq.position.bed test.bam -Q 0
Calculate PSO and PSI.
Finished reading BAM file: test.bam

It is not a bug.
You can set "-p 0", these two exitron splicing events will be there.

Thank you so much. It works.


Fix: Resume audioContext after user interaction

@molant
What this PR does
Because of the AutoPlay policy changes the AudioContext is in suspended state by default (https://developers.google.com/web/updates/2017/09/autoplay-policy-changes). It can be resumed after a user interaction. That's what my fix is doing, its resuming the AudioContext after the user is clicking on the 'Microphone' or 'Reference tone' buttons.
Requirements

[x] My PR follows all applicable accessibility requirements (See .github/ACCESSIBILITY_REQS.md).
[x] My PR follows the CSS code style guidelines (See .github/CSS_STYLE_REQS.md).
[x] I have linted my code using npm run lint:css -- demoDirectoryName/**/*.css and npm run lint:js -- demoDirectoryName/**/*.js, and have fixed the errors.

Thanks, @Andy1210!


Shorten the path for the flame graph directory

It seems like there are some problems on Windows when writing the JProfiler profile. For example this build has the .jps files, but they are empty: https://builds.gradle.org/buildConfiguration/Gradle_Util_Performance_AdHocPerformanceScenarioWindows/39104607?buildTab=artifacts
This build is with the shortened directory, and the profiles are not empty: https://builds.gradle.org/buildConfiguration/Gradle_Util_Performance_AdHocPerformanceScenarioWindows/39104610?buildTab=artifacts

Maybe adding some explanation in a comment as to why this is needed would be nice.

I added a comment. We should think about where to create which files and then hopefully get rid of this problem.


Adds content for the overview section

Fixes

Fixes #[issue number] by @[issue author]
Description

I have migrated the draft content for the Overview Section from Google Docs to the project repository. I tweaked the font color of the links to match that of Creative Commons Open Source Blog. I would love feedback to confirm if everything is OK.
@hugosolar I encountered several blockers that prevented me from completing the task, please find them listed below:

You had said I should retrieve the screenshot from https://stage.creativecommons.org/ and I am failing to access the site as it requires authentication.
I lost the link you had provided with information about the licensing and reuse of CC software. The section with the missing links is captured in the screenshot below. I thought I had included the link in the draft content on Google Docs, only to find out that I hadn't, it must have had been in the chats I marked as resolved.

Tests

Ensure that the Gridsome CLI is installed globally and all the necessary npm modules are installed in the docs directory before testing in your local.

cd to wp-content/themes/wp-theme-base/docs
Switch to the docs branch
Then switch to ft-overview-section branch.
On your terminal run the command gridsome develop to start the development server.
Once the development server is running,  the site is available on http://localhost:8080/ on your browser and should display the docs landing page.

Screenshots

Checklist

[x] My pull request has a descriptive title (not a vague title like Update index.md).
[ ] My pull request targets the default branch of the repository (main or master).
[x] My commit messages follow best practices.
[ ] My code follows the established code style of the repository.
[ ] I added tests for the changes I made (if applicable).
[ ] I added or updated documentation (if applicable).
[x] I tried running the project locally and verified that there are no visible errors.

Developer Certificate of Origin

Developer Certificate of Origin
Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

I managed to retrieve the urls for the links which I had lost when I made the initial commit. Commit https://github.com/creativecommons/wp-theme-base/pull/30/commits/22c998c90b234ece26723fbc6eb366ebd8818b1a resolves that issue and updates the links.

I added the login credentials for the staging website in our tracking document.
Can you please fix the conflict in this PR and commit again?

@hugosolar I have implemented the changes we discussed yesterday which were:

Adopting the CC Vocabulary styling for the links: I deleted the default link styles in the style sheet which came with the theme.
I took a screenshot from https://stage.creativecommons.org/  integrated it in the docs homepage. The result is captured in the screenshots below:
Screenshot-1

Screenshot-2

In Screenshot-2 the updated links are shown, my question is: Do we keep or trash the heading in Screenshot-1. I am feeling a little bit iffy about it, it looks a little bit dodgy visually. May I have your input on how I should proceed.


WFLY-10942 IIOPTimeoutTestCase fails intermittently

JIRA: https://issues.redhat.com/browse/WFLY-10942

In the Windows test job that got cancelled this test ran and passed.


Create "freshers" filter

we already have filters like "full time", "internship", "part time", "freelance"
Add a new filter called "fresher" where we display offerings that require no prior experience
Edit the keywords list file to add fresher

Code to edit
https://github.com/catoverse/yellowjobs-backend-service/blob/main/parser.js#L95
Keywords for identifying freshers could be

fresher
no experience

@rgxai

@anshulagx please assign this issue to me

I have merged the backend PR. We will have to wait and see for few days, if we get sufficient tweets satisfying this filter.

@apoorvsingal could you please look into the logic. We haven't collected any freshers tweet as of now. 🤔

There shouldn't be a space in no experience, everything else looks good. Also, I think the Twitter query might not be fetching many tweets with those keywords in the first place, so we need to think of a way to fix that. Leave it to me


'Singham Again' (𝟸𝟶𝟸𝟺) +𝙵𝚞𝙻𝙻𝙼𝚘𝚟𝚒𝚎! 𝙵𝚒𝚕𝙼𝚢𝚣𝚒𝚕𝚕𝚊 𝙳𝚘𝚠𝚗𝚕𝚘𝚊𝚍 𝙵𝚛𝚎𝚎 𝟽𝟸𝟶𝚙, 𝟺𝟾𝟶𝚙 𝙰𝚗𝚍 𝟷𝟶𝟾𝟶𝚙

29 Sec ago - Still 𝙽ow Singham Again are options for Downl𝚘ading or W𝚊tching Singham Again Strea𝚖ing the F𝚞ll Mo𝚟ie 𝙾nl𝚒ne for 𝙵r𝚎e on 123Mo𝚟ies & 𝚁edd𝙸t, including Singham Again to W𝚊tch Singham Again latest supernatural comedy horror Mo𝚟ie Singham Again at home. Singham Again 2024 available to 𝚂trea𝙼? Is W𝚊tching Singham Again on Peacock, HBO Max, 𝙽etflix or Disney Plus? Yes, we have found an authentic Strea𝚖ing option/service.
➤ ►🌍📺📱👉 Singham Again (2024) F𝚞ll Mo𝚟ie
➤ ►🌍📺📱👉 Singham Again (2024) F𝚞ll Mo𝚟ie
➤ ►🌍📺📱👉 W𝚊tch Singham Again (2024) F𝚞ll Mo𝚟ie Downl𝚘ad
Wondering how to W𝚊tch Singham Again 𝙾nl𝚒ne? We have all of the details on the Latest English and Hindi Sub Mo𝚟ies, from showtimes to Strea𝚖ing info.
Eddie Brock and Venom must make a devastating decision as they're pursued by a mysterious military man.
Release date: October 31, 2024 (USA and Indian)
Director: mr. Indian
Distr𝚒buted by: Sony Pic𝚝ures Rel𝚎asing
Based on: Indian Com𝚒cs
Budget: $... m𝚒ll𝚒on
Ed𝚒ted by: Mark Sanger
Singham Again
Singham Again reviewa
Singham Again Mo𝚟ie review
Singham Again reviews
Singham Again Mo𝚟ie rating
Singham Again Mo𝚟ie release date
Singham Again box office collection
So Singham Again can you W𝚊tch Singham Again?
Is it on HBO Max? What about 𝙽etflix?
Singham Again’s how to W𝚊tch the Singham Again epic starring 2024 Latest English and Hindi Sub Mo𝚟ies.
When Is Singham Again Release Date?
29 Sec ago - Still 𝙽ow Singham Again are options for Downl𝚘ading or W𝚊tching Singham Again Strea𝚖ing the F𝚞ll Mo𝚟ie 𝙾nl𝚒ne for 𝙵r𝚎e on 123Mo𝚟ies & 𝚁edd𝙸t, including Singham Again to W𝚊tch Singham Again latest supernatural comedy horror Mo𝚟ie Singham Again at home. Singham Again 2024 available to 𝚂trea𝙼? Is W𝚊tching Singham Again on Peacock, HBO Max, 𝙽etflix or Disney Plus? Yes, we have found an authentic Strea𝚖ing option/service.
➤ ►🌍📺📱👉 Singham Again (2024) F𝚞ll Mo𝚟ie
➤ ►🌍📺📱👉 Singham Again (2024) F𝚞ll Mo𝚟ie
➤ ►🌍📺📱👉 W𝚊tch Singham Again (2024) F𝚞ll Mo𝚟ie Downl𝚘ad
Wondering how to W𝚊tch Singham Again 𝙾nl𝚒ne? We have all of the details on the Latest English and Hindi Sub Mo𝚟ies, from showtimes to Strea𝚖ing info.
Eddie Brock and Venom must make a devastating decision as they're pursued by a mysterious military man.
Release date: October 31, 2024 (USA and Indian)
Director: mr. Indian
Distr𝚒buted by: Sony Pic𝚝ures Rel𝚎asing
Based on: Indian Com𝚒cs
Budget: $... m𝚒ll𝚒on
Ed𝚒ted by: Mark Sanger
Singham Again
Singham Again reviewa
Singham Again Mo𝚟ie review
Singham Again reviews
Singham Again Mo𝚟ie rating
Singham Again Mo𝚟ie release date
Singham Again box office collection
So Singham Again can you W𝚊tch Singham Again?
Is it on HBO Max? What about 𝙽etflix?
Singham Again’s how to W𝚊tch the Singham Again epic starring 2024 Latest English and Hindi Sub Mo𝚟ies.
When Is Singham Again Release Date?
29 Sec ago - Still 𝙽ow Singham Again are options for Downl𝚘ading or W𝚊tching Singham Again Strea𝚖ing the F𝚞ll Mo𝚟ie 𝙾nl𝚒ne for 𝙵r𝚎e on 123Mo𝚟ies & 𝚁edd𝙸t, including Singham Again to W𝚊tch Singham Again latest supernatural comedy horror Mo𝚟ie Singham Again at home. Singham Again 2024 available to 𝚂trea𝙼? Is W𝚊tching Singham Again on Peacock, HBO Max, 𝙽etflix or Disney Plus? Yes, we have found an authentic Strea𝚖ing option/service.
➤ ►🌍📺📱👉 Singham Again (2024) F𝚞ll Mo𝚟ie
➤ ►🌍📺📱👉 Singham Again (2024) F𝚞ll Mo𝚟ie
➤ ►🌍📺📱👉 W𝚊tch Singham Again (2024) F𝚞ll Mo𝚟ie Downl𝚘ad
Wondering how to W𝚊tch Singham Again 𝙾nl𝚒ne? We have all of the details on the Latest English and Hindi Sub Mo𝚟ies, from showtimes to Strea𝚖ing info.
Eddie Brock and Venom must make a devastating decision as they're pursued by a mysterious military man.
Release date: October 31, 2024 (USA and Indian)
Director: mr. Indian
Distr𝚒buted by: Sony Pic𝚝ures Rel𝚎asing
Based on: Indian Com𝚒cs
Budget: $... m𝚒ll𝚒on
Ed𝚒ted by: Mark Sanger
Singham Again
Singham Again reviewa
Singham Again Mo𝚟ie review
Singham Again reviews
Singham Again Mo𝚟ie rating
Singham Again Mo𝚟ie release date
Singham Again box office collection
So Singham Again can you W𝚊tch Singham Again?
Is it on HBO Max? What about 𝙽etflix?
Singham Again’s how to W𝚊tch the Singham Again epic starring 2024 Latest English and Hindi Sub Mo𝚟ies.
When Is Singham Again Release Date?

moxw

vfet

bvbv


MarshalDirectiveException during DataTarget.LoadCrashDump on Linux

When loading the dump file with DataTarget.LoadCrashDump method, it reported the error.
$ dotnet  run

Unhandled Exception: System.Runtime.InteropServices.MarshalDirectiveException: Cannot marshal 'parameter #2': Invalid managed/unmanaged type combination (Marshaling to and from COM interface pointers isn't supported).
   at Microsoft.Diagnostics.Runtime.DbgEngDataReader.DebugCreate(Guid& InterfaceId, Object& Interface)
   at Microsoft.Diagnostics.Runtime.DbgEngDataReader.CreateIDebugClient() in /_/src/Microsoft.Diagnostics.Runtime/DbgEngDataReader.cs:line 164
   at Microsoft.Diagnostics.Runtime.DbgEngDataReader..ctor(String dumpFile) in /_/src/Microsoft.Diagnostics.Runtime/DbgEngDataReader.cs:line 51
   at Microsoft.Diagnostics.Runtime.DataTarget.LoadCrashDump(String fileName) in /_/src/Microsoft.Diagnostics.Runtime/datatarget.cs:line 67
   at ClrMDExample.Program.Main(String[] args) in /home/clouduser/ClrMdExample/Program.cs:line 11

Here is the runtime info.
$ dotnet --info
.NET Core SDK (reflecting any global.json):
 Version:   2.2.100
 Commit:    b9f2fa0ca8

Runtime Environment:
 OS Name:     ubuntu
 OS Version:  18.04
 OS Platform: Linux
 RID:         ubuntu.18.04-x64
 Base Path:   /usr/share/dotnet/sdk/2.2.100/

Host (useful for support):
  Version: 2.2.0
  Commit:  1249f08fed

.NET Core SDKs installed:
  2.2.100 [/usr/share/dotnet/sdk]

.NET Core runtimes installed:
  Microsoft.AspNetCore.All 2.2.0 [/usr/share/dotnet/shared/Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.App 2.2.0 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 2.2.0 [/usr/share/dotnet/shared/Microsoft.NETCore.App]

To install additional .NET Core runtimes or SDKs:
  https://aka.ms/dotnet-download

Executed program.
using System;
using System.Linq;
using Microsoft.Diagnostics.Runtime;

namespace ClrMDExample
{
    class Program
    {
        static void Main(string[] args)
        {
            using (var target = DataTarget.LoadCrashDump(@"/tmp/coredump.2971"))
            {
                foreach (var version in target.ClrVersions)
                {
                    Console.WriteLine("Found CLR Version:" + version.Version.ToString());
		}
	    }

	}
     }
}

The /tmp/coredump.2971 is created with the same dotnet runtime on the same host.

Use DataTarget.LoadCoreDump on linux.
I will throw a better exception in the future.

DataTarget.LoadCoreDump works. Thanks!

I am leaving this bug open to track throwing a better exception here.  Thank you for the report!


docs(ui/icon): supports icon search

Checklist

[ ] Fix linting errors
[ ] Tests have been added / updated (or snapshots)

Change information

Codecov Report

Merging #975 (c96e003) into dev (86e1799) will not change coverage.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@           Coverage Diff           @@
##              dev     #975   +/-   ##
=======================================
  Coverage   95.93%   95.93%
=======================================
  Files         324      324
  Lines       21076    21076
  Branches     2203     2203
=======================================
  Hits        20219    20219
  Misses        774      774
  Partials       83       83

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


API to MQ

Write an endpoint API server which creates requests in an MQ instead of hitting a host directly.

Setting up rabbitmq.


gRPC config stream closed: 2, gateway has no associated service instances results in a 404 error

Bug description
When deploying a custom ingress gateway using a standard deployment and not a canary I get the following error:
[2019-08-27 09:04:58.365][17][warning][config] [bazel-out/k8-opt/bin/external/envoy/source/common/config/_virtual_includes/grpc_stream_lib/common/config/grpc_stream.h:86] gRPC config stream closed: 2, gateway has no associated service instances
The ingress gateway pod produces 404 error on http and 503 on https with mTLS set to SIMPLE.
I have no idea which service instances are referenced in the above message but noticed that while in the canary I can specify spec.service.gateways I can't do the same for a deployment.
Any idea what the error might mean would be great.
Affected product area (please put an X in all that apply)
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[x] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Expected behavior
Custom Ingress Gateway to be working properly
Steps to reproduce the bug
Connect a Custom Ingress Gateway to a regular deployment
Version (include the output of istioctl version --remote and kubectl version)
istioctl 1.2.3
v1.13.7-gke.8
How was Istio installed?
Helm Chart
Environment where bug was observed (cloud vendor, OS, etc)
GKE

It happens 100% of the time and there is a Kubernetes Service associated with it.
I have completely turned off TLS to isolate the case so on http it's always 404 and it seems that this is reported internally by the envoy proxy.

I see... thanks.
The custom ingress gateway is literally as per the official docs: https://istio.io/blog/2019/custom-ingress-gateway/
And the dev/stage setup is via Helm Releases like so:
https://github.com/fluxcd/helm-operator-get-started
The production setup with canary which is working with another custom gateway as per the above docs is:
https://github.com/stefanprodan/gitops-istio
What I noticed in the canaries you can have spec.service.gateways configured like so:
https://github.com/stefanprodan/gitops-istio/blob/master/prod/frontend/canary.yaml
While I couldn't see such an example with a deployment so I thought that this reference was missing but the issue you referenced seems to be pointing in a direction which I was completely unaware of.

OK that was solved with the creation of a second service which was for the pod behind the gateway making it a total of 2 services one for the ingress and one for the deployment behind it.


Home page layout

Designed a basic home page layout with header bar and footer bar.

Adding a portion of the Glossary, and drop down menu. These are not linked

Partially fixes issue #4
Added a glossary drop down menu, with important bones names. Along with select bones with separate HTML pages adding detail to that bone.
This was added to allow the team to have the same knowledge base.
I wanted to add a HTML page for every bone however, I fell short where the link of HTML pages, they aren't linked correctly. Which took up much of my time so I wasn't able to add a page for every bone.

Please use:
fixes #4
To automatically connect the PR with the issue.


WebView 2 can't be displayed in a frame

Describe the bug
Hello, I'm trying to create a tabbed web browser with WebView 2. Inside a tab is a frame, and the frame is navigated to the page containing the textbox, buttons and WebView. Everything works fine, but the WebView does not display a page at all.
Steps to reproduce the bug
Steps to reproduce the behaviour:

Make a tab view
Place a frame as the content
Create a new page with a WebView 2.
Make the page the content of the frame
See error - you can't look at the WebView.

Expected behaviour
The WebView displays perfectly fine in a frame
Version Info
NuGet package version: Microsoft.WinUI 3.0.0-preview2.200713.0
Windows app type:

UWP
Win32

Yes
No

Windows 10 version
Saw the problem?

Insider Build (20215)
Yes

May 2020 Update (19041)
Yes

Device form factor
Saw the problem?

Desktop
Yes

Additional context
WebView does work in a frame constructed in XAML code itself, but it does not when I set the frame as a content of a tab page.

Hi, it looks like we couldn't reproduce this bug, so I'm going to close this issue. If this bug still persists in Preview 4 (which will be released in early February), please re-open the issue and let us know. Thanks!

Hi, it looks like we couldn't reproduce this bug, so I'm going to close this issue. If this bug still persists in Preview 4 (which will be released in early February), please re-open the issue and let us know. Thanks!

Slight correction: we were able to repro this, but then the problem stopped reproing recently and we aren't sure exactly which change fixed it. But we believe this is fixed for Preview 4.

Slight correction: we were able to repro this, but then the problem stopped reproing recently and we aren't sure exactly which change fixed it. But we believe this is fixed for Preview 4.


Data Science Services artefacts inclusion

It would be great to get the Data Science Services artefcats  included in the toolkit

Projects
Notebook sessions
Models & Model Deployments
Vaults, keys, and secrets.

@borkur Vaults & Keys are already included but I'll look at the others.

Thanks! it would be a very useful feature for us

Data Science Project / Notebooks will be in 0.47.0


training data and mask

Hello, I have some problem about training your model.
What should I put in the folder of data_root and mask_root?

Hi,
They should be the directories that containing '.jpg' or '.png' image files.
To fit into your own files, you may modify the 'load_list' method in 'dataset.py' file. :)

Sorry, I didn't ask clearly.
I have no idea about how many image should I put in data_root, One is enough or more is better?
And the image in mask_root should I mask it by myself?

For training, more data should be better. For testing, you can simply put the testing images in the folder. As for the mask, you might directly set mask mode to 1 to generate random mask. Or instead, you can use an external mask dataset, like what was given by Partial Convolution's Project.


remove references to import_json.sh

I removed all references to import_json.sh and cut lines of code that were redundant in the process... now the only point of contact is the run_ws script.

realized i could cut more...


ref(release): use scheduler cleanup release code as it is identical

[Current coverage][cc-pull] is 84.88%

Merging [#726][cc-pull] into [master][cc-base-branch] will increase coverage by +0.22%

@@             master       #726   diff @@
==========================================
  Files            29         29
  Lines          2587       2580     -7
  Methods           0          0
  Messages          0          0
  Branches        412        410     -2
==========================================
  Hits           2190       2190
+ Misses          281        274     -7
  Partials        116        116

Powered by Codecov. Last updated by [3dd07ac...b8d8976][cc-compare]
[cc-base-branch]: https://codecov.io/gh/deis/controller/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/deis/controller/compare/3dd07ac07cc8388d48b83796f6e198afac3ac099...b8d89761239fd71e161fd91af083bcf36ad9fd36
[cc-pull]: https://codecov.io/gh/deis/controller/pull/726?src=pr


Installation problem

Hi, I am trying to install PETPVC on my MAC, after installing ITK successfully, I try to follow the steps you wrote on github, but I get some error when doing make in the BUILD folder,
[ 71%] Building CXX object src/CMakeFiles/pvc_make4d.dir/Make4D.cxx.o
/Users/junhao.wen/Software/PETPVC/PETPVC/src/Make4D.cxx:33:10: fatal error:
'itkLabelGeometryImageFilter.h' file not found
I am not familiar with cmake, can you help me?
Thanks in advance

Hi,
This file belongs to the ITK Review module. When you build ITK, you need to switch on Module_ITKReview. This should solve the problem. Please let us know if this works for you.


Createtrack command causes MySQL issue

 simpleauthority issued server command: /lp createtrack test
[02:14:33 WARN]: java.util.concurrent.ExecutionException: java.sql.SQLException: Column count doesn't match value count at row 1
[02:14:33 WARN]:        at java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:357)
[02:14:33 WARN]:        at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1895)
[02:14:33 WARN]:        at me.lucko.luckperms.common.commands.impl.track.CreateTrack.execute(CreateTrack.java:68)
[02:14:33 WARN]:        at me.lucko.luckperms.common.commands.abstraction.SingleCommand.execute(SingleCommand.java:51)
[02:14:33 WARN]:        at me.lucko.luckperms.common.commands.abstraction.SingleCommand.execute(SingleCommand.java:43)
[02:14:33 WARN]:        at me.lucko.luckperms.common.commands.CommandManager.execute(CommandManager.java:197)
[02:14:33 WARN]:        at me.lucko.luckperms.common.commands.CommandManager.lambda$onCommand$0(CommandManager.java:142)
[02:14:33 WARN]:        at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1590)
[02:14:33 WARN]:        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[02:14:33 WARN]:        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[02:14:33 WARN]:        at java.lang.Thread.run(Thread.java:748)
[02:14:33 WARN]: Caused by: java.sql.SQLException: Column count doesn't match value count at row 1
[02:14:33 WARN]:        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:964)
[02:14:33 WARN]:        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3973)
[02:14:33 WARN]:        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3909)
[02:14:33 WARN]:        at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2527)
[02:14:33 WARN]:        at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2680)
[02:14:33 WARN]:        at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2487)
[02:14:33 WARN]:        at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1858)
[02:14:33 WARN]:        at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1197)
[02:14:33 WARN]:        at com.zaxxer.hikari.pool.ProxyPreparedStatement.execute(ProxyPreparedStatement.java:44)
[02:14:33 WARN]:        at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.execute(HikariProxyPreparedStatement.java)
[02:14:33 WARN]:        at me.lucko.luckperms.common.storage.dao.sql.SqlDao.createAndLoadTrack(SqlDao.java:802)
[02:14:33 WARN]:        at me.lucko.luckperms.common.storage.AbstractStorage.lambda$createAndLoadTrack$13(AbstractStorage.java:234)
[02:14:33 WARN]:        at me.lucko.luckperms.common.storage.AbstractStorage.lambda$makeFuture$0(AbstractStorage.java:84)
[02:14:33 WARN]:        at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1590)
[02:14:33 WARN]:        at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:71)
[02:14:33 WARN]:        at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:52)
[02:14:33 WARN]:        ... 3 more

I believe something must be broken with our schema, or something else. Has anyone experienced with before?

Uhh no, I've never had reports of issues similar.
You're using a slightly outdated version, so it's quite hard to track exactly where it's failing.
Can you try updating?
https://ci.lucko.me/job/LuckPerms/

@lucko Sure. I've updated to 4.1.16

Same error:
[02:39:25 INFO]: simpleauthority issued server command: /lp createtrack test
[02:39:26 WARN]: java.util.concurrent.ExecutionException: java.sql.SQLException: Column count doesn't match value count at row 1
[02:39:26 WARN]:        at java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:357)
[02:39:26 WARN]:        at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1895)
[02:39:26 WARN]:        at me.lucko.luckperms.common.commands.impl.track.CreateTrack.execute(CreateTrack.java:68)
[02:39:26 WARN]:        at me.lucko.luckperms.common.commands.abstraction.SingleCommand.execute(SingleCommand.java:51)
[02:39:26 WARN]:        at me.lucko.luckperms.common.commands.abstraction.SingleCommand.execute(SingleCommand.java:43)
[02:39:26 WARN]:        at me.lucko.luckperms.common.commands.CommandManager.execute(CommandManager.java:201)
[02:39:26 WARN]:        at me.lucko.luckperms.common.commands.CommandManager.lambda$onCommand$0(CommandManager.java:146)
[02:39:26 WARN]:        at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1590)
[02:39:26 WARN]:        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[02:39:26 WARN]:        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[02:39:26 WARN]:        at java.lang.Thread.run(Thread.java:748)
[02:39:26 WARN]: Caused by: java.sql.SQLException: Column count doesn't match value count at row 1
[02:39:26 WARN]:        at me.lucko.luckperms.lib.mysql.jdbc.SQLError.createSQLException(SQLError.java:965)
[02:39:26 WARN]:        at me.lucko.luckperms.lib.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3973)
[02:39:26 WARN]:        at me.lucko.luckperms.lib.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3909)
[02:39:26 WARN]:        at me.lucko.luckperms.lib.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2527)
[02:39:26 WARN]:        at me.lucko.luckperms.lib.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2680)
[02:39:26 WARN]:        at me.lucko.luckperms.lib.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2484)
[02:39:26 WARN]:        at me.lucko.luckperms.lib.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1858)
[02:39:26 WARN]:        at me.lucko.luckperms.lib.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1197)
[02:39:26 WARN]:        at me.lucko.luckperms.lib.hikari.pool.ProxyPreparedStatement.execute(ProxyPreparedStatement.java:44)
[02:39:26 WARN]:        at me.lucko.luckperms.lib.hikari.pool.HikariProxyPreparedStatement.execute(HikariProxyPreparedStatement.java)
[02:39:26 WARN]:        at me.lucko.luckperms.common.storage.dao.sql.SqlDao.createAndLoadTrack(SqlDao.java:795)
[02:39:26 WARN]:        at me.lucko.luckperms.common.storage.AbstractStorage.lambda$createAndLoadTrack$15(AbstractStorage.java:249)
[02:39:26 WARN]:        at me.lucko.luckperms.common.storage.AbstractStorage.lambda$makeFuture$0(AbstractStorage.java:86)
[02:39:26 WARN]:        at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1590)
[02:39:26 WARN]:        at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:71)
[02:39:26 WARN]:        at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:52)
[02:39:26 WARN]:        ... 3 more

I checked our schema and it looks like this. Everything look okay to you?
mysql> use luckperms;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Database changed
mysql> show tables;
+-----------------------------+
| Tables_in_luckperms         |
+-----------------------------+
| luckperms_actions           |
| luckperms_group_permissions |
| luckperms_groups            |
| luckperms_players           |
| luckperms_tracks            |
| luckperms_user_permissions  |
| lv_content                  |
| lv_group_data               |
+-----------------------------+
8 rows in set (0.00 sec)

mysql> select * from luckperms_tracks;
+----------+--------------------------------------------------------------------------------------+----------+------------+
| name     | groups                                                                               | order_id | is_visible |
+----------+--------------------------------------------------------------------------------------+----------+------------+
| builder  | ["designer","architect"]                                                             |        0 |          0 |
| creative | ["champ","spartan","elite","royal","demigod"]                                        |        2 |          1 |
| dweller  | ["dweller","settler"]                                                                |        0 |          0 |
| staff    | ["ambassador","trialmod","mod","supermod","admin","owner"]                           |        0 |          0 |
| survival | ["dweller","settler","colonist","merchant","pioneer","apprentice","artisan","baron"] |        1 |          1 |
| vip      | ["oracle","vip"]                                                                     |        0 |          0 |
+----------+--------------------------------------------------------------------------------------+----------+------------+
6 rows in set (0.00 sec)

Yeah, looks fine to me
But the error doesn't really make much sense.
Caused by: java.sql.SQLException: Column count doesn't match value count at row 1

https://github.com/lucko/LuckPerms/blob/cd5447de38f65eda8b9619afd50e03272fb2e9d7/common/src/main/java/me/lucko/luckperms/common/storage/dao/sql/SqlDao.java#L792-L795
https://github.com/lucko/LuckPerms/blob/cd5447de38f65eda8b9619afd50e03272fb2e9d7/common/src/main/java/me/lucko/luckperms/common/storage/dao/sql/SqlDao.java#L108

I wonder what could be the issue.

Yep, I have no idea.

My only guess is that something is corrupted in your MySQL server.
You could try recreating the table from the schema.
https://github.com/lucko/LuckPerms/blob/47739344816560d482f88cc00ff3dce4b68d295f/common/src/main/resources/schema/mysql.sql#L56-L60
Going to close this - as far as I can tell there's no issue within LP that could be causing this.

@lucko Doing so would lose data, right?

Yes, the contents of the tracks table would be lost - but you should be able to easily recreate it.


Make updateStrategy rollingUpdate params configurable

What would you like to be added:
I'd like to be able to configure the rollingUpdate params, specially the maxUnavailable one.
$ oc explain daemonset.spec.updateStrategy.rollingUpdate.maxUnavailable
KIND:     DaemonSet
VERSION:  apps/v1
FIELD:    maxUnavailable <string>

DESCRIPTION:
     The maximum number of DaemonSet pods that can be unavailable during the
     update. Value can be an absolute number (ex: 5) or a percentage of total
     number of DaemonSet pods at the start of the update (ex: 10%!)(MISSING).
     Absolute number is calculated from percentage by rounding down to a minimum
     of one. This cannot be 0 if MaxSurge is 0 Default value is 1. Example: when
     this is set to 30%!,(MISSING) at most 30%!o(MISSING)f the total number of
     nodes that should be running the daemon pod (i.e.
     status.desiredNumberScheduled) can have their pods stopped for an update at
     any given time. The update starts by stopping at most 30%!o(MISSING)f those
     DaemonSet pods and then brings up new DaemonSet pods in their place. Once
     the new pods are available, it then proceeds onto other DaemonSet pods,
     thus ensuring that at least 70%!o(MISSING)f original number of DaemonSet
     pods are available at all times during the update.
     IntOrString is a type that can hold an int32 or a string. When used in JSON
     or YAML marshalling and unmarshalling, it produces or consumes the inner
     type. This allows you to have, for example, a JSON field that can accept a
     name or number.

Docs about the rolling update: https://kubernetes.io/docs/tasks/manage-daemon/update-daemon-set/
I imagine something like this in values.yaml:
splunk-kubernetes-logging:
  rollingUpdate:
    maxUnavailable: 5

Why is this needed:
If you have many nodes, it takes quite some time to upgrade to a new release due to the daemonset only updating one node after another. By specifying daemonset.spec.updateStrategy.rollingUpdate.maxUnavailable to an absolute number or percent value, things will speed up.

I'm happy to provide a pull-request for this feature if it is accepted. :)

I'm happy to provide a pull-request for this feature if it is accepted. :)

Please, raise the PR. It would be very helpful :)

will provide a PR.


Updating Alpha Zero

This is a feature proposal.
While basing my work on this version of Alpha Zero (Tensorflow, both in Python and C++), I have many points that I have addressed, including:

It is clear that the Alpha Zero implementation is depending on the compatibility layer of TensorFlow.
Some constants are hard coded. I have two examples of this, stage_count=7 and wait(0.01). While their meaning is clear from context and from the subsequent logic, it will be nice to parameterise them.
The replay buffer seems to be manually implemented. It will be also nicer to base it on the sibling project dm-reverb
The implementation seems to be tightly coupled. By service, I mean  an actor or a learner or an evaluator.

My proposed implementation is based on TensorFlow 2, and is almost functionally equivalent to the old one, only the model definition is not the same (I am working on a specific game, but I can follow the "standard" architectures exactly if needed)
There are also later improvements concerning point 3 and 4, but I will be happy to propose the migration from TF1 logic to TF2 as a starter.
Before anything else, I want to know if you are open to such idea?

Hi @ramizouari,
That's great! I think we will soon need to replace (or deprecate) all of our TF1 implementations soon / eventually, so I'd be happy to upgrade our TF AlphaZero to be base primarily on TF2.
I'm surprised you got the Tensorflow C++ version to work. Last I remember, we only had that working internally. Either way: it's not used very much because most people could not get it to compile externally. So we left it there mostly so people could see it. It'd be OK if the TF2 version of AlphaZero didn't support the C++ TF API because it's not nearly as user-friendly as the LibTorch, which several people have used instead.
Would you be willing to submit a PR that upgrades it? I'd like some evidence that it works as well, on maybe say Tic-Tac-Toe and/or Connect Four. We should also loop in @tewalds who was the original author of that code to see if he has anything to add.
Let me know what you think!

Hi @lanctot,
First of all, thank you for your reply. I will be more than happy to submit a PR for this proposal.
To be honest, getting to C++ version to work was not an easy task. The main problem was getting TensorFlow to work. While I was not able to build TensorFlow from source, nor build it as mentioned by the documentation via TensorFlowCC. I was able to link the library against the pip installed version (It contains the *.so files, and fortunately, it does also contain the header files).
Also, to load the model, I had to use the SavedModelBundle interface. Still, I was not able to implement these scenarios yet:

Loading particular checkpoints
Calling the Fit function
I think they are possible, but need further inspection of the protobuf file.

For the Python version, everything works with the new API.
For the PR, I will try to do it before the end of July.
For a quick inspection of the code before the PR, you can find it on my fork  under the same name open_spiel. It should contain:

For Python: The files of the new implementation on the same path with a suffix _v2.
For C++: It is under open_spiel/algorithms/alpha_zero_mpg, but this is an implementation for a very specific game. I will rewrite a generalised version from it for the PR.

If you need further clarification, Let me know.

Alright, cool! Take all the time you need. In the mean time, I will point @tewalds to the thread to see if he has any comments.

It'd be great to have a C++ version of alphazero that uses TF2 and reverb. I didn't use reverb initially with the goal of maximizing what is doable on a single machine, ignoring the multi-machine case, but it'd be great to support multi-machine as well.
As long as you can get it general enough to learn any similar game, I'm all for inclusion.

Hello @tewalds.
Thank you for your reply.
In the game that I am working on (Mean Payoff Game), I had to deploy it on a HPC cluster for faster trajectory generation.
For my use case, trajectories were sent with reverb, and model broadcasting the model and monitoring were done with a HTTP server on each service.
Also, the HTTP part is generic on the sense that we can switch it with another protocol (or default to the multiprocessing queues as is implemented by default), one only have to change:

Model broadcasting function
The ReplayBuffer implementation (Local via queues / Reverb via gRPC, or a custom one)
The model update part on the actors and evaluators.

I had to switch to Python on that part due to the lack of documentation of C++'s implementation of Reverb, but of course it is doable. I will need to contact the Reverb team for more intuition on their C++ code.
Also another limitation of the C++ part, I am still not find the correct format to call the fit function on C++. I only was able to do inference. Also I was not able to load individual checkpoints, but that can be mitigated by simply loading the whole SavedModel bundle on each update.
On the other hand, assuming the Reverb problem in C++ will be resolved, what I can do is implement the learner in Python, and the actors and evaluators in C++. And have them communicate using for example HTTP + Reverb.
Now,  as that will constitute a big code addition, I think it will be best if we split them on PR at a time. And for that I will start with the TF2 update.
And as a performance measure, can you please tell me what games should the new implementation be able to learn?

That all sounds great!
I was using tic-tac-toe as my basic test as it should learn that pretty quickly, then connect four as something a bit harder that it should get great at, and havannah as my real challenge since that's what I worked on for my masters so had a strong opponent I could play via the gtp connector.

@ramizouari I was playing around with your python-based tf2.0 fork on connect_four and (maybe this is a wsl issue), but I'm getting cuda errors on the learner and evaluator workers when initializing the error because tensorflow doesn't like the share the GPU when using multi-processing. How did you get the code running? When I was just using the CPU, the workers were really really slow to the point of being unusable. (I would have simply raised this as an issue on your fork, but didn't see that as an option)

Hi @ramizouari,
That's great! I think we will soon need to replace (or deprecate) all of our TF1 implementations soon / eventually, so I'd be happy to upgrade our TF AlphaZero to be base primarily on TF2. Luckily on the basic RL side, we have most of main algorithms already in JAX & PyTorch so this won't be too problematic, but definitely TF AlphaZero is not in that category.
I'm surprised you got the Tensorflow-based C++ AlphaZero version to work. Last I remember, we only had that working internally. Either way: it's not used very much because most people could not get it to compile externally. So we left it there mostly so people could see it. It'd be OK if the TF2 version of AlphaZero didn't support the C++ TF API because it's not nearly as user-friendly as the LibTorch, which most of the C++ users have used instead.
Would you be willing to submit a PR that upgrades it? I'd like some evidence that it works as well, on maybe say Tic-Tac-Toe and/or Connect Four. We should also loop in @tewalds who was the original author of that code to see if he has anything to add.
Let me know what you think!

where is AlphaZero  algorithms in JAX?  what about the speed of AlphaZero in jax?  Is there a big difference in speed between AlphaZero JAX and AlphaZero C++?

where is AlphaZero algorithms in JAX? what about the speed of AlphaZero in jax? Is there a big difference in speed between AlphaZero JAX and AlphaZero C++?

There is no JAX AlphaZero in OpenSpiel. It would make a welcome contribution, though!

Hi @ramizouari ,
I'm doing a bit of spring cleaning and looking into removing the TF-based C++ AlphaZero, here: https://github.com/google-deepmind/open_spiel/pull/1201.  @tewalds, we never managed to get this to work externally and I'm not sure it's worth maintaining long-term if it's not being used. wdyt?
If you have worked on a JAX or TF2-based implementation, we'd love to have it in the repos (if it's well-tested on a few small games), so I'd encourage you to submit it as a PR.
Otherwise users interested in C++-based AlphaZero should use the one based LibTorch.  There's also the Python TF implementation.


Modified slight problems regarding this starter such as mainWindow.lo…

…adURL, and the crash-reporter. Also modified variables to follow ES2015 as found in the electron quickstart"

Thanks @frankievx


Limited wrapper for puppetfactory profile

Starting point for moving the other stuff over from the puppetfactory profile.

Do we want to do a wrapper or just port wholesale like we started (and didn't finish) with the others, like https://github.com/puppetlabs/pltraining-classroom/blob/master/manifests/course/virtual/fundamentals.pp?
Or was your plan to do the wrapper so that we don't have to update docs when we get them all ported?

I was just thinking let's to something low impact for now and we'll finish up after the initial delivery.

Hokay, but you're committing to test it thoroughly prior to delivery!
Can you yank the params until they do something? I don't want them to be misleading.

Well, maybe don't merge yet.  I think I might just finish the job since I'll have to test anyway.  I've got a lot of additional stuff to add for the master setup.


dim_capsule 8 != 16 in the code

In capsulenet.py line 43
The primarycap's dim_capsule is 8.
But the CapsuleLayer's dim_capsule is 16.
Though it doesn't seem to be a problem when training, I wonder why it is unequal...

@strongrex2001 capsules in different layers have different dimensions. You can get it in the paper.

https://www.youtube.com/watch?v=2Kawrd5szHE

Thank you! I had been confused by the "Reshape"..


[WIP] v1.12.0: some fixes to CHANGELOG

DO NOT MERGE YET I just opened it so that we don't forget it.
If we have more fixes to the changelog i'll update this PR.

Didn't find https://github.com/docker/docker/pull/19367 in there

These as well:

https://github.com/docker/docker/pull/20410
https://github.com/docker/docker/pull/20835
https://github.com/docker/docker/pull/20853
https://github.com/docker/docker/pull/21006
https://github.com/docker/docker/pull/21361
https://github.com/docker/docker/pull/21495
https://github.com/docker/docker/pull/21556
https://github.com/docker/docker/pull/21641
https://github.com/docker/docker/pull/21724
https://github.com/docker/docker/pull/21773

https://github.com/docker/docker/pull/21844
https://github.com/docker/docker/pull/21901
https://github.com/docker/docker/pull/21904
https://github.com/docker/docker/pull/21945
https://github.com/docker/docker/pull/22000 (although the env-var is gone, so may not be needed)
https://github.com/docker/docker/pull/22094
https://github.com/docker/docker/pull/22138
https://github.com/docker/docker/pull/22344
https://github.com/docker/docker/pull/22408
https://github.com/docker/docker/pull/22448
https://github.com/docker/docker/pull/22508

https://github.com/docker/docker/pull/22932

@tiborvass don't know if you included this one, but this was in the TP5 milestone for some reason https://github.com/docker/docker/pull/20639

LGTM

LGTM (IANAM)

SELF LGTM

Changelog merged to master in #25238


Check if TestCase responds to the fixture_path setter

The existence of the getter doesn't mean there's also a setter, so this resulted in failures like the following:
1) Admin::CollectionsController POST #create creates a record
     Failure/Error: banner_image: fixture_file_upload('alpaca.jpg', 'image/jpg')

     NoMethodError:
       undefined method `fixture_path=' for ActionController::TestCase:Class
       Did you mean?  fixture_path

Do you think it is possible to add a test?

I think so, will have a look tonight.

Are you seeing an issue from this @koenpunt? I think this method is always available isn't it?

Yeah I am, fixture_file_upload method doesn't work in my Rails 6 application

In that case we'd definitely like an integration spec for this so we can catch such problems in future :joy:

@koenpunt, if you need any help feel free to ask. I will be happy to help you.

Little bump on this one. Still available if you need help @koenpunt.

Yes, sorry, just started a new job so didn't really had time to take a look at this again. Will try to get back to this ASAP.

I've now added a test which I hoped was going to fail without my changes, but that isn't the case. Any pointers for how I could try to implement the test differently?

After some further investigation I realised that I actually added the fixture_path method to ActionDispatch::TestProcess to allow usage of fixture_file_upload from FactoryBot factories. But I didn't implement the setter, so this caused rspec-rails to raise the NoMethodError.
I've now changed my implementation to not modify ActionDispatch::TestProcess, but instead monkey patch the fixture_file_upload method into FactoryBot, which solves the issue.
That said, I still think the respond_to?(:fixture_path) isn't correct, because it checks the getter, but then uses the setter.
Should I create a test where I add the fixture_path method, to demonstrate the failure?

Closed by #2370


Fix forbid holes bug

This PR fixes the bug where the Cesium CWT would not load if the Forbid Holes option was enabled.

Thanks @joseph-kaile!


ofxGuiElement.h failing to build osx

I am using the nightly build of OF for OSX and after finding a few missing libraries like Poco I have gotten the basic gui extended example to build except for one final issue that has stumped me.  The error is tied to the ofSerialize() and ofDeserialize() methods and the saveTo() and loadFrom() methods that pass either an ofXML object or ofJSON object to those functions.  It appears that it is a conversion error between ofXML and ofJson objects but I don't know how to fix it.  Thanks for your time!
Below are the errors I am receiving:
No matching function call to ofSerialize
/Users/astewart/Developer/of_v20161102_osx_release/libs/openFrameworks/utils/ofJson.h:55:13: Candidate function not viable: no known conversion from 'ofXml' to 'ofJson &' (aka 'basic_json<> &') for 1st argument
/Users/astewart/Developer/of_v20161102_osx_release/addons/ofxGuiExtended/src/ofxGuiElement.cpp:437:3: In instantiation of function template specialization 'ofxGuiElement::saveTo' requested here
No Matching function call to ofDeserialize
/Users/astewart/Developer/of_v20161102_osx_release/addons/ofxGuiExtended/src/ofxGuiElement.cpp:465:3: In instantiation of function template specialization 'ofxGuiElement::loadFrom' requested here
/Users/astewart/Developer/of_v20161102_osx_release/libs/openFrameworks/utils/ofJson.h:76:13: Candidate function not viable: no known conversion from 'ofXml' to 'const ofJson' (aka 'const basic_json<>') for 1st argument

Update.  Just installed openFrameworks in Ubuntu in VirtualBox and got to the same issue.  QtCreator's error output point to the same issues.  Also had to add Poco to src folder for addon like on OSX.

Hey, the missing serialization functions were removed from OF and are now back there, so please update the OF repository (master branch), that should fix it! If you also update this addon, you don't need Poco anymore (I rewrote that part) Thanks for reporting and write me if there are more problems.


Anonymous function help...

Hi Alex!
Tileboard is an excellent system, I have been using it for days with satisfaction.
However, I've a problem. I want to truncate some of  HA sensors @attributes.friendly_name as it's very long. I would like to expose the substring of the end part of the value, as a titles, to tiles.
Would you help me find the right anonymous function? The examples you provide do not work for me. :-O
Kovaccsaba

Hi there. You can get to the attributes using an anonymous function like so: this.states[item].attributes.friendly_name

Thank You for this rapid answer!
Unfortunately I am not an experienced js programmer, so I don't know exactly what the item means and what the entity parameters are.
In this example, I would like to extract part of the title value:
{
position: [2.2, 1.2],
width: 2.2,
height: 1.5,
title: 'Telefon/helyzet',
id: {}, // since we are binding each list item to different sensor, so we simply use an empty object
type: TYPES.TEXT_LIST,
state: false,
list: [
{
....
}
{
//title: '&sensor.battery_state.attributes.friendly_name',
id: "sensor.battery_state',
title: function (item, entity) {
return (entity.attributes.friendly_name);
},
icon:  '&sensor.battery_state.attributes.icon',
value: '&sensor.battery_state.state',
},
...
The above function returns empty value. And next, how to substring the good return value?
Kovaccsaba

title: function (item, entity) {
  return this.states[item].attributes.friendly_name;
},

Sorry, but it doesn't work! Empty value comes back in title.
What value should be given to the item and entity?

Oh, I've almost completely forgotten about this.parseFieldValue('...'). You can try:
title: function () {
  this.parseFieldValue('&sensor.battery_state.attributes.friendly_name');
}

This is much better here :-)
title: function () {
return this.parseFieldValue('&sensor.battery_state.attributes.friendly_name');
}

Thank you!
This became my solution:
title: function () {
var t = this.parseFieldValue('&sensor.battery_state.attributes.friendly_name');
return t.substring(14);
Good!  Thank's everithing!
}


Possibility to add additional ebs block devices to instances

Usage of this PR can be found here: https://github.com/skyscrapers/terraform-elk_cluster/pull/3

@SamClinckspoor Indeed, the problem with using aws_volume_attachment and aws_ebs_volume is that you can't format and mount the volume in cloud-init, as explained in the other PR: https://github.com/skyscrapers/terraform-elk_cluster/pull/3
As mentioned in my previous comment, with this you can use both approaches depending on the needs.


An error occurred while retrieving package metadata

Looks like something happened either during creation of the 1.0.7 nuget package, or on upload, as we receive the following error any time we open nuget package manager or try to update/install packages:
An error occurred while retrieving package metadata for 'DLToolkit.Forms.Controls.FlowListView.1.0.7'This was reproducible on multiple machines using Visual Studio 2015 with the latest nuget package manager (tested with command line client as well).
The workaround for us, for the time being, was toe re-compress the nupkg file in our packages directory using a zip utility. I figured this out by running the nuget command line utility with the -Verbosity detailed flag and found this error in the output:
System.IO.FileFormatException: File contains corrupted data
So something in the zip headers is throwing off the nuget client.
Not sure if a re-upload of 1.0.7 will resolve this, or if there's a deeper issue with the nuget client you used to package this.

@petersondrew  There's a new 1.0.8 package. Could you check it?

@daniel-luberda I would like to ask which nuget version is the most stable for Xamarin.Forms <IP_ADDRESS>?

@CeSeeYee I would use the most recent one.


[Feature] Add a Raku-specific menu to the bottom panel of the editor

This will make discoverability much nicer for things like SDK management (#16) as well as encourage new Raku-specific actions.

Initial support added in Beta 26.

This seems to be working pretty well so far. Further additions will be covered in other tickets.


Explain the +x behavior when context packaged from Windows CLI

We need docs to explain the by design behavior changed at #11148. Feel free to assign to me, although I'm not sure where to document this. Maybe ADD/COPY instructions in Dockerfile documentation would be nice. @tiborvass

Is this done?

Yep b

@ahmetalpbalkan Is there somewhere I can still find this? I wasn't able to find anything in /docs/. Thanks!


Rolling statistics

Pull Request Checklist:

[x] This PR addresses an already opened issue (for bug fixes / features)

This PR fixes #1480

[x] Tests for the changes have been added (for bug fixes / features)

[x] (If applicable) Documentation has been added / updated (for bug fixes / features)

[x] CHANGES.rst has been updated (with summary of main changes)

[x] Link to issue (:issue:number) and pull request (:pull:number) has been added

What kind of change does this PR introduce?

Adds xclim.indices.select_rolling_resample_op that acts in a way similar to select_resample_op, but with a rolling window beforehand.

Does this PR introduce a breaking change?
Other information:

I've done it as a separate index for now, but we could also just add the window argumwents directly in select_resample_op and disable them by default.

I added the last asserton the third test. This now requires #1649 to pass.

coverage: 90.191% (+0.004%) from 90.187%
when pulling 318ae0683dc31c79b28488d0d2ac428270034510 on rolling_stats
into 7de95fa2ceadaefd2355e32d72c1e8884a66aaf9 on master.


fix: the blocking dep extract-text-webpack-plugin not required

Fixed https://github.com/arthurbergmz/webpack-pwa-manifest/issues/146

Solved, thank you.


net7.0 not supported for free static web app functions?

A similar topic was discussed here: #996
Is your feature request related to a problem? Please describe.
Currently I'm struggling with bringing my backend API of an Azure Static WebSite to dotnet 7.
For now I'm a bit confused in what is actually supported in the free tier.
First source is the GA announcement. It just says, dotnet 7 can be used.
Then I looked in the docs and found also here that it should be fine as a managed function. But on the same site there is the heading Constraints. And there the support for dotnet 7 is missing on the managed site.
The the question is now, what is when supported?
Describe the solution you'd like
A clear description what frameworks / versions can be used in the managed functions, and if there are any exclusion of the free tier there, it should be noted somewhere.

Hi @paule96 Thanks for the feedback. We will update the docs for constraints section.
.net 7.0 is support but only via isolated worker process (even by Azure Functions, this is the case.)
Same info and more details has been provided in this comment in the github issue you mentioned: https://github.com/Azure/static-web-apps/issues/996#issuecomment-1322575098
There is no difference between free tier vs standard tier wrt supported function versions.
Can you please try out .net7.0 using the isolated process project and see if it helps: https://learn.microsoft.com/en-us/azure/azure-functions/dotnet-isolated-process-guide
Please let me know if there are any other concerns. Thanks!

Hm okay. Then I maybe have another problem. Because my api with dotnet 7 seems to have startup problems. You can check it here:
https://kind-dune-004c2c103-test2.westeurope.azurestaticapps.net/api/GenerateSas
But there are no errors in the app insights. And I only have this problem with dotnet 7.

@paule96 Looking at your build command, it could be due to the runtime identifier.
Managed functions for dotnet are hosted on Windows for Static Web Apps, but I  see you providing  runtime as Linux . Can you please try changing that and see if it fixes the issue. Thanks!

okay I tried it now with the following options:

--runtime win-x64 --no-self-contained
--runtime win-x86 --no-self-contained
--runtime win-x64 --self-contained
--runtime win-x86 --self-contained

No option did work. Is it maybe not allowed to mix frameworks over environments?
So currently my production stage is on dotnet 6. (not isolated)
And my other environments like the environment test2 are on dotnet 7 isolated.

@paule96 Looking at this further, your function startup is failing with error Did not find functions with language [dotnet-isolated].
It could have something to do with the way the project is built but looking at your code I didn't find any apparent issue.
Can you please try and see if you can run your project locally using Azure functions core tools and see if it helps figure out the issue: https://github.com/Azure/azure-functions-dotnet-worker#create-and-run-net-isolated-functions
or try to deploy the api to standalone function and see if it works. Thanks!

Hm if I publish my functions lokal with dotnet publish -c Release ./src/CZ.Azure.FileExchange.Api/ -o temp/api and then go the this directory and start the functions host with func host start it starts but with the following warnings:
Can't determine project language from files. Please use one of [--csharp, --javascript, --typescript, --java, --python, --powershell, --custom]
Can't determine project language from files. Please use one of [--csharp, --javascript, --typescript, --java, --python, --powershell, --custom]
Can't determine project language from files. Please use one of [--csharp, --javascript, --typescript, --java, --python, --powershell, --custom]

But it runs perfectly fine lokal.
The question is now, why not in the cloud. Also here the content of the worker and host json from the lokal publish dir:
worker.config.json
{
  "description": {
    "language": "dotnet-isolated",
    "extensions": [ ".dll" ],
    "defaultExecutablePath": "dotnet",
    "defaultWorkerPath": "CZ.Azure.FileExchange.Api.dll",
    "workerIndexing": "false"
  }
}

host.json
{
  "version": "2.0",
  "logging": {
    "applicationInsights": {
      "samplingSettings": {
        "isEnabled": true,
        "excludedTypes": "Request"
      }
    }
  }
}

@vivekjilla any news on this topic?

@paule96 I was able to get it working for me. What are you running into?

@paule96 sorry I missed your original message. I will try to see if there are any other logs that might help here.
By any chance, did you also try deploying to a function app directly and see if it's working? That might give some more insights as well.

Yes I tried it with azure functions. Surprisingly I get the following error:

The problem is I don't know why.
So for somereason he can find locally all .dlls but not inside azure.

So I found more out.
It really seems to be a problem with the Environment feature of static web apps.
So if you have a Static Webapp that looks like the following:

Production

API DOTNET 6 not isolated

PR 12

API DOTNET 7 isolated

In this case your PR 12 Environment will not work. It will always end in a 404 not found.

@vivekjilla are there any news on this?

Hi @paule96,
Thanks for sharing more details. We're looking into this issue and trying to repro and understand more. Will get back to you once we find more details.

@vivekjilla  @sachin-rathor any news here?

@sachin-rathor and @vivekjilla I have an update on this issue that maybe helps.
The previous information was wrong, in that this only will happen if the environments use different function frameworks.
It happens for me always if I have an environment that is:

a dotnet 7 function
is in isolated mode
and is not in production.

So production works fine, but any other environment does not work.

Okay I found out now more. It depends where you build. My production slot is always build on windows. And my PR slots are always build on linux.
I changed my PR build now to also build on windows and it works... So I guess there is some difference in doining:
dotnet publish -c Release -o temp/api --runtime win-x86 --no-self-contained ./src/CZ.Azure.FileExchange.Api/CZ.Azure.FileExchange.Api.csproj

on windows and linux. I guess this is now more a problem of the azure functions team or?
what is your opinion @sachin-rathor & @vivekjilla


Set the location of the vite.config.js file programmatically so that it can be optional

In addtion to this, I think we can move most of the logic used for the base config file, into the runDevScript.js which is used by the CLI. Therefore avoiding the need for a default config to merge with.


Missing electron-prebuilt from dev dependencies

The packaging process is apparently looking for electron-prebuilt as dev dependency when building: https://github.com/chentsulin/electron-react-boilerplate/blob/master/package.js#L51
But it's missing from package.json, so the script falls back to download version 1.2.0: https://github.com/chentsulin/electron-react-boilerplate/blob/master/package.js#L53
Should this missing dependency be added or is there something I'm not aware of?

Oh sorry, we replaced electron-prebuilt to electron in #343. #364 fixed this issue.

https://github.com/chentsulin/electron-react-boilerplate/blob/master/package.js#L50
Reference to Electron-Prebuilt in comment there. I was wondering why I was missing electron-prebuilt as well when I read over that comment. Thanks for clearing up.


⚠ AVS (kty) has degraded performance

In b5af579, AVS (kty) (https://avus.com.br) experienced degraded performance:

HTTP code: 200
Response time: 8047 ms

Resolved: AVS (kty) performance has improved in 4c5ec6b.


Change webpack config to support use of SystemJS

This PR implements the webpack.config.js change required to allow react-scripts to build code that explicitly uses systemjs
The path is applied to a branch created from react-scripts-3.4.1.
This fork of react-scripts is published as @ptv.js/react-scripts-3.4.1.
Hopefully by mirroring the upstream version it will be easier to track and pull upstream changes.

Hey @pixelami, I totally missed this PR. I notice we currently use this in SDK. Is it doing anything right now without this PR merged or is it simply a clone currently?


DOC:

Issue with current documentation:
Hi, I was trying to implement human in loop concept but unable to implement. I follow the documentation but not getting desired output. I have attaching code also for review. please guide me how to implement human in loop such a way that graph flow will stop desired node then human will see the output of that node, it will update if required and then send information to next node. Next node will use that information and do remaining code,
from typing import TypedDict
from langgraph.graph import StateGraph, START, END
from langgraph.checkpoint.memory import MemorySaver
from IPython.display import Image, display
class State(TypedDict):
input: str
def step_1(state):
print("---Step 1---")
state['input'] += " from step 1"
return state
def step_2(state):
print("---Step 2---")
state['input'] += " from step 2"
return state
def step_3(state):
print("---Step 3---")
state['input'] += " from step 3"
return state
builder = StateGraph(State)
builder.add_node("step_1", step_1)
builder.add_node("step_2", step_2)
builder.add_node("step_3", step_3)
builder.add_edge(START, "step_1")
builder.add_edge("step_1", "step_2")
builder.add_edge("step_2", "step_3")
builder.add_edge("step_3", END)
Set up memory
memory = MemorySaver()
Add
graph = builder.compile(checkpointer=memory, interrupt_before=["step_3"])
View
display(Image(graph.get_graph().draw_mermaid_png()))
Input
initial_input = {"input": "hello world"}
Thread
thread = {"configurable": {"thread_id": "1"}}
Run the graph until the first interruption
current_state = initial_input
for event in graph.stream(current_state, thread, stream_mode="values"):
print(event)
current_state = event  # Update the current state with the event output
Capture the output of step_2
state_after_step_2 = current_state
try:
user_edit = input(f"Edit the state after Step 2: {state_after_step_2['input']}\nYour edit: ")
except:
user_edit = state_after_step_2['input']
Update the state with the user's edit
state_after_step_2['input'] = user_edit
#Continue the graph execution with the updated state
for event in graph.stream(state_after_step_2, thread, stream_mode="values"):
print(event)
current_state = event  # Update the current state with the event output
for event in graph.stream(None, thread, stream_mode="values"):
print(event)
current_state = event  # Update the current state with the event output
Idea or request for content:
Please provide me doc, solution or blog where i can solve my issues.

You should use update_state to update the status.


pubsub: remove references to com.google.cloud.pubsub.spi

Fixes #2168.

LGTM

Changes Unknown when pulling e0d44ebca0b6e5f210df6df013a89122a20230fe on pongad:pubsub-pkg-doc into ** on GoogleCloudPlatform:master**.

Coverage decreased (-0.004%) to 81.19% when pulling c6236991a0ade7dd0925519e6336e2aff0273b9d on pongad:pubsub-pkg-doc into bbfb6db5a32d553d0e368d5f46d3f1185750a36e on GoogleCloudPlatform:master.


Why all requests are sync?

https://github.com/coinapi/coinapi-sdk/blob/dev/data-api/csharp-rest/CoinAPI.REST.V1/CoinApiRestClient.cs
Why all requests are sync? while in GetData you use GetAsync but take result from it, please use async/await because its impossible to use this nuget like this

@Shidzy2 Fixed in 2.0.0
3a80541e31ad0c59e5fdc5d39cca4d0dcabb5f9c


[FEATURE REQUEST] Framed Simple Compacting Drawer

Description:
There's a Framed Compacting Drawer, but there's no matching Framed Simple Compacting Drawer.

Would it be possible to backport this feature to 1.18 too?


SourceControl - scm/inputBox menu contribution proposal

/*---------------------------------------------------------------------------------------------
 *  Copyright (c) Microsoft Corporation. All rights reserved.
 *  Licensed under the MIT License. See License.txt in the project root for license information.
 *--------------------------------------------------------------------------------------------*/

// empty placeholder declaration for the `scm/inputBox`-menu contribution point
// https://github.com/microsoft/vscode/issues/195474

This proposal would enable extension authors to place an action inside the source control input box:

@lszomoru Is this coming soon-ish?

I will try to get this finalised in February.

@lszomoru Do you know if the plan is still to include this in the February release? I noticed it is not included in the February iteration plan
There are multiple VS Code extensions that were making use of the previous API so it'd be great to be able to restore this functionality to users!

There are still couple of things to finalise around the execution of the actions that are being contributed to this menu so we simply ran out of time. We will try to get this finalises in March 2024.

@lszomoru I'm guessing this is another Copilot-only feature :( I hope we can eventually use this, let me know if there's anything we can do to help

Hi, what the status of this API?
How Github Copilot extension use it right now?


seating bug

it seems when I want to seat a cuffed person to my car it seats the person in their car instead and when I remove the car the script thinks there are no cars nearby.

you have to make the player look at your car and stick to it


JavaKit: add CustomJavaClassLoaderConstructible protocol

Swift projections of Java classes can conform to
CustomJavaClassLoaderConstructible, to provide a custom class loader to be used when constructing new instances.
Fixes: #154

Bikeshed: CustomJavaClassLoaderConstructible or CustomJavaClassLoaderInitializable?

I'd prefer to avoid Constructible, since that's not really a thing in Swift.

I'm happy for you to merge, unless you want tests (which I am still working on).

I do like tests. Let's wait until you have some tests in place.

I'm a bit caught up with other stuff today, I'll endeavour to get onto tests next week, feel free to merge (or not) in the interim.

Since this is also needed in the other PR, I'll go ahead and merge.