Phan is confusing array|null and ?array

This piece of code below results in:
PhanTypeMismatchReturn Returning type array|null[] but spdxDetails() is declared to return ?array

    public function spdxDetails(string $license): ?array
    {
        $spdx = new SpdxLicenses();
        if ($license = $spdx->getLicenseByIdentifier($license)) {
            return [
                'name' => $license[0],
                'osiApproved' => $license[1],
                'url' => $license[2],
            ];
        }

        return null;
    }

As far as I understand, ?array is array or null, and the code returns an array or null, and phan somehow sees it as array|null[] which I'm not sure if it indicates it sees it as an array or an array of nulls?
Anyway something seems off here (using latest master as of today btw, ad998a50571b37a4234fb4c1d692cd09bcf09954).

Similarly, I have a case of PhanTypeMismatchArgument Argument 4 (foo) is string but bar() takes ?string. Might be related? Some mis-handling of the nullable type ?... syntax? If you don't think it's the same I can report in a new issue.

Is the codebase you're using and the phan config you're using public? I can't create a simple, self-contained example (The below snippet doesn't emit any issues when phan is run on it with the strict settings)
We might be caching the wrong type for string somehow, but that seems unlikely.
<?php

function takesOptionalArray(?array $x) : array {
    return $x ?? [];
}

/** @return null[] */
function myOtherMethod() {
    return ['a' => null];
}

function mymethod() {
    takesOptionalArray(myOtherMethod());
}

function bar(?string $foo) {
}
bar('');

Unfortunately this isn't on public code. As for the config I run phan
without any special switches.
On 9 Mar 2017 05:14, "Tyson Andre"<EMAIL_ADDRESS>wrote:

Is the codebase you're using and the phan config you're using public? I
can't create a simple, self-contained example (The below snippet doesn't
emit any issues when phan is run on it with the strict settings)
We might be caching the wrong type for string somehow, but that seems
unlikely.
 null];
}

function mymethod() {
    takesOptionalArray(myOtherMethod());
}

function bar(?string $foo) {
}
bar('');

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
, or mute
the thread

.

This has the same cause as #567

@Seldaek - The underlying bug should have been fixed in the 0.9.1 release, by #597

Related to https://github.com/etsy/phan/issues/609

Just incase another example is needed/helpful, I'm getting this:
PhanTypeMismatchArgument Argument 1 (messages) is string but ... takes array|string[] defined at vendor/symfony/console/Style/SymfonyStyle.php:316

The PHPDoc definition is here: https://github.com/symfony/console/blob/master/Output/OutputInterface.php#L45
Appears to be converting the string into array of strings (string[]) and I'm guessing it is because array is an optional type.

@mrmark - That's unrelated, and should be a separate issue. Also include the contents of .phan/config.php and the command line options used to run Phan

Closing the original issue because it should have been fixed into 0.9.1, and I haven't heard any feedback to the contrary.
For the other comment about string[] and array, please open a separate issue and give a reproduceable example (e.g. codebase or self-contained file(s) for the method declaration and caller if that is still a problem on dev-master (will become 0.9.2)


[BUG] YNAB hangs while attempting to open with the toolkit

Describe the bug
When using chrome I'm not able to log in to YNAB my screen is stuck on loading YNAB. YNAB suggests I reach out to you.
To Reproduce
Steps to reproduce the behavior:

log in to ynab on chrome
log in
the system will let you log in but the page will not load
See error

Expected behavior
Once I enter my authy password I should be able to log in
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. OSX, Windows]
Browser [e.g. chrome, firefox]
Toolkit Version [e.g. 2.22.0]

Setting Export
Please replace the text below with your exported Toolkit settings. You can export these by going to the Toolkit Options page, click the Import/Export Settings button at the bottom left and copying the text in the modal which appears.
REPLACE_ME_WITH_SETTINGS

@AnnoyinArtist are you sill experiencing this issue? If not, please close this issue.
If you are, please paste any errors you see in the console by hitting the ctrl/command + shift + i keys while inside your browser.

Closing this issue. Feel free to re-open if you're still experiencing it.


Fix zoom not following cursor if the map wasnt moved

I have a couple of changes that I have made locally for a project that I thought I would upstream if it has interest, I split them up into seperate PR's, if some of the things aren't a fit for the main crate
Let me know if you would prefer it to be one big PR instead
There was an issue where the zoom wouldn't follow the cursor if the state of the center was still MyPosition as it is initially. This would cause the shift operation to not do anything, thus the zoom didn't shift the map, and just zoomed out in the center of the screen even if the cursor was somewhere else

After the change we now correctly zoom, before we have panned the map

[x] Map is displaying and reacting to input correctly, both natively and on the web.
[x] CHANGELOG.md was updated with relevant information (or the change was purely internal).

Thanks! That's a lot of cool improvements. PRs are perfect, I prefer small ones. :)


Added images for rooms#7

Description
We can see the images of the rooms here...so that we can have a visual representation of the room.
Fix #7
npm run storybook
Checklist

