StackRox central 4.4.0 is trying to write to deprecated/'no longer needed' stackrox-db volume

StackRox central 4.4.0 is trying to write to deprecated/removable stackrox-db volume in the move-to-current process that runs at startup.
Stackrox Central 4.4.0 is crashing after an earlier restart of all Central services. It is trying to create a folder /var/lib/stackrox/.db-init but this is the folder corresponding to the stackrox-db volumeMount that was marked as deprecated and 'no longer needed' in the StackRox 4.1 Release Notes. The migration to central-db stand-alone SQL container had already taken place.
The release notes for StackRox 4.1 read: The Central persistent volume claim (PVC) stackrox-db is deprecated and is no longer needed after this upgrade.
It seems, based off of this log, that this is not the case and it is in fact needed in some capacity? Is there a flag that can be set somewhere else that prevents the database migration from taking place?
The annotation   platform.stackrox.io/obsolete-central-pvc: "true" has been added now as well and the deployment rolled but that did not change that it is trying to run this still.
central log:
move-to-current: 2024/03/26 21:15:10.472841 logger.go:61: Info: Move databases to current
move-to-current: 2024/03/26 21:15:10.472922 logger.go:61: Info: mkdir: cannot create directory '/var/lib/stackrox/.db-init': Read-only file system

https://github.com/stackrox/stackrox/blob/b276ac4c5d8f47f91d9b187d7604d0665225e07b/image/rhel/static-bin/start-central.sh#L9

I was able to work around this by creating the directory in the Dockerfile myself so the move-to-current just skips the migration -- adding the stackrox-db pvc back may have fixed it, not clear, I read the code and didn't want to risk it running the migrate on an empty folder so I just made it just skip it.
work-around added to my Dockerfile for main:
 RUN mkdir -p "/var/lib/stackrox/.db-init" && \
     chown -R 4000:4000 "/var/lib/stackrox/.db-init" && \
     ln -s "/var/lib/stackrox/.db-init" "/var/lib/stackrox/current" && \
     chown -h 4000:4000 "/var/lib/stackrox/current"

@danekantner Thank you for providing the feedback.
We have not fully removed stackrox-db PVC from the system yet to support customer upgrading from earlier versions. If the user is ready to deprecate it, they can do so by following the instructions such as with the annotation.
Can you please provide some more details including:

How did you install the instance? Do you upgrade it from some earlier versions?
Can you provide the command of 'oc describe deploy central'?

This is all generated from the roxctl kubernetes manifests (not openshift, not helm, but just standard kubectl manifests)
This has been upgraded pretty much every 4.x release that has been out. The move to the new central-db took place months ago and I removed the references to the stackrox-db volume mount when migrating from 4.2.2 to 4.3.1, three releases ago now. There is zero reason this should be trying to run now as far as I can tell and it's against the documented release notes from prior releases.

My full migration path has been 3.74.0 -> 4.0 -> 4.2.0 -> 4.2.2 -> (stackrox-db volume mount removed) 4.3.1 -> 4.3.4 -> 4.4.0

Please check this doc:
https://access.redhat.com/documentation/en-us/red_hat_advanced_cluster_security_for_kubernetes/4.2/html-single/upgrading/index#remove-central-attached-pv-overview_upgrade-roxctl
Please note that we replace the stackrox-db to emptyDir instead of removing it.
   volumes:
      …
      - name: stackrox-db
        emptyDir: {}

Hi @danekantner
Are you ok if we close this issue or do you have any pending questions that still need answers?
Thanks,
Misha

Thank you this can be closed


Reformatting doxygen comment markup (RPI docs team)

This PR reformats the doxygen comment markup to make the generated documentation compatible with doxygen versions > 1.8.17, per discussion with @aallan and @mudge . Here's a summary of the changes:

Implicit brief descriptions are made explicit, using the \brief tag
Implicit detailed descriptions are separated from brief descriptions by a blank line
Inline table markup is updated to use ///< delimiters

Going forward, here are some notes to help maintain compatibility with higher doxygen versions:
Brief Descriptions
Brief descriptions must always be preceded by \brief. Here are several examples:
/**
 * \brief I2C slave event types.
 * \ingroup pico_i2c_slave
 */
typedef enum i2c_slave_event_t
...

/**
 * \file pheap.h
 * \defgroup util_pheap pheap
 * \brief Pairing Heap Implementation
 * \ingroup pico_util
 *
 * pheap defines a simple pairing heap. The implementation simply tracks array indexes, it is up to
 * the user to provide storage for heap entries and a comparison function.
 *
 * NOTE: This class is not safe for concurrent usage. It should be externally protected. Furthermore
 * if used concurrently, the caller needs to protect around their use of the returned id.
 * For example, ph_remove_and_free_head returns the id of an element that is no longer in the heap.
 * The user can still use this to look at the data in their companion array, however obviously further operations
 * on the heap may cause them to overwrite that data as the id may be reused on subsequent operations
 *
 */
// PICO_CONFIG: PICO_PHEAP_MAX_ENTRIES, Maximum number of entries in the pheap, min=1, max=65534, default=255, group=pico_util
#ifndef PICO_PHEAP_MAX_ENTRIES
...

/** \file multicore.h
 *  \defgroup pico_multicore pico_multicore
 * \brief Adds support for running code on the second processor core (core 1)
 *
 * \subsection multicore_example Example
 * \addtogroup pico_multicore
 * \include multicore.c
*/

// PICO_CONFIG: PICO_CORE1_STACK_SIZE, Stack size for core 1, min=0x100, max=0x10000, default=PICO_STACK_SIZE (0x800), group=pico_multicore
#ifndef PICO_CORE1_STACK_SIZE
...

Detailed Descriptions
To add a detailed description, add a blank line after the brief description, or use the \details tag.
Here is an example of an implicit detailed description, where the description text is preceded by a blank line:
/** \file pico/divider.h
* \brief High level APIs including combined quotient and remainder functions for 32 and 64 bit accelerated by the hardware divider
* \ingroup pico_divider
*
* These functions all call __aeabi_idiv0 or __aebi_ldiv0 on division by zero
* passing the largest applicably signed value
*
* Functions with unsafe in their name do not save/restore divider state, so are unsafe to call from interrupts. Unsafe functions are slightly faster.
*/

And here is the same text with an explicit detailed description:
/** \file pico/divider.h
* \brief High level APIs including combined quotient and remainder functions for 32 and 64 bit accelerated by the hardware divider
* \ingroup pico_divider
* \details These functions all call __aeabi_idiv0 or __aebi_ldiv0 on division by zero
* passing the largest applicably signed value
*
* Functions with unsafe in their name do not save/restore divider state, so are unsafe to call from interrupts. Unsafe functions are slightly faster.
*/

