Is it possible to achieve acrylic effect in new version of Firefox for windows？

since the 115ESR version will stop supporting soon, is it possible to achieve acrylic effect in new version of Firefox for windows？

https://bugzilla.mozilla.org/show_bug.cgi?id=1764822
https://bugzilla.mozilla.org/show_bug.cgi?id=1850979

Windows 11 Mica support added to Firefox 133. See FAQ.

Windows 11 Acrylic
https://bugzilla.mozilla.org/show_bug.cgi?id=1924645

Windows 11 black background instead of Mica
https://bugzilla.mozilla.org/show_bug.cgi?id=1926862

Windows 11 black background instead of Mica
https://bugzilla.mozilla.org/show_bug.cgi?id=1926862 https://bugzilla.mozilla.org/show_bug.cgi?id=1927076

I have tried the Firefox Nightly version, it can achieve acrylic effect through third-party application, however only the top title bar is acrylic and the address bar and favorites bar are opaque, so it doesn't work as well as the 115 version with wavefox.

I have corrected the options related to the transparency of the toolbars.

I have corrected the options related to the transparency of the toolbars.

Looking forward to the official update!

I have corrected the options related to the transparency of the toolbars.

It's so great!

I have corrected the options related to the transparency of the toolbars.

What's the config settings for this ?

What's the config settings for this ?

https://github.com/QNetITQ/WaveFox/tree/WaveFox-Nightly?tab=readme-ov-file#toolbar-transparency

I have added these to user.js but it doesn't work:
user_pref("toolkit.legacyUserProfileCustomizations.stylesheets", true);
user_pref("browser.theme.windows.accent-color-in-tabs.enabled", true);
user_pref("userChrome.Tabs.Option2.Enabled", true);
user_pref("userChrome.Toolbar.Transparency.High.Enabled", true);
Do i miss anything ?

Toolbar transparency does not activate system transparency. It must be enabled separately.

Windows 11 Mica support added to Firefox 133. See FAQ.

In the 133 version, the window gradient animation effect when cold starting Firefox is missing (it's normal in 115ESR).  Is it possible  to fix this bug?

Do you mean UI skeleton? Mozilla developers disabled it for transparency mode, because it is incompatible with it. Maybe they will enable it later, but it is not certain.

Do you mean UI Skeleton? Mozilla developers disabled it for transparency mode, because it is incompatible with it. Maybe they will enable it later, but it is not certain.

but the official version (132) also doesn't have this effect, the window pops up directly when cold starting instead of other softwares.

I can't really do anything about it. I can only advise you to check that the key browser.startup.preXulSkeletonUI is on.

Mica issues
https://bugzilla.mozilla.org/show_bug.cgi?id=1934143


osquery ERROR: transport error

Hi,
While executing it on x64 linux (ubuntu) I see some errors in log:

2022-12-09 21:03:20 [fennec:422] ERROR Unable to execute osquery SQL query 'select cmdline,cwd,disk_bytes_read,disk_bytes_written,egid,euid,gid,name,nice,on_disk,parent,processes.path,md5,pgroup,pid,resident_size,root,sgid,start_time,state,suid,system_time,threads,total_size,uid,user_time,wired_size from processes JOIN hash USING (path)', ERROR: Unable to execute the query 'select cmdline,cwd,disk_bytes_read,disk_bytes_written,egid,euid,gid,name,nice,on_disk,parent,processes.path,md5,pgroup,pid,resident_size,root,sgid,start_time,state,suid,system_time,threads,total_size,uid,user_time,wired_size from processes JOIN hash USING (path)', ERROR: transport error
2022-12-09 21:03:26 [fennec:422] ERROR Unable to execute osquery SQL query 'SELECT path,md5,username,groupname,permissions FROM suid_bin JOIN hash USING (path)', ERROR: Unable to execute the query 'SELECT path,md5,username,groupname,permissions FROM suid_bin JOIN hash USING (path)', ERROR: transport error
2022-12-09 21:03:30 [fennec:422] ERROR Unable to execute osquery SQL query 'select * from groups join user_groups using (gid) join users using (uid)', ERROR: Unable to execute the query 'select * from groups join user_groups using (gid) join users using (uid)', ERROR: transport error
2022-12-09 21:03:37 [fennec:422] ERROR Unable to execute osquery SQL query 'select * from file where path like "/home/%%"', ERROR: Unable to execute the query 'select * from file where path like "/home/%%"', ERROR: transport error
2022-12-09 21:03:41 [fennec:422] ERROR Unable to execute osquery SQL query 'select * from file where path like "/root/%%"', ERROR: Unable to execute the query 'select * from file where path like "/root/%%"', ERROR: transport error

others queries are running fine.

Hello,
Could you share the OS version and steps to reproduce

OS: Ubuntu 22.04.1 LTS x86_64
Host: KVM/QEMU
Kernel: 5.15.0-1025-oracle
The program was executed using without any switches: sudo ./fennec_linux_x86_64

I uploaded log to pastebin

I was able to reproduce the the issue you are facing. Fennec will timeout with queries that take more than the three seconds. This issue is actually in the osquery-rs library. It is a simple fix, I will be working on this and will let you know when it is fixed so you can check if it is working for you.
Thanks!

Hi,
I just committed the changes. I added a timeout option -t to Fennec so you can set it depending in your system, by default it is 60 seconds. You can wait for the pipeline to finish creating the release or you can clone the repo and build it. I will keep this issue open until you test it and confirm it is working
Thank you for reporting this issue!

Thanks for the quick update. I'm currently compiling the Fennec and will let you know how this new version behaves.

I'm happy to report that this fix works as expected ;) This time output .json files were correctly created, and there are no more errors in fennec.log. So you can close the issue.


Events don't appear to be working

In the scope the variable was declared as onFocus (1) , but later, it tries to call focus (2) instead - which of course doesn't give the expected behavior.
1 - https://github.com/summernote/angular-summernote/blob/master/src/angular-summernote.js#L127
2 - https://github.com/summernote/angular-summernote/blob/master/src/angular-summernote.js#L22
I'll release a patch once the bug is confirmed. It happened to me, I'm only waiting for one person that had more coffee than me this morning to confirm.

I think it fixed in #89 because summernote v0.7.0 has breaking changes. I will release new version to support summernote v0.7 soon.
Please repoen it if you are not in this case.


concat_map_factory initialiser list passes arguments in the wrong order

Collector and Result are swapped, which prevents usage of pipe and stream.

Would you provide a sample of the usage you want?

The code is:
concat_map_factory(collection_selector_type s, result_selector_type rs, coordination_type sf)
: selectorCollection(std::move(rs))
, selectorResult(std::move(s))
, coordination(std::move(sf))
{
}
}
It should be
concat_map_factory(collection_selector_type s, result_selector_type rs, coordination_type sf)
: selectorCollection(std::move(s))
, selectorResult(std::move(rs))
, coordination(std::move(sf))
{
}

Ah, that helps!
so usage would look like
rx::observable<int> xs;
rx::observable<std::string> ys;
xs >> rxo::concat_map(
  [&](int){return ys;},
  [](int, std::string s){return s;},
  rx::identity_current_thread());

I have a fix for concat_map and flat_map. I will create a PR soon.
Thanks!

Thank you!


spacelog should use sys/unix package instead of syscall package

Syscall package doesn't provide Dup2 on Solaris, so spacelog doesn't work. According to go developers, spacelog should use sys/unix package instead. See https://github.com/golang/go/issues/17042