[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[ ] This PR is ready to be merged and not breaking any other functionality

You are still adding lots of small changes to the PR (line breaks, importing things other places, etc). Please avoid that for another time!

Thank you Benjamin..I wont repeat those next time.


Global preserveMemberCase: "true" vs Bridge.jQuery2.AjaxOptions and other

http://forums.bridge.net/forum/bridge-net-pro/bugs/1108

Fixed in https://github.com/bridgedotnet/Bridge/commit/5f510f13c2ce2b8ce121adc7393100312202b467
But we did not provide PreserveMemberCase attribute (at this moment preserveMemberCase option is ignored for classes from System and Bridge namespaces and subnamespaces)


Endpoint.Media.Posts.comments not returning (full) list of comments.

[x] I've searched past issues and I couldn't find reference to this.

Swiftagram version
4.0.1
Describe the bug
Media.Posts.comments endpoint fails to return (full) list of comments.
To reproduce
Steps to reproduce the behavior:

Comment on a post (for an account logged in with Swiftagram via Instagram from another account)
Retrieve comments via Endpoint.Media.Posts.comments
Observe:

onChange: {
    switch $0 {
        case .success(let collection):
             print("-- collection.comments --")
             dump(collection.comments)

For posts either incomplete comments will be produced or even just a blank Optional([]) when there are definitely comments posted.

Expected behavior
Full comment list should be returned/accessible.
Additional context
Issue is seen both with the Endpoint.Media.Posts.comments and deprecated Endpoint.Media.comments endpoints.
May be related to the way the library extracts comments: public var comments: [Comment]? { self["previewComments"].array()?.map(Comment.init) } as guessing that previewComments may not always return the paginated list.
Device and system
macOS 10.15.5, iPhone Simulator 13.6, Xcode 11.6

Thank you 🚀


Port some more TIL posts from my old notebook site

🚀 Deployed on https://66638b73df48c5450ba1b2b4--alexwlchan.netlify.app


Feature Request: full docs beyond the anchors on the home page

Having the docs on the home page is great! But as someone who's using this every day for a week now, having to mouse over some API elements as the only way to know how some things work is a bit challenging.
For instance. I'm on my laptop with a limited screen space, and I'm trying to look at KaboomCtx:

It's literally impossible for me to see the whole thing because when I mouse over the KaboomCtx I only see the partial tooltip, and there's no way to anchor it to scroll.
Sure I can go look in the source - but having something more reader friendly ( outside the fun main website ) would be awesome.

For sure, I'll add a quick page for them later soon (the docs are all very wip)

Added a route that dumps basic type info: https://kaboomjs.com/type/GameObj

Now all types have their place in the new page. Still missing individual field documents atm, but not the scope of this issue, closing this one.


Support Doctrine Events

Simple extension to provide listeners/subscribers.

Resolved via https://github.com/nettrine/dbal/commit/dbc62b1246c4ee9bf25aa03fe0e5d010b9278a5e


Execution failed java.io.IOException: Is a directory

I'm trying the simplest configuration possible. This is just by adding the plugin, I haven't even created a module-info.java in the test directory yet.
When I run:

mvn clean install -e

I get the following error:

By debugging the error is that it's trying to access the compiled classes in the target folder, but at the time of execution they haven't been compiled yet. Am I doing something wrong?
This is my full list of plugins in case there's some incompatibility I don't know of with some of them:
<build>
    <plugins>
      <plugin>
        <groupId>org.codehaus.gmavenplus</groupId>
        <artifactId>gmavenplus-plugin</artifactId>
        <version>${gmavenplus.plugin.version}</version>
        <executions>
          <execution>
            <goals>
              <goal>compile</goal>
              <goal>compileTests</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <groupId>de.sormuras.junit</groupId>
        <artifactId>junit-platform-maven-plugin</artifactId>
        <version>${junit-platform-maven-plugin.version}</version>
        <extensions>true</extensions> <!-- Necessary to execute it in 'test' phase. -->
      </plugin>
    </plugins>

    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-compiler-plugin</artifactId>
          <version>${maven-compiler-plugin.version}</version>
          <configuration>
            <source>${java.version}</source>
            <target>${java.version}</target>
            <annotationProcessorPaths>
              <path>
                <groupId>org.projectlombok</groupId>
                <artifactId>lombok</artifactId>
                <version>${lombok.version}</version>
              </path>
            </annotationProcessorPaths>
          </configuration>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-surefire-plugin</artifactId>
          <version>${maven-surefire-plugin.version}</version>
          <configuration>
            <argLine>
              --illegal-access=permit
            </argLine>
          </configuration>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-failsafe-plugin</artifactId>
          <version>${maven-failsafe-plugin.version}</version>
          <configuration>
            <argLine>
              --illegal-access=permit
            </argLine>
          </configuration>
        </plugin>
        <plugin>
          <groupId>com.coveo</groupId>
          <artifactId>fmt-maven-plugin</artifactId>
          <version>${fmt-maven-plugin.version}</version>
          <executions>
            <execution>
              <goals>
                <goal>format</goal>
              </goals>
            </execution>
          </executions>
        </plugin>
      </plugins>
    </pluginManagement>
  </build>

java.version=11
gmavenplus.plugin.version=1.8.1
junit-platform-maven-plugin.version=1.0.0-M5
maven-compiler-plugin.version=3.8.1
maven-surefire-plugin.version=2.22.2
maven-failsafe-plugin.version=2.22.2
fmt-maven-plugin.version=2.9

Seems like the plugin tries to read a non-existent module-info.test file. Looking into it...

Can you please try using the JAVA executor in your pom.xml?
<plugin>
  <groupId>de.sormuras.junit</groupId>
  <artifactId>junit-platform-maven-plugin</artifactId>
  <version>1.0.0-M5</version>
  <extensions>true</extensions> <!-- Necessary to execute it in 'test' phase. -->
  <configuration>
    <executor>JAVA</executor>
  </configuration>
</plugin>

Hey @sormuras,
I actually tried even before posting here. The outcome was the same, even though the stacktrace was slightly different.
Below is the full outcome. It seems the plugin is running during the classes compilation time, even in the case where tests are skipped.

Found the underlying issue:
https://github.com/sormuras/junit-platform-maven-plugin/blob/01d12f7bda2442bb0924af7e6701f373ce55da20/src/main/java/de/sormuras/junit/platform/maven/plugin/JUnitPlatformMojo.java#L547-L554

@sormuras amazing. Thanks!

Since I face the same bug (and this is my first time I try testing in the Java module world), I wonder what the workaround is?

IIRC, the work around was to provide some kind of a test/java directory. Either an empty one, or one with at least a single test, or one with with modul-info.test file.
Need to re-investigate this issue. Perhaps, I'll rewrite the plugin anyway, "soon"™.

[...] first time I try testing in the Java module world [...]

Have a look (and copy) the directory structure of the modular-world... integration tests at: https://github.com/sormuras/junit-platform-maven-plugin/tree/master/src/it -- they still should work.


New version: OlegShparber.Zeal version 0.7.1

Pull request has been created with komac v2.3.0 :rocket:
Microsoft Reviewers: Open in CodeFlow

/azp run

/azp run

/azp run

Hi @DeveloperPaul123,
This manifest adds Apps and Features entries that aren't present in previous PR versions. These entries should be added to the previous versions, or removed from this version.
(Automated response - build 886.)


Update bool.lam

Changed t for true, f for false in or and and.
prover --include examples/bool.lam --equal 'or true true' 'true'
now works

For not also add true and false.

Merged, thanks.


HBASE-28742 Fixes NPE for CompactionTool when mslab enabled

Fixes NPE issue with initialization of ChunkCreator

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 45s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
hbaseanti
0m  0s

Patch does not have any anti-patterns.

_ master Compile Tests _

+1 :green_heart:
mvninstall
4m 18s

master passed

+1 :green_heart:
compile
0m 55s

master passed

+1 :green_heart:
checkstyle
0m 16s

master passed

+1 :green_heart:
spotbugs
0m 46s

master passed

+1 :green_heart:
spotless
0m 52s

branch has no errors when running spotless:check.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
3m 45s

the patch passed

+1 :green_heart:
compile
1m  1s

the patch passed

+1 :green_heart:
javac
1m  1s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 24s

the patch passed

+1 :green_heart:
spotbugs
1m 19s

the patch passed

+1 :green_heart:
hadoopcheck
13m 41s

Patch does not cause any errors with Hadoop 3.3.6 3.4.0.

+1 :green_heart:
spotless
0m 57s

patch has no errors when running spotless:check.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
2m 56s

the patch passed

+1 :green_heart:
compile
0m 23s

the patch passed

+1 :green_heart:
javac
0m 23s

the patch passed

+1 :green_heart:
javadoc
0m 17s

the patch passed

+1 :green_heart:
shadedjars
5m 19s

patch has no errors when building our shaded downstream artifacts.

_ Other Tests _

+1 :green_heart:
unit
19m 28s

hbase-mapreduce in the patch passed.

39m 24s

Subsystem
Report/Notes

Docker
ClientAPI=1.46 ServerAPI=1.46 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6097/1/artifact/yetus-jdk17-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/6097

Optional Tests
javac javadoc unit compile shadedjars

uname
Linux 27508ed145d5 5.4.0-186-generic #206-Ubuntu SMP Fri Apr 26 12:31:10 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 1020699f8d6f169bd80511f6886eab327c0a7cd7

Default Java
Eclipse Adoptium-17.0.11+9

Test Results
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6097/1/testReport/

Max. process+thread count
3176 (vs. ulimit of 30000)

modules
C: hbase-mapreduce U: hbase-mapreduce

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6097/1/console

versions
git=2.34.1 maven=3.9.8

Powered by
Apache Yetus 0.15.0 https://yetus.apache.org

This message was automatically generated.

@Apache9 @bbeaudreault Please review

So, if memstore lab is enabled, and we actually has a memstore, but there is no problem if we do not initialize the memstore chunk, but there will be an NPE while closing the memstore?
Seems really strange...
Do we really need memstore in CompactionTool? If not, I think we can just disable memstore lab to fix the problem for now?

So, if memstore lab is enabled, and we actually has a memstore, but there is no problem if we do not initialize the memstore chunk, but there will be an NPE while closing the memstore?
Seems really strange...
Do we really need memstore in CompactionTool? If not, I think we can just disable memstore lab to fix the problem for now?

Yes, memstore lab can be disabled. Have pushed the fix.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 44s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
hbaseanti
0m  0s

Patch does not have any anti-patterns.

_ master Compile Tests _

+1 :green_heart:
mvninstall
4m 26s

master passed

+1 :green_heart:
compile
1m 10s

master passed

+1 :green_heart:
checkstyle
0m 18s

master passed

+1 :green_heart:
spotbugs
0m 57s

master passed

+1 :green_heart:
spotless
1m  5s

branch has no errors when running spotless:check.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
3m 16s

the patch passed

+1 :green_heart:
compile
0m 41s

the patch passed

+1 :green_heart:
javac
0m 41s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 13s

the patch passed

+1 :green_heart:
spotbugs
0m 51s

the patch passed

+1 :green_heart:
hadoopcheck
11m 53s

Patch does not cause any errors with Hadoop 3.3.6 3.4.0.

+1 :green_heart:
spotless
0m 44s

patch has no errors when running spotless:check.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
2m 56s

the patch passed

+1 :green_heart:
compile
0m 23s

the patch passed

+1 :green_heart:
javac
0m 23s

the patch passed

+1 :green_heart:
javadoc
0m 15s

the patch passed

+1 :green_heart:
shadedjars
5m 20s

patch has no errors when building our shaded downstream artifacts.

_ Other Tests _

+1 :green_heart:
unit
19m 14s

hbase-mapreduce in the patch passed.

38m 56s

Subsystem
Report/Notes

Docker
ClientAPI=1.46 ServerAPI=1.46 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6097/2/artifact/yetus-jdk17-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/6097

Optional Tests
javac javadoc unit compile shadedjars

uname
Linux 4834f03006bd 5.4.0-186-generic #206-Ubuntu SMP Fri Apr 26 12:31:10 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / cf2b0cb6ad9bdd89d1c68012f058d5a98ca09a7c

Default Java
Eclipse Adoptium-17.0.11+9

Test Results
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6097/2/testReport/

Max. process+thread count
3202 (vs. ulimit of 30000)

modules
C: hbase-mapreduce U: hbase-mapreduce

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6097/2/console

versions
git=2.34.1 maven=3.9.8

Powered by
Apache Yetus 0.15.0 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 36s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
hbaseanti
0m  0s

Patch does not have any anti-patterns.

_ master Compile Tests _

+1 :green_heart:
mvninstall
3m  6s

master passed

+1 :green_heart:
compile
0m 41s

master passed

+1 :green_heart:
checkstyle
0m 14s

master passed

+1 :green_heart:
spotbugs
0m 35s

master passed

+1 :green_heart:
spotless
0m 47s

branch has no errors when running spotless:check.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
3m  1s

the patch passed

+1 :green_heart:
compile
0m 39s

the patch passed

+1 :green_heart:
javac
0m 39s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 14s

the patch passed

+1 :green_heart:
spotbugs
0m 41s

the patch passed

+1 :green_heart:
hadoopcheck
10m 46s

Patch does not cause any errors with Hadoop 3.3.6 3.4.0.

+1 :green_heart:
spotless
0m 45s

patch has no errors when running spotless:check.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
2m 58s

the patch passed

+1 :green_heart:
compile
0m 23s

the patch passed

+1 :green_heart:
javac
0m 23s

the patch passed

+1 :green_heart:
javadoc
0m 16s

the patch passed

+1 :green_heart:
shadedjars
5m 21s

patch has no errors when building our shaded downstream artifacts.

_ Other Tests _

+1 :green_heart:
unit
21m 16s

hbase-mapreduce in the patch passed.

41m 17s

Subsystem
Report/Notes

Docker
ClientAPI=1.46 ServerAPI=1.46 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6097/3/artifact/yetus-jdk17-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/6097

Optional Tests
javac javadoc unit compile shadedjars

uname
Linux 25391b55f65d 5.4.0-186-generic #206-Ubuntu SMP Fri Apr 26 12:31:10 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 7b9c4f46bd765dfebf75babf73b8d426fb1e5077

Default Java
Eclipse Adoptium-17.0.11+9

Test Results
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6097/3/testReport/

Max. process+thread count
3247 (vs. ulimit of 30000)

modules
C: hbase-mapreduce U: hbase-mapreduce

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6097/3/console

versions
git=2.34.1 maven=3.9.8

Powered by
Apache Yetus 0.15.0 https://yetus.apache.org

This message was automatically generated.

Do we have a test for CompactionTool? I'm not very familiar with the code so I'm not sure whether it will use memstore, I guess it will not use, but better has a test to confirm this.
Thanks.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 36s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
hbaseanti
0m  0s

Patch does not have any anti-patterns.

_ master Compile Tests _

+1 :green_heart:
mvninstall
3m  6s

master passed

+1 :green_heart:
compile
0m 41s

master passed

+1 :green_heart:
checkstyle
0m 14s

master passed

+1 :green_heart:
spotbugs
0m 35s

master passed

+1 :green_heart:
spotless
0m 45s

branch has no errors when running spotless:check.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
2m 55s

the patch passed

+1 :green_heart:
compile
0m 39s

the patch passed

+1 :green_heart:
javac
0m 39s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 13s

the patch passed

+1 :green_heart:
spotbugs
0m 41s

the patch passed

+1 :green_heart:
hadoopcheck
10m 40s

Patch does not cause any errors with Hadoop 3.3.6 3.4.0.

+1 :green_heart:
spotless
0m 44s

patch has no errors when running spotless:check.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
3m 35s

the patch passed

+1 :green_heart:
compile
0m 24s

the patch passed

+1 :green_heart:
javac
0m 24s

the patch passed

+1 :green_heart:
javadoc
0m 15s

the patch passed

+1 :green_heart:
shadedjars
6m 16s

patch has no errors when building our shaded downstream artifacts.

_ Other Tests _

+1 :green_heart:
unit
20m 24s

hbase-mapreduce in the patch passed.

45m 35s

Subsystem
Report/Notes

Docker
ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6097/4/artifact/yetus-jdk17-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/6097

Optional Tests
javac javadoc unit compile shadedjars

uname
Linux 1978a7b080b1 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 6deefefa54441d462417bac6a0b131eaab258e65

Default Java
Eclipse Adoptium-17.0.11+9

Test Results
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6097/4/testReport/

Max. process+thread count
3013 (vs. ulimit of 30000)

modules
C: hbase-mapreduce U: hbase-mapreduce

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6097/4/console

versions
git=2.34.1 maven=3.9.8

Powered by
Apache Yetus 0.15.0 https://yetus.apache.org

This message was automatically generated.

Do we have a test for CompactionTool? I'm not very familiar with the code so I'm not sure whether it will use memstore, I guess it will not use, but better has a test to confirm this.
Thanks.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
2m 58s

the patch passed

+1 :green_heart:
compile
0m 23s

the patch passed

+1 :green_heart:
javac
0m 23s

the patch passed

+1 :green_heart:
javadoc
0m 15s

the patch passed

+1 :green_heart:
shadedjars
5m 19s

patch has no errors when building our shaded downstream artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
3m 30s

the patch passed

+1 :green_heart:
compile
0m 24s

the patch passed

+1 :green_heart:
javac
0m 24s

the patch passed

+1 :green_heart:
javadoc
0m 15s

the patch passed

+1 :green_heart:
shadedjars
6m 13s

patch has no errors when building our shaded downstream artifacts.

_ Other Tests _

+1 :green_heart:
unit
20m 17s

hbase-mapreduce in the patch passed.

42m 47s

Subsystem
Report/Notes

Docker
ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6097/6/artifact/yetus-jdk17-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/6097

Optional Tests
javac javadoc unit compile shadedjars

uname
Linux 3195f2a8767a 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 9d623eed9135637f038fc6fad3660eaba6a3973d

Default Java
Eclipse Adoptium-17.0.11+9

Test Results
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6097/6/testReport/

Max. process+thread count
3025 (vs. ulimit of 30000)

modules
C: hbase-mapreduce U: hbase-mapreduce

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6097/6/console

versions
git=2.34.1 maven=3.9.8

Powered by
Apache Yetus 0.15.0 https://yetus.apache.org

This message was automatically generated.


Suggest qualifiers to existing statements rather than new duplicate statements

For the topic https://www.wikidata.org/wiki/Q991 the tool suggests a statement with qualifier:
spouse Anna Dostoyevskaya
 location Trinity Cathedral

which is a more precise version of an existing statement:
spouse Anna Dostoyevskaya

This leaves the user with the unhappy choice of deleting the existing statement and accepting the suggestion or marking the suggestion "bad" then manually editing the existing statement to match the suggestion they just rejected. This both creates more work for the user and provides inaccurate feedback.

On the mailing list, Stas mentioned another variation of this that isn't handled well - when Freebase has a more precise date than currently exists in Wikidata. I haven't seen this case myself, but it sounds like duplicate statements are generated for it.

This requires qualifier handling, which was not taken care of so far. Needs more work.

This is a known @ToDo up for grabs.

In order to ease us (the Wikidata dev team) to track the issues of the primary sources tool, we have created a Phabricator ticket for this issue: https://phabricator.wikimedia.org/T148175
Moving forward, please drop your comments onto that Phabricator ticket.


JAVA_FONTS support

Issue description
A part of Java is the environment variable JAVA_FONTS, which is a Java standard way to find ( see: http://www.ibm.com/support/knowledgecenter/SSYKE2_8.0.0/com.ibm.java.aix.80.doc/diag/appendixes/env_var/env_jvm.html for details).
This is currently not set in any application, but this should be done. Additionally, a user should be able to override this per application, so this would require some wrapping for every Java package.
The user visible problem is that Java applications do not show all TrueType Fonts which are installed.
Steps to reproduce
grep -r JAVA_FONTS ~/nixpkgs returns no results
Technical details
All NixOS versions are affected.

Are there any updates to this issue, please?


convert_to_coco_api so slow

i found that it costs about 20min for the convert_to_coco_api to process 670 images when i evaluate my model per epoch. But WHY so slow?

It is slow because it loads and performs the full transformations in your dataset.
You can make it faster computing it once and then caching it in a file.


Peano numbers

@yegor256 Are you gonna go full OOP and define natural numbers (or any kind of numbers) in a Peano numerals style?
type Nat:
  Nat add(Nat other)
  Nat mult(Nat other)

object zero as Nat:
  Nat add(Nat other):
    other

  Nat mult(Nat other):
    this

object succ as Nat:
  Nat @prev

  ctor(Nat prev):
    @prev = prev

  Nat add(Nat other):
    succ: @prev.add(other)

  Nat mult(Nat other):
    @prev.mult(other).add(other)

object SumOfXY:
  Nat @x
  Nat @y

  ctor():
    SumOfXY:
      succ: succ: succ: zero,
      succ: succ: succ: succ: succ: zero

  Nat sum():
    x.add(y)

cli:
  printed:
    SumOfXY.sum().asText

# Should print 8

It may not necessarily work exacly like that internally (because of performance reasons). It may be just a logical interface exposed to the user. Numeric literals can be aliases to succ-chains. For example, 3 is alias for succ: succ: succ: zero.

@rexim Why do think that Peano numbers would make things "full OOP"?

@rexim I think that this "dot-notation" style is not really a "full OOP":
x.add(y)

It looks procedural to me. How about this instead:
add: x, y

Here we're creating a new object (a copy of add), which encapsulates x and y and behaves like a sum of them.
To make it possible we will have to let that add object have a direct access to the data encapsulated inside x and y, and I think it's OK. Check this out: http://www.yegor256.com/2016/12/20/can-objects-be-friends.html
What do you think?

@rexim by the way, I haven't heard about Peano numbers before. Let me read and investigate more.

add: x, y

Ah, yeah, I remember you proposed a similar idea with max object. :) Don't quite understand how friending can help here, because you don't reveal too much of the details. For example, what if we have nested adds:
add:
  add: x, y
  add: a, b

Should the adds disembowel each other recursively in that case?
Anyway, I don't care too much of concrete implementations. I'm sure you'll figure everything out in a good and elegant way. :) I was rather curious about your thoughts regarding Peano axioms. People love to implement them on the type level system of different languages and paradigms just to show that you don't need to hard-code too much in the core to have a simple arithmetic. :)
Feel free to close this issue/question if you feel it's irrelevant for eo.
Thanks.

@rexim it is relevant, let's keep it open. My comment about "friending" was more of a side note. The real question here is about Peano numbers, not the implementation. Let's keep the discussion open, thanks.

I can remember watching a video where some guy (a functional programmer guys I think) implemented the church-encoding thing in objects just for the hell of it. It was very interesting. Not particularly practical of course but very interesting. I can't find it for life of me... :(
Anyway else know that video?

https://twitter.com/every_peano/status/819984173708484610

@rexim I believe it's not valid anymore, since we don't have types in EO

@rexim I believe it's not valid anymore, since we don't have types in EO


On getting all videos from a single channel

Checklist

[x] I'm asking a question
[x] I've looked through the README and FAQ for similar questions
[x] I've searched the bugtracker for similar questions including closed ones

Question

Hello, I think my question is a bit more on the technical side of things that really any issue that I'm having.
I'm aware by looking at some other issues on the tracker that it is possible to download all videos from a given channel.
My question is, how does youtube-dl manage to achieve this challenge? Isn't the youtube API token/call limited so it would make it impossible with how many users, using the same API key downloading at the same time?
So I guess youtube-dl doesn't use the API after all, what does it use then? Does it parse "uploaded videos" playlist manually as one would do in a browser?
I would just like to know the technical background on how this is performed, please.
Thanks

I guess youtube-dl doesn't use the API after all, what does it use then?

Yes.

Does it parse "uploaded videos" playlist manually as one would do in a browser?

Yes.

I would just like to know the technical background on how this is performed, please.

What concretely?

Thank you @dstftw
One last thing is this where it performs "the magic" (aka where it manually parses the uploaded videos playlist)
https://github.com/ytdl-org/youtube-dl/blob/52c50a10af5de16165621f8929b64dc726774276/youtube_dl/extractor/youtube.py#L326


Planning: Operators

All operators are either prefix or infix, there are no postfix operators.
There are no special requirements on the naming of operators other than that they are valid identifiers.

(op; v) and (op v) are the same
(op; a, b) and (a op b) are the same

Effectively, any function which can take one or two parameters is also an operator. (Unless I decide that operators must be declared as such). #17 will need some considering...


Temporary deleted windows from CI (until 1.6 is out)

Codecov Report

Merging #64 (5a177a1) into dev (5222286) will decrease coverage by 0.12%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##              dev      #64      +/-   ##
==========================================
- Coverage   80.86%   80.73%   -0.13%
==========================================
  Files          23       23
  Lines         789      789
==========================================
- Hits          638      637       -1
- Misses        151      152       +1

Impacted Files
Coverage Δ

src/state.jl
85.48% <0.00%> (-1.62%)
:arrow_down:

Continue to review full report at Codecov.

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


[Dribbbish]Local files tab has no icon

I believed I added last week:
https://github.com/morpheusthewhite/spicetify-themes/blob/master/Dribbblish/dribbblish.js#L101

Just appeared for me after theme reinstall.


No vibration or sound when new mail arrives

Following the update to version 5.8, I no longer get sound or vibration notifications when new mail arrives.  The popup on the lock screen does not appear either.
I do not have Quiet Time enabled, and all K-9 notification settings and system notification settings are enabled.
Other applications (SMS, WhatsApp etc) still buzz and play sounds, and K-9 Mail was also doing so prior to the update.
I have updated to 5.802 as suggested in https://github.com/k9mail/k-9/issues/5458 but this has not helped.
Steps to reproduce the behavior:
With settings as described above, wait for incoming mail to arrive.
I see the 'new mail' icon at the top of the screen, and the K-9 icon on my home screen shows the 'number of new emails' count, but that's it - no sound, no vibration or (if the phone is locked) popup on the lock screen.
Environment

K-9 Mail version: 5.802
Android version: 11
Device: Samsung Galaxy S10+
Account type: IMAP

What does your system notification settings screen look like?

I don't appear to have the "Notification category" screen available on my device

Tap the "Messages" text on the left.
The vertical line indicates the text and the switch are two different user interface elements that can be tapped and perform different actions. In this case tapping the left part opens the sub screen where you can configure notifications of that type.

Ah...dark grey on black.  Serious usability fail there :-(
Anyway:

Small update.  An incoming mail a couple of hours ago did trigger the sound and vibration; however it was the only one to do so - all other email I've received today was silent.

How did you configure K-9 Mail to check for new messages? Polling, Push, manual sync?

It's set to poll every 15 minutes.  There's no problem with it finding and downloading new mail, it's not missing anything.

I'm not able to reproduce this issue. Notification sound and vibration works fine for me on Android 11.

I've had a few more working notifications now, so it's possible that this really is just an intermittent issue.
I'll continue to monitor things - if I find anything new I will update this bugreport :-)

I have the same issue ( no notifications ,  ) And i have noted that , with manual mail refresh , the new mail arrives as readed
Android 11 , samsung

@islam2hamy: That's a different issue. Please see this forum thread if you don't get any notifications at all.

I thing it is because i received the mail in another mail client (pc) ,but i didn't read it there
I will try again tomorrow at work and till you

@islam2hamy: The reporter of this issue is getting notifications. But sound/vibration doesn't work like it's supposed to. You say you're not getting any notifications at all. So please open a new issue and don't post to this issue.

So far so good, notifications seem to be working normally again now.
I'll close this issue off; if it comes back, and I can work out the pattern, I'll open a new one :-)


Best way to create the default job in the database

Hi,
I'm using eXpand for my job automation, and one of the requirements is to create a default job that will execute every day. My question is where is the best location to add the code that will create the default job? Should I add the code in the BlazorModule or in the Startup?  By the way, I'm using Blazor application.

Hangfire is a Blazor only package but really I do not understand your question what is a default job? is it the Xpand.XAF.Modules.JobScheduler.Hangfire.BusinessObjects.Job then since this is a Xaf BO it obeys eveyrthing you know about Xaf meaning that if you want to create initial data you can use a ModuleUpdater

What I mean is I need to create initial data of the job in the database. For example, I want to have an initial job or default record in my database called DownloadSalesOrder that will run every day.

since this is a Xaf BO it obeys eveyrthing you know about Xaf meaning that if you want to create initial data you can use a ModuleUpdater

than that

I see... Is it the right way if will add eXpand packages in both Blazor.Server and Module projects?

think of a module any project even the server that contain a ModuleBase descenant

sure u can add modules to both your server and your modules the server part is optional since it already has a dependecy to your modules

@apobekiaris
Is this the correct code to create job in the database through code using Xpand:

I really cannot tell wihout details and testing myself, I can guess that you are in a moduleupdater just after u added the job but the services are not initialized at this point. A better way again without testing would be to trigger your job after login

Yes, the code was added in the module updater. I can send you my sample project.  I also tried to run the job manually but it did not run. Here is my sample project.
HangfireJobAutomationSample.zip

at the moment I am occupied and do not have the time to go through your sample, in the source there are a number of tests for various cases. Once I have the time to go through your other case I will have a look at your sample

ok thank you @apobekiaris !

is there a way the Hangfire database objects automatically create in the database

my guess is that u speak about the db tables, so u have to realize that this is a Xaf package meaning it will automatically create the schema as per your db update strategy. That is it will create the tables when debugger is attached and after the creation of the first objectspace which by default happens on login.
It is really a wrapper around the hangfire API it uses the Xaf BO objects e.g. Job state to display the views you need to trigger and manage your jobs

so to be crystal clear the tables should be all created on login and when debugger is attached unrelated to hangfire

if you speak about hangfire tables you need to consult with Hangfire docs, a good idea is to have those tables in a different db and create that with the sql scripts hangfire provides

yes i'm talking about Hangfire tables.

xaf has nothing to do with them and never writes directly there

here is the error when you call the job.trigger method if the hangfire tables are not yet initialized or created in the database.

unrelated to this package see https://docs.hangfire.io/en/latest/configuration/using-sql-server.html

ok. thank you @apobekiaris .

in 22.2 UI and hangfire problems fixed

The pre-release <IP_ADDRESS> in the Reactive.XAF lab branch  includes commits that relate to this task:

Model generation issues with Blazor #964

To minimize version conflicts we recommend that you use the Xpand.XAF.Core.All, Xpand.XAF.Win.All, Xpand.XAF.Web.All packages. Doing so, all packages will be at your disposal and .NET will add a dependecy only to those packages that you actually use and not to all (see the Modules installation-registrations youtube video).

Released packages:
Xpand.Extensions v.<IP_ADDRESS> Xpand.Extensions.Blazor v.<IP_ADDRESS> Xpand.Extensions.Mono.Cecil v.<IP_ADDRESS> Xpand.Extensions.Office.Cloud v.<IP_ADDRESS> Xpand.Extensions.Office.Cloud.Google.Blazor v.<IP_ADDRESS> Xpand.Extensions.Reactive v.<IP_ADDRESS> Xpand.Extensions.XAF v.<IP_ADDRESS> Xpand.Extensions.XAF.Xpo v.<IP_ADDRESS> Xpand.TestsLib v.<IP_ADDRESS> Xpand.TestsLib.Blazor v.<IP_ADDRESS> Xpand.TestsLib.Common v.<IP_ADDRESS> Xpand.TestsLib.EasyTest v.<IP_ADDRESS> Xpand.VersionConverter v.<IP_ADDRESS> Xpand.XAF.Core.All v.<IP_ADDRESS> Xpand.XAF.Modules.AutoCommit v.<IP_ADDRESS> Xpand.XAF.Modules.Blazor v.<IP_ADDRESS> Xpand.XAF.Modules.BulkObjectUpdate v.<IP_ADDRESS> Xpand.XAF.Modules.CloneMemberValue v.<IP_ADDRESS> Xpand.XAF.Modules.CloneModelView v.<IP_ADDRESS> Xpand.XAF.Modules.Email v.<IP_ADDRESS> Xpand.XAF.Modules.GridListEditor v.<IP_ADDRESS> Xpand.XAF.Modules.HideToolBar v.<IP_ADDRESS> Xpand.XAF.Modules.JobScheduler.Hangfire v.<IP_ADDRESS> Xpand.XAF.Modules.JobScheduler.Notification v.<IP_ADDRESS> Xpand.XAF.Modules.MasterDetail v.<IP_ADDRESS> Xpand.XAF.Modules.ModelMapper v.<IP_ADDRESS> Xpand.XAF.Modules.ModelViewInheritance v.<IP_ADDRESS> Xpand.XAF.Modules.Office.Cloud.Google v.<IP_ADDRESS> Xpand.XAF.Modules.Office.Cloud.Google.Calendar v.<IP_ADDRESS> Xpand.XAF.Modules.Office.Cloud.Google.Tasks v.<IP_ADDRESS> Xpand.XAF.Modules.Office.DocumentStyleManager v.<IP_ADDRESS> Xpand.XAF.Modules.OneView v.<IP_ADDRESS> Xpand.XAF.Modules.PositionInListView v.<IP_ADDRESS> Xpand.XAF.Modules.ProgressBarViewItem v.<IP_ADDRESS> Xpand.XAF.Modules.RazorView v.<IP_ADDRESS> Xpand.XAF.Modules.Reactive v.<IP_ADDRESS> Xpand.XAF.Modules.Reactive.Logger v.<IP_ADDRESS> Xpand.XAF.Modules.Reactive.Logger.Client.Win v.<IP_ADDRESS> Xpand.XAF.Modules.Reactive.Logger.Hub v.<IP_ADDRESS> Xpand.XAF.Modules.Reactive.Rest v.<IP_ADDRESS> Xpand.XAF.Modules.RefreshView v.<IP_ADDRESS> Xpand.XAF.Modules.SequenceGenerator v.<IP_ADDRESS> Xpand.XAF.Modules.Speech v.<IP_ADDRESS> Xpand.XAF.Modules.SpellChecker v.<IP_ADDRESS> Xpand.XAF.Modules.StoreToDisk v.<IP_ADDRESS> Xpand.XAF.Modules.SuppressConfirmation v.<IP_ADDRESS> Xpand.XAF.Modules.TenantManager v.<IP_ADDRESS> Xpand.XAF.Modules.ViewEditMode v.<IP_ADDRESS> Xpand.XAF.Modules.ViewItemValue v.<IP_ADDRESS> Xpand.XAF.Modules.ViewWizard v.<IP_ADDRESS> Xpand.XAF.Modules.Windows v.<IP_ADDRESS> Xpand.XAF.Web.All v.<IP_ADDRESS> Xpand.XAF.Win.All v.<IP_ADDRESS>

Please update the related Nuget packages and test if issues is addressed. These are nightly nuget packages available only from our NugetServer.
If you do not use these packages directly but through a module of the main eXpandFramework project, please wait for the bot to notify you again when integration is finished or update the related packages manually.
Thanks a lot for your contribution.

Closing issue for age. Feel free to reopen it at any time.
.Thank you for your contribution.


JSON.stringify hangs indefinitely if trying to stringify a Go type with a circular reference

Ie a type like
type CircularType struct {
	Self *CircularType
}

Will just cause JSON.stringify to hang indefinitely.
Would be great if this had some sort of detection for this and just bailed out at some point with an error

Example of what happens in node

thanks @dop251 very much appreciated

No worries, thanks for reporting!


Adding Buffalo, NY

Referencing Issue #154

Edits have been made. Thanks @Ceshion

so sorry, i had to do a force push to gh-pages :^(  would you mind merging that branch back in so I can review?

Closing this out as buffalo was already merged. feel free to make any changes to that template as it stands right now!


Harvard: why are marc21 and marcxml record counts different in delta files?

I suspect this may be due to long marc21 records getting split at the record byte limit and being counted as two records, but need to verify.

I have confirmed that the record count difference is due to records getting split into multiple records when they exceed the marc21 byte limit. I will follow up with Corinna.

Followed up with Corinna on Slack. Closing this. If we need to change how records are counted I'll create a new issue.


Web portainer deployed under subpath wrong webhook URL generated

Bug description
Web portainer deployed under subpath, for example https://domain/portainer/ wrong webhook URLs are generated (https://domain/api/webhooks/...)
Expected behavior
Generate webhooks to contain portainer subpath (ex https://domain/portainer/api/webhooks/...)
Steps to reproduce the issue:

Go to 'Services'
Click on any service
Enable 'Service webhook'
See generated webhook URL

Technical details:

Portainer version: 2.1.1
Platform (windows/linux): linux
Have you reviewed our technical documentation and knowledge base? Yes

Ticket update by Bala Natarajan<EMAIL_ADDRESS>Hi
Thanks for posting, could you share the screenshot of the same. kindly share
more details on this context about your deployment
Docker swarm version
application thats deployed
Have tried on PWD, we could see the webhook value like this
http://ip172-18-0-95-c1gvjggh550g00d94lrg-9000.direct.labs.play-with-
docker.com/api/webhooks/9d5d780c-a310-49b8-ba75-9aff2c971afd

Hi @lafriks
Portainer is not supported to run under a subpath. Please refer to https://github.com/portainer/portainer/issues/3901
However, I'm interested in knowing your current setup and config on how you managed to get subpath working to an extent.
Can you please share some details around which reverse proxy and the config.

Sorry not getting to you back faster but yeah. I'm using traefik in front of portainer with strip prefix middleware like in recent example in https://github.com/portainer/portainer/issues/3901#issuecomment-1040692851


Increase confidence and be a source of not-a-scam content

Collecting any specific feedback on this topic. It's hard to be actionable on one item, but maybe if we collect this type of comment over time.

it would be awesome if there was one page (that could be trusted and thus shared by everyone, perhaps run as part of a consortium between all the different groups), which only served to list legitimate websites and code sources, and who controls them. (and also to point out scam sites, non-legitimate sites)
what I'm doing right now is pretty unreliable. I look for the largest projects on github/gitlab by # of forks
but also I've decided certain sites are authoritative based on who owns them (assuming I can verify that)
so for example, I got here by going from https://www.bitcoin.com/full-nodes/ --> https://gitlab.com/bitcoin-cash-node/bitcoin-cash-node#development-process (edited)
if that page on bitcoin.com didn't exist, I would never have known bitcoincashnode.org was legit and bitcoincashnodes.org was a scam site

it would be awesome if there was one page (that could be trusted and thus shared by everyone, perhaps run as part of a consortium between all the different groups), which only served to list legitimate websites and code sources, and who controls them. (and also to point out scam sites, non-legitimate sites)
what I'm doing right now is pretty unreliable. I look for the largest projects on github/gitlab by # of forks
but also I've decided certain sites are authoritative based on who owns them (assuming I can verify that)
so for example, I got here by going from https://www.bitcoin.com/full-nodes/ --> https://gitlab.com/bitcoin-cash-node/bitcoin-cash-node#development-process (edited)
if that page on bitcoin.com didn't exist, I would never have known bitcoincashnode.org was legit and bitcoincashnodes.org was a scam site

Same person:

tbh if I hit that site randomly, I'd immediately think it was a clone of bitcoincash.org, because of the style. the fancier a site is, the more I think it is trying to sell me something, hehe. I like documentation.cash, right to the point.

(https://documentation.cash)

Same person:

tbh if I hit that site randomly, I'd immediately think it was a clone of bitcoincash.org, because of the style. the fancier a site is, the more I think it is trying to sell me something, hehe. I like documentation.cash, right to the point.

(https://documentation.cash)

I'd immediately think it was a clone of bitcoincash.org, because of the style

I don't see how the styles are similar. Literally every single line of CSS and color is different.

I'd immediately think it was a clone of bitcoincash.org, because of the style

I don't see how the styles are similar. Literally every single line of CSS and color is different.

Can we close this @emergent-reasons ?

It's not my call but I would prefer to keep this open. There are so many scams. How can we increase confidence in this site? I really don't know the answer, but I think it is an open, unsolved issue.


Render all tab content on the page?

For SEO purposes I would like to have all tab content available on the page. That way search engines can index the content.
Browsing through the code this doesn't seem possible right now?
Or am I missing an option?
I was expecting 'content' to always get rendered, while getContent would be rendered only when the tab gets visible?

Yes, the library has the content prop but it works in a different way:
content is a sync prop. You can use it to always render a hidden content, e.g.
content: "I'm always rendered in a hidden div"

getContent is an async prop. Use it whenever you need to delay content rendering, e.g.
getContent: () => {
  return "I'm rendered only when tab is visible"
}

content is a deprecated property, so it's not mentioned in the readme, but now I see that it may be useful in some cases. I'll update readme


Localize FluentHub

⏱ Before you start

Relying on AZP to build the app.
↗ Related/Fixed issues

Related: #240

📄 Description

Add all strings to resource files.

lool now i need to relocalise mainpage

@onein528 Localising settings pages that aren't Account/Appearance pages will be difficult as they don't work for me. Do they work for you? Or is that just a problem on my machine?

Shouldn't touch settings pages. It's under construction. Very unstable and undeveloped.

I will develop them. Sorry inconvenient

I will develop them. Sorry inconvenient

No problem!

 :D

Btw, can you fix automated Azure Pipeline builds errors?

Can I merge this? @DeveloperWOW64

Can I merge this? @DeveloperWOW64

Hmm. @onein528 Not really, as I haven't done everything I planned to, but I have school now so I if I continued it would be slow, eventual work. But it's still possible.
Here's my checklist:

[x] AppSettings (sort of)
[x] Home
[ ] Organizations
[ ] Repositories
[x] SignIn (as completed by you ofc)
[ ] Users
[x] MainPage

I have breaking changes in ‘Improve error handling’. It's a really breaking change.  Conflicts....

I have breaking changes in ‘Improve error handling’. It's a really breaking change. Conflicts....

Okay. Then you can merge. After you merge #251 I will move to WASDK and then we can finish localisation. What do you think @onein528.

Really nice.


Object Detection retraining gets stuck randomly for no apparent reason

I'm trying to retrain YoloV3 with the latest from master, but it randomly gets stuck.
GPU memory stays reserved, and it starts training, but eventually it gets stuck at some step in the epoch. Sometimes only after 3 or 4 steps it gets stuck, sometimes it makes it to 2 or 3 epochs. I even have left it waiting for the whole night, it never continues with the training, so it's not just a slow step. It is really stuck.
Two times I managed to complete a full 100 epochs training without getting stuck (with the same dataset). That was out of around 50 attempts to retrain. Seems when it gets past 3 epochs it would not get stuck (but that's just a guess).
There is no output on why it's frozen. It just gets stuck, and so much that not even control+C or control+Z kills it, I have to kill the Python process through the task manager to be able to try again.
Is it possible to get more debug output on what is happening, to see why it gets stuck?
This is how it looks when it happens (can be at any other step, not necessarily 197):

I'm using a batch of 4, but also happens when using 2. I can't use higher than 4 due to memory limits.
These is how the init looks, in case it helps:

I'm having the same issue, using tensorflow-gpu, it's getting stuck either at epoch 1/100 or 2/100 and basically just stops completely with no error. The GPU utilization drops to 0. I don't know where it's getting stuck or why but is there some way to enable logging? I'm using Visual Studio 2019 in Windows to do this. I have CUDA 10.0 installed but 10.1 for VS is also installed over that. It would also crap out with the CPU but with an out of memory error so I switched to GPU.

I tried in Google Collab and there the training doesn't get stuck, with the same dataset. So might be a Windows issue?
I only have CUDA 10.0 installed and not using Visual Studio, so don't think that's the issue.
I also tried three different terminals to discard a terminal compatibility issue: cmd, PowerShell and Git Bash. All of them got stuck the same.
But I also wonder why I managed to fully train 100 epochs with no issues in 2 occassions.
I'm going to try training in Ubuntu and see if that at least narrows it down to Windows.

It could be a Windows thing, I don't have the resources for a separate linux machine and Hyper-V in Windows 10 won't let me use the GPU.
I'm trying to figure out if the DetectionModelTrainer class imageai.Detection.Custom has a means of enabling logs but there's nothing about that class in the documentation.

Just tried in a Fedora machine, and it's not getting stuck. So most likely something to do with Windows. But without additional logging, not sure how to diagnose it.

It may slow down at the end of each epoch since it needs to evaluate the model over the validation dataset, so it may need some CPU to process the evaluation, so tracking CPU usage in paralell is a good idea. How many evaluation samples are you using?
In addition to this, and just to mitigate risks, are you setting the number of GPUs to 1? It is done with setGpuUsage(1) operation.

It doesn't get stuck at the end of an epoch, but randomly at any point within one. And it's not just slow, it's for sure stuck as I left it running all night and it didn't keep going once stuck.
Will try the GPU limit and see if it makes a difference.

Well, I've been thinking in this issue, I'm trying to speed up the things with respect to training.
On epoint that may change the things is line where training is actually lunched: fit_generator is called here
Here you can read more on the roles of its parameters, the more important seems to be max_queue_size (10 by default, 8 in current implementation) and workers (1 by default, 4 in current version).
While training, the batch of samples is generated on the fly, this includes reading the image and applying data augmentation to it. This work is run on CPU, so if it is slower than the GPU, when the queue of generated samples is empty, the GPU has no work to do, and therefore will wait. It usually is reflected as burst on GPU usage.
Checkout this SO question and this discussion

Hi I am having the same problem too! I'm on windows 10, using imageai 2.1.5 and tensorflow-gpu 1.15. I am using an nvidia 1080 ti with latest drivers. I was able to somewhat solve my problem by placing my dataset on my local C: drive instead of an external drive and by setting batch size = 2. However at the end of the first epoch it appears that I am stuck. It won't continue to the second epoch.....


Commit page: limit comment input length

Currently it's possible to input more characters than allowed.

As comment length is limited, we should only allow inputs up to that limit to increase UX
placeholder message

Yeah, it isn't static. Can be configured in settings.

This restores the behavior of the old commit page.


Adding reduced motion media query to disable notification animations.

Hey cool React Hot Toast people!
The problem:
Animations are cool. Sometimes; animations are less than ideal for some users. MDN can explain this all the better. Currently React Hot Toast's animations don't obey the reduced motion media query that responds to the user's OS.
How this PR addresses the a11y issue:
On the ToastBar component I have disabled the transitions and animations in the event that prefers-reduced-motion media query is enabled.
Please let me know if this is acceptable. Look forward to your feedback.

Hmm... goober not support media queries?

Hmm... goober not support media queries?

Closing this until I can figure out how this whole goober api works.

Closing this until I can figure out how this whole goober api works.

Great idea, thanks for bringing that up. However, it doesn't seem to work for me on the preview link. Does it work for you?

Hey @timolins , Try now. Please ensure you have reduced motion set in your OS settings <3.

Looks good, I made a quick comparison for you:
https://user-images.githubusercontent.com/41970/107065944-a2b2eb00-67dd-11eb-9e60-a6dfd0d67b5c.mp4

@Kilian It looks good enough for me; Are you good with it?

That looks great already! One thing we should sort out is that the missing exit animation, causes them to stack for 1s.


Add multiarch support

This PR should be coordinated with an upcoming release of Duffy, do not merge yet! The unreleased duffy version is available on the dev instance for testing purposes.
We are bootstrapping multiarch support in ci.centos.org by doing libvirt VMs on our hardware. These VMs are sized based on the 'flavors' we use in cico cloud.
The goal is to add support for the flavor selector, and add the appropriate entries to the various inventories that are returned to the user.
Rolled up in this as well: we recently added a column that identifies a TCP port that connects to the serial console for some of our hardware. This feature is not currently in use, but the serial port is in the column list so we should return it in the UI.

lgtm at first glance, just a few things -- haven't actually tried it yet.

This should be ready to merge, any final reviews?

Looks okay to me too. Is there anything else or shall we merge and ship a dot release to pypi ?


Rail lines should get a more traditional style

Improved with https://github.com/datadesk/web-map-maker/commit/bf83943019c20de8637ff1a11bca3d89b01fd212


Feature Request: DS5 Support

DS4Windows is the best. Would be great if it got DS5 support.

Dualsense maybe, but would be great

FYI this repo is dead. DS4Windows lives here now: https://github.com/Ryochan7/DS4Windows

#620
you are probably trying to use the obsolete version if you are downloading from this Jays2Kings/DS4Windows site. Read the linked post and follow the link to up-to-date version of DS4Windows app.


Fixups 0.0.4

The 0.0.3 release failed because of multiple human errors, so these are the fixups that resulted from the learnings.
a) The version number must be set in the pyproject.toml
b) The release.yml workflow was detecting tags with v prefix
c) The release notes were updated to indicate the 0.0.3 failure and now releasing as 0.0.4 instead.

OK, let's try this again!


Chapter 03 pt1 test naming and result editing

A couple minor points that only confuse those who geek out on details. ;-)

Section 2.2. Capturing Our Requirements As Tests has a test named subscribe_returns_a_200_for_valid_form_data.
This also matches the source in tests/health_check.rs.
But the corresponding test result following the test source shown in the book has a test named subscribe_accepts_valid_form_data. There are four instances of this name in the text that should be changed to match the code.

I presume the test result shown in the book is edited to remove a lot of distracting noise. This is good, it's also rather different from what I see when I run cargo test. A simple suggestion that might avoid a few moments confusion, Label the test result something like:

cargo test result (edited for clarity).
This is the rather noisy output I see from cargo test:
$ cargo test
    Finished test [unoptimized + debuginfo] target(s) in 0.29s
     Running target/debug/deps/zero2prod-0ab5d8eae8ffd38e

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out

     Running target/debug/deps/zero2prod-c6cfe04084471d4d

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out

     Running target/debug/deps/health_check-492d616831f44b24

running 3 tests
test health_check_works ... ok
test subscribe_returns_a_200_for_valid_form_data ... FAILED
test subscribe_returns_a_400_when_data_is_missing ... FAILED

failures:

---- subscribe_returns_a_200_for_valid_form_data stdout ----
thread 'subscribe_returns_a_200_for_valid_form_data' panicked at 'assertion failed: `(left == right)`
  left: `200`,
 right: `404`', tests/health_check.rs:57:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Panic in Arbiter thread.

---- subscribe_returns_a_400_when_data_is_missing stdout ----
thread 'subscribe_returns_a_400_when_data_is_missing' panicked at 'assertion failed: `(left == right)`
  left: `400`,
 right: `404`: The API did not fail with 400 Bad Request when the payload was missing the email.', tests/health_check.rs:82:9
Panic in Arbiter thread.

failures:
    subscribe_returns_a_200_for_valid_form_data
    subscribe_returns_a_400_when_data_is_missing

test result: FAILED. 1 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out

error: test failed, to rerun pass '--test health_check'

PS. I'm getting a lot of value from the book, it's much appreciated. Keep up the great work! :-)

Thanks for reporting these issues :grin:

is indeed an oversight, I'll try to fix it before the next release.
On 2. - yes, I am editing the output to focus on what we are interested into (as well as making stuff fit within the margins :sweat_smile: ). I'll consider adding a note in the foreword/beginning - repeating here every single time seems excessive/noisy.


chore(book): RPC Types

Description
Adds small docs for op-alloy-rpc-types

📚 $\text{Stack Overview}$
Pulls submitted in this stack:

#228 👈
main

This comment was automatically generated by st.


min-date and max-date are not updated into the view when model is changed

Hey,
Me again. What I found out is that min-date and max-date are not updated into the view when model is changed using minutes:seconds fields. When model is changed programmatically or using date field, min, max gets reflected..
Your minutes:seconds updates the model, but it is missing something to secure/do what is being done when the model value is changed programmatically.
Plunker where it works for ui-bootstrap and not so much using minutes:seconds field in your directive: http://plnkr.co/edit/R4ThtuNkzs8T2XGPwAZ3?p=preview
Thank you, Michal

Did you try to reproduce this problem with the latest version of the directive? I've made some changes to the way min/max dates are handled, which may also affected your issue.
Does this problem still exist if you use just the underlying timepicker from http://angular-ui.github.io/bootstrap/#/timepicker and min/max attributes?
What are the exact steps to reproduce this issue?

Hey,
Updated to most recent version at both sides (uib and yours).
http://plnkr.co/edit/b41fHQHnRkrxG1qNl1i9?p=preview
problems:
a) - increase changeEnd by 1 hour -> impactEnd is not allowed to reach its maximum, which is configured to be changeEnd.
b) - increase changeEnd till it goes over midnight -> impactEnd max/min restrictions are completely messed up
c) - decrease changeStart either by hour or minute -> impactStart is marked as invalid for the time field (date part seems still valid)
d) - decrease changeStart either by hour or minute -> impactStart is not allowed to reach its minimum, which is configured to be changeStart.
e) - go over midnight backwards at time field for changeStart -> impactStart is then allowed to be lover its minimum which is defined to be changeStart.
Based on the spooky behavior mentioned above there is definitely something wrong..
Thanks for looking into it, Michal