Inline enum documentation
You can generate a table for enum types using inline comments like this (note the ///< opening delimeter and lack of a closing delimeter):
/**
 * \brief I2C slave event types.
 * \ingroup pico_i2c_slave
 */
typedef enum i2c_slave_event_t
{
    I2C_SLAVE_RECEIVE, ///< Data from master is available for reading. Slave must read from Rx FIFO.
    I2C_SLAVE_REQUEST, ///< Master is requesting data. Slave must write into Tx FIFO.
    I2C_SLAVE_FINISH, ///< Master has sent a Stop or Restart signal. Slave may prepare for the next transfer.
} i2c_slave_event_t;

yes, we could add a github action to test for badly formatted Doxygen


Resize preparation result

Apparently needed for SciML applications where the underlying vector grows.
Solution envisioned: add methods prepare!_operator(f, prep, backend, x) which take an additional prep and

resize its contents if possible
otherwise start from scratch

Methods introduced in #521


JSON schema for Groups missing

A while ago, a JSON schema for Groups existed at the following URL:
https://raw.githubusercontent.com/mesosphere/marathon/master/docs/docs/rest-api/public/api/v2/schema/Group.json
This is now gone. I was using it for the https://github.com/dcos-labs/marathon-validate tool to validate application/group JSON files.
The docs at https://mesosphere.github.io/marathon/docs/generated/api.html#v2_groups_post also reference this file as well. Is this because the new pod features? Or just a mistake?

This is just a mistake, I'll restore it shortly.

Thanks a lot @jasongilanfarr!

Fixed in https://github.com/mesosphere/marathon/commit/8fda479929e4a01a1557da35f4c909161ef5da26


SIMD-IRKGL16 update

I have implemented the following updates:
1.  Adjusted the stop criterion in the implementation of IRKN (second-order ODEs).
2. Improved code readability: Simplified the code by replacing Lk = getindex_(L,k) and setindex_!(L, Lk, k) with the more intuitive syntax Lk = L[k] and L[k] = Lk.
3. A reference to the new article was included in the README.md files.
4. Two syntax errors related to the saveat argument have been resolved:
• Line 128: Corrected to saveat = nothing.
• Line 152: Fixed the error message to "saveat is not currently supported by this algorithm".

I have detected a bug in version v0.2.10 that I have already corrected, but it has produced an "invalidation". What should I do to have the pull-request accepted as valid?


Strike Julia 1.2

1.2 has been suported because its is LTS, however, as this is internal, I do not want to waste time solving e.g. #16

Looks good, one test still fails (seems to be conversion problem again):
https://github.com/StructuralEquationModels/Taxonomy.jl/runs/7634708845?check_suite_focus=true#step:6:100

Mhh something got muddled in #16 and this does not seem to be a problem of 1.2. In any case https://github.com/StructuralEquationModels/Taxonomy.jl/commit/5464fef2725a3418e9f3297db4e820952a890745 is al good.


owl:equivalentClass for Cause and Effect do not match definitions

Greetings,
The definitions of both cco:Cause and cco:Effect relate each to some process. However, the owl:equivalentClass for each relates each to some occurrent.
All the best,
Alec Sculley

@avsculley Can you open a pull request on the develop branch and make the needed updates?

Will do.

From: John Beverley @.>
Sent: Saturday, August 10, 2024 1:29 AM
To: CommonCoreOntology/CommonCoreOntologies @.>
Cc: Alec Sculley @.>; Mention @.>
Subject: Re: [CommonCoreOntology/CommonCoreOntologies] owl:equivalentClass for Cause and Effect do not match definitions (Issue #181)
@avsculleyhttps://github.com/avsculley Can you open a pull request on the develop branchhttps://github.com/CommonCoreOntology/CommonCoreOntologies/tree/develop and make the needed updates?
—
Reply to this email directly, view it on GitHubhttps://github.com/CommonCoreOntology/CommonCoreOntologies/issues/181#issuecomment-2279397526, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ATJNTN732O5YTMRGY2VZIODZQWQMJAVCNFSM6AAAAABMJRAWDWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENZZGM4TONJSGY.
You are receiving this because you were mentioned.Message ID: @.***>


eta

hi
what your eta for 58
i've found many bad patches
and obs rejects

Latest version is released


execute "make plugins" not get grpc_java_plugin

Grpc  was built successfully. But when i build plugin by executing "build plugins", i can't get grpc_java_plugin. After build successfully, the files in bins/opt as follow.

[root@localhost grpc]# cd bins/
[root@localhost bins]# ls
opt
[root@localhost bins]# cd opt/
[root@localhost opt]# ls
grpc_cpp_plugin  grpc_csharp_plugin  grpc_node_plugin  grpc_objective_c_plugin
grpc_php_plugin  grpc_python_plugin  grpc_ruby_plugin  protobuf

How can i do for getting grpc_java_plugin? could anybody help me?
My  environment is fedora21 for mips64el.

Grpc-java is a independce project from grpc. You can git clone  https://github.com/grpc/grpc-java.git for getting source. What's more, you must build os-maven-plugin first, otherwise you will get os.detected.arch=unknown error.  Building grpc-java infers #3012. Please close this issue.


Testimonials not visible in dark mode

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to home page, scroll down for testimonials

Expected behavior
There should be proper contract with background to show important information
Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

OS: [e.g. iOS] Windows
Browser [e.g. chrome, safari] chrome
Version [e.g. 22]

Additional context
Add any other context about the problem here.

go ahead @Sourabh782


UI fix. Removed extra expandable "More" button with a single button within.

This was merged from an old branch which failed tests. Let me merge this unto master/ v1.11
I'll also clean up some dead code this would generate.


The grader could be able to send emails to students

When files are missing, or when all marks have been released, some graders and admins are interested in e-mailing automatically students.

Closing because we don't intend on implementing this.


Release v1.4.0

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

Project coverage is 5.30%. Comparing base (a4e253b) to head (fe7c29a).
 Consider uploading reports for the commit 538ee15 to get more accurate results

Files
Patch %
Lines

...n/java/com/webank/wecross/console/rpc/RPCImpl.java
0.00%
14 Missing :warning:

...a/com/webank/wecross/console/common/FileUtils.java
0.00%
10 Missing :warning:

...va/com/webank/wecross/console/common/HelpInfo.java
0.00%
7 Missing :warning:

...rc/main/java/com/webank/wecross/console/Shell.java
0.00%
2 Missing :warning:

Additional details and impacted files
@@             Coverage Diff             @@
##             master    #191      +/-   ##
===========================================
- Coverage      5.59%   5.30%   -0.29%
+ Complexity       35      34       -1
===========================================
  Files            22      22
  Lines          2075    2226     +151
  Branches        268     291      +23
===========================================
+ Hits            116     118       +2
- Misses         1936    2085     +149
  Partials         23      23

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


Error when running the app.

@mrzachnugent Great work building this awesome project.
I encounter an error when running locally, i use "yarn start" since already there is a start script in the package.json. However, when I scan the QR code to open on the Expo Go app (android) I get an error that says:
tailwindcss(native) rebuilding... tailwindcss(native) is taking a long time to build, please read https://tailwindcss.com/docs/content-configuration#pattern-recommendations to speed up your build time

Error running TailwindCSS CLI, please run the CLI manually to see the error.
Command used:  node C:\Users\hp victus\Desktop\shadcn-expo\node_modules\tailwindcss\lib\cli.js --input "C:\Users\hp victus\Desktop\shadcn-expo\global.css" --output "C:\Users\hp victus\Desktop\shadcn-expo\node_modules\.cache\nativewind\global.css.native.css" --watch

@usmangurowa I used npm for this project so it created a package-lock.json and it might be causing issues with the yarn.lock created from using yarn.
You can try to delete your yarn.lock file, delete your node_modules folder, use npm i in your terminal and start it with npm run start.
Let me know if that helps.

This might be an issue with nativewind. I am using a beta version, but I am able to use Expo Go on my android device. So it should work.
It would also be related to the package-lock.json and the yarn.lock created from using yarn.
Can you try deleting your yarn.lock and your node modules. Then using npm to install the deps and to start the project?
Let me know if that works.

Hi @mrzachnugent i was able to do exactly what you said and the app ran without any errors. I will love to contribute, let me know if you are looking for contributors. Thanks.


Update wifilight to 2.0.1

Please update my adapter ioBroker.wifilight to version 2.0.1.
This pull request was created by https://www.iobroker.dev c0726ff.
https://github.com/iobroker-community-adapters/ioBroker.wifilight/issues/420

RE-CHECK!

RE-CHECK!

RE-CHECK!

RE-CHECK!


refactor: enforce the predicate on the ContinuousFunctionalCalculus is nontrivial

add a condition to the unital and non-unital continuous functional calculus class which ensures that the predicate is nontrivial by requiring p 0 to hold. This guarantees in unital algebras that p (algebraMap R A r) holds, which is about all one can expect given that sometimes p := IsStarNormal.

see #14065 for motivation

@ADedecker I understand you're a bit busy at the moment, so I'll just go ahead and merge this.
bors r+

bors r+


Assess 600 ms Timeout Performance after Test 1.26 and 2.17 Maintenance

Assess the need to increase the 600 ms timeout figure of merit to the 720 ms timeout defined in J1939-21 Appendix C for TP.DT reception, based on a preponderance of timing failures for test 1.26 and 2.17, leading to missed 1 Hz PGs due to timeout race conditions.
Document the change in D.I-VII if the change is accepted.
See #436 for background information.

750 ms timeout for TP as given in J1939-21 was confirmed.
Frequency of race conditions in task 1 changes to be assessed.

Well behaved DM2 responses pass.
10:00:20.5205 Global DM2 Request
10:00:20.5235 18EAFFF9 [3] CB FE 00 (TX)
10:00:20.5250 18FECB54 [8] 00 FF D0 07 09 02 FF FF
DM2 from Cab Display #2 (84): MIL: off, RSL: off, AWL: off, PL: off
DTC 2000:9 - Source Address 0 , Abnormal Update Rate - 2 times
10:00:20.5252 18FECBD1 [8] C0 FF [00 00 00 00](tel:00 00 00 00) FF FF
DM2 from Unknown (209): MIL: not supported, RSL: off, AWL: off, PL: off, No DTCs
10:00:20.5261 18FECB17 [8] 00 FF [00 00 00 00](tel:00 00 00 00) FF FF
DM2 from Instrument Cluster #1 (23): MIL: off, RSL: off, AWL: off, PL: off, No DTCs
10:00:20.5264 18FECB4A [8] 00 FF 74 0D 04 7E FF FF
DM2 from Communications Unit, Cellular (74): MIL: off, RSL: off, AWL: off, PL: off
DTC 3444:4 - Network Antenna Status 2, Voltage Below Normal, Or Shorted To Low Source - 126 times
10:00:20.5267 18FECB21 [8] 00 FF 0A 08 0E 04 FF FF
DM2 from Body Controller (33): MIL: off, RSL: off, AWL: off, PL: off
DTC 2058:14 - Source Address 58 , Special Instructions - 4 times
10:00:20.5270 18FECB4C [8] FF FF [00 00 00 00](tel:00 00 00 00) FF FF
DM2 from Communications Unit, Radio (76): MIL: not supported, RSL: not supported, AWL: not supported, PL: not supported, No DTCs
10:00:20.5273 18FECB05 [8] 00 FF [00 00 00 00](tel:00 00 00 00) FF FF
DM2 from Shift Console - Primary (5): MIL: off, RSL: off, AWL: off, PL: off, No DTCs
10:00:20.5278 18FECB00 [8] 00 FF [00 00 00 00](tel:00 00 00 00) FF FF
DM2 from Engine #1 (0): MIL: off, RSL: off, AWL: off, PL: off, No DTCs
10:00:20.5284 18FECBED [8] 00 FF [00 00 00 00](tel:00 00 00 00) FF FF
DM2 from Door Controller #2 (237): MIL: off, RSL: off, AWL: off, PL: off, No DTCs
10:00:20.5292 18FECBE8 [8] 00 FF [00 00 00 00](tel:00 00 00 00) FF FF
DM2 from Forward Road Image Processor (232): MIL: off, RSL: off, AWL: off, PL: off, No DTCs
10:00:20.5295 18FECB97 [8] 00 FF D0 07 09 7E FF FF
DM2 from Reserved for future assignment 151 (151): MIL: off, RSL: off, AWL: off, PL: off
DTC 2000:9 - Source Address 0 , Abnormal Update Rate - 126 times
10:00:20.5308 18FECB03 [8] C3 FF [00 00 00 00](tel:00 00 00 00) FF FF
DM2 from Transmission #1 (3): MIL: not supported, RSL: off, AWL: off, PL: not supported, No DTCs
10:00:20.5332 18FECB37 [8] 00 FF [00 00 00 00](tel:00 00 00 00) FF FF
DM2 from Lighting - Operator Controls (55): MIL: off, RSL: off, AWL: off, PL: off, No DTCs
10:00:20.5353 18FECB98 [8] 00 FF D0 07 09 7E FF FF
DM2 from Reserved for future assignment 152 (152): MIL: off, RSL: off, AWL: off, PL: off
DTC 2000:9 - Source Address 0 , Abnormal Update Rate - 126 times
10:00:20.5379 18FECB0B [8] C3 FF [00 00 00 00](tel:00 00 00 00) FF FF
DM2 from Brakes - System Controller (11): MIL: not supported, RSL: off, AWL: off, PL: not supported, No DTCs
10:00:20.5382 18FECBEC [8] 00 FF [00 00 00 00](tel:00 00 00 00) FF FF
DM2 from Door Controller #1 (236): MIL: off, RSL: off, AWL: off, PL: off, No DTCs
10:00:20.5638 18FECB19 [8] 00 FF [00 00 00 00](tel:00 00 00 00) FF FF
DM2 from Passenger-Operator Climate Control #1 (25): MIL: off, RSL: off, AWL: off, PL: off, No DTCs
10:00:21.4598 Destination Specific DM2 Request to Engine #1 (0)
10:00:21.4627 18EA00F9 [3] CB FE 00 (TX)
10:00:21.4675 18FECB00 [8] 00 FF [00 00 00 00](tel:00 00 00 00) FF FF
DM2 from Engine #1 (0): MIL: off, RSL: off, AWL: off, PL: off, No DTCs
End Test 1.16 - DM2: Previously Active DTCs

One Component ID was late check v. 720 ms
10:02:09.4874 Global Component Identification Request
10:02:09.4902 18EAFFF9 [3] EB FE 00 (TX)
10:02:09.7297 1CFEEB0B [27] 42 4E 44 57 53 2A 45 43 38 30 45 53 50 20 2A 35 5A 30 39 32 32 35 36 37 30 2A 2A
Component Identification from Brakes - System Controller (11): {
Make: BNDWS
Model: EC80ESP
Serial: 5Z09225670
Unit:
}
10:02:09.7661 1CFEEB21 [29] 49 4E 54 20 20 2A 34 30 34 34 34 37 30 43 37 20 2A 30 32 32 30 36 37 30 30 39 32 2A 2A
Component Identification from Body Controller (33): {
Make: INT
Model: 4044470C7
Serial:<PHONE_NUMBER>
Unit:
}
10:02:09.6415 1CFEEBD1 [21] 42 4E 44 57 53 2A 53 44 50 2A 32 31 57 33 34 35 55 4B 34 2A 2A
Component Identification from Unknown (209): {
Make: BNDWS
Model: SDP
Serial: 21W345UK4
Unit:
}
10:02:09.8155 1CFEEB54 [37] 49 4E 54 20 20 2A 34 31 35 34 34 39 39 43 31 2A 42 4D 42 58 30 38 41 36 32 33 41 48 4C 30 30 30 30 30 31 2A 2A
Component Identification from Cab Display #2 (84): {
Make: INT
Model: 4154499C1
Serial: BMBX08A623AHL000001
Unit:
}
10:02:09.8697 1CFEEB4C [45] 49 4E 54 20 20 2A 34 31 35 34 34 39 32 43 31 2A 48 41 31 31 30 32 41 36 32 33 41 4A 45 30 30 37 38 30 35 2A 2A 00 00 00 00 00 00 00 00
Component Identification from Communications Unit, Radio (76): {
Make: INT
Model: 4154492C1
Serial: HA1102A623AJE007805
Unit:
}
10:02:09.7546 1CFEEB4A [29] 4E 41 56 20 20 2A 34 31 32 39 31 37 34 43 31 2A 32 32 30 33 31 38 2D 30 31 35 30 2A 2A
Component Identification from Communications Unit, Cellular (74): {
Make: NAV
Model: 4129174C1
Serial:<PHONE_NUMBER>
Unit:
}
10:02:09.8596 1CFEEB00 [49] 49 4E 54 20 20 2A 37 35 37 31 32 34 32 30 32 31 2A 31 32 34 4B 4D 32 59 34 36 30 31 32 35 35 2A 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 2A
Component Identification from Engine #1 (0): {
Make: INT
Model:<PHONE_NUMBER>
Serial: 124KM2Y4601255
Unit:<PHONE_NUMBER>000000
}
10:02:09.7414 1CFEEBED [24] 49 4E 54 20 20 2A 34 30 36 31 39 36 38 43 34 2A 42 30 32 35 30 31 2A 2A
Component Identification from Door Controller #2 (237): {
Make: INT
Model: 4061968C4
Serial: B02501
Unit:
}
10:02:09.7976 1CFEEB05 [32] 49 4E 54 20 20 2A 52 4E 44 4D 4C 3B 20 4D 6F 64 65 50 65 72 73 69 73 74 3D 74 72 75 65 2A 2A 2A
Component Identification from Shift Console - Primary (5): {
Make: INT
Model: RNDML; ModePersist=true
Serial:
Unit:
}
10:02:09.7471 1CFEEBEC [24] 49 4E 54 20 20 2A 34 30 36 31 39 36 35 43 34 2A 42 38 33 35 31 31 2A 2A
Component Identification from Door Controller #1 (236): {
Make: INT
Model: 4061965C4
Serial: B83511
Unit:
}
10:02:09.8643 1CFEEB37 [36] 49 4E 54 20 20 2A 34 30 38 30 39 34 30 43 33 2A 4C 32 32 30 36 31 36 32 31 31 34 35 30 30 30 36 32 37 2A 2A
Component Identification from Lighting - Operator Controls (55): {
Make: INT
Model: 4080940C3
Serial: L22061621145000627
Unit:
}
10:02:09.8631 1CFEEB98 [36] 49 4E 54 20 20 2A 34 30 35 37 36 38 39 43 34 2A 4D 32 32 30 36 31 36 32 31 31 34 35 30 32 30 35 38 36 2A 2A
Component Identification from Reserved for future assignment 152 (152): {
Make: INT
Model: 4057689C4
Serial: M22061621145020586
Unit:
}
10:02:09.7072 1CFEEB03 [28] 45 41 54 4F 4E 2A 45 45 4F 2D 78 78 46 31 31 32 43 2A 5A 30 32 32 37 33 38 35 2A 2A
Component Identification from Transmission #1 (3): {
Make: EATON
Model: EEO-xxF112C
Serial: Z0227385
Unit:
}
10:02:09.8088 1CFEEB19 [34] 49 4E 54 20 20 2A 34 31 30 30 30 37 33 43 33 2A 30 30 30 30 30 30 30 30 30 30 36 32 34 32 39 33 2A 2A
Component Identification from Passenger-Operator Climate Control #1 (25): {
Make: INT
Model: 4100073C3
Serial:<PHONE_NUMBER>624293
Unit:
}
10:02:09.8703 1CFEEB97 [36] 49 4E 54 20 20 2A 34 30 35 37 36 38 39 43 34 2A 4D 32 32 30 36 31 36 32 31 31 34 35 30 31 30 35 38 35 2A 2A
Component Identification from Reserved for future assignment 151 (151): {
Make: INT
Model: 4057689C4
Serial: M22061621145010585
Unit:
}
10:02:09.7848 1CFEEB17 [31] 49 4E 54 2A 34 30 39 33 34 35 34 43 31 2A 36 32 31 31 34 35 31 36 33 32 33 36 37 38 35 2A 2A
Component Identification from Instrument Cluster #1 (23): {
Make: INT
Model: 4093454C1
Serial:<PHONE_NUMBER>36785
Unit:
}
10:02:10.0014 1CFEEBE8 [19] 42 4E 44 57 53 2A 46 4C 43 32 30 2A 30 30 39 31 00 2A 2A
Component Identification from Forward Road Image Processor (232): {
Make: BNDWS
Model: FLC20
Serial: 0091
Unit:
}
TIMING: Late response -  10:02:09.7714 1CECFFE8 [8] 20 13 00 03 FF EB FE 00
End Test 2.7 - Component ID: Make