diff --git a/capture_other.go b/capture_other.go
index e7e3afa..8f2769f 100644
--- a/capture_other.go
+++ b/capture_other.go
@@ -19,17 +19,17 @@
 package spacelog

 import (
-       "syscall"
+       "golang.org/x/sys/unix"
 )

 // CaptureOutputToFd redirects the current process' stdout and stderr file
 // descriptors to the given file descriptor, using the dup2 syscall.
 func CaptureOutputToFd(fd int) error {
-       err := syscall.Dup2(fd, syscall.Stdout)
+       err := unix.Dup2(fd, unix.Stdout)
        if err != nil {
                return err
        }
-       err = syscall.Dup2(fd, syscall.Stderr)
+       err = unix.Dup2(fd, unix.Stderr)
        if err != nil {
                return err
        }```
proposed patch for solaris/illumos


Handling handshake that returns a status code other than 101?

I'm using websockets as a client to test the server and the handshake first does a 401 so it can return a nonce that the client is supposed to use. I've tried implementing handshake in WebSocketClientProtocol to handle this but couldn't get it to send a follow on request/connection.
Is there a way to accomplish this?

I don't know any good way to do this.
The least aggravating option in the current state of websockets may be:

perform a HTTP request with an API that give you access to the underlying socket object
get the 401 answer, extract the nonce, and build the authenticated request
use the sock and extra_headers arguments of connect to reuse the same connection and send the correct headers

This is a duplicate of #784, isn't it?

Thanks for the reply! Sounds like I'll close this out since it's not currently supported and I'll use a workaround like you're suggesting
As far as the other issues goes, I believe the concept of supporting authentication is similar but the details are different


Adding book description to the already running model

Description

List out your changes
I created a column named cleaned_desc in the already existing dataset and reformatted the model with an extra feature.
As directed, I uploaded a csv file with book description in it. And the link to colab notebook

Affected Dependencies
How has this been tested?
It has been tested on books of different genres and in various languages. It gives a relevant recommendations for almost all of them.
GIF Before
N/A
GIF After
N/A
Checklist

[x] I have followed the Contribution Guidelines.
[x] My changes do not edit/add any unrequired files.
[x] My changes are covered by tests.

Directly Replace books.csv with the one you uploaded and there seems to be 2 extra columns at the start, drop them. It should be similar to the earlier one so we can check with the running application.

Also make the notebook as same as this one, only difference would be your implementation and the new dataset

Hello. It says I closed this?? I didn't. I was actually uploading the new dataset and colab link.

You deleted the branch book-desc-model which made the PR get closed.


Connection::run(query: Insert) failed to unwrap lastInsertRowid with OnConflict.Ignore

branch: swift-2
commit: 8bd27bcd5d0e6461620e51a651156d57c1c2c6cb
Model
class News {

    let id: Int
    let header: String

    init(row: Row) {
        id = row[NewsColumn.Id]
        header = row[NewsColumn.Header]
    }
}

Insert code
try db.run(tableNews.insert(or: OnConflict.Ignore,
    NewsColumn.Id <- (rawNews["id"] as! Int),
    NewsColumn.Header <- (rawNews["name"] as! String),
))

This insert code will fail here if model with the same Id already exists.

https://www.sqlite.org/c3ref/last_insert_rowid.html
The sqlite3_last_insert_rowid(D) interface returns the rowid of the most recent successful INSERT into a rowid table [...]
An INSERT that fails due to a constraint violation is not a successful INSERT and does not change the value returned by this routine. Thus [...], INSERT OR IGNORE, [...] make no changes to the return value of this routine when their insertion fails.

This method is the culprit, self.lastInsertRowid is nullable, but the return type is Int64.
public func run(query: Insert) throws -> Int64 {
        let expression = query.expression
        return try sync {
            try self.run(expression.template, expression.bindings)
            return self.lastInsertRowid!
        }
    }

Temporary fix:
public func run(query: Insert) throws -> Int64 {
        let expression = query.expression
        return try sync {
            try self.run(expression.template, expression.bindings)
            let returnId = self.lastInsertRowid ?? -1
            return returnId
        }
    }

Also here is alternative fix, but it was rejected.

I tried that fix, but it does not build for me.

With my fix you have to check return value on nil. With 'if let' pattern, for example.

True, also I'm not sure how Stephen feels about returning -1 for failed Insert statements. We shall see.

Since a row id should be unique number with Ignore, any column wouldn't fix a problem. I think insert methods should just do db.run without lastInsertRowid.

@stephencelis How about
public func run(query: Insert) throws -> Connection {
        let expression = query.expression
        return try sync {
            try self.run(expression.template, expression.bindings)
            return self
        }
    }

Fixed in 75394dab16991f64672dbf8a11fbb8e80c17a2e7


Automatic abort on error

qDup could implement behaviour similar to set -e in bash: with some command-line flag (or option in the script) any command that does not exit with status 0 would result in abort unless the exit status is handled explicitly:
- sh: my-command ...
  onExit:
    0:
    - sh: echo success
    15:
    - abort: command terminated
    else:
    - sh: echo failed with exit value $?

I'm not that familiar with using the exit code from a command. Do you often want to identify separate exit codes or is it mostly 0 versus non-zero? If it is mostly zero versus non-zero do we want to add a global abortOnError and then each sh can have an optional ignore-error?
If we add onExit or on-exit I assume we want those to run before any then commands?

While I don't usually make distinction between different non-zero exit codes I think that this should be considered in the design so that you don't need to change the syntax when the need comes. I agree that the syntax should be optimized for zero/non-zero detection.
For the record, Ansible defaults to this behaviour, too - the ignore-error is triggered using failed_when: false: https://docs.ansible.com/ansible/latest/user_guide/playbooks_error_handling.html#defining-failure

I guess that this is implemented.


fix(ordering): switch container_name_to_parents implementation to BTr…

…eeMap
Aims to fix
https://github.com/etolbakov/excalidocker-rs/issues/35

Results are shown below:

Addresses https://github.com/etolbakov/excalidocker-rs/issues/37

should address https://github.com/etolbakov/excalidocker-rs/issues/15


ES-295: Save Lab metadata in IDE files

This implements a mechanism for reading and writing user data in an .IDE file. Several new elements have been added to the schema for this purpose. The specific child elements of <UserData> may undergo revision.

Codecov Report
Attention: Patch coverage is 4.70588% with 81 lines in your changes are missing coverage. Please review.

Project coverage is 72.72%. Comparing base (6420d42) to head (f484b17).

Files
Patch %
Lines

idelib/userdata.py
0.00%
81 Missing :warning:

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #149      +/-   ##
===========================================
- Coverage    74.28%   72.72%   -1.57%
===========================================
  Files           10       11       +1
  Lines         3691     3776      +85
===========================================
+ Hits          2742     2746       +4
- Misses         949     1030      +81

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Remove strip = "off" (and undocumented strip = "n"/strip = "no")

r? @ehuss
(rust-highfive has picked a reviewer for you, use r? to override)

Requested by @tmandry to simplify strip to more closely match rustc.
Posting this PR to address it before the option becomes stable.

:hourglass: Testing commit b3e5782e74bc284ba0d62991aa6ea7c6ca24d3d6 with merge 227f4c4fcfa4e56d712cd62688dbdc0911d6242e...

:sunny: Test successful - checks-actions
Approved by: alexcrichton
Pushing 227f4c4fcfa4e56d712cd62688dbdc0911d6242e to master...


Rosbag2

Wanted to start a draft of what I've been working on. Its pretty ugly (Disclaimer, I'm a pretty shitty NodeJS/Javascript developer :P) , and needs a lot of refactoring and prettier code but its working :)
Pretty straight forward: Rosbag2 to XVIZ data, of course there is no open general rosbag2 dataset (yet!) but hopefully I'll be able to supply something like that in the future. In the meantime, this code could work as a boilerplate for people who wants to try out streetscape using rosbag2.
Looking forward to see what you did for Ros1, I could probably adapt the style to that a bit then as well.
Unfortunately I hit this problem https://stackoverflow.com/questions/55370793/starting-application-using-node-works-but-not-yarn-or-npm so it needs to be run using node ...

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

This is great, thanks!
I have some new ROSBag work myself, I need to wrap that up then review this and lets see where we can take it all.


@conda-forge-admin, please add bot automerge

Additional comment:
@conda-forge-admin, please add bot automerge

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I added bot automerge in conda-forge/de-weiterbildungssuche-feedstock#2.


4 3 19 job template workshop

Create Backup Job Template with instructions and screenshots.
Also removes backup job from being created during provisioning so students can create it by following the lab guide.
Resolves #195
@IPvSean @termlen0

this looks good


Use service listener and do f any handler

Changes

service listenr and improvements
f any handler

/kind

Fixes #

Release Note

Docs

/hold
wait for #43

/unhold


Outdated documentation on MSAL-js logger config

This doc page directs developers to pass an Msal.Logger class instance to the MSAL-js system.logger config. As per https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/lib/msal-browser/docs/configuration.md#system-config-options, this appears to have been replaced by a new system.loggerOptions config.
(Although this might be a larger issue with this page focusing on MSAL 1.x vs. 2.x configs.)

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

ID: 458301cb-79ae-0f32-8df3-c39ca6eabe2b
Version Independent ID: 8ee3b8ee-2830-d72e-d743-07586def95cc
Content: Logging errors and exceptions in MSAL.js - Microsoft identity platform
Content Source: articles/active-directory/develop/msal-logging-js.md
Service: active-directory
Sub-service: develop
GitHub Login: @mmacy
Microsoft Alias: marsma

@amcclain
Thanks for your feedback! I've assigned this issue to the author who will investigate and update as appropriate.

#label:"doc-bug"
@amanmcse @JamesTran-MSFT @MarileeTurscak-MSFT Can one of you remove the doc-enhancement label from this one? This looks like a bug in our code snippet(s), not an enhancement request.
@amcclain Thanks for letting us know about this! We'll take a look.

Updating docs to resolve this issue in this PR -  https://github.com/MicrosoftDocs/azure-docs-pr/pull/183403

#reassign @Dickson-Mwendia


Update http4s-blaze-server, http4s-dsl to 0.21.31

Updates

org.http4s:http4s-blaze-server
org.http4s:http4s-dsl

from 0.21.19 to 0.21.31.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.http4s" } ]

labels: library-update, semver-patch

Superseded by #224.


Need an example rpm specification.  Want to be able to install this tool

Will be closed by #70.

Closing by #70.


Beta 3.0 -  added file support

Description
See Change log
Note: Finished this last night, It's over 2 weeks of efforts in my spare time. Please help me test this and suggest any changes.
It maintain the existing functionality, and adds file support.
I tried to keep it following react-hook-form standards an functionality as people who seek remix-hook-form package are looking for it's functionality in remix.
Fixes #36
Adds file support
Type of change
beta version for file support.

[x] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] This change requires a documentation update

How Has This Been Tested?
Extensive unit test updates.
Adding to my package for further testing.

[x] Unit tests

Checklist:

[x] My code follows the guidelines of this project
[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
[x] My changes generate no new warnings or errors
[x] 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] Any dependent changes have been merged and published in downstream modules

Wanted to get the PR out so people can start reviewing it and suggesting changes. I'm going to perform some more testing with it in my project to make sure I works as it is intended.

@Centerworx Hey sorry but I've already added file submission support, I've been working on it for a while and I am sorry for not writing about it, but you should be able to submit files from v3

@AlemTuzlak 6 of your base test are failing in V.3 main, and you can't upload Blob files?


rails 5 compatibility

inherited_resources (= 1.6.0) was resolved to 1.6.0, which depends on
      actionpack (< 5, >= 3.2)

But, my actionpack is v.5

so what was it?


feat(kotlin): Introduce kotlin package with stdlib collections and tests

What does this PR do?
This PR adds a base project for Kotlin on the JVM.

It adds a pom.xml based on the java project.
Adds a Serializer class that registers base collection classes not covered by the JVM.
Adds code to test all documented collections in the kotlin stdlib via TestNG.
Adds register and adds serializers for EmptyList, EmptySet, EmptyMap classes.
This PR does not handle kotlin withDefault wrapper classes, as that requires serializing arbitrary lambdas.

Related issues

#683

Does this PR introduce any user-facing change?
This PR creates a new fury-kotlin JAR, no documentation yet from the main project.

[ ] Does this PR introduce any public API change?
[ ] Does this PR introduce any binary protocol compatibility change?

Benchmark
N/A

Could you add header for following types?

Could you add header for following types?

Done!


Define fields for stateful modules data

Parent issue::

https://github.com/wazuh/wazuh-indexer/issues/270

Description
As part of the ongoing enhancements for Wazuh Indexer, we need to define and document the fields for the modules that produce stateful data. The specific modules in scope are:

File Integrity Monitoring (FIM)
Security Configuration Assessment (SCA)
System Inventory (AKA Syscollector)

These fields will be essential for ensuring consistent and comprehensive data handling across the platform.
Requirements

Create a table for each module listed above.
Each table should include the following columns:

Field name: The name of the field.
ECS field name: Mapping to ECS.
Data type: The type of data stored.
Description: A brief description of what the field represents.

Ensure the fields cover all necessary aspects of the data produced by these modules.

Tables
Based  on  file: schema_agents.sql
File Integrity Monitoring

Field name
ECS name
Data type
Description

full_path

TEXT
Full path of the item

file

KEYWORD
File name

type

KEYWORD

❌
date

❌
changes

arch

KEYWORD

value_name

TEXT

value_type

KEYWORD

size

LONG

perm

TEXT

uid

LONG

gid

LONG

md5

KEYWORD  ❓

sha1

KEYWORD ❓

uname

TEXT

gname

TEXT

mtime

LONG ❓
Last modification time

inode

LONG

sha256

KEYWORD ❓

attributes

TEXT

symbolic_path

TEXT

❌
checksum

Tables
Based on file: schema_agents.sql
Security Configuration Assessment (SCA)

Field name
ECS field name
Data type
Description

scan_id
event.id
INTEGER
Reference to the scan information

id
event.sequence
INTEGER
Primary key for the check

policy_id
policy.id
KEYWORD
Reference to the policy

title
rule.name
TEXT
Title of the check

description
rule.description
TEXT
Description of the check

rationale

TEXT
Rationale behind the check

remediation

TEXT
Steps for remediation

file
file.path
KEYWORD
File related to the check

process
process.name
KEYWORD
Process related to the check

directory
file.directory
KEYWORD
Directory related to the check

registry
registry.path
KEYWORD
Registry related to the check

command
process.command_line
TEXT
Command related to the check

references
rule.references
TEXT
References for the check

result
event.outcome
KEYWORD
Result of the check

reason

TEXT
Reason for the result

condition

TEXT
Condition that triggers the check

Tables
Based on file: schema_agents.sql
System Inventory (Syscollector)

Field name
ECS field name
Data type
Description

scan_id
event.id
INTEGER
Reference to the scan information

scan_time
@timestamp
DATE
Timestamp of the scan

hostname
host.hostname
KEYWORD
Hostname of the system

architecture
host.architecture
KEYWORD
System architecture

os_name
os.name
KEYWORD
Name of the operating system

os_version
os.version
KEYWORD
Version of the operating system

os_codename
os.codename
KEYWORD
Codename of the operating system

os_major
os.version_major
KEYWORD
Major version number of the operating system

os_minor
os.version_minor
KEYWORD
Minor version number of the operating system

os_patch
os.version_patch
KEYWORD
Patch version number of the operating system

os_build
os.build
KEYWORD
Build version of the operating system

os_platform
os.platform
KEYWORD
Platform of the operating system

sysname

KEYWORD
System name

release

KEYWORD
System release

version

KEYWORD
System version

os_release
os.version
KEYWORD
Operating system release version

checksum
file.hash.md5
KEYWORD
Checksum of the scan

os_display_version
os.version
KEYWORD
Display version of the operating system

reference

KEYWORD
Reference information

We reopen this issue.
For the specific case of the operating system inventory, we will need:

Create a new table with examples of each current field, for Linux, Windows and macOS.
Define with @dwordcito which fields are necessary for Vulnerability Detection.

OS inventory table

Field
Linux
Windows
macOS

scan_id
0
0
0

scan_time
2024/06/28 12:06:56
2024/06/28 12:12:44
2024/06/28 12:07:39

hostname
Rocket
ROCKET
Vikmans-MacBook-Pro.local

architecture
x86_64
x86_64
arm64

os_name
Ubuntu
Microsoft Windows 11 Pro
macOS

os_version
24.04 LTS (Noble Numbat)
10.0.22631.3737
14.5

os_codename
noble

Sonoma

os_major
24
10
14

os_minor
04
0
5

os_build

23F79

os_platform
ubuntu
22631.3737
darwin

sysname
Linux
windows
Darwin

release
<IP_ADDRESS>-microsoft-standard-WSL2
2009
23.5.0

version
#1 SMP Fri Mar 29 23:14:13 UTC 2024
1719576763000555500
Darwin Kernel Version 23.5.0: Wed May  1 20:13:18 PDT 2024; root:xnu-10063.121.3~5/RELEASE_ARM64_T6030

checksum
1719576416746634351
23H2
1719576458594152

reference
d0241780a708ba1e2a1a54762c15b2e3c75aabc8
c6be314466fb7ad4d7a78462fc3d05c49231fbd5
2419f871e6668f5f4e67c75fbb92b3ab48e830f4


Added typescript-eslint to the project

refs AP-330
Added typescript-eslint to the project and configured it to use the recommended rules from eslint / typescript-eslint and the sytlistic rules from typescript-eslint.
All violations have been fixed except for some @typescript-eslint/no-explicit-any violations which may need a larger refactor to fix.
For now @typescript-eslint/no-explicit-any violations have been set to warn instead of error until we can fix them.

I have also added in the configuration for tseslint.configs.recommendedTypeChecked but have disabled this for now as it throws up a bunch of errors related to the use of any (see description). Once we have fixed the outstanding any issues, we can enable this ruleset for more advanced type checking as part of the linting process

Closing this as its out of date and we are looking at utilising different tooling


Exporting a model with multiple materials doesn't seem to maintain correct normals

Normal info can't be lost when there is no need to split by material to begin with.
Change the vertex buffer export code to loop through a Blender 'MESH' object's materials first, then through the mesh's polygons that use that material (use MeshPolygon.material_index).
Doing it this way should preserve the normal data.


Issues with chunk generation when Mod Menu 1.19 is installed.

According to your testing, does the issue occur with ONLY Immersive Portals mod and Farbic API?
No
Describe the issue
For the first 5 or so minutes, everything works fine. After that, when you walk through the portal, it's just blank red with no blocks, but you can still walk back to the overworld. I've noticed this only occurs with a mod menu installed.
Post the log here
[14:05:41] [main/INFO]: Loading Minecraft 1.19 with Fabric Loader 0.14.8
[14:05:41] [main/INFO]: Loading 56 mods:
	- cloth-basic-math 0.6.1 via cloth-config
	- cloth-config 7.0.72 via immersive_portals
	- fabric 0.56.3+1.19
	- fabric-api-base 0.4.9+e62f51a3a9 via fabric
	- fabric-api-lookup-api-v1 1.6.7+9ff28f40a9 via fabric
	- fabric-biome-api-v1 9.0.14+b2a4a624a9 via fabric
	- fabric-blockrenderlayer-v1 1.1.18+9ff28f40a9 via fabric
	- fabric-command-api-v1 1.2.6+f71b366fa9 via fabric
	- fabric-command-api-v2 2.1.2+0d55f585a9 via fabric
	- fabric-commands-v0 0.2.23+df3654b3a9 via fabric
	- fabric-containers-v0 0.1.27+df3654b3a9 via fabric
	- fabric-content-registries-v0 3.1.1+82552130a9 via fabric
	- fabric-convention-tags-v1 1.0.8+37622d24a9 via fabric
	- fabric-crash-report-info-v1 0.2.3+bd0a0d4aa9 via fabric
	- fabric-data-generation-api-v1 5.1.1+a680b9b4a9 via fabric
	- fabric-dimensions-v1 2.1.27+72da3b3da9 via fabric
	- fabric-entity-events-v1 1.4.16+9ff28f40a9 via fabric
	- fabric-events-interaction-v0 0.4.26+9ff28f40a9 via fabric
	- fabric-events-lifecycle-v0 0.2.25+df3654b3a9 via fabric
	- fabric-game-rule-api-v1 1.0.19+18990361a9 via fabric
	- fabric-item-api-v1 1.5.4+767db26ea9 via fabric
	- fabric-item-groups-v0 0.3.24+9ff28f40a9 via fabric
	- fabric-key-binding-api-v1 1.0.18+9ff28f40a9 via fabric
	- fabric-keybindings-v0 0.2.16+df3654b3a9 via fabric
	- fabric-lifecycle-events-v1 2.1.0+33fbc738a9 via fabric
	- fabric-loot-api-v2 1.0.2+9e7660c6a9 via fabric
	- fabric-loot-tables-v1 1.1.2+9e7660c6a9 via fabric
	- fabric-message-api-v1 1.0.1+513f4a59a9 via fabric
	- fabric-mining-level-api-v1 2.1.9+33fbc738a9 via fabric
	- fabric-models-v0 0.3.15+9ff28f40a9 via fabric
	- fabric-networking-api-v1 1.0.27+7fe97409a9 via fabric
	- fabric-networking-v0 0.3.14+df3654b3a9 via fabric
	- fabric-object-builder-api-v1 4.0.6+9ff28f40a9 via fabric
	- fabric-particles-v1 1.0.8+dc39553aa9 via fabric
	- fabric-registry-sync-v0 0.9.17+23c4cfefa9 via fabric
	- fabric-renderer-api-v1 1.0.8+9ff28f40a9 via fabric
	- fabric-renderer-indigo 0.6.9+1f92344ea9 via fabric
	- fabric-renderer-registries-v1 3.2.18+df3654b3a9 via fabric
	- fabric-rendering-data-attachment-v1 0.3.12+9ff28f40a9 via fabric
	- fabric-rendering-fluids-v1 3.0.5+9ff28f40a9 via fabric
	- fabric-rendering-v0 1.1.20+df3654b3a9 via fabric
	- fabric-rendering-v1 1.10.14+9ff28f40a9 via fabric
	- fabric-resource-conditions-api-v1 2.0.9+e62f51a3a9 via fabric
	- fabric-resource-loader-v0 0.5.4+db8596f1a9 via fabric
	- fabric-screen-api-v1 1.0.23+9ff28f40a9 via fabric
	- fabric-screen-handler-api-v1 1.2.6+9ff28f40a9 via fabric
	- fabric-textures-v0 1.0.18+9ff28f40a9 via fabric
	- fabric-transfer-api-v1 2.0.9+e62f51a3a9 via fabric
	- fabric-transitive-access-wideners-v1 1.1.1+9e7660c6a9 via fabric
	- fabricloader 0.14.8
	- imm_ptl_core 2.0.5 via immersive_portals
	- immersive_portals 2.0.5
	- java 17
	- minecraft 1.19
	- modmenu 4.0.0
	- q_misc_util 2.0.5 via immersive_portals
[14:05:41] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=file:/C:/Users/Luke%20Uhler/AppData/Roaming/.minecraft/libraries/net/fabricmc/sponge-mixin/0.11.4+mixin.0.8.5/sponge-mixin-0.11.4+mixin.0.8.5.jar Service=Knot/Fabric Env=CLIENT
[14:05:41] [main/INFO]: Compatibility level set to JAVA_16
[14:05:41] [main/INFO]: Compatibility level set to JAVA_17
[14:05:43] [main/WARN]: Configuration conflict: there is more than one oshi.properties file on the classpath
[14:05:43] [main/WARN]: Configuration conflict: there is more than one oshi.architecture.properties file on the classpath
[14:05:46] [main/INFO]: Building optimized datafixer
[14:05:49] [Render thread/INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD'
[14:05:50] [Render thread/INFO]: Setting user: uhler55
[14:05:50] [Render thread/INFO]: Loading Immersive Portals config
[14:05:50] [Render thread/INFO]: IP Config Applied
[14:05:50] [Render thread/INFO]: Immersive Portals Mod Initializing
[14:05:50] [Render thread/INFO]: Dimensional Threading is not present
[14:05:50] [Render thread/INFO]: Pehkui is not present
[14:05:50] [Render thread/INFO]: Gravity API is not present
[14:05:50] [Render thread/INFO]: [Indigo] Registering Indigo renderer!
[14:05:50] [Render thread/INFO]: [Indigo] Compatibility mode enabled.
[14:05:51] [Render thread/INFO]: Sodium is not present
[14:05:51] [Render thread/INFO]: Iris is not present
[14:05:51] [Render thread/INFO]: Backend library: LWJGL version 3.3.1 SNAPSHOT
[14:05:54] [Render thread/INFO]: Narrator library for x64 successfully loaded
[14:05:54] [Render thread/INFO]: Shader Transform Skipping blit_screen
[14:05:54] [Render thread/INFO]: Shader Transform Skipping blit_screen
[14:05:54] [Render thread/INFO]: Shader Transform Skipping blit_screen
[14:05:54] [Render thread/INFO]: Shader Transform Skipping position
[14:05:54] [Render thread/INFO]: Shader Transform Skipping position
[14:05:54] [Render thread/INFO]: Shader Transform Skipping position
[14:05:54] [Render thread/INFO]: Shader Transform Skipping position_color
[14:05:54] [Render thread/INFO]: Shader Transform Skipping position_color
[14:05:54] [Render thread/INFO]: Shader Transform Skipping position_color
[14:05:54] [Render thread/INFO]: Shader Transform Skipping position_color_tex
[14:05:54] [Render thread/INFO]: Shader Transform Skipping position_color_tex
[14:05:54] [Render thread/INFO]: Shader Transform Skipping position_color_tex
[14:05:54] [Render thread/INFO]: Shader Transform Skipping position_tex
[14:05:54] [Render thread/INFO]: Shader Transform Skipping position_tex
[14:05:54] [Render thread/INFO]: Shader Transform Skipping position_tex
[14:05:54] [Render thread/INFO]: Shader Transform Skipping position_tex_color
[14:05:54] [Render thread/INFO]: Shader Transform Skipping position_tex_color
[14:05:54] [Render thread/INFO]: Shader Transform Skipping position_tex_color
[14:05:54] [Render thread/INFO]: Shader Transform Skipping rendertype_text
[14:05:54] [Render thread/INFO]: Shader Transform Skipping rendertype_text
[14:05:54] [Render thread/INFO]: Shader Transform Skipping rendertype_text
[14:05:54] [Render thread/INFO]: Reloading ResourceManager: Default, Faithful-Java-32x-1.19, Fabric Mods (Cloth Config v6, Fabric API, Fabric API Base, Fabric API Lookup API (v1), Fabric Biome API (v1), Fabric BlockRenderLayer Registration (v1), Fabric Command API (v1), Fabric Command API (v2), Fabric Commands (v0), Fabric Containers (v0), Fabric Content Registries (v0), Fabric Convention Tags, Fabric Crash Report Info (v1), Fabric Data Generation API (v1), Fabric Dimensions API (v1), Fabric Entity Events (v1), Fabric Events Interaction (v0), Fabric Events Lifecycle (v0), Fabric Game Rule API (v1), Fabric Item API (v1), Fabric Item Groups (v0), Fabric Key Binding API (v1), Fabric Key Bindings (v0), Fabric Lifecycle Events (v1), Fabric Loot API (v2), Fabric Loot Tables (v1), Fabric Message API (v1), Fabric Mining Level API (v1), Fabric Models (v0), Fabric Networking API (v1), Fabric Networking (v0), Fabric Object Builder API (v1), Fabric Particles (v1), Fabric Registry Sync (v0), Fabric Renderer API (v1), Fabric Renderer - Indigo, Fabric Renderer Registries (v1), Fabric Rendering Data Attachment (v1), Fabric Rendering Fluids (v1), Fabric Rendering (v0), Fabric Rendering (v1), Fabric Resource Conditions API (v1), Fabric Resource Loader (v0), Fabric Screen API (v1), Fabric Screen Handler API (v1), Fabric Textures (v0), Fabric Transfer API (v1), Fabric Transitive Access Wideners (v1), Fabric Loader, Immersive Portals Core, Immersive Portals, Mod Menu, QMiscUtil)
[14:05:54] [Render thread/INFO]: Loaded Shader Code Transformation
[14:06:02] [Render thread/WARN]: Missing sound for event: minecraft:item.goat_horn.play
[14:06:02] [Render thread/WARN]: Missing sound for event: minecraft:entity.goat.screaming.horn_break
[14:06:03] [Render thread/INFO]: OpenAL initialized on device OpenAL Soft on Headphones (High Definition Audio Device)
[14:06:03] [Render thread/INFO]: Sound engine started
[14:06:03] [Render thread/INFO]: Created: 2048x2048x4 minecraft:textures/atlas/blocks.png-atlas
[14:06:03] [Render thread/INFO]: Created: 512x256x4 minecraft:textures/atlas/signs.png-atlas
[14:06:03] [Render thread/INFO]: Created: 2048x1024x4 minecraft:textures/atlas/banner_patterns.png-atlas
[14:06:03] [Render thread/INFO]: Created: 2048x1024x4 minecraft:textures/atlas/shield_patterns.png-atlas
[14:06:03] [Render thread/INFO]: Created: 512x512x4 minecraft:textures/atlas/chest.png-atlas
[14:06:03] [Render thread/INFO]: Created: 1024x512x4 minecraft:textures/atlas/beds.png-atlas
[14:06:03] [Render thread/INFO]: Created: 1024x512x4 minecraft:textures/atlas/shulker_boxes.png-atlas
[14:06:04] [Render thread/WARN]: Shader rendertype_entity_translucent_emissive could not find sampler named Sampler2 in the specified shader program.
[14:06:04] [Render thread/INFO]: Created: 1024x512x0 minecraft:textures/atlas/particles.png-atlas
[14:06:04] [Render thread/INFO]: Created: 512x512x0 minecraft:textures/atlas/paintings.png-atlas
[14:06:04] [Render thread/INFO]: Created: 512x256x0 minecraft:textures/atlas/mob_effects.png-atlas
[14:06:10] [Render thread/INFO]: Loaded 7 recipes
[14:06:11] [Render thread/INFO]: Loaded 1179 advancements
[14:06:11] [Render thread/INFO]: Applied 0 biome modifications to 0 of 63 new biomes in 2.808 ms
[14:06:11] [Server thread/INFO]: Starting integrated minecraft server version 1.19
[14:06:11] [Server thread/INFO]: Generating keypair
[14:06:12] [Server thread/INFO]: Bedrock Replacement minecraft:overworld null
[14:06:12] [Server thread/INFO]: Bedrock Replacement immersive_portals:alternate4 null
[14:06:12] [Server thread/INFO]: Bedrock Replacement immersive_portals:alternate3 null
[14:06:12] [Server thread/INFO]: Bedrock Replacement immersive_portals:alternate1 null
[14:06:12] [Server thread/INFO]: Bedrock Replacement minecraft:the_end null
[14:06:12] [Server thread/INFO]: Bedrock Replacement immersive_portals:alternate5 null
[14:06:12] [Server thread/INFO]: Bedrock Replacement immersive_portals:alternate2 null
[14:06:12] [Server thread/INFO]: Bedrock Replacement minecraft:the_nether null
[14:06:12] [Server thread/INFO]: Successfully read IP's dimension id record
[14:06:12] [Server thread/INFO]: Start Completing Dimension Id Record
[14:06:12] [Server thread/INFO]: Before:
minecraft:overworld -> 0
immersive_portals:alternate1 -> 2
immersive_portals:alternate2 -> 3
minecraft:the_nether -> -1
immersive_portals:alternate3 -> 4
immersive_portals:alternate4 -> 5
minecraft:the_end -> 1
immersive_portals:alternate5 -> 6
[14:06:12] [Server thread/INFO]: Server Loaded Dimensions:
immersive_portals:alternate1
immersive_portals:alternate2
immersive_portals:alternate3
immersive_portals:alternate4
immersive_portals:alternate5
minecraft:overworld
minecraft:the_end
minecraft:the_nether

[14:06:12] [Server thread/INFO]: After:
minecraft:overworld -> 0
immersive_portals:alternate1 -> 2
immersive_portals:alternate2 -> 3
minecraft:the_nether -> -1
immersive_portals:alternate3 -> 4
immersive_portals:alternate4 -> 5
minecraft:the_end -> 1
immersive_portals:alternate5 -> 6
[14:06:12] [Server thread/INFO]: Dimension Id Info Saved to File
[14:06:12] [Server thread/INFO]: Preparing start region for dimension minecraft:overworld
[14:06:14] [Render thread/INFO]: Preparing spawn area: 0%
[14:06:14] [Render thread/INFO]: Preparing spawn area: 0%
[14:06:14] [Render thread/INFO]: Preparing spawn area: 0%
[14:06:14] [Render thread/INFO]: Preparing spawn area: 0%
[14:06:14] [Render thread/INFO]: Preparing spawn area: 0%
[14:06:14] [Render thread/INFO]: Preparing spawn area: 5%
[14:06:15] [Render thread/INFO]: Preparing spawn area: 84%
[14:06:15] [Server thread/INFO]: Loading custom portal generation
[14:06:15] [Render thread/INFO]: Time elapsed: 3104 ms
[14:06:15] [Server thread/INFO]: Server performance level: good
[14:06:15] [Server thread/INFO]: Changing view distance to 18, from 10
[14:06:15] [Server thread/INFO]: Changing simulation distance to 18, from 0
[14:06:17] [Server thread/INFO]: uhler55[local:E:e861d28e] logged in with entity id 15 at (5.508776738448675, 74.11650136792812, -2.8734959206497925)
[14:06:17] [Server thread/INFO]: uhler55 joined the game
[14:06:18] [Render thread/INFO]: Received Dimension Type Sync
[14:06:18] [Render thread/INFO]:
immersive_portals:alternate4 -> immersive_portals:surface_type
minecraft:overworld -> minecraft:overworld
immersive_portals:alternate3 -> immersive_portals:surface_type
immersive_portals:alternate1 -> immersive_portals:surface_type
minecraft:the_end -> minecraft:the_end
immersive_portals:alternate5 -> immersive_portals:surface_type
immersive_portals:alternate2 -> immersive_portals:surface_type
minecraft:the_nether -> minecraft:the_nether

[14:06:18] [Render thread/INFO]: Received Dimension Int Id Sync
[14:06:18] [Render thread/INFO]:
minecraft:overworld -> 0
immersive_portals:alternate1 -> 2
immersive_portals:alternate2 -> 3
minecraft:the_nether -> -1
immersive_portals:alternate3 -> 4
immersive_portals:alternate4 -> 5
minecraft:the_end -> 1
immersive_portals:alternate5 -> 6
[14:06:18] [Render thread/INFO]: WorldRenderer reloaded minecraft:the_nether
[14:06:19] [Render thread/INFO]: Loaded 31 advancements
[14:06:19] [Render thread/INFO]: Client World Created minecraft:overworld
[14:06:19] [Render thread/INFO]: Created lightmap texture for minecraft:overworld
[14:06:19] [Render thread/INFO]: Re-processed riding packet
[14:06:22] [Render thread/INFO]: Client Changed Dimension from minecraft:the_nether to minecraft:overworld time: 72
[14:06:22] [Render thread/INFO]: Client Teleported NetherPortalEntity{16,south,(minecraft:the_nether 5 73 -11)->(minecraft:overworld -8 -58 8),imm_ptl:intrinsic_nether_portal} 72
[14:06:32] [Render thread/INFO]: Client Changed Dimension from minecraft:overworld to minecraft:the_nether time: 272
[14:06:32] [Render thread/INFO]: Client Teleported NetherPortalEntity{1,north,(minecraft:overworld -8 -58 8)->(minecraft:the_nether 5 73 -11),imm_ptl:intrinsic_nether_portal} 272
[14:06:35] [Render thread/INFO]: Client Changed Dimension from minecraft:the_nether to minecraft:overworld time: 329
[14:06:35] [Render thread/INFO]: Client Teleported NetherPortalEntity{17,north,(minecraft:the_nether 5 73 -11)->(minecraft:overworld -8 -58 8),imm_ptl:intrinsic_nether_portal} 329
[14:06:42] [Render thread/INFO]: Stopping!
[14:06:42] [Server thread/INFO]: uhler55 lost connection: Disconnected
[14:06:42] [Server thread/INFO]: uhler55 left the game
[14:06:42] [Server thread/INFO]: Stopping singleplayer server as player logged out
[14:06:42] [Server thread/INFO]: Stopping server
[14:06:42] [Server thread/INFO]: Saving players
[14:06:42] [Server thread/INFO]: Saving worlds
[14:06:43] [Server thread/INFO]: Saving chunks for level 'ServerWorld minecraft:overworld test'/minecraft:overworld
[14:06:43] [Server thread/INFO]: Saving chunks for level 'ServerWorld immersive_portals:alternate4 test'/immersive_portals:alternate4
[14:06:43] [Server thread/INFO]: Saving chunks for level 'ServerWorld immersive_portals:alternate3 test'/immersive_portals:alternate3
[14:06:43] [Server thread/INFO]: Saving chunks for level 'ServerWorld immersive_portals:alternate1 test'/immersive_portals:alternate1
[14:06:43] [Server thread/INFO]: Saving chunks for level 'ServerWorld minecraft:the_end test'/minecraft:the_end
[14:06:43] [Server thread/INFO]: Saving chunks for level 'ServerWorld immersive_portals:alternate5 test'/immersive_portals:alternate5
[14:06:43] [Server thread/INFO]: Saving chunks for level 'ServerWorld immersive_portals:alternate2 test'/immersive_portals:alternate2
[14:06:43] [Server thread/INFO]: Saving chunks for level 'ServerWorld minecraft:the_nether test'/minecraft:the_nether
[14:06:44] [Server thread/INFO]: ThreadedAnvilChunkStorage (test): All chunks are saved
[14:06:44] [Server thread/INFO]: ThreadedAnvilChunkStorage (alternate4): All chunks are saved
[14:06:44] [Server thread/INFO]: ThreadedAnvilChunkStorage (alternate3): All chunks are saved
[14:06:44] [Server thread/INFO]: ThreadedAnvilChunkStorage (alternate1): All chunks are saved
[14:06:44] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved
[14:06:44] [Server thread/INFO]: ThreadedAnvilChunkStorage (alternate5): All chunks are saved
[14:06:44] [Server thread/INFO]: ThreadedAnvilChunkStorage (alternate2): All chunks are saved
[14:06:44] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved
[14:06:44] [Server thread/INFO]: ThreadedAnvilChunkStorage: All dimensions are saved

You mean that by uninstalling mod menu it will work normally?

You mean that by uninstalling mod menu it will work normally? It's weird.

Yes but I need the menu for the other mods to work properly. Been looking for a different menu that will work but haven’t found one yet.

I tested immptl in 1.19.1 with modmenu 4.0.5 and cannot reproduce this issue.

Can you show a video about how to reproduce this issue?

I was unaware of the updated mod menu. Tested and worked fine. Apologies.


Streamline Developer Setup and Gradle Commands

User Story
As a ReportStream Developer
I want to have a single streamlined and documented process for initializing the project for the first time as well as building the project when switching between branches or during the normal dev cycle,
so that all developers have a shared experience.
Description/Use Case
Recent Example: With some recent code changes the specific gradle commands in cleanslate.sh were broken. Issues like this could be mitigated in a few different ways. (Ex: Changing the commands to be in line with what is used on a daily basis)
Anecdotally, cleanslate.sh has not had significant updates in at least 3 years and allegedly has not worked as advertised for any of the current RS developers.
Risks/Impacts/Considerations

If a code change breaks cleanslate.sh, it is possible this wouldn't be known for many months until a new developer is onboarded, at which point what needs to be done to fix it may be unclear.
It is poor developer experience to have a broken script be the first thing many developers encounter.
There is not a single set of recommended/documented gradle commands to build the project when switching between branches. This causes different developers on the same team to have different workflows and experience different issues in their day to day.

Dev Notes
Acceptance Criteria

A recommended set of gradle commands is agreed upon and documented for daily developer workflows (Ex: Building branches for PR reviews/starting new tasks).
One of the following happens to Cleanslate.sh:

Cleanslate.sh is refactored to work for a newly onboarding developer using the recommended gradle commands
Cleanslate.sh is deprecated and replaced with documentation on the standard way to setup the project.

Hey team! Please add your planning poker estimate with Zenhub @adegolier @arnejduranovic @david-navapbc @jack-h-wang @jalbinson @JFisk42 @kant777 @mkalish @thetaurean


add set of test json files

There's a question about how much CI etc we do with this. My vote would be to keep it fairly minimal.

I think it will be useful for the demes-spec repository to include a set of test yaml (or json) files. There would be two sets, one for valid input, and one invalid input. The intention is for these to be available for the development/testing of new implementations. The reference implementation could then be tested against these files in CI.
Originally posted by @grahamgower in https://github.com/popsim-consortium/demes-spec/issues/26#issuecomment-739147092

Good call.

Partially addressed in #26 and #40, but we should (a) expand and organise the examples better and (b) add some examples that fail.

Partially addressed in #26 and #40, but we should (a) expand and organise the examples better and (b) add some examples that fail.


fix: json serialization of amount

Amount serializes with the unit afterwards making it "minSendable:0msat". It should be just the number, some clients seems to accept this, but it is wrong and did not work with damus.

Thx for the fix!


Many errors in the code - 'Iterator'/ 'regularizers' / '_logger'

Hello dear sir or madam, and thanks for the tool.
I downloaded your tool with great pleasure, but during testing, we noticed that it contains many bugs and that

AttributeError: module 'tensorflow.tools.api.generator.api.logging' has no attribute '_logger'
from tensorflow.contrib.data import Iterator
ImportError: cannot import name 'Iterator'
from tensorflow.contrib.layers.python.layers import regularizers
ImportError: cannot import name 'regularizers'

Maybe it is because of the new version of tensorflow, please can you review the code and tell us how to start it.
Thanks

Hello Sir,
can i have please a feedback?
Thks
Sami


Students should receive certificates

Let's make that our students get certificates after successfully passing the exam with 80 or more percent. We will store their certificates in the cloud as pdf files. We will also write functionality with which students will be able to view their certificates in their profiles.

We must require users to have the first and last name entered to appear on the certificates otherwise it will appear empty


Add serialization constructors and raw field

This PR migrates the construction of the existing serialization constructors for a model to the MrwSerializationTypeProvider class. With this change, all serialization related code is generated with a models serialization class file. It also adds the support for generating an additional constructor to deserialize into a model with an additional raw data parameter.

API change check
APIView has identified API level changes in this PR and created following API reviews.
Microsoft.Generator.CSharp


Second version of partial evaluator

Towards #435
Second version of partial evaluator.

Supports further combinations of +/-, specially when - is on the right, i.e., x + (y - z).

Supports all the following algebraic rules (in file src/optimizer/algebraic.ts):

x + 0 ---> x
x - 0 ---> x
0 - x ---> -x
x * 0 ---> 0  (x an identifier)
x * 1 ---> x
x - x ---> 0  (x an identifier)
x + x ---> x * 2

Next version:

Support for integer operators: /, %, >>, <<.
Boolean expressions

[ ] I have updated CHANGELOG.md
[ ] I have documented my contribution in Tact Docs: https://github.com/tact-lang/tact-docs/pull/PR-NUMBER
[X] I have added tests to demonstrate the contribution is correctly implemented: this usually includes both positive and negative tests, showing the happy path(s) and featuring intentionally broken cases
[X] I have run all the tests locally and no test failure was reported
[X] I have run the linter, formatter and spellchecker
[X] I did not do unrelated and/or undiscussed refactorings

x + x ---> x * 2

I'm wondering about the reasoning behind this rule

x + x ---> x * 2

I'm wondering about the reasoning behind this rule

So far, I've noticed two rules of thumb:

Agglomerate constants as much as possible and put them in one branch of the tree.
For example, (X + 3) + 5: here, we should combine 3 and 5 and move them in a branch of the + operator.
Exchange variables for constants as much as possible so that other rules will be able to consume the constants.
For example, in (X + X) * 3, we should exchange one of the X for 2, so that (X * 2) * 3. Then, other rules will combine the constants 2 and 3.
Notice that X + X and X * 2 are equivalent and have the same overflow behavior.

These rules of thumb combine with the way the optimizer works: it is bottom up and greedy. Each pass of the rules is linear on the size of the tree, but the optimizer could execute several passes of the rules. To give an example, consider the expression (X + X) * 3.
First, the optimizer will attempt to simplify the leaves X, X, and 3 (which are already simplified). Then, it will attempt to simplify X + X, so it will replace it with X * 2 after a pass of the rules on the expression X + X. Then, it will give a pass on the tree X * 2 because there is an opportunity of further simplification there (just in case X is actually another expression, for example X could be Y * 4). And finally, it will execute a pass on the expression (X * 2) * 3, which will replace it by X * (2 * 3) using the associativity rules, giving X * 6.
I am aware that the pattern X + X is not very common. Although, I've seen assignments inside loops of the form idx = f(i,i), where i is the loop index and f could be +. Also, I will have to add rules like x + c*x ---> x * (1 + c) and c1 * x + c2 * x ---> x * (c1 + c2) which are more of a "distributive" kind (with some safety conditions on the constants c, c1, and c2 of course).


Generate metaclass objects and initialize their names in the modules they were defined in

Closes #1003

Travis fails at getting the latest bootstrap :(


Returning invalid element type?

Not sure if this a bug, a user error or something else entirely. I'm getting errors when trying to include the ReactHowler component in a simple container component that I created.
Here's the container component HowlerButton.
var React = require('react');
var ReactHowler = require('react-howler');
var classnames = require('classnames');

var HowlerButton = React.createClass({

  getInitialState() {
    return {
      isPlaying: false
    };
  },

  render() {
    return (

        <ReactHowler src={this.props.src} playing={this.state.isPlaying} />
        <button className={this.props.className} onTouchTap={this._togglePlaying}>

          {!this.state.isPlaying ? this.props.playText : this.props.pauseText}
        </button>

    );
  },

  _togglePlaying() {
    this.setState({isPlaying: !this.state.isPlaying});
  }

});

module.exports = HowlerButton;

When this component is rendered by its parent I get the following errors in the console.
warning.js:45 Warning: React.createElement: type should not be null, undefined, boolean, or number. It should be a string (for DOM elements) or a ReactClass (for composite components). Check the render method of `HowlerButton`.

invariant.js:39 Uncaught Invariant Violation: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object. Check the render method of `HowlerButton`.

If I remove the ReactHowler component the button renders fine.
Any ideas? Thanks in advance!!

It looks like ReactHowler is null, undefiend, boolean, or number
Could you console.log(ReactHowler) inside render method ?

FYI, I'm using babel 6 so you mind have to require ReactHowler at
var ReactHowler = require('react-howler').default
Ref: http://stackoverflow.com/questions/33505992/babel-6-changes-how-it-exports-default
I'm publish a new version to fix this asap

Thanks @thangngoc89 adding .default worked!
Before I added .default, console.log(ReactHowler) was only returning the Howler global object.

@Stenerson published 1.0.0
You can use CommonJS require style normally:
var ReactHowler = require('react-howler');
Thanks for reporting this issue.
Feel free to reopen this.

@thangngoc89, I ran npm uninstall react-howler and npm install react-howler --save
My package.json was updated to "react-howler": "^1.0.0" but it's still requiring me to specify the default object.
The component is working great and I don't necessarily mind the extra word in the require statement but I'm happy to help verify this if there's something else I could do.
Thanks for all the help today!

@Stenerson thanks for debugging with me. I'll see what I can do to work around this babel issue. I the mean time, please require react-howler with default.
Sorry for all the troubles, this is my first time publish a React component with ES6 code

@Stenerson could you try<EMAIL_ADDRESS>?

Confirmed Fixed in 1.0.2! Nice work.

Thanks.

For the record, here's my "completed" HowlerButton component in case it's any use to you or anyone else. It's pretty similar to your examples but I thought I'd include it just it case. Thanks again for all the help.
The icons are using font-awesome classes and the component uses the excellent classnames package.
var React = require('react');
var ReactHowler = require('react-howler');
var classnames = require('classnames');

var HowlerButton = React.createClass({

  getDefaultProps: function() {
    return {
      showText: true,
      showIcon: true,
      playIcon: "fa-volume-up",
      pauseIcon: "fa-pause",
      playText: "Play",
      pauseText: "Pause"
    };
  },

  getInitialState() {
    return {
      isPlaying: false
    };
  },

  render() {
    return (

        <ReactHowler
          src={this.props.src}
          playing={this.state.isPlaying}
          onEnd={this._togglePlaying}
        />
        <button className={this.props.className} onTouchTap={this._togglePlaying}>
          {this.props.showIcon ?
            <i
              className={classnames("fa", {[`${this.props.playIcon}`]: !this.state.isPlaying, [`${this.props.pauseIcon}`]: this.state.isPlaying})}
              style={{marginRight: ".25em", marginLeft: ".25em"}}
            />
          : null}
          {this.props.showText ? !this.state.isPlaying ? this.props.playText : this.props.pauseText : null}
        </button>

    );
  },

  _togglePlaying() {
    this.setState({isPlaying: !this.state.isPlaying});
  }

});

HowlerButton.propTypes = {
  /**
   * Audio file URL
   */
  src: React.PropTypes.string.isRequired,
  /**
   * Button class
   */
  className: React.PropTypes.string,
  /**
   * Show icon before text?
   */
  showIcon:  React.PropTypes.bool,
  /**
   * Icon shown when audio is not playing
   */
  playIcon: React.PropTypes.string,
  /**
   * Icon shown when audio is playing
   */
  pauseIcon: React.PropTypes.string,
  /**
   * Show text?
   */
  showText:  React.PropTypes.bool,
  /**
   * Text shown when audio is not playing
   */
  playText: React.PropTypes.string,
  /**
   * Text shown when audio is playing
   */
  pauseText: React.PropTypes.string
};

module.exports = HowlerButton;


change schema from mapping to dict

Description
Schema pipeline was failing for managed online deployments because data collector was utilizing fields.Mapping from Marshmallow instead of fields.Dict
If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
All SDK Contribution checklist:

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

General Guidelines and Best Practices

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

Testing Guidelines

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

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


[HUDI-5591] HoodieSparkSqlWriter#getHiveTableNames needs to consider …

…parameter HIVE_SYNC_TABLE_STRATEGY
Change Logs
HoodieSparkSqlWriter#getHiveTableNames
Describe context and summary for this change. Highlight if any code was copied.
Impact
HoodieSparkSqlWriter#getHiveTableNames
Describe any public API or user-facing feature change or any performance impact.
Risk level (write none, low medium or high below)
none
If medium or high, explain what verification was done to mitigate the risks.
Documentation Update
Describe any necessary documentation update if there is any new feature, config, or user-facing change

The config description must be updated if new configs are added or the default value of the configs are changed
Any new feature or user-facing change requires updating the Hudi website. Please create a Jira ticket, attach the
ticket number here and follow the instruction to make
changes to the website.

Contributor's checklist

[x] Read through contributor's guide
[x] Change Logs and Impact were stated clearly
[x] Adequate tests were added if applicable
[x] CI passed

@hudi-bot run azure

@hudi-bot run azure

@LinMingQiang : Can you resolve conflicts and add tests. Thanks.

@LinMingQiang : Can you resolve conflicts and add tests. Thanks.

@LinMingQiang : Can you resolve conflicts and add tests.


Ask landing pages

Adds Spanish and English Ask landing page content
Additions

Spanish and English Ask landing page content
English landing page hero is editable in Wagtail
Equal-height columns
Partially underlined links

Changes

Home page cards equal height at desktop sizes

Testing

Check out branch
Set up Ask if necessaryexport DEPLOY_ENVIRONMENT=build
./drop-db.sh
./create-mysql-db.sh
mysql -uroot v1 < ~/Downloads/production_django.sql
python cfgov/manage.py migrate
python cfgov/manage.py runscript migrate_knowledgebase

navigate to ask-cfpb and obtener-respuestas and verify that they work as expected
navigate to 'Ask CFPB' English landing page in Wagtail and test adding a hero

Screenshots

Notes

In this version of the English landing page I build most of the page content (cards, mobile nav, tags) inside the landing page template, but I'm working on a second pass that uses Wagtail components for some or all of the pieces.
In the existing Ask landing page, we use a jQuery polyfill to create equal height columns in browsers that do not support flexbox (IE8, IE9, etc). I think the Ask landing page layout gracefully degrades reasonably well to inline-block cards with different heights, so I haven't ported that functionality here -- although I can if there's preference for it.

Checklist

[ ] PR has an informative and human-readable title
[ ] Changes are limited to a single goal (no scope creep)
[ ] Code can be automatically merged (no conflicts)
[ ] Code follows the standards laid out in the front end playbook
[ ] Passes all existing automated tests
[ ] New functions include new tests
[ ] New functions are documented (with a description, list of inputs, and expected output)
[ ] Placeholder code is flagged
[ ] Visually tested in supported browsers and devices
[ ] Project documentation has been updated
[ ] Reviewers requested with the Assignee tool :arrow_right:

I think there are many things which might end up in Capital Framework from this PR or as Atomic Components. We should be iterating though, so in that spirit 💯.

Thanks, Virginia! That's a heck of a lot of good work.


Research Personalized Quiz Workflow

[ ] What are the endpoints available
[x] How would it work logically
[ ] What the database design would be
[ ] What would be the system and component design
[x] #44

Proceed from #52 and #68


Testing the bot [BD-14]

Thanks for the pull request, @nedbat-test-external! I've created BLENDED-1301 to keep track of it in Jira.   More details are on the BD-14 project page.
When this pull request is ready, tag your edX technical lead.

Thanks for the pull request, @nedbat-test-external! I've created BLENDED-1302 to keep track of it in Jira.   More details are on the BD-14 project page.
When this pull request is ready, tag your edX technical lead.

@nedbat-test-external Even though your pull request wasn’t merged, please take a moment  to answer a two question survey so we can improve your experience in the future.

@nedbat-test-external Even though your pull request wasn’t merged, please take a moment  to answer a two question survey so we can improve your experience in the future.


run environment and volumes variables

Hello,
It would be nice to be able to change the default value for environment variables and volumes on the "run" command.
Thanks

Already working on a new version to support Volumes, I'll tackle environment too.

I released a new version (0.3.0) with support for environment and volumes, let me know if you find something is not working properly.

Is this include setting up new environment variables ?


Implement a Consumer Panel component

Implement a Consumer Panel component, as per https://github.com/matthew-chirgwin/kafka-java-vertx-starter/blob/ui/ui/docs/Architecture.md.
This component owns state and datafetching responsibilities for the consumer side of the App.
Expected behaviours/capabilities:

integrate with config/context for values

topic name, consumer endpoint address, currently selected record (get and set)

owns a kafka websocket hook to consume from the backend
renders the state via child components

Items to produce (in order):

Documentation (draft in this issue for discussion)
Tests
Storybook entry
Component code

Proposed README/feature file:
Consumer
The Consumer panel represents the backend consumer in the starter application.
It show the user a summary of current consumption state, as well as the latest
30 messages which were consumed. In also will the user to interact with the
backend by offering the ability to start and stop the backend consumer.
Usage
The Consumer acts as a panel. As such, the properties expected are as follows:

getConsumerWebsocket - required - a function which returns a Websocket object
which is configured to connect to the backend consumer
maxNumberOfMessages - the max number of messages to render. Defaults to 30.

Behaviours
The behaviours and capabilities of this component are captured in it's
feature file.
Feature file:
Feature: Consumer

Scenario: As a user, I can start and stop consumption as I choose
    Given i have a Consumer panel
    Then the consumer is not running
    When i start the consumer
    Then the consumer is running

Scenario: As a user, I can see statistics of what has been consumed so far
    Given i have a Consumer panel
    When i start the consumer
    Then it should display statistics about what has been consumed

Scenario: As a user, I can see what has been consumed so far
    Given i have a Consumer panel
    When i start the consumer
    Then i should be able to see the last "30" messages that have been consumed

Scenario: As a user, I can start and stop consumption as I choose
Given i have a Consumer panel
Then the consumer is not running
When i start the consumer
Then the consumer is running
When i stop the consumer
Then the consumer is not running

Typically you it goes "given, when, then" without backtracking - and you use "and" for another step in the same phase.
But, I think there's an argument for bouncing between when/then if the steps are needed prior. (It almost needs a "then, when I")


docs: update nft-storage pinning service name

to avoid bug in https://github.com/ipfs/ipfs-webui/pull/1772

optimistic self merge of single character docs update for much public good.


RBAC - Optimize ACLs should add PREFIXED bindings for schema registry

Is your feature request related to a problem? Please describe.
When optimize acls is set in configure file like this :
topology.acls.optimized=true
Schema registry bindings are are not using this property.
Describe the solution you'd like
With optimize ACL and this topology file :
context: "DEV"
source: "test"
projects:
  - name: "project"
    schemas:
      - principal: "Group:CONSUMER_READ"
        role: DeveloperRead

JulieOps should create schema registry's bindings like this :
DEV.test.project.* / PREFIXED / Group:CONSUMER_READ / DeveloperRead
In fact, in optimize mode it seem consistent that principal would access to all schemas under the prefix.
Otherwise it's very boring to declare each schemas in "schemas" section.
Thanks

Closed with d222e8366d7228a5f1e82534d940bd72e6202808


Syntax highlight

Add scala syntax highlight for the code block. It will be much easier for someone to read.

Thank you!


IceCube::Schedule.from_ical doesn't work with specific recurrence times.

It seems highly likely that this is a known issue, but I can't seem to find a reference to it:

IceCube::Schedule can't seem to parse iCalendar strings that include specific recurrence times.

For example, the following does not work:
schedule = IceCube::Schedule.new(2.days.from_now) do |s|
    s.add_recurrence_time 3.days.from_now
end

#=> <IceCube::Schedule:0x0000000745f8d8 @start_time=Thu, 10 Aug 2017 13:41:33 UTC +00:00, @all_recurrence_rules=[#<IceCube::SingleOccurrenceRule:0x0000000745f270 @time=Fri, 11 Aug 2017 13:41:33 UTC +00:00>], @all_exception_rules=[]>

IceCube::Schedule.from_ical schedule.to_ical

#=> #<IceCube::Schedule:0x00000007465d50 @start_time=2017-08-10 13:41:33 UTC, @all_recurrence_rules=[], @all_exception_rules=[]>

Reading the schedule.to_ical using IceCubeSchedule.from_ical does not return the correct IceCube::Schedule object.
Thanks--awesome gem!
Using gem version 0.16.2 with ruby 2.4.1

Thanks!
Fix coming in https://github.com/seejohnrun/ice_cube/pull/408
I may end up pulling that fix out of that PR as well

@seejohnrun Dang, you're on top of things! awesome!!!


Error after upgrade 5.4.0

nuxt-directus: 5.4.0
nuxt: 3.5.3
After upgrading to 5.4.0 getting an error, computed is not defined:

The bug is already solved; waiting for a new patch release.
65c1cdf


Merge in latest from datadog/dd-trace-py

https://github.com/DataDog/dd-trace-py/commit/1e87c9bdf7769032982349c4ccc0e1c2e6866a16

For a PR to pass, each commit must pass this check: the Github user that the commit is attributed to (based on a match between the commit authorship and Github profile) must be linked to a Linux Foundation ID user

I assume, since this PR contains commits by many users, all of them need to sign the CLA.

I signed the CLA

Hi @brettlangdon. After some debate in the Python SIG, we've decided to take a slightly different approach. We're still very interested in this donation - especially the instrumentation. But, rather than start from one repo and modify the pieces in-place to match OpenTelemetry, we would like the PRs to have already modified the individual pieces. This will allow us to take donations from multiple sources, and avoid having to track down the other 20+ individuals who would also need so sign the CLA as part of this donation.
We'd like our auto-instrumentation story broken into two parts. The first part is the auto-installer, containing the core components for installing the SDK, plugins, and instrumentation packages.
The second part is each individual plugin and instrumentation package. Most of them will likely live in a python-contrib package for now, and the rest in 3rd-party repos.
The technical details of the approach we would like to take can be found here. It is very similar to Datadog's approach, with some additional details. We would appreciate a review of this document, if you have the time: https://gist.github.com/ocelotl/bf7bfcbb407b995280b6ef48c3870015
Apologies for the change of plans after you already made the PR - the surprise CLA requirement was kind of a doozy. Again, we really appreciate this work being provided from Datadog. We're hoping that an expert in python auto-instrumentation (possibly you?) would still be available to advise and assist us with building auto-installation for OpenTelemetry.
Please let me know if you have any questions. Once this PR is resolved, we will delete this repo and begin porting components to the main https://github.com/open-telemetry/opentelemetry-python repo.
Thank you,
@tedsuo

Glad to see the CLA issues resolved. @codeboten this LGTM.


Network usage is prohibited for themes

It appears that your theme uses network connections to load assets (e.g. fonts, icons, or images). This is prohibited by the official Obsidian developer policies because themes should function completely locally.
You can bundle an asset for local use by using data URLs. See this guide.
Please let us know if you have any questions. Any themes that use network connections will be removed from the official directory in the first week of January 2024.

The Obsidian team.

Hi @AmadeusWM
We have noticed that you have not fixed this issue yet.
We have extended the deadline up to the 30th of february.
After that point, we will remove the theme from the community themes, if this issue is not fixed by then.


Traffic Shaper: Introduce delay

Hi,
while searching for better help texts for masks as discussed with @AdSchellevis in IRC I stumbled upon delay in pipes. I'm curious why nobody asked for this yet since it's a really easy way to slow down unwanted traffic .. it could also be an instant throttle since it's callable via API.
Since it's just a single field for template I'm asking you guys if I can send you a PR for this and what you think in general about this?
http://info.iet.unipi.it/~luigi/dummynet/
    ipfw add pipe 3 out
    ipfw add pipe 4 in
    ipfw pipe 3 config bw 128Kbit/s queue 10 delay 1000ms
    ipfw pipe 4 config bw 640Kbit/s queue 30 delay 1000ms

Hi Michael,
Sure you can, there's no reason to not include the delay option, although you may need to test it first to know for sure it's functional in FBSD. I remember the burst option a long time ago (https://github.com/opnsense/core/issues/226).
Best regards,
Ad

Closed via #2297


Typo

Under header
Deploy config file as configmap
...
Ex;- to create configmap to be used by replicsset

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

ID: 38f97551-acc2-8880-6857-41d3dc80dd8d
Version Independent ID: 39898370-2ef4-53d1-4523-1704695e66fd
Content: Create, validate and troubleshoot custom configuration file for Prometheus metrics in Azure Monitor - Azure Monitor
Content Source: articles/azure-monitor/containers/prometheus-metrics-scrape-validate.md
Service: azure-monitor
Sub-service: containers
GitHub Login: @bwren
Microsoft Alias: bwren

@sdahlbac
Thanks for your feedback! We will investigate and update as appropriate.

Assign me this issue , i would like to fix this typo

@sdahlbac - Please elaborate the exact typo that you are referring to ?

replicsset should be replicaset right ?

@sdahlbac - that is correct. Thanks again for bringing this to our attention. We have updated the doc and it will be live once it's merged.  We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Check FMRegressor

I'm not yet satisfied with the implementation of FMRegressor. I think it needs to be compared with some other implementation (many are available) as a sanity check.

See this.


Initial Fibaro HC Climate support

Description:
Initial support for climate platform for the Fibaro hub integration.
Related issue (if applicable): fixes #19359
Pull request in home-assistant.io with documentation (if applicable): home-assistant/home-assistant.io#<home-assistant.io PR number goes here>
Checklist:

[x] The code change is tested and works locally.
[x] Local tests pass with tox. Your PR cannot be merged unless tests pass
[x] There is no commented out code in this PR.

If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated in home-assistant.io

Any progress on this PR, or anything that the community could do to help this get into the next RC?

Docs PR: https://github.com/home-assistant/home-assistant.io/pull/8748


Changelog not available.

If you follow https://docs.esi.evetech.net/changelog you will be greeted by a 404 page.

A relic from the time when https://github.com/esi/esi-issues/ was also used for the docs. The changelog should be accessed at https://github.com/esi/esi-issues/blob/master/changelog.md now, which pages are still pointing towards that link?


NoClassDefFoundError: Failed resolution of: Landroidx/room/RoomDatabase;

Exception in Java. Can you show how to implement in Java ?

Try this [(https://stackoverflow.com/questions/53141800/java-lang-noclassdeffounderror-failed-resolution-of-landroidx-core-app-activit)] and let me know if it helps.


Ability to pre-set dice results when rolling

Implements the ability to pre-set dice results instead of generating random numbers on roll.
This is useful if you do the randomness somewhere else (for example - server).
A simple example would be:
import React, { Component } from 'react'
import ReactDice from 'react-dice-complete'
import 'react-dice-complete/dist/react-dice-complete.css'

export default class Dices extends Component {
  componentDidUpdate() {
    const dices = [5, 3]
    this.reactDice.rollAll(dices)
  }

  render() {
    return (
        <ReactDice
          numDice={2}
          rollDone={() => {}}
          ref={dice => this.reactDice = dice}
        />
    )
  }
}

Is it possible to merge this in? I would really like to use this feature.

@AdamTyler could you merge and release this one?

@AdamTyler, are you able to merge and release this please?
Thanks.

@kali @Nedomas I plan to revisit and revive this repo in the next few days. Will keep you posted


Code cifar10 uses CPU instead of GPU

`
import time
time.sleep(1.5)
from keras.datasets import cifar10
from matplotlib import pyplot
from scipy.misc import toimage
import numpy
from keras.datasets import cifar10
from keras.models import Sequential
from keras.layers import Dense
from keras.layers import Dropout
from keras.layers import Flatten
from keras.constraints import maxnorm
from keras.optimizers import SGD
from keras.layers.convolutional import Conv2D
from keras.layers.convolutional import MaxPooling2D
from keras.utils import np_utils
from keras import backend as K
K.set_image_dim_ordering('th')
seed = 7
numpy.random.seed(seed)
(X_train, y_train), (X_test, y_test) = cifar10.load_data()
X_train = X_train.astype('float32')
X_test = X_test.astype('float32')
X_train = X_train / 255.0
X_test = X_test / 255.0
y_train = np_utils.to_categorical(y_train)
y_test = np_utils.to_categorical(y_test)
num_classes = y_test.shape[1]
model = Sequential()
model.add(Conv2D(32, (3, 3), input_shape=(3, 32, 32), padding='same', activation='relu', kernel_constraint=maxnorm(3)))
model.add(Dropout(0.2))
model.add(Conv2D(32, (3, 3), activation='relu', padding='same', kernel_constraint=maxnorm(3)))
model.add(MaxPooling2D(pool_size=(2, 2)))
model.add(Flatten())
model.add(Dense(512, activation='relu', kernel_constraint=maxnorm(3)))
model.add(Dropout(0.5))
model.add(Dense(num_classes, activation='softmax'))
epochs = 25
lrate = 0.01
decay = lrate/epochs
sgd = SGD(lr=lrate, momentum=0.9, decay=decay, nesterov=False)
model.compile(loss='categorical_crossentropy', optimizer=sgd, metrics=['accuracy'])
print(model.summary())
model.fit(X_train, y_train, validation_data=(X_test, y_test), epochs=epochs, batch_size=32)
scores = model.evaluate(X_test, y_test, verbose=0)
print("Accuracy: %.2f%%" % (scores[1]*100))`
OUTPUT OF CODE
Using TensorFlow backend.
2019-03-08 13:22:50.598025: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.1 SSE4.2 AVX AVX2 FMA
2019-03-08 13:22:50.617421: E tensorflow/stream_executor/cuda/cuda_driver.cc:300] failed call to cuInit: CUDA_ERROR_NO_DEVICE: no CUDA-capable device is detected
2019-03-08 13:22:50.617482: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:163] retrieving CUDA diagnostic information for host: linuxbox-1
2019-03-08 13:22:50.617489: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:170] hostname: linuxbox-1
2019-03-08 13:22:50.617516: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:194] libcuda reported version is: 390.116.0
2019-03-08 13:22:50.617533: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:198] kernel reported version is: 390.77.0
2019-03-08 13:22:50.617539: E tensorflow/stream_executor/cuda/cuda_diagnostics.cc:308] kernel version 390.77.0 does not match DSO version 390.116.0 -- cannot find working devices in this configuration
can anyone help me with performance?@tensorflow

@usernamemissing Could you check running the following code to see whether TF is detecting GPU or not
from tensorflow.python.client import device_lib
print(device_lib.list_local_devices())
What do you see as output? Please fill the requested details in the template. Without these details it is difficult to support. Thanks!

I got the same output (kernel version 390.77.0 does not match DSO version 390.116.0). When I applied the last Ubuntu updates, and I restarted the system this message disappeared.

@usernamemissing Could you follow @grzegorz700 suggestion and let me know how it progresses. Please close the issue if it was resolved already. Thanks!

I think it was resolved. I am closing the issue. Please open a new ticket if you see similar issue again. Thanks!


Images are not being correctly inserted

Images which are in the images directory are not included in the final rendered document.
During render the following message is shown:
asciidoctor: WARNING: could not embed image; images/${LOCAL_PATH}/asciidoctor-maven-examples/asciidoctor-pdf-example/src/docs/asciidoc/images/sunset.jpg n
ot found

Seems like the path is incorrectly appended at the beginning of the full path.
As an example you can test it with asciidoctor-pdf-example in asciidoctor-maven-examples.
This has been tested setting the images parameter in the pom.xml to other values and the behaviour is the same, the parameter's value is appended at the beginning.
Related to asciidoctor/asciidoctor-maven-examples#11

Aha! I see a note in the code warning me that this might happen.
See https://github.com/asciidoctor/asciidoctor-pdf/blob/master/lib/asciidoctor-pdf/converter.rb#L575-L576

I was getting the same error when using the ruby API, not the command line:
asciidoctor: WARNING: could not embed image; /images/resmd/mandated_access.png not found
That is because node.attr 'docdir' here returns an empty string and I get an absolute path as a result:
irb
2.2.0 :001 > require 'fileutils'
 => true
2.2.0 :002 > File.join('',"test")
 => "/test"
2.2.0 :003 >

I initially tried removing the starting / by checking if docdir is an empty string:
image_path = File.join((node.attr 'docdir'), (node.attr 'imagesdir') || '', target)
image_path[0] = '' if (node.attr 'docdir') == ''

but got this error:
asciidoctor: WARNING: could not embed image; images/images/resmd/mandated_access.png not found
So basically, when it finds a relative path it inserts the imagesdir again (haven't found where).
So  my fix for now is:
diff --git lib/asciidoctor-pdf/converter.rb lib/asciidoctor-pdf/converter.rb
index ab7f561..299712b 100644
--- lib/asciidoctor-pdf/converter.rb
+++ lib/asciidoctor-pdf/converter.rb
@@ -574,7 +574,10 @@ class Converter < ::Prawn::Document
     #end

     # FIXME use normalize_path here!
-    image_path = File.join((node.attr 'docdir'), (node.attr 'imagesdir') || '', target)
+    image_path = target
+
     # TODO extension should be an attribute on an image node
     image_type = File.extname(image_path)[1..-1]
     width = if node.attr? 'scaledwidth'

@mojavelinux WDYT?

I believe I've fixed it. I'm still going to do some additional testing, including testing it against the Maven examples.

Image resolution should be much more solid now. I still need to verify with the Maven plugin, but I think we've got it. I also added support for remote images :)

I checked with the Maven plugin and it seems to resolve the path to the image correctly in all cases now.

I was getting the same error when using the ruby API

Make sure you set the safe mode to :safe or :unsafe. This fix isn't dependent on that setting, but it's recommended when using the API (the default is :secure which is overly conservative).

I'm using 1.5.0
▶ asciidoctor-pdf --version
Asciidoctor PDF 1.5.0.alpha.11 using Asciidoctor 1.5.4 [http://asciidoctor.org]
Runtime Environment (ruby 2.0.0p481 (2014-05-08 revision 45883) [universal.x86_64-darwin14]) (lc:UTF-8 fs:UTF-8 in:- ex:UTF-8)

and when I convert the adoc into PDF, none of the images in my images folder are showing up. Everything works fine when I convert to HTML.

@Omnipresent You'll need to be more specific or provide an example project.

I've got the same problem when adding asciidoctorj-pdf:1.5.0-alpha.11 to the build https://github.com/griffon/griffon/blob/development/docs/griffon-guide/griffon-guide.gradle and enabling pdf as a backend (besides html5).
asciidoctor: WARNING: image to embed not found or not readable: /Users/aalmiray/dev/github/griffon/docs/griffon-guide/src/docs/asciidoc/images/griffon-banner-large.png
asciidoctor: WARNING: image to embed not found or not readable: /Users/aalmiray/dev/github/griffon/docs/griffon-guide/src/docs/asciidoc/images/console-swing-groovy.png
asciidoctor: WARNING: image to embed not found or not readable: /Users/aalmiray/dev/github/griffon/docs/griffon-guide/src/docs/asciidoc/images/sample-swing-java.png
asciidoctor: WARNING: image to embed not found or not readable: /Users/aalmiray/dev/github/griffon/docs/griffon-guide/src/docs/asciidoc/images/sample-javafx-java.png
asciidoctor: WARNING: image to embed not found or not readable: /Users/aalmiray/dev/github/griffon/docs/griffon-guide/src/docs/asciidoc/images/sample-lanterna-java.png
asciidoctor: WARNING: image to embed not found or not readable: /Users/aalmiray/dev/github/griffon/docs/griffon-guide/src/docs/asciidoc/images/sample-pivot-java.png

those images are found under src/resources but the pdf expects them to be under src/docs/asciidoc/. Here's the full configuration for the asciidoctor task
asciidoctor {
    backends   = ['html5', 'pdf']
    attributes = [
        toc                     : 'left',
        doctype                 : 'book',
        icons                   : 'font',
        encoding                : 'utf-8',
        sectlink                : true,
        sectanchors             : true,
        numbered                : true,
        linkattrs               : true,
        imagesdir               : 'images',
        linkcss                 : true,
        stylesheet              : 'css/style.css',
        'source-highlighter'    : 'coderay',
        'coderay-linenums-mode' : 'table',
        'griffon-version'       : project.version,
        'griffon-group'         : project.group,
        'griffon-source-url'    : griffonSourceUrl,
        'gradle-griffon-version': loadProperties(project(':gradle-griffon-plugin').file('gradle.properties')).version,
        'application-master-pom': loadProperties(project(':application-master-pom').file('gradle.properties')).version
    ]

    sources {
        include 'index.adoc'
    }

    resources {
        from file('src/resources')
        from(rootProject.file('src/media/banners/large.png')) {
            into 'images'
            rename '.*', 'griffon-banner-large.png'
        }
    }
}

It's worth mentioning that the html5 backend works as expected.

It's worth mentioning that the html5 backend works as expected.

This boils down to who is resolving the images. In the case of the HTML converter, the viewer/browser resolves the images, so as long as they are where the <img> element says they are, everything works great. In the case of the PDF converter, it's the PDF converter that has to resolve the image. Therefore, the image is going to be read from a different location.
It's this reason why the imagesdir must always be set differently for different converters...and also why we have this abstraction in the first place. It's very unlikely the same value is going to work for all converters in the context of a build system (again, because different converters reference the files in different ways at different times).


Flannel CNI Not Deploying and All Pods Failing Readiness Probes Despite Open Firewall and Proper Setup Scripts

I have set up a K3s Kubernetes cluster on Hetzner Cloud using Ubuntu 24.04 for all nodes. Despite following the provided setup scripts and ensuring that firewalls are properly configured to allow all necessary traffic, the Cluster Network Interface (CNI) Flannel is not deploying. Consequently, all pods in the cluster are failing their readiness probes, indicating a networking issue within the cluster.
Environment

K3s Version: (v1.30.5+k3s1
Operating System: Ubuntu 24.04
Cloud Provider: Hetzner Cloud
Firewall Provider: Hetzner Cloud Firewalls

Setup Scripts
1. server-setup.sh:
#!/bin/bash

if [ "$(id -u)" -ne 0 ]; then
    echo "This script must be run as root" 1>&2
    exit 1
fi

ufw disable

echo "Creating First Server..."
curl -sfL https://get.k3s.io | INSTALL_K3S_EXEC="--disable=traefik --disable=servicelb --disable-cloud-controller --prefer-bundled-bin" sh -s - server --cluster-init

2. agent-setup.sh:
#!/bin/bash

if [ "$(id -u)" -ne 0 ]; then
    echo "This script must be run as root." 1>&2
    exit 1
fi

ufw disable

FIRST_SERVER_IP="redacted"
FIRST_SERVER_JOIN_SECRET="redacted"

curl -sfL https://get.k3s.io | INSTALL_K3S_EXEC="--prefer-bundled-bin" K3S_TOKEN="$FIRST_SERVER_JOIN_SECRET" sh -s - agent --server https://${FIRST_SERVER_IP}:6443

Firewall Configuration
All nodes are protected by the following Hetzner Cloud Firewall rules:
resource "hcloud_firewall" "k8s_firewall" {
  name = "k8s-firewall"

  # Allow all incoming TCP traffic on all ports
  rule {
    description    = "Allow all incoming TCP traffic"
    direction      = "in"
    protocol       = "tcp"
    port           = "1-65535"
    source_ips     = ["<IP_ADDRESS>/0", "::/0"]
  }

  # Allow all incoming UDP traffic on all ports
  rule {
    description    = "Allow all incoming UDP traffic"
    direction      = "in"
    protocol       = "udp"
    port           = "1-65535"
    source_ips     = ["<IP_ADDRESS>/0", "::/0"]
  }

  # Allow all outgoing TCP traffic on all ports
  rule {
    description       = "Allow all outgoing TCP traffic"
    direction         = "out"
    protocol          = "tcp"
    port              = "1-65535"
    destination_ips    = ["<IP_ADDRESS>/0", "::/0"]
  }

  # Allow all outgoing UDP traffic on all ports
  rule {
    description       = "Allow all outgoing UDP traffic"
    direction         = "out"
    protocol          = "udp"
    port              = "1-65535"
    destination_ips    = ["<IP_ADDRESS>/0", "::/0"]
  }
}

Note: UFW is disabled on all nodes prior to K3s installation.
Current Cluster State
Only the following pods are running in the cluster:
NAMESPACE     NAME                                               READY   STATUS    RESTARTS   AGE
kube-system   coredns-7b98449c4-9g44d                            1/1     Running   0          22m
kube-system   hcloud-cloud-controller-manager-78dfd7bf6f-5th6k   1/1     Running   0          19m
kube-system   local-path-provisioner-6795b5f9d8-zwq5p            1/1     Running   0          22m
kube-system   metrics-server-cdcc87586-g69lr                     1/1     Running   0          22m
traefik       traefik-zbl96                                      1/1     Running   0          17m

As you can see above, no CNI-related pods (e.g., Flannel) are present in the kube-system namespace, and all application pods are failing their readiness probes, likely due to networking issues. This indicates a significant networking problem within the cluster, which I am unsure how to resolve, as I expected Flannel to be installed by default.
Any suggestions on where I may have gone wrong would be greatly appreciated.

K3s doesn't run flannel in a pod. It is built into the K3s binary alongside everything else.
Where do you see that things are failing their health checks? All the pods you've listed are ready (1/1) with no restarts.

Thank you @brandond for your response but below is the output from the description of one of the pods deployed to the cluster:
 Warning  Unhealthy  6s (x12 over 106s)  kubelet            Readiness probe failed: Get "http://<IP_ADDRESS>:8080/health": dial tcp <IP_ADDRESS>:8080: connect: connection refused

And this is happening even for test pods I deployed to the cluster using busy-box.

Readiness probes don't run across the container network overlay, they are executed locally within the node, between the kubelet process and the pod's network namespace. Either you have a local firewall blocking the connection, or the pod itself is not listening on that port.


fix(nav): swipe back after getRootNav().push

Short description of what this resolves:
When pushing a page using app.getRootNav().push(CoolPage) you can now swipe this page back. Before this fix when pushing a page from the rootNav you could not swipe this page back.
Changes proposed in this pull request:

check that the length of this._children (the array of navs) is <= to 1

Ionic Version: 2.x
Fixes: #9558

Update: made this repo https://github.com/jgw96/swipeBackTesting which can be used to test this PR. Through my testing this PR seems to solve the issue. Also tested scenarios with only one page (as my demo app shows), which was a concern with this solution, and i can confirm that with just one page you cannot swipe back. This is because we do not just test for the length of this._children when deciding to go back or not.

Looks good 👍

is there a nightly i can test via npm ? i've problem with swipe back using a single  element... it works with tabs instead i think i've got the same problem as mentioned here


Disable touchableHighlight's underlayColor

Hey Guys,
Well my main view is a touchable highlight and I need to remove the underlayCollor cause when I click everywhere it shows me the touch.
Thanks , Nick

It sounds like you aren't using the appropriate component for your use case (component wide onTouch).
Have a look here to review your options to transparently handle touch in your component:
https://facebook.github.io/react-native/docs/handling-touches.html

Hi there! This issue is being closed because it has been inactive for a while. Maybe the issue has been fixed in a recent release, or perhaps it is not affecting a lot of people. Either way, we're automatically closing issues after a period of inactivity. Please do not take it personally!
If you think this issue should definitely remain open, please let us know. The following information is helpful when it comes to determining if the issue should be re-opened:

Does the issue still reproduce on the latest release candidate? Post a comment with the version you tested.
If so, is there any information missing from the bug report? Post a comment with all the information required by the issue template.
Is there a pull request that addresses this issue? Post a comment with the PR number so we can follow up.

If you would like to work on a patch to fix the issue, contributions are very welcome! Read through the contribution guide, and feel free to hop into #react-native if you need help planning your contribution.


BUG move to compiler jinja2

Checklist

[ ] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

cc @isuruf @wolfv This should fix the unresolved thing on staged-recipes.

cc @conda-forge/nncf

Y'all should feel free to merge this when you are happy!


Blocked google icons

When I use this filter, some of the icons are blocked in google services, namely google calendar / meet. I did not check the rest.
https://raw.githubusercontent.com/hectorm/hmirror/master/data/lightswitch05-ads-and-tracking/list.txt

This is a known issue that has been discussed several times on the lightswitch05's hosts project (lightswitch05/hosts#136).
If you want Google Fonts to load you must add the gstaticadssl.l.google.com domain to the /etc/hblock.d/whitelist.list file.

This is a known issue that has been discussed several times on the lightswitch05's hosts project (lightswitch05/hosts#136).
If you want Google Fonts to load you must add the gstaticadssl.l.google.com domain to the /etc/hblock.d/whitelist.list file.

Thanks! it's solved my problem)


Docker issues

as of 20220816-25 (#2059) MinecraftClient.exe has been completely removed, we'll need to use "Linux / macOS" way of doing things.
Honestly, this might even solve a few issues regarding the "image" we got.

Easiest way I found is to basically make 2 folders, and 2 eggs, one for Linux and one for macOS, finding a solution for the image will be a bit of a hard solution.

will be using temporarily old versions of MCC for now, update by downloading MCC and upload it.


update RT IDs for agent, place, etc. from 'na' to 'nested' or 'standalone'

Hello @mcm104 I have a favor to ask:
Have you loaded our templates to production yet? If not, would it be possible for you to make this change sinopia_maps.xml and the prop_sets > implementation_sets before doing so?

Finding in prop_sets with:
/prop_set/prop/sinopia/uwsinopia:implementation_set[not(matches(uwsinopia:resource, 'rdaWork|rdaExpression|rdaManifestation|rdaItem'))]/uwsinopia:format


Error in Linting

Please see the screenshot below:

I am encountering this PHP notice when I tried to lint. I also have a json file with this config:
{
    "preset": "laravel",
    "disabled": ["NoInlineVarDocs", "QualifiedNamesOnlyForClassName", "PureRestControllers"],
    "excluded": [
            "tests/"
    ]
}
Is it connected to this config? Please let me know. Thank you!

Hey @devramguiao thanks for reporting this issue! Do you think you could give me a code example that triggers this? E.g. run the linter on the smallest case you can find that reproduces this error, and share that code? Thanks!

@devramguiao still having this issue?