It appeared that angular ui timepicker min/max attribute watchers do not use deep watch, thus the changes were not propagated downstream. Which of these items are still relevant in release 1.2.4?https://github.com/zhaber/angular-js-bootstrap-datetimepicker/releases/tag/1.2.4


Statement selector should permit options to be configurable

Read in conjunction with the first comment in #33 about a method to determined whether a given type of frame may be added as a child. This same method could be used to filter options for the Selector.

Offer the case only when immediately within a switch statement (not at lower levels)
Offer else only when immediately inside an if (not at lower levels)
Disallow print, call inside a function, at any level
Don't offer procedure in an immutable class.
Offer only abstract members in an abstract class

The list of options should be generated dynamically, and offered in help.
Where there is ambiguity between options, the selector could automatically add any letters that are common e.g.

In a class, typing p will be auto-extended to pro, for user to then specify c for procedure, p for property
In an abstract class the selector could come automatically primed with abstract so that the user is then offered property function procedure to complete the selection.
Note however that the selector must permit overtyping of this auto-added text.

Replace the individual clauses in the selector's processKey with a generic capability based on match to (configured) list of options. List of options should also hold the function call to execute when sole match.

Implemented except for abstract methods - which are pending a grammar change anyway


Ignoring node_gyp_bins directory is not working, causes signed & notarized apps not to pass gatekeeper