Based on Roner’s observation #1168, let’s pull the trigger on the suggestion to match 750 ms in J1939-21 Appendix C, to replace 600 ms in the receive heuristic.

750 ms timeouts observed in 3.1.4


[Snyk] Upgrade react-router-dom from 5.3.3 to 5.3.4

This PR was automatically created by Snyk using the credentials of a real user.![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)
Snyk has created this PR to upgrade react-router-dom from 5.3.3 to 5.3.4.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 1 version ahead of your current version.

The recommended version was released on 2 years ago.

Release notes

Package name: react-router-dom

5.3.4 - 2022-10-02

5.3.3 - 2022-05-18

    from react-router-dom GitHub release notes

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:

🧐 View latest project report
📜 Customise PR templates
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
637

Relevant Lines:
640

💛  - Coveralls


Add Travis CI

Enable Travis CI.

utACK

This needs to be tested on another GNU/Linux system. @stephaniestroka - would you be willing to try it on your Fedora system?

@benma I've fixed the build issue.

I've got the following error when running docker.x11:
-bash-4.4$ ./run-ElectronDemo-x11.sh
yarn run v1.9.4
warning package.json: License should be a valid SPDX license expression
$ electron .
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

@stephaniestroka just redid the build, it all works for me. (same warning as you, but running electron works).
Do you wanna check what's different for you? (maybe something about the DISPLAY). Otherwise, pls merge.

Oh, yeah...Fedora is preventing write access to the socket file X1. Yay, SELinux does something useful :-)
Will merge now, because I do not need to run docker anyway.


Control night shift intensity from MonitorControl

Before opening the issue, have you...?

[X] Searched for existing issues

Is your feature request related to a problem? Please describe
I'm looking for a % of currently set brightness. Also, I want to change Color Temperature.
Describe the solution you'd like
I forked and improved NativeDisplayBrightness app.
Initially it was without any UI. I added:

status bar with % of brightness
ability to change system option of Temperature.

Can you please add such options in this amazing app? Thanks!
Describe alternatives you've considered
https://github.com/KAMIKAZEUA/NativeDisplayBrightness
Anything else?
No response

Hi @KAMIKAZEUA - congrats for modifying that app. Yes, we can do the same. MonitorControl already manages the gamma table (but for dimming only) so it would actually be quite easy to add color temperature control. It's a planned feature: https://github.com/MonitorControl/MonitorControl/issues/726
I don't know when will we get there though. But hey, MonitorControl is open source so if you are into Swift, you can add it yourself.

I'll close this one as a duplicate but will copy over your comment to that thread since your implementation might be useful in this effort. You can comment there as well! Thank you!

Hey @waydabber actually in my app it's modifying by native system, so it changes system parameter:

I'm Objective C only.. swift is really strange language for me..

And maybe this is my fault, since I asked about two features in one request.
Should I post another for:  "I'm looking for a % of currently set brightness." ?

Ohh, right. We can implement modifying the system slider as well but the goal was to make something that works for TVs too where Night Shift is disabled. I'll reopen this one then as a separate request then.
as per your other question, you can see the % here:

You can enable this in Preferences in the App Menu section.

Hmm, I’m not really got the point of .. for TV’s. You mean TV connected to any Mac? Night shift modify system video signal(if I can say like that) so any device will be with it.
and regarding %, I mean exactly in Status Bar icon, like in my app, so I can see brightness % all the time. :)

Night Shift modifies the gamma table at top level but it does not affect the signal directly and should technically work on TVs - but Apple intentionally disabled NightShift for various devices including TVs. This is bad news for the TV as Monitor crowd out there.

For the % in the menu bar, that is also possible, but you should create a separate feature request for that. :)

I'd prefer something closer to Flux rather than relying on Apple's night shift - which doesn't filter out blue light at all.
Sometimes it'd be useful to let a small amount of blue light through, for a very short amount of time, when one cannot properly see some details. Letting just a bit of blue light through would be better than the only option Flux gives us in such a situation (i.e. completely disabling it).

Currently I am not sure if this feature will be implemented in MonitorControl anytime soon as it seems to me the app already reached (or in several ways exceeded) it's original vision/scope and to there is a feeling among team members that there should not be any further added complexity (instead maybe simplification for better maintainability in the future).
If you are seeking for this feature, BetterDisplay might be an alternative - it has the NightShift intensity slider as well as colortable based temperature control (much like f.lux). BetterDisplay can also enable NightShift for TVs.
NightShift slider:

Colortable temperature slider:

Enable NightShift for TVs:

(Since BD is a solo project of mine, there are no constraints on added complexity, I can make it as bloated as I want until my head explodes when I try to fix something... Important to note however that BD is not opensource, some features require Pro license + some find the app a bit intimidating with all its various current and planned features.)

@waydabber I just pointed that my simple at has it functionality which is based on a system.
I'd like this be implemented in Monitor Control too. THanks!

Hi @Volodymyr-13 - you are free to fork the project and work on it if you'd like + also create a pull request. I'll approve it if it works fine!

Hey @waydabber as I previously told I'm Objective C only.. swift is really strange language for me..
Also, I’m done with programming ~3 years ago.. I was just hoping that for a guy who knows project it would be very easy to use my project code or as example to implement this.. tiny functionality :)

Hi @Volodymyr-13 - I did implement it in BetterDisplay (albeit completely differently as it had to comply with the control system of the app). Unfortunately I don't think this will be in MonitorControl as the team decided a while ago that the app is already bloated compared to the original very simple vision (this is mainly due to my activities. :)) so no more features should be added - I would not want to defy that decision, made my peace with it and focused on BetterDisplay where I do implement everything I see fit, including this. I think my last significant contribution was to add M2 Pro support for brightness control (hopefully the version comes out eventually).

@waydabber today again I tried BetterDisplay.
It feels so so so much over complicated! Maybe for someone who requires all it's functionality it's OK, but for me it's a super overwhelming!
I just change brightness and volume, thats almost it..  well yea, and this another more function would be cool - control Night Shift color.
Can you please just add a simple slider?
This is crazy easy peasy for developer who works on this app.
https://github.com/Volodymyr-13/NativeDisplayBrightness/blob/master/NativeDisplayBrightness/CBBlueLightClient.h
Just implement a couple of methods, thats it! Add slider ui, add option, done. 15 min for a developer who know this app...

But why so simple task is not possible? I'm thinking just fiverr'ing it for 5$ and some guy from Pakistan or India will do..
BetterBrightness sound good, and I think it's already good and also for modern displays any software manipulation is not needed, software dimming like, so this feature I'd remove totally. Other is perfect and nothing else is needed.
Menu and structure of items and everything in just a Settings of that app is crazy complicated, hard to navigate, I hate it.

@waydabber or maybe at leats you can share some code or branch where this was try of implementation of this func?
So I can continue and finish it?


Question/Request