Preflight Checklist

[x] I have read the contribution documentation for this project.
[x] I agree to follow the code of conduct that this project follows, as appropriate.
[x] I have searched the issue tracker for a bug that matches the one I want to file, without success.

Issue Details

Electron Packager Version:
Electron Packager 17.1.1
Node v16.17.1
Host Operating system: darwin 21.6.0 (x64)
Electron Version:
21.2.2
Operating System:
macOS 12.6 arm64

Expected Behavior
macOS's Gatekeeper /  spctl doesn't like symlinks in app bundles with invalid destinations. Node-gyp creates such a sym link to the build machines python installation under node_modules, which gets bundled into your app if you're using a native module built with node-gyp.
This issue was already addressed with https://github.com/electron/electron-packager/pull/1391, however this solution is not working. Despite ignoring it, node_gyp_bins ends up in the output .app when using electron packager v17.1.1 (in my case, with electron forge v6.0.1). I also attempted to add the file / directory to the ignore option, but the file persists.
So expected behavior is that node_gyp_bins is excluded from the output
Actual Behavior
node_gyp_bins directories with the troublemaker python3 symlink is included in the output app bundle, therefore a signed & notarized app fails to pass gatekeeper.
The only workaround I've found is to delete the directory manually in the afterPrune hook.
To Reproduce
Minimal repro here: https://github.com/samdesota/electron-packager-symlink-issue
I used create-electron-app with default options to create this, and the issue persists. Used the dependency node-mac-permissions to demonstrate the issue.

@samdesota Thank you for the clear issue report! In Forge, the Rebuild step happens in an afterCopy hook, so it turns out that filtering the file during the copy step doesn't actually prevent this file from being built. :(
I would hang onto that afterPrune hack for now while we find a more elegant solution.

@samdesota Any chance you could document your afterPrune hack as we wait for this to be fixed?

@jagthedrummer I appreciate your patience with this, I know you solved it in another way, but still posting in case is useful for somebody else.
In forge.config.js
module.exports = {
  packagerConfig: {
  },
  plugins: [
  ],
  makers: [
  ],
  hooks: {
    packageAfterPrune(config, buildPath) {
      if (process.platform === 'darwin') {
        const dirs = glob.sync(
          path.join(buildPath, 'node_modules/**/node_gyp_bins'),
          {
            onlyDirectories: true,
          }
        );

        for (const directory of dirs) {
          fs.rmdirSync(directory, { recursive: true, force: true });
        }
      }
    },
  },
};

Has a year passed, and still there's no solution?


[QUESTION] RSS Support?

Are there RSS support for blog post?

UPDATE: Accessible with .com/index.xml


Fix keyword argument 2.7

Noticed that there was still one place where the Ruby 2.7 keyword argument deprecation was being raised.
Running bundle exec rspec spec/ach/parse_spec.rb no longer raises deprecation errors.
Also noticed that the specs were failing and fixed that point of failure.