Is there any existing support for denoting quantities as a vector within an equation definition, or support for doing so? For example, in the equation to describe coulombs law as it applies to the forces exerted by a pair of charged points along a given direction vector uses bar/arrow notation to specify that F is a vector quantity and also can use the 'hat' notation to indicate the direction vector is of unit length.

Hi! @KrispyKreme1195
These might be what you are looking for:
$\bar{F}$
$\overrightarrow{F}$
$\hat{F}$
You can search for "latex" or "mathjax", for example "latex hat", to get the code required of the math symbol you may need :)  All the best!


observe namespaced model

make observer factory able to create correct callbacks module. (Admin::Information -> Admin::InformationCallbacks)

Thanks for this. This is brilliant! :+1:


brew cask install utorrent won't add anything to my Applications

It's been a while since I used Cask but it looks like it doesn't add anything to my Applications when I'm trying to install uTorrent. But there is nothing in my Applications.. am I missing something?
$ brew cask install utorrent
==> Downloading https://download-new.utorrent.com/endpoint/utmac/os/osx/track/stable/
######################################################################## 100.0%
==> No checksum defined for Cask utorrent, skipping verification
To complete the installation of Cask utorrent, you must also
run the installer at

  '/usr/local/Caskroom/utorrent/latest/uTorrent.app'

🍺  utorrent was successfully installed!

But when I installed VLC for example everything went smoothly and I could see the VLC in my Applications..
$ brew cask install vlc
==> Downloading https://get.videolan.org/vlc/2.2.4/macosx/vlc-2.2.4.dmg
######################################################################## 100.0%
==> Verifying checksum for Cask vlc
==> Moving App 'VLC.app' to '/Applications/VLC.app'
==> Symlinking Binary 'vlc.wrapper.sh' to '/usr/local/bin/vlc'
🍺  vlc was successfully installed!

It says right there in the message:

To complete the installation of Cask utorrent, you must also
run the installer at

'/usr/local/Caskroom/utorrent/latest/uTorrent.app'

Yeah kind of unclear reply there.
I had the same 'issue'. I just updated homebrew (it said in the console I have to update it) and then installed uTorrent again the same way, successfully.


Print running version and commit in log

Example output:
[srvr] 2015/02/24 09:46:43 influxdb started, version 0.9, commit unknown

I also tested this that when commit is set at build time, it is logged correctly.

lgtm :shipit:

+1


ImportError: cannot import name 'iou3d_nms_cuda' from 'pcdet.ops.iou3d_nms' (unknown location)

Hi~
Thank you very much for sharing your great work with us.
When I generate data info in kitti format, the following error occurred:
ImportError: cannot import name 'iou3d_nms_cuda' from 'pcdet.ops.iou3d_nms' (unknown location)
Then I search for 'iou3d_nms_cuda' file in 'pcdet.ops.iou3d_nms'  , but it is not found. Is this file missing?How should I solve this problem?
My dataset is in KITTI format, and I execute the following code:
python -m pcdet.datasets.kitti.kitti_dataset create_kitti_infos tools/cfgs/dataset_configs/kitti_dataset.yaml
I would really appreciate if you could help.
Best.

Sorry, there's something wrong with my conda environment. Just reconfigure the environment.

@shiqi1994 Did you solve this problem? I use docker image and have same error for
from pcdet.datasets import build_dataloader


Go: Add more documentation for List merge.

Modify the comment in merge/three_way.go to be accurate, add
lengthy discussion of List merge algorithm in three_way_list.go
Fixes #2717

PTAL

Ok, how's this?

Current coverage is 87.96% (diff: 96.87%)

Merging #2724 into master will decrease coverage by 0.02%

@@             master      #2724   diff @@
==========================================
  Files           243        243
  Lines         18245      18411   +166
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits          16055      16196   +141
- Misses         1927       1950    +23
- Partials        263        265     +2

Diff Coverage
File Path

•••••••••  96%
go/merge/three_way_list.go

•••••••••• 100%
go/merge/three_way.go

Powered by Codecov. Last update 078e9e6...2a47e75

I believe this reflects your proposed changes. PTAL


merge from template-sync/template-arlac77-github

.github/workflows/update_package_lock.yml

chore: add<EMAIL_ADDRESS>(jobs.update_package_lock.steps.uses)

.github/workflows/update_readme_api.yml

chore: add<EMAIL_ADDRESS>(jobs.update_readme_api.steps.uses)

Pull Request Test Coverage Report for Build<PHONE_NUMBER>2
Details

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

Totals

Change from base Build<PHONE_NUMBER>4:
0.0%

Covered Lines:
114

Relevant Lines:
205

💛  - Coveralls


current uid is a stack

MakeCallback is sometimes called synchronously, thus uid can have multiple values in the same synchronous context.

I think this should be fixed transitively via https://github.com/AndreasMadsen/dprof/issues/16

I think they are quite unrelated. The fix is just:
const currState = [root];

function asyncInit(uid, handle, provider, parentUid) {
  // get parent state
  const state = (parentUid === null ? currState[currState.length - 1] : stateMap.get(parentUid));

  // add new state node
  stateMap.set(uid, state.add(handle));
}

function asyncBefore(uid) {
  const state = stateMap.get(uid);

  state.before();
  currState.push(state);
}

function asyncAfter(uid) {
  const state = stateMap.get(uid);

  state.after();
  currState.pop();
}

but I haven't been able to create a test script for it.

Sorry, wrong issue. I think this should be fixed by the actual async_hooks impl? aka https://github.com/nodejs/node/pull/8531

Yes, it provided an API to get the contextual parent.

Turns out that the basic http test does cover this after all. Fixed in a88b889551e2e56db7327afa4dab0245dde5e78e


StaxReader removal

See https://hibernate.atlassian.net/browse/HHH-14096
I think recommend backporting this to 5.3 as well, but as usual that's for @gbadner to decide.

thanks @gbadner , I've merged this in both master and 5.4. Up to you to decide if and when to backport to 5.3 too.


Multiple Function Mocks Issue

Hi there,
First off, thanks for creating this package, it has helped get started with a mocked TypeORM quite quickly!
I am currently running into an issue where when trying to mock return data using onMock for 2 different functions, findOneBy and insert, the findOneBy mock data is being deleted all together and only the insert mock data remains. To reproduce this the code would look as follows:
const typeormMock = new MockTypeORM();
typeormMock
.onMock("Test")
.toReturn("test1", "findOneBy")
.toReturn("test2", "findOneBy")
.toReturn("testInsert", "insert")

At the end of that script, only the insert mock data remains in my codebase.
I was digging into the source code and I did notice something a bit strange, I'm not sure if it is intentional or not.
In the toReturn function it looks like it overwrites all previous data in the repository if the mockMethod value is undefined.
 toReturn(mockData: any, method = "find") {
        if (!self.mocks[repositoryName]) {
          self.mocks[repositoryName] = {};
        }

        const mockMethod = self.mocks[repositoryName][method];
        if (mockMethod) {
          const totalMockItemsFoundInMethod = Object.keys(mockMethod).length;
          mockMethod[totalMockItemsFoundInMethod] = mockData;
        } else {
         // ********** THIS IS OVERWRITING PREVIOUS DATA ***********
          self.mocks[repositoryName] = { [method]: { 0: mockData } };

          // initialize mock history with empty state
          if (!self.mockHistory[repositoryName]) {
            self.mockHistory = { ...self.mockHistory, [repositoryName]: {} };
          }
          self.mockHistory[repositoryName] = { [method]: 0 };
        }

        return this;
      },

Instead of that line below the comment "********** THIS IS OVERWRITING PREVIOUS DATA ***********"
should it not read as follows:
self.mocks[repositoryName][method] = { 0: mockData };
This way, all previously mocked function data for other function names remain since the repository data is not completely overwritten when a new mocked function name is provided.
Any help would be greatly appreciated!

@sloughrey published a new npm version . I am closing this PR. If you still face any issue. Feel free to open a new PR. Thanks.


Fixed saving/loading of the dead-zoning mouse mode through presets.

Also belated PR feedback from https://github.com/fqlx/XboxKeyboardMouse/pull/83, minor cleanup, and new binaries.

🙌

I didn't check, but make sure we are using the x64 bin instead of Any CPU bin with platform target.

Oh?  I probably saved Any CPU.  Is it faulty?  (If we want to not support the others we should delete them from the configurations?)


[FEATURE] Accusations Endpoints

Is your feature request related to a problem? Please describe.
Once we make the system available, users will need to have the ability to link officer profiles to incidents. This should will be managed through the Accusation object that links and officer profile to the Perpetrator object on an incident. The Perpetrator object represents a description of the perpetrator(s) of an incident.
Describe the solution you'd like
Users who have Contributor privileges should be able to use an API call to create an Accusation in the database. This accusation should include the user who made the accusation as well as the basis for the accusation.
It would be nice if there was also a feature that recommends likely officer profile matches based on the data contained in a perpetrator object. For example, finding officers who have a matching badge number or last name.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Completed in #361


Decide the main developer behind version 0.0.25 in sdrf-pipelines

We have to decide which developer/bioinformatician will be in charge of fixing the bugs and implementing the new functionalities for sdrf-pipelines.

Hi @daichengxin @levitsky and @WangHong007 @fabianegli. Welcome to @MaLLLiYA which will be taking over some of the issues of the project.


Cache: crushed images when open the page 1st time

Description
After I activate the cache, the images are crushed when open the page the first time. After close and open again all is ok.
Steps to Reproduce

Image gallery with no crushed images

Actual Behavior

Basic Information

Version with issue:
Last known good version:
Platform:

Screenshots
Correct view after reload the view

Reproduction Link / Code
Download: Check the app "Bagno 38 Lido" into the app stores

I can't help you if you don't share any code or a repo.
BTW: It's probably not an FFImageLoading issue, please make sure your image container view VerticalOptions are set to FillAndExpand

The problem appear after that I activate the cache loading.


[1.20.4] [Fabric] [MP] Clients fail to connect to dedicated server or LAN game