@henriquegasques can you please publish a new version of the gem when you get some time? Also, TY for accepting the contribution so quickly.


add python client code(todoApp)

Same comments from https://github.com/allenjzhang/typespec-e2e-demo/pull/12#issuecomment-2516509088

Same comments from #12 (comment)

Server part is not ready so I will hold to add the samples. And since tsp 0.63.0 is released, this PR is blocked and we have to wait for all languages bump 0.63.0.


Question: Change toolbar on fullscreen

I use a very minimal toolbar for my editors - I show only the fullscreen icon.
How would I go about changing the toolbar so that it is shown when fullscreen is invoked?
e.g.

the minimal (fullscreen button only) editor is displayed.
User clicks the fullscreen button
The fullscreen editor is displayed, showing the full toolbar

I reckon I could probably do it with a heap of CSS, but would prefer to set the toolbar at runtime - is there a way in through the api? Currently the toolbar is set up on init.
init: function (element, valueAccessor, allBindings, viewModel, bindingContext) {

    // Create instance of Trumbowyg WYSIWYG on div.
    let wysiElem = <any>$(element);

    let isNoButtons = allBindings.get('noButtons');
    var isNoButtonsUW=ko.unwrap(isNoButtons);
    if (isNoButtonsUW) wysiElem.trumbowyg({
        btns: [['fullscreen']
        ]});
    else wysiElem.trumbowyg();

    // Load latest value in observable into Trumbowyg instance.
    wysiElem.trumbowyg('html', ko.unwrap(valueAccessor()));
},

I think I got to a solution - is there a better way? Are there likely to be any side effects?
    // Create instance of Trumbowyg WYSIWYG on div.
    let wysiElem = <any>$(element);

    let isNoButtons = allBindings.get('noButtons');
    var isNoButtonsUW = ko.unwrap(isNoButtons);
    if (isNoButtonsUW) wysiElem.trumbowyg({
        btns: [['fullscreen']]
    });
    else wysiElem.trumbowyg();

    // Load latest value in observable into Trumbowyg instance.
    wysiElem.trumbowyg('html', ko.unwrap(valueAccessor()));

    wysiElem.on('tbwopenfullscreen', function (e) {
        var thisObject = wysiElem;
        var t = thisObject.data('trumbowyg');
        t.o.btns = (<any>$).trumbowyg.defaultOptions.btns;
        t.$btnPane.remove();
        t.buildBtnPane();
        t.fixedBtnPaneEvents();
    })

    wysiElem.on('tbwclosefullscreen', function (e) {
        var thisObject = wysiElem;
        var t = thisObject.data('trumbowyg');
        t.o.btns = [['fullscreen']];
        t.$btnPane.remove();
        t.buildBtnPane();
        t.fixedBtnPaneEvents();
    })

Do it in CSS, it's REALLY simpler.


inventory-groups: implement enforce inventory groups.

Description
implement enforce inventory groups, some orgs can still use edge groups even if inventory-groups-enabled is ON.

Create hook useInventoryGroups, that verify feature flag inventory-groups-enabled and enforce-edge-groups.
Update all the places where useFeatureFlags with inventory-groups-enabled values with useInventoryGroups.
update useApi hook to handle dynamic api function changes.

FiXES: https://issues.redhat.com/browse/THEEDGE-3552
Type of change
What is it?