Works Great in a single player game with all the same mods and everything.  But when I try connecting to my dedicated server, it does the handshake and shows I disconnected.
[22:45:04] [User Authenticator #1/INFO]: UUID of player Korg3471 is ********-****-****-****-************
[22:45:05] [Server thread/INFO]: Korg3471[/<IP_ADDRESS>:36564] logged in with entity id 287 at (8.5, 73.0, -4.5)
[22:45:05] [Server thread/INFO]: [Time & Wind] Sending config to player
[22:45:05] [Server thread/INFO]: Sending server config values to client
[22:45:05] [Server thread/INFO]: Korg3471 joined the game
[22:45:06] [Netty Server IO #2/INFO]: Receiving client config
[22:45:06] [Server thread/INFO]: Korg3471 lost connection: Disconnected
[22:45:06] [Server thread/INFO]: Korg3471 left the game

The client spit out:
[22:45:13] [Render thread/WARN]: Client disconnected with reason: Internal Exception: io.netty.handler.codec.DecoderException: java.lang.IllegalArgumentException: duplicate key: net.minecraft.class_1856@70dcb7e4
I left in Alloy Forgery and it all loaded fine, so there's something in MM that is preventing connections or duplicating something.  Even a single player game shared to the LAN has the same error for anyone trying to connect while the host can chug along like nothing is wrong.

There is some bug with Alloy Forgery which is causing recipe syncing to fail. I am looking into the issue

We have identifier the issue and are working on a fix. Some context surrounding the issue:
The cause of the issue is due to a faulty implementation of recipe syncing in Alloy Forgery. The ingredient handling doesn't implement a check (hashcode), which causes it to fail in multiplayer.
In theory I would be able to make a fix on Mythic Metals end by changing up all the recipes. It doesn't fix the core problem though, as any other mods/modpacks would still break.

Can confirm latest fix allows server/lan play again!  Nice work!


Remove internal tag from uiSettings

Documentation generator has been edited to find correct link for this member

Also need to run the following in ui\framework:
npm run clean
npm run build
npm run extract-api
Without the clean before build, the api.md file often contains false changes.

Also need to run the following in ui\framework:
npm run clean
npm run build
npm run extract-api
Without the clean before build, the api.md file often contains false changes.

Thanks. Should be good after next builds


Feature: Pipelining and steps flow control (try & catch)

YAML example:
pipelines:
    :build:
        - task: :build --php=8.0
        - task: :migrations
          error: :notify "Migrations failed"
        - task: :run
          rescue: :when-run-fails
        - block:
              - task: :something
          rescue: :notify
        - task: :something

Shell example:
rkd \
     :build --php=8.0 \
     {@failure :notify "Migrations failed"} :migrations {@failure} \
     {@rescue :something} :run {@rescue} \
     :something

Python example:
# todo

Special exit code needs to be adjusted by environment variable.

Alternatively:

Allow to prefix steps with "on_error" / "catch" , and "always" / "finally" to execute steps depending on if there was an error or not

Mostly done by @dkwebbie, now needs to be adapted to YAML syntax.


Confusing display of added effects in UI

The current display of the added effects is confusing. In the image below, it suggests that I have already added three effects, while in reality, only the first two have been committed, and the third is just a box to choose a new one. This is not so intuitive...

@mboeringa - thanks for all of your great feedback! I'll get to work on these issues shortly.

@mboeringa - This is installed. Hopefully this UI works better for you! Let me know if you have any feedback.


Add code coverage to projects

Here's a few that I'd start with:

[x] - generator-donejs
[x] - done-ssr
[x] - steal-tools
[x] - donejs/cli

Don't do done-ssr for now, it might be difficult because it spawns subprocesses to run tests.

This should be mostly done now right?

Yep.


Missing pagination button

After more than 30 articles, there's no pagination button to load more.

@jaspervriends on my test Flarum with beta13/Blog v0.1.6 there is no issue with pagination.
You can check it here:
http://phpstack-394430-1689724.cloudwaysapps.com/aplikacija/public/

@jaspervriends on my test Flarum with beta13/Blog v0.1.6 there is no issue with pagination.
You can check it here:
http://phpstack-394430-1689724.cloudwaysapps.com/aplikacija/public/

Woops good one! I actually fixed it in v0.1.6 a few hours ago, but forgot to close this issue! Thanks for testing it out though!

Woops good one! I actually fixed it in v0.1.6 a few hours ago, but forgot to close this issue! Thanks for testing it out though!


Adding MSSQL support to ssp.class

There are only one compatibility problem in this class to make
possible use this class with Oracle and SQL Server (2012 or
greater). The problem are LIMIT operation that is the same
syntax in TSQL and Oracle. The second is column delimiter "`".
I added support to pass PDO driver in sql_connect array.
Default is MySQL. Who uses this class must remain working.
$columns param replaced by $driver (PDO::PDO_DRIVER_NAME)
in limit method. It was make possible use multiple databases.

Looks like a good change - thanks! However, I'm surprised this is all that is needed since the ssp class uses back ticks (`) to escape fields, which is the identifier quoting character in MySQL. MSSQL uses [] and I have no idea what Oracle uses. Perhaps that needs to be abstracted out as well.

I see this minutes later. Sorry.
Well, I replaced (`) by ("). But I don't know if works with oracle. I will check it out.

Well, like you say, I will remove them.

I think better. If some one have a column or table name with special characters this will be a problem. I must find another solution.

Sorry for the very long time to adjust the MR.
I do not find a Oracle database to make any tests, so I just change the commit and MR message to describe that I have only added the support to MSSQL not Oracle.

Thanks. The back ticks are often quite useful in MySQL which is why there were there. In SQL Server [] can be used instead. Back ticks have also been removed in comments in the above, while I'd prefer them to be retained so it can be formatted as markdown.
To be honest, I'd rather that this demo script in this repo was just that - a simple demo script that would work with a single database. It is meant to be a starting point that can be customised rather than actually being the answer to implementing most server-side processing requests.
Perhaps there should be another repo somewhere that can be used to hold customised versions of this script.

No problem. I understand and appreciate the attention.


Fix coverage CI step

The coverage step in the CI currently fails with
error[E0635]: unknown feature `stdsimd`
  --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ahash-0.7.7/src/lib.rs:33:42
   |
33 | #![cfg_attr(feature = "stdsimd", feature(stdsimd))]
   |                                          ^^^^^^^

This is due to the stdsimd feature being removed from Rust nightly.
This PR updates the ahash crate (a second-level dependency for us -> no entry in changelog) to the latest version, where this has been fixed.

Codecov Report

Merging #677 (c9d15f6) into main (899898c) will decrease coverage by 2.09%.
The diff coverage is n/a.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #677      +/-   ##
==========================================
- Coverage   66.66%   64.58%   -2.09%
==========================================
  Files           1       44      +43
  Lines         405     5063    +4658
  Branches       89        0      -89
==========================================
+ Hits          270     3270    +3000
- Misses        135     1793    +1658

Components
Coverage Δ

apel_plugin
∅ <ø> (∅)

auditor
85.66% <ø> (∅)

slurm_collector
67.59% <ø> (∅)

slurm_epilog_collector
0.00% <ø> (∅)

htcondor_collector
∅ <ø> (∅)

priority_plugin
37.50% <ø> (∅)


Fixed code coverage infrastructure and some failing tests

Fixed tests that were failing or throwing unnecessary information on screen.
Updated the paths to powershell.exe as per the new artifact layout.
Added Publish-PSTestTools to Compress-TestContent
Added PS Test tools to PSModulePath before starting tests.

LGTM

@PowerShell/powershell-maintainers This PR approved and ready to merge.


jupyter chart uses deprecated ingress apiVersion

Since Kubernetes 1.19 the extensions/v1beta1 for ingress has been deprecated and with the recently released 1.22 they got dropped. Would be good to upgrade this to networking.k8s.io/v1 see https://kubernetes.io/docs/reference/using-api/deprecation-guide/

We have made a major refactoring of jupyter helm chart. Now we levearage bitnami common library to manage several portions of the templates, such as the ingress apiVersion. networking.k8s.io/v1 should be now available.
We have also rename the repository from charts to bigdata-charts.


[dv] Directed test to check PoR values of CSRs

As noted by https://github.com/lowRISC/ibex/issues/2054 our documented mstatus PoR value was incorrect.
We should have a directed test that checks the PoR value of every CSR (or some subset of critical/most interesting CSRs at least) matches the documented value.

Note that Spike and Ibex seem to disagree on some of the PoR values so some fixes will be needed there to enable this test.


re-apply changes from existing 40-fix-notebooks* branch.

Changes
I've manually re-applied the fairly minor changes in the 40-fix-notebooks-prior-to-including-in-ci branch in this new 40_rebase branch, based off the current main.

Removed the obsolete "-bUCF" option passed to makeTestEnv , plus a few cosmetic changes
updated the frozen agent states to match that currently created, used in an assert
Removed notebook output, to make comparison between versions easier (and hoping that CI will render the notebook)
added a timetable generator option to rail_env constructor
added a "relaxed" timetable generator like flatland2
updated env_edit_utils which I use to deterministically create small test envs, to use the timetable generator.
added pytest --nbmake line to the pyproject.toml (calling only 2 specific notebooks for now)
updated tox.ini to use python 3.10 when calling pip-compile python -m piptools compile because - why not?  Somehow it gives a different list of reqs vs py38.

Related issues
#40
Checklist

[X] Tests are included for relevant behaviour changes.

[ ] Documentation is added in the docs folder for relevant behavior changes. If you made important user-facing
changes, describe them under the [Unreleased] tag in CHANGELOG.md.

[X] New package dependencies are declared in the pyproject.toml file.
Requirement files have been updated by running tox -e requirements.

[X] Code works with all supported Python versions (3.8, 3.9 and 3.10).

[ ] Code is formatted according to PEP 8 (an IDE like PyCharm can do this for you).

[ ] Technical guidelines listed in CONTRIBUTING.md are followed.

This is failing with an assertion in test_flatland_malfunction.py but I don't get this error when running locally.
(In fact I did get it once but have re-run it several times since without it recurring).
This is the step generating the failure - in test_initial_malfunction_do_nothing, actual=(3,2), expected=(3,3):
 Replay( # 4
                position=(3, 3),
                direction=Grid4TransitionsEnum.EAST,
                action=RailEnvActions.MOVE_FORWARD,
                malfunction=0,
                reward=env.step_penalty  # running at speed 1.0
            )

In fact locally I've just had another spurious / non-deterministic error from test_generators.

Can we approve this to get it through please? Otherwise we will have the same problem of someone else starting some other work and then facing conflicts.  Happy to fix minor issues like different python versions and commented out lines in a subsequent PR.
A problem with the approvals mechanism is that we don't have two of us online frequently enough for this to be productive.

Excellent work - thank you !


False-positive cannot assign expression to yield type (with TypeVar, overload, and Union)

 Environment data

Language Server version: 2021.9.1
OS and version: darwin x64
Python version: 3.10.0rc2
python.analysis.indexing: true
python.analysis.typeCheckingMode: basic

 Expected behaviour
no error
 Actual behaviour
Expression of type "X" cannot be assigned to yield type "T1@return_iter | T2@return_iter"
  Type "X" cannot be assigned to type "T1@return_iter | T2@return_iter"
    Type "X" cannot be assigned to type "T1@return_iter"
    Type "X" cannot be assigned to type "T2@return_iter"

 Logs
--
 Code Snippet / Additional information

from typing import TypeVar, overload, Iterator

T1 = TypeVar("T1", bound="X")
T2 = TypeVar("T2", bound="X")

class X:
    element_list: list["X"]

    @overload
    def return_iter(self, klass: type[T1]) -> Iterator[T1]:
        ...

    @overload
    def return_iter(self, klass: tuple[type[T1], type[T2]]) -> Iterator[T1] | Iterator[T2]:
        ...

    def return_iter(self, klass: type[T1] | tuple[type[T1], type[T2]]) -> Iterator[T1] | Iterator[T2]:
        for item in self.element_list:
            if isinstance(item, klass):
                yield item  # error

Mypy output
no error

Thanks for the report.

Thanks, this will be fixed in the next release.
The code that handles isinstance and issubclass type narrowing was handling the case where the second argument was a union of classes or a tuple of classes, but it didn't properly handle a union that included both classes and tuples of classes. That's now fixed.

This issue has been fixed in version 2021.9.2, which we've just released. You can find the changelog here: https://github.com/microsoft/pylance-release/blob/main/CHANGELOG.md#202192-16-september-2021

This is still an issue when modified slightly:
from typing import TypeVar, Iterator

T1 = TypeVar("T1", bound="X")
T2 = TypeVar("T2", bound="X")

class X:
    element_list: list["X"]

    def return_iter(
        self, klass: type[T1] | tuple[type[T1], type[T2]] | tuple[type[T1], ...]
    ) -> Iterator[T1] | Iterator[T2]:
        for item in self.element_list:
            if isinstance(item, klass):
                yield item  # error

Added tuple[type[T1], ...] as fallback for tuples with len > 2. No error when tested with mypy.

You're right — I didn't handle the required special casing for open-ended tuples (the ... form) in this code path. It will be fixed in the next release.

You're right — I didn't handle the required special casing for open-ended tuples (the ... form) in this code path. It will be fixed in the next release.

Thank you @erictraut! I appreciate how fast you and the team address these issues. It's amazing to see pylance and pyright getting better.


Package selective/basepath is not compatible with php-8.0 and slim-4.7 versions

Package selective/basepath has a PHP requirement incompatible with your PHP version, PHP extensions and Composer version

Done. Please update to version 2.


activate performance checker only on prod build

hey there
is it possible to NOT log "largeObject" to the console when the performance checker is just imported? When I import "performanceChecker" the code gets executed immediately and slows down execution of various tests...
const largeObject = createLargeObject();
const largeObjectArray: Record<string, string>[] = [];

for (let i = 0; i < 50; i++) {
  largeObjectArray.push(largeObject);
}

thanks!
miro

It's lazy initialization now

It's lazy initialization now

thank you so much, I'll try it out :-D


Unhandled exception

PicoTorrentDump.zip

Thanks, I'll look into it shortly.

Should be fixed in #486


Create new Variable class.

This should use std::variant<int, double, bool, std::string> under-the-hood. It should behave similarly to the old variable.h from the legacy interpreter.

I want to do impact analysis before implementing.


Draw individual shapes instead of completed editor

Discussed in https://github.com/excalidraw/excalidraw/discussions/7099

Originally posted by piyushmani October  6, 2023
I have created a diagram and saved to json, now I want to render each shapes individual in my html page instead of complete Excalidraw editor, options and control .

@piyushmani you can export the diagrams to SVG/png and render them on the webpage. In case you are using the npm package you can use the export utilities to export the json to svg/png as well.
Refer to the docs

I checked the docs, if possible i am looking for individual nodes and edges, something like drawer.drawNode(nodejson) and drawer.drawEdge(edgeJson) .

I checked the docs, if possible i am looking for individual nodes and edges, something like drawer.drawNode(nodejson) and drawer.drawEdge(edgeJson) .

then probably the programmatic API could be helpful


iOS11: Use Vision for edge detection

Use iOS11 new Vision framework for better & speedier edge detection. See the all new notes app document scanner as an example.
https://developer.apple.com/documentation/vision

@mmackh is the integration of iOS 11 Vision something you'd consider for IPDFCameraViewController?

Hi - sorry currently no time to update this library. Also no plans on implementing the vision framework due to backwards compatibility and observing that it isn't significantly faster / better IMO.


DOC: Update CONTRIBUTING for style and some text

ping @sappelhoff
Rendered here: https://github.com/effigies/bids-validator/blob/instr/CONTRIBUTING.md

looks great, thanks!


[Doc]: Expand NGINX Server Installation Documentation

Summary
I have added the documentation as asked in #5099 . There is no other unnecessary changes from my end.
Ticket Link
closes #5099

Hello @Hard-Coder05,
Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.

@cwarnermm I guess this PR is ready to get merged!

Hey @cwarnermm ! I have not yet recieved the swags form. Could you please let me know where can I grab the swags??

Thanks for participating in Hacktoberfest! You can claim your sticker set here: https://get.printfection.com/hacktober21/4144583267 @Hard-Coder05


Improve documentation for Style/TrailingCommaIn… cops

Three similar cops: Style/TrailingCommaInArguments, Style/TrailingCommaInArrayLiteral, and Style/TrailingCommaInHashLiteral share a common flaw. Their documentation does not show the difference between comma and consistent_comma settings. Neither code sample in documentation is marked as "good" for one setting and "bad" for another. A reader's impression is that these two settings are identical.
The source code of TrailingComma module reveals the difference between these two settings:
https://github.com/rubocop-hq/rubocop/blob/b21e8f222ec149a317a52b37b6b215a294c46486/lib/rubocop/cop/mixin/trailing_comma.rb#L65-L74
That is, if I understand it correctly:

consistent_comma setting means that a trailing comma is required if and only if:

given list, hash etc. is multi-line, AND
neither item is on the same line of code as method name

comma setting means that a trailing comma is required if and only if:

given list, hash etc. is multi-line, AND
every item is on its own line
surprisingly, it is allowed that one item is on the same line as method name, which is possibly another bug (I'm not opening a separate issue for that yet)

Expected documentation

Documentation on Style/TrailingCommaInArguments is expected to describe difference between comma and consistent_comma values for EnforcedStyleForMultiline attribute
Documentation on Style/TrailingCommaInArrayLiteral is expected to describe difference between comma and consistent_comma values for EnforcedStyleForMultiline attribute
Documentation on Style/TrailingCommaInHashLiteral is expected to describe difference between comma and consistent_comma values for EnforcedStyleForMultiline attribute

Possible values for EnforcedStyleForMultiline are not self-documenting at all. Few words about their meaning would be great. The mixin's source code may be a good source of inspiration.
At minimum, more examples should be added to show the difference between comma, and consistent_comma settings.
Actual documentation
Actual documentation for Style/TrailingCommaInArguments
The cop Style/TrailingCommaInArguments has option EnforcedStyleForMultiline, which is documented in https://rubocop.readthedocs.io/en/latest/cops_style/#styletrailingcommainhashliteral as follows:

EnforcedStyleForMultiline: consistent_comma
# bad
method(1, 2,)

# good
method(1, 2)

# good
method(
  1, 2,
  3,
)

# good
method(
  1,
  2,
)

EnforcedStyleForMultiline: comma
# bad
method(1, 2,)

# good
method(1, 2)

# good
method(
  1,
  2,
)

EnforcedStyleForMultiline: no_comma (default)
(…)

Actual documentation for Style/TrailingCommaInArrayLiteral
The cop Style/TrailingCommaInArrayLiteral has option EnforcedStyleForMultiline, which is documented in https://rubocop.readthedocs.io/en/latest/cops_style/#styletrailingcommainarrayliteral as follows:

EnforcedStyleForMultiline: consistent_comma
# bad
a = [1, 2,]

# good
a = [
  1, 2,
  3,
]

# good
a = [
  1,
  2,
]

EnforcedStyleForMultiline: comma
# bad
a = [1, 2,]

# good
a = [
  1,
  2,
]

EnforcedStyleForMultiline: no_comma (default)
(…)

Actual documentation for Style/TrailingCommaInHashLiteral
The cop Style/TrailingCommaInHashLiteral has option EnforcedStyleForMultiline, which is documented in https://rubocop.readthedocs.io/en/latest/cops_style/#styletrailingcommainhashliteral as follows:

EnforcedStyleForMultiline: consistent_comma
# bad
a = { foo: 1, bar: 2, }

# good
a = {
  foo: 1, bar: 2,
  qux: 3,
}

# good
a = {
  foo: 1,
  bar: 2,
}

EnforcedStyleForMultiline: comma
# bad
a = { foo: 1, bar: 2, }

# good
a = {
  foo: 1,
  bar: 2,
}

EnforcedStyleForMultiline: no_comma (default)
(…)

I will raise PR for this


Discussion about less strict code of the TinylogLoggingProvider

Please see this whole feature request just as basis for disussion. It requires more in depth code changes as before (but no API or user experience change) so it is only a suggestion and basis for discussion:
Goal: Allow easier user defined LoggingProviders in particular resusing code of the TinylogLoggingProvider. Since TinylogLoggingProvider is very private and static one has to copy all code for TinylogLoggingProvider and also ConfigurationParser. The goal would be to move some general code out of the fixed classes to allow subclassing and resuing them.
Since in some other feature request on this project, a flexible configuration was rejected for performance reasons it is important that the performance of the logger framework does not suffer. However, all code changes apply only to the construction of the logging provider not its use. So some more flexibility there should not impact overall performance
Note: All here and in the following "compare" is only a quick hack and only meant as basis for discussion. Here you see a compare V2.2 code to new suggested code in my test repo https://github.com/Git5000/tinylog/compare/v2.2...git5001:v2.2
Change overview:
TinylogLoggingProvider:

use 1 or 2 configuration object(s) in constructor instead of the static ConfigurationParser
move static methods to this or these configuration objects e.g. called TinylogLoggingConfiguration as static and/or
non static    (e.g. calculateRequiredLogEntryValues or static createLogEntry)
A bit unrelated but: Is there a good reason for removing "tag" and "level" attributes from the writer creation property array
can be useful to have them?

TinylogLoggingConfiguration: A new non final class with mainly non static methods to allow subclassing.

collects the methods from TinylogLoggingProvider and ConfigurationParser as non static.
Optionally, this can be all inside ConfigurationParser - then only one class is needed. But the name configuration parser
indicates that it does just handle the parsing not a lot more e.g. not create the writers etc But if onyl one class is desirend one can combine it in ConfigurationParser and/or rename it.

ConfigurationParser: Make class non final and methods non static

create local / temporariy object of this in the TinylogLoggingProvider constructor
move writer related code to new class TinylogLoggingConfiguration
With above two changes the ConfigurationParser can also stay static as it has less functionality. However, it would fit to make it non static.

Very optional:

make TinylogLoggingProvider protected instead of private to allow sublcassing (I have a feeling that this might not be desired). However, above changes alone allow a very small new logging provider using the new configuration classes. So this is not really nessesary anymore.

Thank you very much for your detailed feature request! It sounds very promising :) I agree that it should become easier to implement a custom logging provider. In general, we should get rid of final and static, where it isn't necessary for performance or usability reasons. I really like your idea of introducing TinylogLoggingConfiguration and making ConfigurationParser non static.

A bit unrelated but: Is there a good reason for removing "tag" and "level" attributes from the writer creation property array
can be useful to have them?

I can't find any good reason for removing these attributes.  So, I think these code for removing these attributes can be removed.

Make TinylogLoggingProvider protected instead of private to allow subclassing (I have a feeling that this might not be desired).

In general, it would be okay for as long as the benchmark won't suffer from such a change. We need to be sure that the JVM will be still able to inline small methods and remove dead code based on the configured logging level. These tricks make an huge performance difference.

Super. I will look at the benchmarks and see what has an effect and what not. I keep you updated (but it might take a few days).

I'm looking forward to your pull request :)
This a big change of course. No rush! As tinylog 2.2 is already close to release, I see your change in version 2.3.

I get the following output from the (original unchanged) tinylog build benchmark. Could you tell me what I need to pay attention to when testing for changes. So what should not go lower?
Result "org.tinylog.benchmarks.logging.Tinylog2Benchmark.output":
  259732,486 ±(99.9%) 16548,822 ops/s [Average]
  (min, avg, max) = (95082,433, 259732,486, 297417,209), stdev = 48794,579
  CI (99.9%): [243183,663, 276281,308] (assumes normal distribution)

Benchmark                  (async)   Mode  Cnt           Score           Error  Units
Tinylog2Benchmark.discard    false  thrpt<PHONE_NUMBER>217,760 ± 100606775,882  ops/s
Tinylog2Benchmark.discard     true  thrpt<PHONE_NUMBER>915,785 ± 114632426,080  ops/s
Tinylog2Benchmark.output     false  thrpt  100       82985,660 ±      8243,572  ops/s
Tinylog2Benchmark.output      true  thrpt  100      259732,486 ±     16548,822  ops/s

I get the following output from the (original unchanged) tinylog build benchmark. Could you tell me what I need to pay attention to when testing for changes. So what should not go lower?

Actually, the score (log entries per second) of all of these four benchmarks shouldn't decrease.

I finally managed to run the benchmarks "original branch V2.2" versus the "proposed change #168". See below for the results. I think they can be considered the same considering measurement errors.  You probably know better how accurate the results are. Since the new version is measuring a slightly higher score (which actually cannot be) I think this is all inside the measurement errors.
Original V2.2:
Benchmark                  (async)   Mode  Cnt           Score         Error  Units
Tinylog2Benchmark.discard    false  thrpt<PHONE_NUMBER>080,036 ± 2526052,794  ops/s
Tinylog2Benchmark.discard     true  thrpt<PHONE_NUMBER>632,094 ± 2851738,447  ops/s
Tinylog2Benchmark.output     false  thrpt  100      190461,047 ±    2408,265  ops/s
Tinylog2Benchmark.output      true  thrpt  100      363798,345 ±    5810,157  ops/s
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  02:13 h

Modified Git5000 Issue #168:
Benchmark                  (async)   Mode  Cnt           Score         Error  Units
Tinylog2Benchmark.discard    false  thrpt<PHONE_NUMBER>231,891 ± 5153167,424  ops/s
Tinylog2Benchmark.discard     true  thrpt<PHONE_NUMBER>293,701 ± 6390528,418  ops/s
Tinylog2Benchmark.output     false  thrpt  100      208570,339 ±    2055,706  ops/s
Tinylog2Benchmark.output      true  thrpt  100      407206,758 ±    1068,143  ops/s
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  02:13 h

I agree, there seems to be no negative impact on the performance due to your changes :-) Looks very promising!
Maybe you found a performance tweak by accident or there were any side effects like hotter room temperatures during the first run. What ever was the reason, you have proofed that your code has no negative impact on the performance.

I think this issue can be closed now.

Fixed by #173


release of the gradle plugin has been built with too high a Java version

Whilst using the latest JDK for local development is generally fine, release builds should probably be done with the lowest JDK version you need to support. The current release of the interfacer gradle plugin was built with JDK 17 which causes a problem for me as I have to currently target JDK 11:
java.lang.UnsupportedClassVersionError: pl/matsuo/interfacer/gradle/InterfacerPlugin has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0

please rebuild/release using older JDK. I'd suggest using Java 1.8 as many users will still use it.

@tunguski please publish another release that can be used with Java 11.


Address TODOs in code

after #17

hehe, not quite what I had in mind ;-) I'll let it pass - but once the graphQL implementation has progressed, please go once through these issues, address the ones that have become clear, and open issues with a more detailed description for those that remain open

Oh I know 😝 but during this "rapid development" phase, I think its just easier to have TODOs in the code base rather than having to open loads of issues


Max length of the text for  the Universal Sentence Encoder input

What is the max length of the text for the Universal Sentence Encoder input?
https://tfhub.dev/google/universal-sentence-encoder/4
Thanks.

In the link :- https://tfhub.dev/google/universal-sentence-encoder/4 , max length is not mentioned.
The line "The input is variable length English text and the output is a 512 dimensional vector." implies that max length is not a definite entity.
Please confirm if this works good for you.

In the link :- https://tfhub.dev/google/universal-sentence-encoder/4 , max length is not mentioned.
The line "The input is variable length English text and the output is a 512 dimensional vector." implies that max length is not a definite entity.
Please confirm if this works good for you.

@lessenko , the input is a variable length English text as mentioned in the link.
Max length is not a definite entity.
Please confirm if this works for you.

@lessenko , the input is a variable length English text as mentioned in the link.
Max length is not a definite entity.
Please confirm if this works for you.

Thanks. It works for me. I tested 4KB and 16KB text without limit notice.

Thanks. It works for me. I tested 4KB and 16KB text without limit notice.

Closing #726

Closing #726


"progress": "events" should be outside of context block

Minor mistake:
https://github.com/seek-oss/skuba/blob/5ee92123246756a2bc2b055e1bcaa2c7d29653e3/template/lambda-sqs-worker-cdk/cdk.json#L23

Oops, missed this one @delsinz but it should be resolved in the next release by #797.


[Idea] Change author metadata schema to CITATION.cff spec

If the author metadata schema is slightly changed, support for https://citation-file-format.github.io/ would become easy, and can be generated with a simple script.
So instead of
authors:
  - name: Egon Willighagen
    orcid: 0000-0001-7542-0286

We would need
authors:
  - given-names: Egon
    family-names: Willighagen
    orcid: 0000-0001-7542-0286

According to the CITATION.cff spec, names can be split over 4 fields:

Values for family-names specify family names, including combinations of given and patronymic forms, such as Guðmundsdóttir or bin Osman; double names with or without hyphen, such as Leutheusser-Schnarrenberger or Sánchez Vicario. It can potentially also specify names that include prepositions or (nobiliary) particles, especially if they occur in between family names such as in Spanish- or Portuguese-origin names, such as Fernández de Córdoba.
Values for given-names specify given and any other names.
Values for name-particle specify nobiliary particles and prepositions, such as in Ludwig van Beethoven or Rafael van der Vaart.
Values for name-suffix specify suffixes such as Jr. or III (as in Frank Edwin Wright III).

I would leave orcid and affiliation as is, and convert that to spec in script.
Although CITATION.cff is for software and datasets, you can set preferred-citation to the article type, see https://github.com/citation-file-format/citation-file-format/blob/main/schema-guide.md#credit-redirection

Sounds good to me. Any concerns? Backward compatibility? @egonw @pjotrp

Sounds good to me too. We have to make sure we update all the code that depends on it (obviously).


RPROMPT expansion and async design

I'm submitting a ...

[x] bug report
[ ] feature request
[ ] support request

Do you want to request a feature or report a bug?

This is more along the lines of a support request or a bug report.

What is the current behavior?

VIM prompt and VERSIONS prompt are not updating properly.

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem

I have AM_ENABLED_VI_PROMPT=1, AM_VERSIONS_PROMPT=(PYTHON RUBY NODE), AM_KEEP_PROMPT=1, and AM_SEGMENT_UPDATE=0. Calling pyenv shell 2.7.15 does not update the python version in the prompt. Hitting <ESC> does not properly indicate the vi mode.

What is the expected behavior?

Versions and Vi prompts should update accordingly.

What is the motivation / use case for changing the behavior?

Ensuring that users are kept up to date with the latest information.

Please tell us about your environment:

Plugin Manager: zplug
ZSH Version: 5.7.1
OSX: 10.14

Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, etc)

I've actually been meaning to talk with you specifically about the Vi stuff, but in pulling down a recent update it seems the versions prompt is no longer updating either and if we focus on that I may better understand how to submit a PR for the Vi stuff.
So focusing on version prompts, I think what is happening here is that shells are being expanded too early? But at the same time, I don't want to remove the async design...
zsh's precmd is executed before every prompt. If I insert a echo -n $(pyenv version) here, it always displays the correct and most up to date version.
Inside of precmd, we call am_async_r_prompt. If I insert an echo -n $(pyenv version) here, it always displays the correct and most up to date version.
Inside of am_r_prompt, we call am_r_prompt_complete. This is the tricky thing... if I insert an echo -n $(pyenv version) here, I will always get the version that python was when the shell started. It does not stay up to date. (Almost as if the string is evaluated once at startup and then reused for the remainder of the shell session.)
One easy fix, is to replace the double quotes in am_r_prompt_complete to be single quotes. This fixes version prompts for me but also results in RPROMPT calling functions in I believe a very non-async fashion...
So, what is going on here? I would expect that when I debug printed the python version in am_r_prompt_complete that it would always be up to date. It does not seem to matter if AM_KEEP_PROMPT or AM_SEGMENT_UPDATE is set or not.

Thanks for reporting the issue.
Issue with pyenv shell 'version' occurs because of the usage of async job. When a (async) job starts it starts in a new shell and does not pass the ENV vars from current shell. As a result pyenv shell 'version' does not take effect in async jobs.
Hope fully I will come up with a work around soon.
AM_SEGMENT_UPDATE config has been removed a couple of days ago. It no longer has any effect.
AM_ENABLED_VI_PROMPT is actually an experimental feature. As I don't use VI mode myself, I haven't given much effort on it yet.

1.4.0 works because there was a bug in the use of async job. jobs were no actually running asynchronously.

4efd94f

Just pulled down this change, but it seems like the __import_env() method is having issues.
I put a set -x/set +x in this method and it seems to be getting weird input:
+__import_env:2> read -r line
+__import_env:2> echo $'\C-[[01;31m\C-[[KAM_\C-[[m\C-[[KENABLE_VI_PROMPT=1\n\C-[[01;31m\C-[[KAM_\C-[[m\C-[[KKEEP_PROMPT=1\n\C-[[01;31m\C-[[KAM_\C-[[m\C-[[KSEGMENT_UPDATE=0\n\C-[[01;31m\C-[[KAM_\C-[[m\C-[[KSHOW_FULL_DIR=1\n\C-[[01;31m\C-[[KAM_\C-[[m\C-[[KSHOW_PROCESS_TIME=2\n\C-[[01;31m\C-[[KAM_\C-[[m\C-[[KTHEME=terminal\n\C-[[01;31m\C-[[KAM_\C-[[m\C-[[KUSE_NERD_FONT=1'
+__import_env:3> eval $'export \C-[[01;31m\C-[[KAM_\C-[[m\C-[[KENABLE_VI_PROMPT=1'
(eval):1: bad pattern: ^[[01
...

You can see that the eval export is choking on ^[[01. I believe this is due to my grep containing colors by default. Adding a --color=never option to the grep command that initializes __AM_ENVS fixed the issue for me:
+__import_env:2> read -r line
+__import_env:2> echo $'AM_ENABLE_VI_PROMPT=1\nAM_KEEP_PROMPT=1\nAM_SEGMENT_UPDATE=0\nAM_SHOW_FULL_DIR=1\nAM_SHOW_PROCESS_TIME=2\nAM_THEME=terminal\nAM_USE_NERD_FONT=1'
+__import_env:3> eval 'export AM_ENABLE_VI_PROMPT=1'
+(eval):1> export AM_ENABLE_VI_PROMPT=1
...

With the __import_env() issue resolved, I'd expect that I could test the pyenv shell 2.7.15 output the same way I was before.
I've added an echo "${PYENV_VERSION}" to am_async_r_prompt() and an echo -n "test ${PYENV_VERSION} test" to am_r_prompt_render().
I then opened a new shell, verified the prompt and debug output was what I expected (ie; PYENV_VERSION is not set), and then ran pyenv shell 2.7.15 (ie; PYENV_VERSION is set). Unfortunately, the next prompt and debug output is not what I'd expect:

 ~ pyenv shell 2.7.15                                                   test test[PY:2.7.10|RB:2.3.7|⬡ 10.16.3] G:min [4D] 227998f ⭑
2.7.15
 ~                                                                      test test[PY:2.7.10|RB:2.3.7|⬡ 10.16.3] G:min [4D] 227998f ⭑

Notice how before the pyenv command, PYENV_VERSION was not set and therefore we get an empty line followed by a prompt with test  test.
Noice how just after the pyenv command, PYENV_VERSION is set and therefore we get the value of the variable followed by a newline and a prompt. This prompt shows test  test instead of test 2.7.15 test.

It seems to be working on my mac.
 am-demo pyenv shell 3.7.2                                  [ 2.7.16| 2.5.0| 9.10.1]
 am-demo pyenv shell 2.7.15                                  [ 3.7.2| 2.5.0| 9.10.1]
 am-demo rbenv shell system                                 [ 2.7.15| 2.5.0| 9.10.1]
 am-demo nodenv shell 5.3.0                                 [ 2.7.15| 2.3.7| 9.10.1]
 am-demo nodenv shell --unset                                [ 2.7.15| 2.3.7| 5.3.0]
 am-demo pyenv shell --unset                                [ 2.7.15| 2.3.7| 9.10.1]
 am-demo rbenv shell --unset                                [ 2.7.16| 2.3.7| 9.10.1]
 am-demo                                                    [ 2.7.16| 2.5.0| 9.10.1]

Can you share a little bit more about your environment?
Mine is:
Macbook Pro 2017 (15", core-i7, 16gb Ram)
Terminal: Iterm2

lol now it's working... just pulled down latest again and not having any issues!!

Glad to hear that :)
If you could share your thought about VI stuff I would be happy ......


JFXButton with RAISED produces problem in animation

Hi, I'm using version 8.0.3 of JFoenix and I'm having problems making an animation. This is the code:
@Override
    public void start(Stage primaryStage) throws Exception {
        JFXButton buttonOne = new JFXButton();
        buttonOne.setStyle("-fx-background-color:RED");
        buttonOne.getStyleClass().add("fab-button");

        JFXButton buttonTwo = new JFXButton();
        buttonTwo.setStyle("-fx-background-color:BLUE");
        buttonTwo.getStyleClass().add("fab-button");
        buttonTwo.setScaleX(0);
        buttonTwo.setScaleY(0);

        buttonOne.setOnAction(event-> {
            SequentialTransition transition = new SequentialTransition();
            Timeline timelineOne = new Timeline(new KeyFrame(Duration.millis(200),
                    new KeyValue(buttonOne.scaleYProperty(), 0.0),
                    new KeyValue(buttonOne.scaleXProperty(), 0.0)));
            Timeline timelineTwo = new Timeline(new KeyFrame(Duration.millis(200),
                    new KeyValue(buttonTwo.scaleYProperty(), 1.0),
                    new KeyValue(buttonTwo.scaleXProperty(), 1.0)));

            transition.getChildren().addAll(timelineOne,timelineTwo);
            transition.play();
        });

        buttonTwo.setOnAction(event-> {
            SequentialTransition transition = new SequentialTransition();
            Timeline timelineOne = new Timeline(new KeyFrame(Duration.millis(200),
                    new KeyValue(buttonTwo.scaleYProperty(), 0.0),
                    new KeyValue(buttonTwo.scaleXProperty(), 0.0)));
            Timeline timelineTwo = new Timeline(new KeyFrame(Duration.millis(200),
                    new KeyValue(buttonOne.scaleYProperty(), 1.0),
                    new KeyValue(buttonOne.scaleXProperty(), 1.0)));

            transition.getChildren().addAll(timelineOne,timelineTwo);
            transition.play();
        });

        StackPane pane = new StackPane(buttonOne,buttonTwo);
        Scene scene = new Scene(pane,400,400);
        scene.getStylesheets().addAll(InsertFileDigemid.class.getResource("/css/clario-main.css").toExternalForm());
        primaryStage.setScene(scene);
        primaryStage.show();
    }

STYLE CSS:
.fab-button{
    -fx-pref-width: 60;
    -fx-pref-height: 60;
    -fx-background-radius: 60;
    -fx-border-radius: 60;
    -fx-cursor: hand;
    -jfx-button-type: RAISED; /* this produce the problem */
}

What this class does is open and close two JFXButtons, but for some reason when the JFXButton is with RAISED type it does not show the second JFXButton. Now when I comment on the css code line:
.fab-button{
    -fx-pref-width: 60;
    -fx-pref-height: 60;
    -fx-background-radius: 60;
    -fx-border-radius: 60;
    -fx-cursor: hand;
 /*-jfx-button-type: RAISED;  this produce the problem*/
}

The animation works perfectly. What is causing this problem? Thank you :)

Hello,
That's a very weird and unexpected issue :s , will look into it. Thanks @TioCoding for pointing out the issue 👍
Regards,

Still not sure what's causing the issue :/, however I noticed that wrapping the buttons in a goup solve the issue:
StackPane pane = new StackPane(new Group(buttonOne,buttonTwo));

Sure thing, as the Group treats the child transformations and effects as part of its local bounds (unlike Pane).

And how could I solve the problem of 'Group'? For the animation to work perfectly together with the JFXButton and the style '-jfx-button-type: RAISED;'. Right now I have everything in a group, but in the same way when I activate the css '-jfx-button-type: RAISED;', every time I click on the JFXButton it moves by the shadow effect it has.


Install script not running if whiptail is not available

Tested on Fedora 39. The bash script does not work (no output) when whiptail is not installed on the system.
Maybe consider adding a note or a check for the command.
Thanks for the great script collection!

Hi @femto-code !
I appreciate your feedback. In the latest version, I've addressed your comments by removing whiptail from the installer. Now, you can seamlessly install the scripts on any Linux distribution.
Thank you for your input!


New header added

Went into an abstract level of what determines a brand based on all the self-development books I have been devouring.

[x ] I have read freeCodeCamp's contribution guidelines.
[x ] My pull request has a descriptive title (not a vague title like Update index.md)
[x ] My pull request targets the master branch of freeCodeCamp.
[x ] None of my changes are plagiarized from another source without proper attribution.
[x ] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Merging on behalf of @cmccormack


Add option to allow newlines in captions

Some datasets (e.g., YFCC) have new lines in captions, which causes parquet's csv module to error by default. This PR allows passing --newlines-in-captions True to img2dataset, which will in turn tell parquet to allow newlines in CSV values.

could you add an example of dataset for which this is needed please ?

I needed this for YFCC 100M - did you want that in the README/in the repo somewhere?

yes if you could add it in https://github.com/rom1504/img2dataset/tree/main/dataset_examples  it would be great

I also need this~ (I have a crawler, which gives me many raw web image-text pairs with newline in the text title).
Happy to see this is in~ @achalddave

could you please rebase on head / resolve conflicts ?


Warn if a suspended user has outstanding events/helper offers

Add a warning to the suspension confirmation screen if the person being suspended has outstanding events/helper offers.

Closed by 4359b96dbb52324b8c6b45baacea2cb6e0390bc0


Protocol specifiers are ambiguous?

If you use Unix file paths and delimiters, it seems like it would be really easy to make things ambiguous.
First off, I don't see a "file" protocol type, is this the the unix protocol type listed in protocols.csv?
If so, what happens if I make a file path /home/icefox/tcp/<IP_ADDRESS>/foo and try to represent it as a multiaddr path?
/unix/home/icefox/tcp/<IP_ADDRESS>/foo

Okay, that's a little artificial, and you could specify that you can disambiguate from context; a unix protocol address cannot contain a tcp protocol subaddress.  Though that seems to defeat the purpose; things stop being self-describing and become context-dependent.  (And on Plan9 you certainly can do TCP via the filesystem.)
Okay, what about a more concrete example using already defined protocols:
/wss/example.com/http/example.com

Is this accessing the websockets endpoint wss://example.com/http/example.com, or is it trying to nest the HTTP protocol inside the websockets endpoint wss://example.com/ ?

(Yes, I know this has been open for quite some time, but since nobody responded…)
I think you were being misled here:
MultiAddr is not about describing paths to data, but rather about describing paths to endpoints (applications on hosts). Your example of trying to describe a file path (/home/icefox/tcp/<IP_ADDRESS>/foo) therefor makes no sense in the context MuiltAddr, since it simply cannot describe these kinds of things. There is also no application you need to talk to to get access to that file hence there is no need for MultAddr at all.
(You could argue that you are still talking to the kernel hence on could argue that /kernel or /kernel-vfs or maybe also just /file may make sense, but that's not really what you meant to say.)  The /unix protocol refers to Unix domain sockets, not UnixFS-paths by the way.
Regarding the second example (/wss/example.com/http/example.com): First of all this doesn't mean what you probably intended it to mean, since that literally says establish a secure websocket connection somewhere using the HTTP/WS host field example.com, then talk HTTP for host example.com over that connection. As in, you are generically describing HTTP tunnelled over WSS here. You are also not adding any kind information where an application using this should connect to establish that WebSocket connection in the first place; a smart application may figure out that you meant /dns/example.com/tcp/tls/ws/example.com/http/example.com – or it may not. So, to stick with the well-known URL notation, what you actually described there is closest to the HTTP base URL http://example.com/ tunnelled over wss://example.com/ but it cannot fully be expressed like this. So yes, you could say it is being nested.
@Stebalien: Do you think this answers the above questions decently?


Convenience functions for wrapping expression in block

Builds on #57
What was wrong?
There are multiple places where we wrap an expression in a block before interacting with it.  Normally this was to ensure the operation was occurring within a valid call frame.
How was it fixed?
Added a convenience API to the Block instruction to make this less verbose.
Cute Animal Picture

Only 871f93a is relevant for this PR


What to do with file permissions?

What about os.chmod and pathlib.Path.chmod?

What about os.chmod and pathlib.Path.chmod?

As stated in #16, maybe we should add an option for it.
I am a bit busy at the moment, so give me a bit of time & I can make a PR for it.

What about os.chmod and pathlib.Path.chmod?

As stated in #16, maybe we should add an option for it.
I am a bit busy at the moment, so give me a bit of time & I can make a PR for it.

Sure

Edit: How did you map this repo's docs to http://restricted-functions.tk/? That looks really cool, but it would be nice if it supported HTTPS.

I used the _config file to "turn" the markdown into plain HTML, deployed it using Github pages, and finally used a kind of redirect to render it in the main webpage, and, no, unfortunately, it won't support HTTPS...

When should we add the help command?

It already implemented; this is what docstrings are meant for...


Remove extra function wrapper in deprecated Decoration::update method

While I was updating decoration-example to 1.0 APIs, I noticed that this Decoration::update call was not triggering a deprecation warning and might be wrong (because it will return a function which would need to be called again). I think the extra function wrapper is not needed so this removes it.
After removing it, the deprecation is correctly reported in Deprecation cop when calling Decoration::update.

Great catch :green_heart:


added loci

Pull Request Test Coverage Report for Build 389

142 of 143 (99.3%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.2%) to 95.205%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pyod/test/test_loci.py
82
83
98.8%

Totals

Change from base Build 384:
0.2%

Covered Lines:
2740

Relevant Lines:
2878

💛  - Coveralls

Pull Request Test Coverage Report for Build 389

142 of 143 (99.3%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.2%) to 95.205%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pyod/test/test_loci.py
82
83
98.8%

Totals

Change from base Build 384:
0.2%

Covered Lines:
2740

Relevant Lines:
2878

💛  - Coveralls

added loci


TND

I do not see website referenced as a link anywhere in the readme. I am going to close this, but if you want to provide a description explaining what this fixes feel free to re-open.


Add BERLIN denom for Evmos > Osmosis

Add BERLIN token asset to evmos assets.json
Add evmos > osmosis channel information for BERLIN token. Denom calculated as sha256(transfer/channel-204/erc20/0x1cFc8f1FE8D5668BAFF2724547EcDbd6f013a280)

Test transaction: https://www.mintscan.io/evmos/tx/A0BC49E9292C74711730819A3C5C55202DA5A6B8CD4DD7F160F0BEFD798CCBC6

Hi @sirnicolaz
your new asset looks Erc20 style, so please update erc20.jon, not assset.json

@wannabit-yongjoo sorry, I didn't know about this new rule. thanks, I have fixed it

No need to sorry.
We sorry for our lack of explanation.
thanks for understanding