[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Documentation update
[ ] Tests update

Checklist:

[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[X] New and existing unit tests pass locally with my changes
[X] I run npm run lint:js:fix to check that my code is properly formatted

Codecov Report
Attention: 23 lines in your changes are missing coverage. Please review.

 Let us know!.


Changes to "identifier mapping setup" are not saved after restart; removing bridge file doesn't work

I had a problem related to having multiple sources for identifier mapping, so I tried to remove the mapping from a local bridge file by selecting it and clicking "remove". Then restarted PathVisio and still saw the same problem. Checking the identifier mapping setup, the bridge file is back in the list of sources.
In contrast, removing the bridgerest service works fine. So it seems it is specific to bridge files.

Can you try the following? Close PathVisio before.
Go to your local PathVisio directory:

Windows: in your home directory, go into the hidden directory “AppData”- “Roaming” - “PathVisio”
MacOS / Linux: in your home directory, go into the hidden directory “.PathVisio”

Open the .PathVisio file in a text editor and remove the two DB_CONNECTSTRING properties. If you save the file and then restart PathVisio, the databases should not be loaded anymore. Does that work?


Inconsistent behavior with property values and defaults when creating custom elements inside a dom-repeat template

I've tried to capture all the weird behavior I've observed/experimented with in this JS Bin: http://jsbin.com/ciluco/1/edit?html,console,output

repeat-me is a custom element with Boolean, Number, Array, and Object properties with default values
i-repeat is a custom element that has a dom-repeat on an Array of Objects to create repeat-me elements in its local DOM
I have instances of repeat-me by themselves, and also an instance of i-repeat which creates the repeat-me in its local DOM

Observed inconsistent behavior:

The default value for the Boolean and Number property are used when repeat-me is standalone, but not used when in i-repeat. The default value function for the Array and Object properties are used in both cases. See console output for "repeat-no-foo-bar" and "single-no-foo-bar" elements.

When passing in incorrect data types for properties. When repeat-me as standalone, Polymer makes a "best effort" to try to create the Boolean and Number property (Number is a NaN value), but not for the Object and Array property (they can become primitive data type properties). The behavior is opposite in i-repeat: The Boolean and Number properties change data types (they become Strings), whereas the Object and Array properties fall back to their default values. See console output for "repeat-data-type-mismatch" and "single-data-type-mismatch" elements.

Behavior number 1 doesn't seem to be a problem when I change i-repeat to accept an Array of primitives: http://jsbin.com/neyuco/1/edit?html,console,output

Thanks for the detailed repro.
For (1), the case of using the element standalone differs from the i-repeat case in that the i-repeat case has bindings to the properties which take precedence over the default values; bindings always push their values when the root property is set, which in this case is undefined.  This recently came up in another context, so we'll track that part of the issue here: https://github.com/Polymer/polymer/issues/1877
For (2), Polymer only uses type as a hint to deserialization, not as a validator.  Array and Object types simply use JSON.parse to get their values, hence valid values appearing for those (primitive values are valid JSON).  We'll keep this issue open to consider warning when the resulting parsed value is not Array or Object; the Boolean & Number behavior is expected and will likely remain unchanged.

For (2), my main concern is that the deserialization of mismatched data types works differently in a standalone element than when it is bound to object properties (i.e., in a dom-repeat). As mentioned before, Polymer uses type as a hint with a standalone element.
But when bound to object properties, the behavior is a bit... wild? Boolean and Number properties are "clobbered" by the type of the object property -- I guess that's okay, because it's not the same as deserializing an attribute value. But Array and Object properties simply fall back to the property default value, not even clobbered, which I think is probably a bug somewhere.


list: Fix list user options

The "--assignee", "--reviewer", and "--author" options are not working
because the scope of the variables was incorrect.
Fix thhe "--assignee", "--reviewer", and "--author" list command options.
Signed-off-by: Prarit Bhargava<EMAIL_ADDRESS>Signed-off-by: Bruno Meneguele<EMAIL_ADDRESS>

Tested successfully by me.


'rakudobrew init' is mentioned in README.md but no longer exists

Works perfectly fine for me, can you show an example where it seems like it no longer exists?

I'm guessing I was terribly out of date, closing the ticket. (just checked.)


fix(interlinks): ensure that json fixup only happens when json is not nil

Encountered this when running quarto preview without having first generated API documentation with quartodoc

Thanks!


Error on installing sentinl

Hi
I am trying to integrate Sentinl with ELK Stack. I am using kibana version 6.4.1 .I followed https://sentinl.readthedocs.io/en/latest/Installation/ for installation. After installation I configured kibana.yml by adding following lines.
sentinl:
  es:
    host: 'localhost'
    port: 9200
  settings:
    email:
      active: true
      host: "smtp.gmail.com"
      user<EMAIL_ADDRESS>      password: "[**********]"
      port: 465
      domain: "gmail.com"
      ssl: true
      tls: false
      authentication: ['PLAIN', 'LOGIN', 'CRAM-MD5', 'XOAUTH2']

After installation, I run kibana and got the following  errors.
 "FATAL "sentinl.es.host", "sentinl.es.port", "sentinl.settings.email.active", "sentinl.settings.email.host", "sentinl.settings.email.user", "sentinl.settings.email.password", "sentinl.settings.email.port", "sentinl.settings.email.domain", "sentinl.settings.email.ssl", "sentinl.settings.email.tls", "sentinl.settings.email.authentication", and "sentinl.settings.email.timeout" settings were not applied. Check for spelling errors and ensure that expected plugins are installed."

So please help me to solve it

The error says you don't have Sentinl installed. If it is installed you should see sentinl folder in kibana/plugins. Do you see it?
If not, install Sentinl
kibana/bin/kibana-plugin install https://github.com/sirensolutions/sentinl/releases/download/tag-6.4.1-beta-1/sentinl-v6.4.1.zip

Closing as this seems clarified. Feel free to post additional questions here.


Expand to .NET

Hi I'd like to expand this idea for .NET framework may i ask u few questions about reading data?

Of course. Please ask.
I haven't used .NET for several years, so I can't really tell you which functions or libraries would be good. But I can certainly explain my stuff.

Oh that's great! Where i could contact you?

You can write it here. It might be interesting for others.
If you want to keep it private, you can find my email here: https://www.cg.tuwien.ac.at/staff/PhilippErler
(small indirection to avoid spam)

Ok, so I'm already reading the byte array from telemetry UDP but I've got problem with encode it (or map idk) I've seen that somehow you know which bytes are for specified data ,like speed rpm etc - how did u know that?

my low-level stuff is here: https://github.com/ErlerPhilipp/dr2_logger/blob/master/source/dirt_rally/udp_data.py
the most important source for UDP encoding is here: https://docs.google.com/spreadsheets/d/1UTgeE7vbnGIzDz-URRk2eBIPc_LR1vWcZklp7xD9N0Y/edit#gid=0
Dirt Rally 1 and 2 seem to be the same. I think they extracted the information from some Codemasters document for motion base systems.
you can also check this related project: https://github.com/soong-construction/dirt-rally-time-recorder
do you need anything else?

Thank you, i guess i found same data but i've got problem with one parameter: the speed cause as i said its totally different than this one i see in game and in telemetry. Behaviour is strange too - when car is on handbrake the speed still changes, and f.g i put 1 and got max speed 79 km/h data shows only 43

Sounds strange indeed. Maybe they changed the telemetry in the meantime. I haven't used my logger in several years.
Another guess: little endian vs big endian.

I don't think so about endian cause everything works fine except speed

perfect example of this situation

assuming they didn't change the data, i suspect a mixup. these fields are all related to velocity:
pos_x =               4
pos_y =               5
pos_z =               6
speed_ms =            7
vel_x =               8
vel_y =               9
vel_z =               10
...
wsp_rl =              25
wsp_rr =              26
wsp_fl =              27
wsp_fr =              28
you can calculate the world-space velocity from

the change in pos_xyz
just take speed_ms whatever that actually is. this is probably shown on the tachometer in-game. i think it's related to wheel speeds.
take the sum of vel_xyz and then the vector length. maybe ignore the up-axis for this.
do something with the wheel speeds wsp_rl etc. but it's probably unnecessarily complicated
in theory, you could even take the g forces but it's probably very inaccurate

which one do you use? what exactly do you want to show?

Thank you for that suggestions cause this is it! Its the "GPS" speed not the wheels, setting reading on left front wheel in FWD car finally im getting normal values :D


Problem with trying import own data

Problem with trying import own data

I create NDF json data from import :
{  "valueType": "nodes",  "values": [{      "_typeName": "Phrase",      "id": "cjikk1hkj00009b7a4inrd3yi",      "startTime": "400",      "stopTime": "2325",      "originalText": "For everything there is a season,",  }, {      "_typeName": "Phrase",      "id": "cjikk1hkj00019b7al5s4buok",      "startTime": "2325",      "stopTime": "5000",      "originalText": "and a time for every purpose under heaven:",  }] }

for id I use package cuid()

Compress to export.zip as I got after prisma export
I trying prisma import --data export.zip
I got https://imgur.com/6X5rszi :
`
Unzipping 12ms
Validating data 9ms

Uploading nodes...
▸    {
▸    "errors": [
▸    {
▸    "message": "JsError.get",
▸    "requestId": "local:api:cjikktdkj000x0820wl0vjx54"
▸    }
▸    ]
▸    }
`

OS: Ubuntu 18.10
prisma CLI: prisma/1.9.0 (linux-x64) node-v10.4.1

Sory for my English

Thanks for your report. Can you provide the additional information in your original post:
To Reproduce

What is your exact datamodel that is deployed to the Prisma service you're importing the data to?
can you share the exact export.zip file that you are importing?

Thanks!

Thanks @strelov1! I can confirm this bug.

@marktani is there any update about this? I just ran into the exact same issue which does not seem to have a workaround yet?
Having a fix or a workaround is critical for us as we are migrating from DynamoDB to Prisma and we have to move all the existing data that we have there to Prisma.

In my case it seems like the issue seems to be with importing fields marked as JSON type in the datamodel. Sadly due to the fact that there is no interfaces, we have to use this type for more complex object like fields(ex. address).
Could you please prioritize this issue or provide a workaround?

Hey @strelov1,
sorry for the late response. I could reproduce the error. The problem is that you have startTime defined as Int in your data model but provide it as a String. This causes the error. I have improved the error handling for this case so that you will get a response that helps you identify the problem.
Thanks for reporting this!


Add working CIS Software Supply Chain controls

Remaining updates

Image in index & readme
Plugin dependency in mod.sp


snd: 23.1 -> 23.2

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/snd/versions.
meta.description for snd is: Sound editor
meta.homepage for snd is: https://ccrma.stanford.edu/software/snd/
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 23.2 with grep in /nix/store/bbqwdazypacmzzqzp9pyh9h5p5px893k-snd-23.2
found 23.2 in filename of file in /nix/store/bbqwdazypacmzzqzp9pyh9h5p5px893k-snd-23.2

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
snd

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/bbqwdazypacmzzqzp9pyh9h5p5px893k-snd-23.2 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A snd https://github.com/r-ryantm/nixpkgs/archive/84644d034649d12326ddd1a7cd592557c9568e87.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/bbqwdazypacmzzqzp9pyh9h5p5px893k-snd-23.2
ls -la /nix/store/bbqwdazypacmzzqzp9pyh9h5p5px893k-snd-23.2/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

snd

Maintainer pings

Superseded by #222921.


build: use poetry for building

[ ] Dropped version 3.6 because I couldn't find how to build for only 3.6 using poetry

Should maybe not be merged for a long while if we cannot solve this?

Would be nice to use poetry and leave 3.6 behind @FelixAbrahamsson


Fixes Bower unable to find temporary hammer.js fork

Prevents Package runspired/hammer.js=runspired/hammer.js not found when trying to install with
Ember CLI 1.13.8, Bower 1.5.2

Can you rebase this? The hammer-time fixes are no longer needed but I would rather this than my install warning for the temp branch of hammer.

I'm going to close this in favor of fixing to the latest version of HammerJS.  The branch I had pointed to was missing an updated build and is now much behind the master branch of Hammer.


Add relatedImages to bundle spec

Along these lines:

adding the required spec field to the manifest CSV
using envsubst to add it to the bundle manifests

Closing this out, as this needs the image SHA as such, and is not a must have.


Change lexicographic sort to natural sort in list

Looking at /images, you will see that ID's are sorted as strings rather than as integers. This fixes that.

Hi,
Thanks for your contribution!
This is intentional, as I didn't want to treat the IDs to be integers anymore, and use strings instead.
To maintain backwards compatibility however, I couldn't change the existing ID's, hence the weird sorting on the list page.


ng-if doesn't work for ui-select-choices

I receive list of items from server and I want to filter some of them on client side:
<ui-select multiple  ... >
            <ui-select-match placeholder="Select Field...">{{$item.name}}</ui-select-match>
            <ui-select-choices repeat="field in ctrl.fields" ng-if="field.flag == 1">
                {{field.fieldName}}
            </ui-select-choices>
 </ui-select>

I tried smth simpler:
ng-if="true"

...and I tried to reproduce the issue with demos in plunker and it is an issue. Can you please suggest some workaround? Currently I'm filtering the collection in controller just after I receive it.

ng-if is currently not allowed in ui-select-choices, I'm not sure if documented or not.
ng-if will be overridden here:
https://github.com/angular-ui/ui-select/blob/master/src/uiSelectChoicesDirective.js#L48
you should use a filter for the repeat expression:
<ui-select-choices repeat="field in (ctrl.fields | myFlagFilter(field.flag))">
  {{field.fieldName}}
</ui-select-choices>

Closing as a usage issue.


[Feature request] Let me add a Nano account to my address for donations

Nano is the only feeless currency, on top of having subsecond tx finality and fixed total supply since genesis (fully distributed). These features makes it ideal for donations, hence I suggest we add it among the options in the form at Profile edit > Address for donations:

Even the Doge coin founder accepts Nano (and its meme fork Banano) for tips at his site for example: https://billym2k.net/tipjar
An example of a more tight integration is xno.social, a Mastodon implementation where you can donate nano (XNO) with a button under each post.
The easiest way to try it is here (link to main wallets and faucet to get little free XNO): https://nano.org/try-nano
Having no fees, you can send it back & forth forever between your own accounts or your friend 😇
I'm not an employee of Nano Foundation nor developer or longtime core member of nano, just a fan that just discovered Bastyon :)
Thanks, and keep up the good work!! 💪🏻

Oh, I just noticed the feature is even not active yet 😅
Well, in case you want to do more than just show an address, here's some basic info:

How to link (either with nano: or payto: protocols): here
How to register & share names associated with each address (same URL as above), example implementation at xno.link or nano.to
Free RPC at https://docs.nano.to/ and https://node.somenano.com/#node-rpc (and more..)


collapseEmptyDivs not working?

collapseEmptyDivs not working. Help me please?
<DFPSlotsProvider dfpNetworkId='4519939' collapseEmptyDivs={true}>                                 <AdSlot adUnit={"4519939/deneme_300x250"} sizes={[[300, 250]]}/>                             </DFPSlotsProvider>                             <DFPSlotsProvider dfpNetworkId='4519939' collapseEmptyDivs={true}>                                 <AdSlot adUnit={"4519939/deneme_300x600"} sizes={[[300, 600]]} />                             </DFPSlotsProvider>                             <DFPSlotsProvider dfpNetworkId='4519939' collapseEmptyDivs={true}>                                 <AdSlot adUnit={"4519939/deneme_300x250_2"} sizes={[[300, 250]]} />                             </DFPSlotsProvider>

hi!, i believe your problem might be the fact that you are declaring more than one <DFPSlotsProvider> in the page, this component has no visual effects, and it is designed to be to pass dfp global options (such as id, collapseEmptyDivs flag, etc) so you should only declare one instance of it (as top as possible). Take a look at the following example:
<DFPSlotsProvider collapseEmptyDivs dfpNetworkId={network}>
      ...

          <AdSlot sizes={[[728, 90]]} />

          <AdSlot sizes={[[300, 250]]} />

        ...

 ...

       ....
</DFPSlotsProvider>

The googfc console shows the value is set properly:

Can you please give this a try? let me know if u have issues.
Thanks

Thank you for your reply!


Create GitHub action to build release binaries

This PR adds a new GitHub action that builds and uploads binaries when a new release is published for the CLI tool.

Nice one!


All caps, small caps, mixed case

New check that returns the 'hard' casing baked into the font

Implemented as per https://github.com/googlefonts/fontquant/commit/f5fabaf4a4dc2236a3eb579b7d0655b34a61867b. Metric is called Lowercase Shapes


Website day 21 article (part 2 pictures pending)

I'm delayed drawing pictures for part 2, so I decided to plop up this much for review.

took longer than I thought to free up time for this, still on my agenda for this week

Part 1 looks good so far, how about part 2?

Thanks! I'll submit my part 2 prose this weekend.

In the meantime, is the part 2 code pretty understandable?

yeah its good straight line code, but for sure does need the prose to explain the choices


public key mismatch during key recovery

as reported by @wjdfx
In the below example, key recovery returns c2e57d69597a158981dca496599622e49040c7be instead of original  b12f4843bf0091802cbabcf3d6ddf15da8ca1540
$ akash key create foo

(info)  [key] key created

Create Key
==========

Name:           	foo
Public Key:     	b12f4843bf0091802cbabcf3d6ddf15da8ca1540
Recovery Codes: 	recycle together dove empty sauce grit amused myth captain virus concert fantasy shell there pledge myth odor glass trim vague reveal sunny veteran unit

(warn)  [Important] Write these Recovery codes in a safe place. It is the only way to recover your account.

$ akash key remove foo

(info)  [key] key removed

Remove Key
==========

Name: 	foo

$ akash key recover foo recycle together dove empty sauce grit amused myth captain virus concert fantasy shell there pledge myth odor glass trim vague reveal sunny veteran unit

(info)  Successfully recovered key, stored locally as 'foo'

Recover Key
===========

Name:                 	foo
Public Key (Address): 	c2e57d69597a158981dca496599622e49040c7be

This issue is now blocking when trying to complete the Founder challenges from different workstations

alternatively, you can import/export private keys from different machines:
akash key list

akash key show --private foo > key.private

akash key import foo key.private


add an option to use 7zip as default zip extractor

Expand-Archive is incredibly slow, check this issue, and it tooks about 5 to 10 minutes to extract the golang, while 7zip only use 1 to 2 minutes..
i found that scoop will use Expand-Archive in powershell version >= 5, so can you make an option to let us choose the default extractor?

See https://github.com/lukesampson/scoop/pull/3460

When will this be released?


Collecting gradients seems like the process is hanging

Is your feature request related to a problem? Please describe.
When collecting gradients for pruning, there are no messages printed/logged which makes one think that the process crashed or is hanging and needs to be restarted.
Describe the solution you'd like
Some updates/logs to know that gradients are being collected in the background properly.

Collecting gradients can sometimes take a lot of time (for example up to 40 minutes), so it's useful to have some indicators/logs that the process is running properly.