Week 4 - Challenges

Sorts and Analysis -- Coding, Comments, and Documentation
Build custom Bubble Sort, Selection Sort, Insertion Sort and Merge Sort. 25%
Build a GitHub page that describes Sort implementations and the Big O complexity of these Sorts. 25%
Analysis 25%
Establish analytics including: time, comparisons and swaps.
Average the results for each each Sort, run each at least 12 times and 5000 elements.  You should throw out High and Low when doing analysis.
Make your final/judgement on best sort considering Data Structure loading, Comparisons, Swaps, Big O complexity, and Time.
Individual GitHub pages, Replit, IntelliJ 25%
Organize files, directories and menus for all weeks.
Make your GitHub pages fold into a personal portfolio
Make sure all Code and Analytics runs on Replit and IntelliJ
Ensure Individual GitHub Repository shows iteration on work (minimum of 10 commits on Java and 10 commits on Pages)

Sorts and Analysis -- Coding, Comments, and Documentation

[ ] Build custom Bubble Sort, Selection Sort, Insertion Sort and Merge Sort. 25%

[ ] Build a GitHub page that describes Sort implementations and the Big O complexity of these Sorts. 25%

[ ] Analysis 25%

Establish analytics including: time, comparisons and swaps.

Average the results for each each Sort, run each at least 12 times and 5000 elements. You should throw out High and Low when doing analysis.

Make your final/judgement on best sort considering Data Structure loading, Comparisons, Swaps, Big O complexity, and Time.

[ ] Individual GitHub pages, Replit, IntelliJ 25%

Organize files, directories and menus for all weeks.

Make your GitHub pages fold into a personal portfolio

Make sure all Code and Analytics runs on Replit and IntelliJ

Ensure Individual GitHub Repository shows iteration on work (minimum of 10 commits on Java and 10 commits on Pages)


3 typos

In the Configure a Production Public Key Infrastructure Section review is says: "Root certifcate authority certificate (Azure AD Joined devices)". Should be: "Root certificate authority certificate (Azure AD Joined devices)"
In the Azure MFA via ADFS Section Review it says: "Configure Azure Multufactor Authentiation features and settings". Should be: "Configure Azure Multifactor Authentication features and settings."

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

ID: b4784e8f-6d35-78d8-9160-7b39832a58d8
Version Independent ID: 7f79559a-3a6d-473b-1ec1-66746c461318
Content: Windows Hello for Business Key Trust New Installation (Windows Hello for Business)
Content Source: windows/security/identity-protection/hello-for-business/hello-hybrid-key-new-install.md
Product: w10
GitHub Login: @MikeStephens-MS
Microsoft Alias: mstephen

In tthe first lightblue box ist says: "Install the root certificate authority certificate for your organization in the user's trusted root certifcate store". Should be"Install the root certificate authority certificate for your organization in the user's trusted root certificate store."

@Ronald-den-Os Thanks, we'll get it fixed. Anytime you find errors like that, we encourage you to fix them directly! Start by clicking "edit" in the upper right of the topic. For instructions, see https://docs.microsoft.com/en-us/contribute/


SAMA5D2 pio errors

Summary
Added GPIO functionality revealed errors in the PIO related files for this processor
Impact
None to anything other than SAMA5D2 based boards, which will now work
Testing
GPIO example app used on a custom SAMA5D27-D5M board to check GPIO inputs and outputs as well as signals via interrupts which previously didn't work.

Let me know if there's anything else (apart from he static initialization discussed above) you'd like done. As I gain more GitHub experience (aka PAIN) I could close this and resubmit as a clean patch to most recent master? I think!

Closing as this is merged with other changes in a PR I have closed and same applies here - my lack of github skills have rendered the PR a waste of time.


[API Review] API review for azure-storage-queue

Can one of the admins verify this patch?

@johanste - is it okay to close these API review PRs now?


[HUDI-3239][Stacked on 4667] Convert BaseHoodieTableFileIndex to Java

Tips

Thank you very much for contributing to Apache Hudi.
Please review https://hudi.apache.org/contribute/how-to-contribute before opening a pull request.

What is the purpose of the pull request
Converting BaseHoodieTableFileIndex to Java, removing Scala as a dependency from "hudi-common"
Brief change log
See above
Verify this pull request
This pull request is already covered by existing tests, such as (please describe tests).
Committer checklist

[ ] Has a corresponding JIRA in PR title & commit

[ ] Commit message is descriptive of the change

[ ] CI is green

[ ] Necessary doc changes done or have another open PR

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

@alexeykudinkin Thanks for your contribution! Can you figure out why CI failed?

@yanghua there's a long stack of PRs, and there were issues w/ Metadata Table that were failing tests in the PR at the very bottom of it.
These issues have been addressed here in https://github.com/apache/hudi/pull/4716, and as soon as it lands i'll rebase onto it.

@yanghua there's a long stack of PRs, and there were issues w/ Metadata Table that were failing tests in the PR at the very bottom of it.
These issues have been addressed here in #4716, and as soon as it lands i'll rebase onto it.

Sounds good.

@hudi-bot run azure


Adding Blocks not possible in language other than 'English'

PHP Version
8.0.14
Shopware Version
<IP_ADDRESS>
Expected behaviour
It should be possible to add blocks to layouts no matter the language chosen, **
either by clicking the plus below a block already there or in the sidebar.
**(.. actually FMPOV it should/could also be possible to have different blocks in each language... but thats not the point)
Actual behaviour
If you have chosen 'DEUTSCH' f.i. and not 'English', you can not add blocks and the plus is greyed out for no
obvious reason.
Even if you warn about that in some paragraph, somewhere in the Docs or in some tutorial,
which I must have missed if it exists...
It's what I would call unexpected behaviour and
it most likely will baffle and or disgruntle a lot of people who dont exercise prudence.
BTW: Either this behaviour exists since 6.0.0 and no one ever took care about it.
or we already had this in some version around in 2019/2020
... see the following related forum entries:
https://forum.shopware.com/t/erlebniswelten-block-hinzufugen/61030 -->(very much like the actual issue)
https://forum.shopware.com/t/blocke-hinzufugen-entfernen-geht-nichtmehr/70921 -->(maybe related)
https://forum.shopware.com/t/im-layout-editor-erlebniswelten-lassen-sich-keine-blocke-einfugen/60994 -->(maybe related)
How to reproduce
1.) Just create a "Layout" fill it with blocks and fill their content in english first.
2.) Log out. >(I dont know if its only reproducable by logging out and)
3.) Log in.   >(than back in again, but i realized the issue on the next day after I logged in again)
4.) Switch to German
5.) Open some Layout for edting(in my case it was a landing page)
6.) et voila -> Now the plus-icon for adding blocks is greyed out.

Hello,
Within our company roadmap and work capacity, we try to address each bug or improvement request but admit that not each one will be resolved. To continue our culture of honesty and openness, we are closing this issue to focus on our roadmap on behalf of all Shopware users.
If you feel like this issue is still impacting you, please create a new issue and let us know.
Thank you again for your valuable feedback.


The 'IdleStart' is triggered when the option.idle is set too large.

In the source code, it adds a delay function with $interval and options.idle as delay interval,
but it seems there is a maximum delay interval value for $interval, when the delay interval is too big, this delay function will be triggered right away.

As far as I can tell, the the delay parameter for $interval (which is just setTimeout internally) is just a signed int32. That gives you a max delay of 2,147,483,647 milliseconds, which is nearly 25 days. Do you need an application to sit in the browser for 25 days before they are considered idle?

I encountered this issue as well. One of my developers put in 900000000 on his development machine because he got tired of being signed out. When he did so, he wasn't able to sign-in anymore. We are adding validation to the setting in our UI, but it would be nice if ng-idle did its own sanity checking. I doubt anyone needs over 25 days.

Thanks for replying me,
the interval with maximum 25 days is not a problem,
the problem is the developer has to investigate the issue source to the library code,
I agree with @heck4 , it's better to add some validations in the library.


Move Beanstalk driver to new namespace

See #256.

Cool, yeah happy to change that. Another option I considered is a more specific Pheanstalk namespace.

With our current requirement of the "pda/pheanstalk" lib, a pheanstalk namespace would be more correct imo
What do you think @sagikazarmark?

I don't mind either way. The current name is pheanstalk, so sticking to it probably makes the transition easier for others.
Also, thanks for your outstanding work @namoscato , sorry I haven't responded earlier. I will try to review your PRs before the end of the year, that's the best I can promise at the moment.

I will also try to go through all pr's and submit a review. Hopefully this will make it easier to merge (or atleast quicker)

@namoscato thanks a lot, outstanding work!


fix(4allportal): set systemApiKey in uuidv4 format

WebDav deployment missing environment SYSTEM_API_KEY unless I am mistaken

Its intended.


✨ REDIS as a cache

Redis as remote cache

https://console.aiven.io/

Implementing As part of debugging remote cache

#1328


fix(deps): Remove invalid @tsed/exceptions from peerDependenciesMeta

Information

Type
Breaking change

Fix
No

Resolves https://github.com/tsedio/tsed/issues/2238.
Todos

[ ] Tests
[ ] Coverage
[ ] Example
[ ] Documentation

:tada: This PR is included in version 7.13.6 :tada:
The release is available on:

v7.13.6
GitHub release

Your semantic-release bot :package::rocket:


Updating the plugin to CakePHP 3.4 changes

Updating the plugin to CakePHP 3.4 changes

Coverage decreased (-0.2%) to 38.143% when pulling e9e869acc6ab4d502ba85acf2bb00115afbb81b4 on develop into c7b309c45004f92ee48162e6f57b22beeebcf8c3 on master.

Coverage decreased (-0.2%) to 38.143% when pulling 33a58f63fb9540e099a0b907715a5833d9b1ef95 on develop into c7b309c45004f92ee48162e6f57b22beeebcf8c3 on master.

Coverage decreased (-0.6%) to 37.811% when pulling e8f6623f7b71a4f50f2d932361eda6e195a93ce2 on develop into c7b309c45004f92ee48162e6f57b22beeebcf8c3 on master.


Create .htaccess

fixing https://github.com/repman-io/repman/issues/154

Although we do not officially support the configuration for Apache, we can do it, for people wanting to set up their own instance will definitely be useful. Thanks.


Plug-in should be verified

As a user, the verified tag can significantly improve my potential use of the plug-in.
If this is going to be deployed on NPM so my device can access it, I’d prefer if the plug-in can be verified by the homebridge team.

Known issues

The plug-in may be able to have errors reach homebridge, ensure try/catch blocks are around all entry points

Request submitted:
https://github.com/homebridge/verified/issues/419

Removing from the 1.0.0 milestone as the homebridge team may take as much time as they require to do the review. Not entirely sure when this item will be completed, and 1.0.0 is ready for release.


Go 1.4.2 released!

Can we upgrade this build pack to 1.4.2 please!
https://golang.org/doc/devel/release.html
go1.4.2 (released 2015/02/17) includes bug fixes to the go command, the compiler and linker, and the runtime, syscall, reflect, and math/big packages. See the Go 1.4.2 milestone on our issue tracker for details.

You may want to check out https://github.com/heroku/heroku-buildpack-go

Also if you are using godeps, 1.4.2 is already supported, just bump your godep file.


Any difference with performance between NanoRWKV-BitNET and NanoRWKV

Yes, at least at small model sizes, BitNet b158 performs worse than normal bfloat16 precision.


2FA Phone verification

User Story
As a user I like to add my phone number , so that I ama able to receive verification code
Description
User is able to add phone number base on the international code and get 6 digit number from phone device.
Acceptance Criteria
Sending data to Google Firebase Authentication
Receive the token-based auth to the local storage
Testing
Error handling
No Conflicts

Done Implementation


Implemented "Enable log levels per module" example

I'm not sure if the explanation is clear enough.
Also grouped the env_logger based examples together

Are these "\t" characters the recommended way to use env_logger? I don't see it in their documentation.

Oh it's for alignment in the output at the bottom, I see. I would prefer to log just plain messages the way the user probably would want to.

Fixed. Sorry for wasting your time. I was afraid the description was unintelligible.


Video training data

Hi,
I was going through the paper that this repository implements. The architecture diagram shows an interrelation between frames of a clip, however, in the repository I was unable to find a way to train the model using video clips or a bunch of consecutive frames. Could you please direct me to such a thing if I am missing it?
Thanks

Thanks for your interest in our work. The figure in the paper shows the architecture of T-ViPNAS, which contains the temporal connections. Currently, we just reimplement S-ViPNAS, which is a image-based pose estimator, based on MMPose. Thus, training on videos has not been included in the repository.


Fix typo in plasma protocol.

+1 for the change

Could this error have caused any problems? Any way to test for it (e.g. a DCHECK someplace?)?

Good question! The method is tested here:
https://github.com/apache/arrow/blob/master/cpp/src/plasma/test/serialization_tests.cc#L176
What we could do is injecting flatbuffer verifier calls in all the methods in plasma_protocol (only in debug mode); I don't think flatbuffers::GetRoot has a way of detecting that the wrong message was read. What do you think?

PlasmaSealRequest covers PlasmaReleaseRequest, in plasma.fbs. (For "object_id: string;" is also the first field in PlasmaSealRequest.) I think that's why no error occured, flatbuffers is just casting types from void*.  Agree with @pcmoritz, maybe can use the Verify method for checking in test.

Ok, I created a JIRA here: https://issues.apache.org/jira/browse/ARROW-1255
@Yeolar: Do you want to tackle it as part of this PR? We can probably do this with minimal code duplication (and effort) by making a new method that replaces flatbuffers::GetRoot and checks with the verifyer. Maybe such a method already exists in flatbuffers.

@pcmoritz , I've submitted a new PR https://github.com/apache/arrow/issues/887, please have a look if it's apposite. By the way, when compiling arrow, it seems plasma not compiled, how to include?

Thanks, I'll have a look! Here is a draft of the documentation on how to make Plasma work: https://github.com/pcmoritz/arrow/blob/724fd2f4dbd2655bcd33d8e672198fd1b704c75a/python/doc/source/plasma.rst
The gist of it is that you need to pass -DARROW_PLASMA=on into CMake when compiling the C++ part of arrow and then set the environment variable PYARROW_WITH_PLASMA=1 when running setup.py.
The documentation is work in progress (see https://github.com/apache/arrow/pull/881), let us know if you have ideas on how to improve it. The Python documentation should already work, the C++ one I need to fix first, I'll do that in the next couple of days.


Feature/matching dsl related to #20

Added barebones of matching
ToDo:

[x] Outputs
[ ] Matching

[x] Constants

[x] NumberMatching
[x] String Matching 'world'
[x] String Operations

[x] StartsWith: 'hello'*
[x] EndsWith: *'hello'
[x] Contains: 'hello'
[x] Match instructions already seen (e.g. "(sub {lhs: (add {x} $y)} $y)") - the first occurance of an $ will be saved and later will be compared with it and make it available to output subexpressions that matches a pattern

[x] Ignore Argument "_"
[x] Not Operator "!"
[x] Match Sub Pattern
[x] Match Binary Instructions
[ ] Match Other Instructions
[x] Match Type Specifier  (add {x}#const (mul {y}#instr)) and (add #const {x})
[x] Number Operations

[x] > <

[x] Update Docs
[ ] Replacement

There is a problem with the replacement and I am not sure if its relevant or how we could handle it.
If I have this expression: (sub {lhs:(add $x $y)} $y) -> $x that matches and replace the sub-instruction with the value of $y. But if the value is a constant it cannot be replaced, because constants are no valid instructions therefor there forbidden in the root level of a basic block. The ReplaceWith method cannot handle non Instruction values https://github.com/dubiousconst282/DistIL/blob/018b1bdcbc70dd30424dad367245ca3d951cb556/src/DistIL/IR/Instruction.cs#L72
If I run the pattern it deletes the binary instruction.

You can use ReplaceUses() instead of ReplaceWith() to replace uses but keep the instruction in the block, constants still derive from Value and they will be handed correctly. To avoid leaving unused instructions behind, I suggest adding a small check like if (inst.NumUses == 0) inst.Remove().

Closes #20


Create a role to change shell to zsh

Ensure that it fixes the issues after installing zsh
https://stackoverflow.com/questions/13762280/zsh-compinit-insecure-directories
solution: compaudit | xargs chmod g-w


Output SMT log also to custom run directory

[ ] ~Tests added for any new code~
[x] Ran make fmt-fix (or had formatting run automatically on all files edited)
[ ] ~Documentation added for any new functionality~
[x] Entries added to ./unreleased/ for any new functionality

Write the SMT log also to a custom rundir specified with --run-dir=.
Closes #2206

Codecov Report

Merging #2208 (7e200cd) into main (4f82ca5) will increase coverage by 0.00%.
The diff coverage is 72.72%.

@@           Coverage Diff           @@
##             main    #2208   +/-   ##
=======================================
  Coverage   80.62%   80.63%
=======================================
  Files         426      426
  Lines       13929    13930    +1
  Branches     1854     1851    -3
=======================================
+ Hits        11230    11232    +2
+ Misses       2699     2698    -1

Impacted Files
Coverage Δ

...rsyte/apalache/tla/bmcmt/smt/Z3SolverContext.scala
81.87% <72.72%> (+0.46%)
:arrow_up:

.../at/forsyte/apalache/tla/bmcmt/RewritingRule.scala
66.66% <0.00%> (-33.34%)
:arrow_down:

...syte/apalache/tla/bmcmt/rules/aux/PowSetCtor.scala
82.75% <0.00%> (-3.45%)
:arrow_down:

...n/scala/at/forsyte/apalache/io/OutputManager.scala
17.39% <0.00%> (+1.44%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Better jurisdiction selection, fixes w/ no API key

adds California, Indiana, and Louisiana as selections

don't show Louisiana for the Tyler specific interviews

only shows which jurisdictions are enabled on the proxy server
for unauth, make sure that the API key we have is correct, otherwise, there's nothing we can do.

Did some manual tests with Appearance, looks okay still. Going to merge


[Enhancement] Refactored statistics expired logic and support Drop statistics statement

What type of PR is this：

[ ] bug
[ ] feature
[x] enhancement
[ ] refactor
[ ] others

Which issues of this PR fixes ：

Fixes #
Problem Summary(Required) ：

Added dropStats statement to support deleting basic statistics
Improve the function of drop histogram statistics, and delete meta and histogram analyze status at the same time
Add analyze status expiration function, records that exceed the time will no longer be retained
If the entity of the table is deleted, the corresponding statistics related information will also be deleted (meta, analyze status, data, cache stats)

Need test cases

need more comments

Added dropStats statement to support deleting basic statistics
Improve the function of drop histogram statistics, and delete meta and histogram analyze status at the same time
Add analyze status expiration function, records that exceed the time will no longer be retained
If the entity of the table is deleted, the corresponding statistics related information will also be deleted (meta, analyze status, data, cache stats)

run all

[FE PR Coverage Check]
:disappointed: fail : 19 / 148 (12.84%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/ast/AstVisitor.java
0
1
00.00%
[422]

:large_blue_circle:
com/starrocks/statistic/StatisticExecutor.java
0
10
00.00%
[91, 92, 94, 97, 98, 99, 100, 101, 102, 103]

:large_blue_circle:
com/starrocks/statistic/StatisticsMetaManager.java
0
2
00.00%
[357, 358]

:large_blue_circle:
com/starrocks/sql/ast/DropHistogramStmt.java
0
1
00.00%
[40]

:large_blue_circle:
com/starrocks/persist/EditLog.java
0
15
00.00%
[838, 839, 840, 848, 849, 850, 858, 859, 860, 1482, 1483, 1490, 1491, 1498, 1499]

:large_blue_circle:
com/starrocks/journal/JournalEntity.java
0
9
00.00%
[620, 621, 622, 630, 631, 632, 640, 641, 642]

:large_blue_circle:
com/starrocks/statistic/AnalyzeManager.java
2
77
02.60%
[109, 110, 117, 118, 119, 120, 121, 123, 124, 125, 126, 127, 128, 131, 132, 133, 134, 136, 137, 138, 139, 140, 141, 153, 154, 161, 162, 163, 164, 167, 168, 169, 172, 173, 180, 181, 182, 183, 184, 185, 188, 189, 191, 192, 193, 194, 195, 198, 199, 200, 201, 202, 204, 205, 206, 207, 208, 211, 212, 213, 214, 215, 217, 220, 222, 223, 224, 226, 227, 228, 229, 230, 231, 232, 233]

:large_blue_circle:
com/starrocks/qe/StmtExecutor.java
1
15
06.67%
[472, 825, 826, 827, 828, 830, 831, 832, 833, 838, 839, 841, 842, 843]

:large_blue_circle:
com/starrocks/sql/ast/DropStatsStmt.java
5
7
71.43%
[27, 32]

:large_blue_circle:
com/starrocks/sql/analyzer/Analyzer.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/sql/parser/AstBuilder.java
3
3
100.00%
[]

:large_blue_circle:
com/starrocks/statistic/StatisticSQLBuilder.java
4
4
100.00%
[]

:large_blue_circle:
com/starrocks/sql/analyzer/AnalyzeStmtAnalyzer.java
2
2
100.00%
[]

run starrocks_admit_test

run starrocks_admit_test


HTML_TRACK_REMAINING resets selected tab every few seconds

In the 'Remaining ports' section (feature HTML_TRACK_REMAINING) the selected tab gets reset every few seconds, making it hard to look beyond the first 10 remaining ports.
(Poudriere 3.2.7)

Yeah it's horribly inefficient and redraws it rather than updating it. (#386 related)


Mercury or Free Chlorine?

For the 9th element of the strip, is it Mercury or Free Chlorine? We found two images on line, one says Mercury, the other says Chlorine.

It is Mercury! Need to put the new colors in.


Turn regular expressions into a separate page

They are hidden away in pattern matching now but I feel they deserve their own place, especially since after that page was written we added support for various other regex operations (e.g. regex replace, extract, etc).

We should perhaps also document the RE2 regular expression syntax that we support


Query for stakepools in run tx build

Query for stake pool ids to pass into makeTransactionBodyAutoBalance.
Merge multiple separate queries into a single connection.
New query stake-pools command.

This is a second attempt for https://github.com/input-output-hk/cardano-node/pull/3152

bors merge


Not a Issue

LOL I am also here to see how p2p work on LAN in flutter. Lan Games really attracts I played LAN game CS GO on PC and Ben 10 in Android.

Yeah! I'm sure there's a lot of interesting applications.


Move resolves to notifies for "active" plugins

Some plugins, like the Geolocation plugin have services that do continuous notifications (like watchPosition). Those should use the promises's notify function.

Hi @mlynch, I think we should reopen this one as the Geolocation's watchPosition mock is resolving the promise several times instead of notifying as it should be doing.


Install.sh should install a service file

That runs Bacalhau using systemd (or equivalent)

what do you want the service file to do ?
I wrote these service files for the VMI to run bacalhau serve and restart the service when it fails
[Unit]
Description=Bacalhau Daemon
After=network-online.target
Wants=network-online.target systemd-networkd-wait-online.service

[Service]
Environment="LOG_TYPE=json"
Environment="BACALHAU_DIR=/data"
Environment="BACALHAU_ENVIRONMENT=local"
Restart=always
RestartSec=5s
ExecStart=bacalhau serve ${args}

[Install]
WantedBy=multi-user.target

[Unit]
Description=Startup Script
After=network-online.target
Wants=network-online.target systemd-networkd-wait-online.service

[Service]
ExecStart=/usr/local/bin/startup-script.sh
Restart=on-failure
RestartSec=10s

[Install]
WantedBy=multi-user.target

#! /bin/bash

echo "Startup script is running as user: $(whoami)"

CONFIG_FILE="/etc/config.yaml"

echo "Fetching node type..."
NODE_TYPE=$(curl -f http://metadata.google.internal/computeMetadata/v1/instance/attributes/node_type -H "Metadata-Flavor: Google")
CURL_STATUS=$?

if [ $CURL_STATUS -ne 0 ]; then
    echo "Error fetching NODE_TYPE. Exiting..."
    exit 1
fi

echo "Node Type: $NODE_TYPE"

if [ "$NODE_TYPE" = "requester" ]; then
    echo "Node type is requester."
    if [ ! -f $CONFIG_FILE ]; then
        sudo cp /etc/requester_config.yaml $CONFIG_FILE
    fi
else
    echo "Node type is not requester. Fetching requester IP..."
    REQUESTER_IP=$(curl -s -H "Metadata-Flavor: Google" "http://metadata.google.internal/computeMetadata/v1/instance/attributes/requester_ip")
    echo "Requester IP: $REQUESTER_IP"
    if [ ! -f $CONFIG_FILE ]; then
        sudo cp /etc/compute_config.yaml $CONFIG_FILE
        sed -i "s/\${requester_ip}/$REQUESTER_IP/g" $CONFIG_FILE
    fi
fi

if [ ! -d /data ]; then
    sudo mkdir -p /data
    sudo chmod 0700 /data
    echo "/data directory created."
else
    echo "/data directory already exists. No need to create."
fi
if [ ! -f /data/config.yaml ]; then
    echo "Moving configuration file..."
    sudo mv "$CONFIG_FILE" /data/config.yaml
else
    echo "Configuration file already exists, not moving."
fi

echo "Checking and moving service files..."
if [ ! -f /etc/systemd/system/bacalhau.service ]; then
    sudo mv /etc/bacalhau.service /etc/systemd/system/bacalhau.service
else
    echo "Service file already exists in target location, not moving."
fi

echo "Reloading systemctl daemon..."
systemctl daemon-reload

echo "Handling Docker service..."
systemctl enable docker
systemctl restart docker

echo "Enabling bacalhau service..."
systemctl enable bacalhau.service
systemctl restart bacalhau.service


Added functions for searching/selecting compressed blocks

Found a bug. Will send another PR soon.

@weltling
You may want to have a look now. I have converted back @cruppstahl's code to pure C, added more tests and benchmarks.  I am hoping that adjusting the build for Visual Studio should be easy now.

@lemire, oki, i should come to this soon.


How can I set azureFunctions.requestTimeout?

I have an Azure Function that is getting the error
Request timed out. Modify setting "azureFunctions.requestTimeout" if you want to extend the timeout.
when invoked locally.
My problem: How do I set this?
I found
https://github.com/microsoft/vscode-azurefunctions/blob/main/package.nls.json
and
https://github.com/microsoft/vscode-azurefunctions
but I still don't know how to set the timeout value.
In my host.json I have
"functionTimeout": "01:00:00",
but that doesn't seem to be what I need.

To change this timeout, you need to change your vscode/settings.json. The easiest way to do this is to either edit the json directly.
Alternatively, you can press F1 to open the command palette:

Search for the azureFunctions.requestTimeout setting

Thanks! This did exactly what I needed, at least locally. I modified .vscode/settings.json, changing the default of 15 to 30, and the function ran successfully on my PC.
Does the same setting exist in the cloud? If so, it's probably not in .vscode.

I believe there is a setting called functionTimeout in the host.json. I haven't tried it myself, but here is the post  discussing it.

Yes, I was aware of functionTimeout and that its possible values depend on the service plan. This is an important setting for me. However, there is a big difference between request timeout and function timeout, and I need both.
Now, even though azureFunctions.requestTimeout is set locally, in .vscode/settings.json, I have the impression that it is being replicated to some place on the host as well. In any case, I am no longer getting these errors
Request timed out. Modify setting "azureFunctions.requestTimeout" if you want to extend the timeout.
locally, and not on the host, either so the problem is solved for me.
Thanks again. I will close this issue.


Make cammount work out of the box

Cammount does not just work on a fresh install.
Aside from the client configuration issue mentioned in issue #2 , we also need fuse installed and configured correctly. (camli user in fuse group).
Probably worth it, as that should be all doable in the Dockerfile.

two additional problems:
-need to remember how to modprobe fuse on boot
-even after camli user is added to fuse group, cammount fails because
camli@scw-37ee3f:~$ ll /etc/fuse.conf
-rw-r----- 1 root systemd-journal 280 May 24  2013 /etc/fuse.conf
no clue why it belongs to systemd-journal group instead of fuse group

https://github.com/scaleway-community/scaleway-camlistore/pull/7
fixed the above problems, but probably not in the best way, so leaving the issue open for when/if someone else comes along with a better fix.


Rename AboutAsserts to AboutExpects

When starting the Koans it was hard to find the correct file because of naming inconsistencies
This commit:

Renames AboutAsserts file and module to AboutExpects
Anywhere an assert method was referenced reference expects instead

I wasn't sure if the tests should reference the specific expect method or not, for now I left them all as expect.
test "expect tests for equality" vs test "expect.equal tests for equality"

Thanks for doing this! I think changing it to like "Expect.equal tests for equality" would make the most sense.
You'll need to change the module name in https://github.com/robertjlooby/elm-koans/blob/master/src/Koans.elm and https://github.com/robertjlooby/elm-koans/blob/master/src/KoansNode.elm as well.

Went ahead and made those changes! Thanks.

It also needs to be changed in the mains of both the runners as well

Fixed. Looks like I should be a little more thorough, thanks for the pointers.

Thank you! 🎉


Auto column resize on double click

Hi
Is this possible to auto resize a column when i double click on the separator ?
Thks

I implemented this feature in the currently pending pull #1498

PR #1503 has been merged. Could you please close the issue?
Cheers =)


Add to linting via scalafmt

This will be updated with a poorly formatted commit.

Subsumed by #252


Is it possible to use CPM to include boost

Hi, is it possible to use CPM to include and build Boost, or do packages need to follow good CMake practices? Can you use something like:
CPMAddPackage(
NAME boost
GITHUB_REPOSITORY boostorg/boost
VERSION 1.70.0
GIT_TAG boost-1.70.0
)
if (boost_ADDED)
add_library(boost INTERFACE IMPORTED)
target_include_directories(boost INTERFACE "${boost_SOURCE_DIR}/include")
endif()
target_link_libraries(asio-test PRIVATE boost)

Yes, that will indeed get you all boost libraries that don't require building. For boost libraries that require building (such as boost asio) you will need to configure the build manually in CMake.
Note that the include path must be the boost source directory and that downloading the released archive is much faster than cloning the entire boost git repositories.
CPMAddPackage(
  NAME boost
  VERSION 1.70.0
  URL https://dl.bintray.com/boostorg/release/1.70.0/source/boost_1_70_0.tar.gz
  URL_HASH SHA256=882b48708d211a5f48e60b0124cf5863c1534cd544ecd0664bb534a4b5d506e9
)

if (boost_ADDED)
  add_library(boost INTERFACE IMPORTED)
  target_include_directories(boost INTERFACE "${boost_SOURCE_DIR}")
endif()

FYI I've found a project attempting to port boost to CMake. This makes it easy to add boost and build the required components for asio.
CPMAddPackage(
  NAME boost
  GITHUB_REPOSITORY Orphis/boost-cmake
  VERSION 1.67.0
)

target_link_libraries(asio-test Boost::system)

Thanks so much for the quick reply! I will go and test it all now.

I'm struggling to get the boost filesystem working right.

CPMAddPackage(
  NAME tabulate
  GITHUB_REPOSITORY p-ranav/tabulate
  GIT_TAG origin/master # this holds boost 1.70?
)

set(Boost_USE_STATIC_LIBS ON)
target_link_libraries(Sortnet PUBLIC boost Boost::system)

error message:
CMake Error: install(EXPORT "SortnetTargets" ...) includes target "Sortnet" which requires target "Boost_system" that is not in any export set.
My project is here
Is there a project right now that is able to do this?

Hm once I have some time I can check in detail, but from the sound of it it seems that CMake is complaining about Boost not creating an installable target. This would lead packageProject() to fail. Can you configure the project if you erase the packageProject command?

And if that fails maybe you could avoid boost by using std::filesystem which is part of C++17.

Yeah, my dependency is fairly light, so for me its not much of an issue to switch.
I tried deleting the build folders but that suddenly started stating that Boost already existed in my _dep folder after trying to rebuild it. I decided to swap it out with std::filesystem. But I wasn't able to figure out the error message im afraid.


No model class TaskRecord is created?

I don't if I am right, but I haven't seen a TaskRecord class after I have run "rails generate after_party:install" command. Is that a problem?
In addition, after I ran "rails generate after_party:task" command this line was generated: "TaskRecord.create :version => '20151217165103'"
Then I've got 'Can't mass-assign protected attributes: version' error

You should be able to access it as "AfterParty::TaskRecord"
Can you tell me which version of Rails and this gem you are using?  There was a previously reported issue that should be fixed now with Rails 3.

Will reopen if the issue persists.

I'm having this issue now. rails <IP_ADDRESS> and after_party 1.10.0 @theSteveMitchell was there a resolution?


[TFLite 16x8] ADD/SUB operators: fixes + tests for versioning

In this PR:

tests for versioning of operators ADD/SUB
some fixes:
maximum version of ADD has been changed to 3 for 16x8, so I updated places, where it is mentioned as 4
both inputs for SUB operator should be quantized to int16 as for it is done for ADD
as discussed: only general case of reference kernel for 16x8 SUB/ADD will be used for the new models
It has been suggested to modify quantize_model.cc file and set option pot_scale_int16 to false during quantization - implementation is done this way.

@wwwind Can you please take a look on the above comment from @akarmi. Thanks!


@conda-forge-admin, please add user @ljn917

Additional comment:
No response

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I added user @ljn917 in conda-forge/rdchiral_cpp-feedstock#11.


Is heif supported in AWS Lambda arm64?

Question about an existing feature
I'm using AWS Lambda Arm64 architecture and have ran into this issue when processing heif images, which works fine in 86_x64.
Here is the error message:
heif: Unsupported feature: Unsupported codec (4.3000)
Please help me figure out possible solutions without going back to 86_x64 arch.
What are you trying to achieve?
Process HEIF files in Arm64 AWS Lambda architecture.

When you searched for similar issues, what did you find that might be related?
Found nothing mentioning HEIF and Arm64 support.

The prebuilt binaries provided for both x64 and arm64 support AVIF (HEIF+AV1) images. None of the prebuilt binaries support patent-encumbered HEIC (HEIF+HEVC) images.
If your question is about the former, AVIF, then please can you provide a sample image that works on x64 but not arm64.

I see, thank you for breaking it down like that, it makes much more sense. I guess I'm out of luck if it is HEIF+HEVC, but do you know if there is any possible workaround to decode HEIC?

https://github.com/lovell/sharp/issues/2000#issuecomment-756162296


Demo site is down.

Hey
The demo site is down for good. You need to move the code. Would love to have it fixed so I can get my token/id.

I've put a new demo multiplex server on glitch and updated the readme. If you switch from https://reveal-js-multiplex-ccjbegmaii.now.sh/ to https://reveal-multiplex.glitch.me/ it should work.
I'm not sure what the hosting limits are on glitch but will keep an eye on it in case we need to move elsewhere.

Sounds awesome thank you!


It seems LOG_FIRST_N doesn't work correctly in class member if the class has multiple instances

I simply check the LOG_FIRST_N implementation ,it defines a static var as a counter.
Say if I use LOG_FIRST_N(INFO, 3) in a class member, and there are many instances of this class in my program, It only log 3 times in all. But I expect to log 3 times in each instance.
So how to achieve this?

Glog is not aware of any class instances thus logging n times per instance is not possible.


[do-242] fix helm

What does this PR do?
🛑 Please open an issue first to discuss any significant work and flesh out details/direction - we would hate for your time to be wasted.
Consult the CONTRIBUTING guide for submitting pull-requests.

Motivation

Resolves #

More

[ ] Yes, I have tested the PR using my local account setup (Provide any test evidence report under Additional Notes)
[ ] Yes, I ran pre-commit run -a with this PR

For Moderators

[ ] E2E Test successfully complete before merge?

Additional Notes

thank you for the PR! Lets start with an issue and describe the problem you are facing


Initial commit for esisdk resource class

Update: functional tests succeeded
How to run functional tests on demo server:

export OS_CLOUD=devstack-admin
export OS_FUNCTIONAL_NODE_UUID='1719'
source /home/stack/danni/py37-new/bin/activate
tox -e functional

TODO:

Add more test cases

Looks good - thanks!


wireguard / open vpn nothing works

My ISP has recently changed my IP. Everything worked up to that point. PiHole, Plex, Torrents, OpenVPN.
Still everything works apart from VPN.
I'm at
After multiple tries and issues/errors reboots, I've tried, I noticed that the issue occurred due to the new IP being stuck in the config.
I then started reinstalling, reconfiguring, changing from OpenVPN to WireGuard, nothing worked.
After 7 hours of trying I ended up successfully connecting to WG however without any network or even local access.
I have 0 experience with WG so I would assume that although the profile is "active" and "connected" there is no connectivity whatsoever (local/internet).
51820 port is forwarded.
I have some screenshots for anyone that may guide me in the right direction.
Thank you

I'm in bullseye so I removed /etc/apt/preferences.d/pivpn-limit-bullseye.
Help me :(

OpenVPN also does not work. Everything looks fine everything is exported fine, but no connection whatsoever.
I think the problem is the network panel of rpi showing tun0 tun1 lo and wg mixed up all together.
Screenshots to follow

No configuration whatsoever available for tun0, tun1, lo and i even lost wifi device as well.
Again, if anyone can help, please do.

sudo ifdown --force wlan0, ifdown
unknown interface wlan0
sudo ifup wlan0
ifup: unknown interface wlan0

iplink
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000
    link/ether dc:a6:32:29:8e:97 brd ff:ff:ff:ff:ff:ff
3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000
    link/ether 62:35:1b:92:65:26 brd ff:ff:ff:ff:ff:ff permaddr dc:a6:32:29:8e:98
4: tun0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN mode DEFAULT group default qlen 500
    link/none
5: tun1: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN mode DEFAULT group default qlen 500
    link/none
6: wg0: <POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1420 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/none

My ISP has recently changed my IP.

You need to edit the endpoint then. Did you do that? Did PiVPN work before changing the IP? Please post pivpn -d.

i completely reset pivpn and now it shows the correct ip yes, but I must've somehow effed up the connections
my pivpn-d
pi@raspberrypi:~ $ pivpn ovpn -d
::: Generating Debug Output
::::		PiVPN debug		 ::::
=============================================
::::		Latest commit		 ::::
Branch: master
Commit: c7bbb9fda21d641071e58145a2d51766bea33082
Author: 4s3ti
Date: Sun Apr 24 23:11:59 2022 +0200
Summary: Update Issue Report
=============================================
::::	    Installation settings    	 ::::
PLAT=Raspbian
OSCN=bullseye
USING_UFW=0
pivpnforceipv6route=0
IPv4dev=eth0
IPv4addr=<IP_ADDRESS>/24
IPv4gw=<IP_ADDRESS>
install_user=pi
install_home=/home/pi
VPN=openvpn
pivpnPROTO=udp
pivpnPORT=11985
pivpnDNS1=<IP_ADDRESS>
pivpnDNS2=
pivpnSEARCHDOMAIN=
pivpnHOST=REDACTED
TWO_POINT_FOUR=1
pivpnENCRYPT=256
USE_PREDEFINED_DH_PARAM=
INPUT_CHAIN_EDITED=1
FORWARD_CHAIN_EDITED=1
INPUT_CHAIN_EDITEDv6=
FORWARD_CHAIN_EDITEDv6=
pivpnDEV=tun0
pivpnNET=<IP_ADDRESS>
subnetClass=24
pivpnenableipv6=0
ALLOWED_IPS=""
UNATTUPG=1
INSTALLED_PACKAGES=(dhcpcd5)
HELP_SHOWN=1
=============================================
::::  Server configuration shown below   ::::
dev tun
proto udp
port 11985
ca /etc/openvpn/easy-rsa/pki/ca.crt
cert /etc/openvpn/easy-rsa/pki/issued/raspberrypi_9abed915-b51e-4b45-a035-905bd89f5d3a.crt
key /etc/openvpn/easy-rsa/pki/private/raspberrypi_9abed915-b51e-4b45-a035-905bd89f5d3a.key
dh none
ecdh-curve prime256v1
topology subnet
server <IP_ADDRESS> <IP_ADDRESS>
# Set your primary domain name server address for clients
push "dhcp-option DNS <IP_ADDRESS>"
push "block-outside-dns"
# Override the Client default gateway by using <IP_ADDRESS>/1 and
# <IP_ADDRESS>/1 rather than <IP_ADDRESS>/0. This has the benefit of
# overriding but not wiping out the original default gateway.
push "redirect-gateway def1"
client-to-client
client-config-dir /etc/openvpn/ccd
keepalive 15 120
remote-cert-tls client
tls-version-min 1.2
tls-crypt /etc/openvpn/easy-rsa/pki/ta.key
cipher AES-256-CBC
auth SHA256
user openvpn
group openvpn
persist-key
persist-tun
crl-verify /etc/openvpn/crl.pem
status /var/log/openvpn-status.log 20
status-version 3
syslog
verb 3
#DuplicateCNs allow access control on a less-granular, per user basis.
#Remove # if you will manage access by user instead of device.
#duplicate-cn
# Generated for use by PiVPN.io
=============================================
::::  Client template file shown below   ::::
client
dev tun
proto udp
remote REDACTED 11985
resolv-retry infinite
nobind
remote-cert-tls server
tls-version-min 1.2
verify-x509-name raspberrypi_9abed915-b51e-4b45-a035-905bd89f5d3a name
cipher AES-256-CBC
auth SHA256
auth-nocache
verb 3
=============================================
:::: 	Recursive list of files in	 ::::
::: /etc/openvpn/easy-rsa/pki shows below :::
/etc/openvpn/easy-rsa/pki/:
ca.crt
crl.pem
Default.txt
ecparams
index.txt
index.txt.attr
index.txt.attr.old
index.txt.old
issued
KWSVPN.ovpn
openssl-easyrsa.cnf
private
renewed
revoked
safessl-easyrsa.cnf
serial
serial.old
ta.key

/etc/openvpn/easy-rsa/pki/ecparams:
prime256v1.pem

/etc/openvpn/easy-rsa/pki/issued:
KWSVPN.crt
raspberrypi_9abed915-b51e-4b45-a035-905bd89f5d3a.crt

/etc/openvpn/easy-rsa/pki/private:
ca.key
KWSVPN.key
raspberrypi_9abed915-b51e-4b45-a035-905bd89f5d3a.key

/etc/openvpn/easy-rsa/pki/renewed:
private_by_serial
reqs_by_serial

/etc/openvpn/easy-rsa/pki/renewed/private_by_serial:

/etc/openvpn/easy-rsa/pki/renewed/reqs_by_serial:

/etc/openvpn/easy-rsa/pki/revoked:
private_by_serial
reqs_by_serial

/etc/openvpn/easy-rsa/pki/revoked/private_by_serial:

/etc/openvpn/easy-rsa/pki/revoked/reqs_by_serial:
=============================================
::::		Self check		 ::::
:: [OK] IP forwarding is enabled
:: [OK] Iptables MASQUERADE rule set
:: [OK] Iptables INPUT rule set
:: [OK] Iptables FORWARD rule set
:: [OK] OpenVPN is running
:: [OK] OpenVPN is enabled (it will automatically start on reboot)
:: [OK] OpenVPN is listening on port 11985/udp
=============================================
:::: Having trouble connecting? Take a look at the FAQ:
:::: https://docs.pivpn.io/faq
=============================================
::::      Snippet of the server log      ::::
May  2 22:49:21 raspberrypi ovpn-server[785]: NOTE: your local LAN uses the extremely common subnet address 192.168.0.x or 192.168.1.x.  Be aware that this might create routing conflicts if you connect to the VPN server from public locations such as internet cafes that use the same subnet.
May  2 22:49:21 raspberrypi ovpn-server[785]: CRL: loaded 1 CRLs from file /etc/openvpn/crl.pem
May  2 22:49:21 raspberrypi ovpn-server[785]: ECDH curve prime256v1 added
May  2 22:49:21 raspberrypi ovpn-server[785]: Outgoing Control Channel Encryption: Cipher 'AES-256-CTR' initialized with 256 bit key
May  2 22:49:21 raspberrypi ovpn-server[785]: Outgoing Control Channel Encryption: Using 256 bit message hash 'SHA256' for HMAC authentication
May  2 22:49:21 raspberrypi ovpn-server[785]: Incoming Control Channel Encryption: Cipher 'AES-256-CTR' initialized with 256 bit key
May  2 22:49:21 raspberrypi ovpn-server[785]: Incoming Control Channel Encryption: Using 256 bit message hash 'SHA256' for HMAC authentication
May  2 22:49:21 raspberrypi ovpn-server[785]: TUN/TAP device tun1 opened
May  2 22:49:21 raspberrypi ovpn-server[785]: net_iface_mtu_set: mtu 1500 for tun1
May  2 22:49:21 raspberrypi ovpn-server[785]: net_iface_up: set tun1 up
May  2 22:49:21 raspberrypi ovpn-server[785]: net_addr_v4_add: <IP_ADDRESS>/24 dev tun1
May  2 22:49:21 raspberrypi ovpn-server[785]: Could not determine IPv4/IPv6 protocol. Using AF_INET
May  2 22:49:21 raspberrypi ovpn-server[785]: Socket Buffers: R=[180224->180224] S=[180224->180224]
May  2 22:49:21 raspberrypi ovpn-server[785]: UDPv4 link local (bound): [AF_INET][undef]:11985
May  2 22:49:21 raspberrypi ovpn-server[785]: UDPv4 link remote: [AF_UNSPEC]
May  2 22:49:21 raspberrypi ovpn-server[785]: GID set to openvpn
May  2 22:49:21 raspberrypi ovpn-server[785]: UID set to openvpn
May  2 22:49:21 raspberrypi ovpn-server[785]: MULTI: multi_init called, r=256 v=256
May  2 22:49:21 raspberrypi ovpn-server[785]: IFCONFIG POOL IPv4: base=<IP_ADDRESS> size=252
May  2 22:49:21 raspberrypi ovpn-server[785]: Initialization Sequence Completed
=============================================
::::		Debug complete		 ::::
:::
::: Debug output completed above.
::: Copy saved to /tmp/debug.log

My ISP has recently changed my IP.

You need to edit the endpoint then. Did you do that? Did PiVPN work before changing the IP? Please post pivpn -d.

Is there a way to completely restore/rebuild/reset the connections? My applet as can be seen above only has eth0 available for configuring.

Is there a way to completely restore/rebuild/reset the connections?

I'm not familiar with the raspberry pi applet, but tun0,1,2 interfaces are created dynamically. If you reboot you should only see tun0.

after reboot:

should I re-configure pivpn ?

Is there a way to completely restore/rebuild/reset the connections?

I'm not familiar with the raspberry pi applet, but tun0,1,2 interfaces are created dynamically. If you reboot you should only see tun0.

it's weird cause I can create new connections here, but I have no idea what to put and what not to

it's weird cause I can create new connections here, but I have no idea what to put and what not to

You don't need to manually create any interface. tun0 is created automatically when openvpn is started

should I re-configure pivpn ?

Not yet. Run sudo systemctl stop openvpn to stop openvpn. Do you still have tun0/tun1 in the ip a output?

pi@raspberrypi:~ $ sudo systemctl stop openvpn pi@raspberrypi:~ $ ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00     inet <IP_ADDRESS>/8 scope host lo        valid_lft forever preferred_lft forever     inet6 ::1/128 scope host         valid_lft forever preferred_lft forever 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000     link/ether dc:a6:32:29:8e:97 brd ff:ff:ff:ff:ff:ff     inet <IP_ADDRESS>/24 brd <IP_ADDRESS> scope global noprefixroute eth0        valid_lft forever preferred_lft forever 3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,DYNAMIC,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000     link/ether ce:57:4c:33:f5:df brd ff:ff:ff:ff:ff:ff permaddr dc:a6:32:29:8e:98 4: tun0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN group default qlen 500     link/none      inet <IP_ADDRESS>/24 scope global tun0        valid_lft forever preferred_lft forever     inet6 fe80::72e7:4c77:e892:8c26/64 scope link stable-privacy         valid_lft forever preferred_lft forever 6: wg0: <POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1420 qdisc noqueue state UNKNOWN group default qlen 1000     link/none

Looks like you have installed both openvpn as well as wireguard, which is supported but not sure if that's what you want. I don't know where does tun1 with network <IP_ADDRESS>/24 come from. Have you added it manually through the applet? If yes, can you remove it?

Ok, wait a minute. Just uninstall pivpn. Make sure pivpn command is not available anymore. Reboot and check ip a. Do not reinstall again or mess with the network applet.

pivpn -u
right ?

I think we need to manually remove tun0 as well.

Nice! Install pivpn now. If you can't connect, just post the debug again, and also the port forwarding configuration.

pi@raspberrypi:~ $ pivpn -d
::: Generating Debug Output
::::		PiVPN debug		 ::::
=============================================
::::		Latest commit		 ::::
Branch: master
Commit: c7bbb9fda21d641071e58145a2d51766bea33082
Author: 4s3ti
Date: Sun Apr 24 23:11:59 2022 +0200
Summary: Update Issue Report
=============================================
::::	    Installation settings    	 ::::
PLAT=Raspbian
OSCN=bullseye
USING_UFW=0
pivpnforceipv6route=0
IPv4dev=eth0
dhcpReserv=1
IPv4addr=<IP_ADDRESS>/24
IPv4gw=<IP_ADDRESS>
install_user=pi
install_home=/home/pi
VPN=wireguard
pivpnPORT=51820
pivpnDNS1=<IP_ADDRESS>
pivpnDNS2=
pivpnHOST=REDACTED
INPUT_CHAIN_EDITED=1
FORWARD_CHAIN_EDITED=1
INPUT_CHAIN_EDITEDv6=
FORWARD_CHAIN_EDITEDv6=
pivpnPROTO=udp
pivpnMTU=1420
pivpnDEV=wg0
pivpnNET=<IP_ADDRESS>
subnetClass=24
pivpnenableipv6=0
ALLOWED_IPS="<IP_ADDRESS>/0"
UNATTUPG=1
INSTALLED_PACKAGES=(dhcpcd5)
=============================================
::::  Server configuration shown below   ::::
[Interface]
PrivateKey = server_priv
Address = <IP_ADDRESS>/24
MTU = 1420
ListenPort = 51820
### begin KWS ###
[Peer]
PublicKey = KWS_pub
PresharedKey = KWS_psk
AllowedIPs = <IP_ADDRESS>/32
### end KWS ###
=============================================
::::  Client configuration shown below   ::::
[Interface]
PrivateKey = KWS_priv
Address = <IP_ADDRESS>/24
DNS = <IP_ADDRESS>

[Peer]
PublicKey = server_pub
PresharedKey = KWS_psk
Endpoint = REDACTED:51820
AllowedIPs = <IP_ADDRESS>/0
=============================================
:::: 	Recursive list of files in	 ::::
::::	/etc/wireguard shown below	 ::::
/etc/wireguard:
client_name.key
client_name.psk
client_name.pub
configs
keys
server.key
server.pub
wg0.conf

/etc/wireguard/configs:
clients.txt
KWS.conf

/etc/wireguard/keys:
KWS_priv
KWS_psk
KWS_pub
server_priv
server_pub
=============================================
::::		Self check		 ::::
:: [OK] IP forwarding is enabled
:: [ERR] Iptables MASQUERADE rule is not set, attempt fix now? [Y/n] y
# Warning: iptables-legacy tables present, use iptables-legacy-save to see them
Done
:: [OK] Iptables INPUT rule set
:: [ERR] Iptables FORWARD rule is not set, attempt fix now? [Y/n] y
# Warning: iptables-legacy tables present, use iptables-legacy-save to see them
Done
:: [OK] WireGuard is running
:: [OK] WireGuard is enabled (it will automatically start on reboot)
:: [OK] WireGuard is listening on port 51820/udp
[INFO] Run pivpn -d again to see if we detect issues
=============================================
:::: Having trouble connecting? Take a look at the FAQ:
:::: https://docs.pivpn.io/faq
=============================================
:::: WARNING: This script should have automatically masked sensitive       ::::
:::: information, however, still make sure that PrivateKey, PublicKey      ::::
:::: and PresharedKey are masked before reporting an issue. An example key ::::
:::: that you should NOT see in this log looks like this:                  ::::
:::: YIAoJVsdIeyvXfGGDDadHh6AxsMRymZTnnzZoAb9cxRe                          ::::
=============================================
::::		Debug complete		 ::::
:::
::: Debug output completed above.
::: Copy saved to /tmp/debug.log
:::

pi@raspberrypi:~ $ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet <IP_ADDRESS>/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether dc:a6:32:29:8e:97 brd ff:ff:ff:ff:ff:ff
    inet <IP_ADDRESS>/24 brd <IP_ADDRESS> scope global dynamic noprefixroute eth0
       valid_lft 86115sec preferred_lft 75315sec
    inet6 fe80::6a38:83d7:2cec:b0e8/64 scope link noprefixroute
       valid_lft forever preferred_lft forever
3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
    link/ether 92:eb:ff:d6:5e:48 brd ff:ff:ff:ff:ff:ff permaddr dc:a6:32:29:8e:98
4: wg0: <POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1420 qdisc noqueue state UNKNOWN group default qlen 1000
    link/none
    inet <IP_ADDRESS>/24 scope global wg0
       valid_lft forever preferred_lft forever

Warning: iptables-legacy tables present, use iptables-legacy-save to see them

Post the output of sudo iptables-save.
Port forwarding is half correct. For wireguard and openvpn you just need UDP protocol, not both.
Port forwarding is half correct. For wireguard and openvpn you just need UDP protocol, not both. Source IP is the remote IP from which you will connect, should be empty to allow any IP unless you plan to only connect from a specific location with a static IP.

Oh I didnt know that. But source IP is required.

Why do the iptables show port 1194 when the port I used for WG is 51820?

Why do the iptables show port 1194 when the port I used for WG is 51820?

Cruft left from previous installs. Run sudo iptables -F and sudo iptables -t nat -F to flush, then run the debug and say yes to add the rules back. You should be good to go now.

wishful thinking.. still nothing
pi@raspberrypi:~ $ pivpn -c
::: Connected Clients List :::
Name      Remote IP      Virtual IP       Bytes Received      Bytes Sent      Last Seen
KWS       (none)         <IP_ADDRESS>      0B                  0B              (not yet)
::: Disabled clients :::
pi@raspberrypi:~ $ sudo iptables -F
pi@raspberrypi:~ $ sudo iptables -t nat -F
pi@raspberrypi:~ $ pivpn -d
::: Generating Debug Output
::::		PiVPN debug		 ::::
=============================================
::::		Latest commit		 ::::
Branch: master
Commit: c7bbb9fda21d641071e58145a2d51766bea33082
Author: 4s3ti
Date: Sun Apr 24 23:11:59 2022 +0200
Summary: Update Issue Report
=============================================
::::	    Installation settings    	 ::::
PLAT=Raspbian
OSCN=bullseye
USING_UFW=0
pivpnforceipv6route=0
IPv4dev=eth0
dhcpReserv=1
IPv4addr=<IP_ADDRESS>/24
IPv4gw=<IP_ADDRESS>
install_user=pi
install_home=/home/pi
VPN=wireguard
pivpnPORT=51820
pivpnDNS1=<IP_ADDRESS>
pivpnDNS2=
pivpnHOST=REDACTED
INPUT_CHAIN_EDITED=1
FORWARD_CHAIN_EDITED=1
INPUT_CHAIN_EDITEDv6=
FORWARD_CHAIN_EDITEDv6=
pivpnPROTO=udp
pivpnMTU=1420
pivpnDEV=wg0
pivpnNET=<IP_ADDRESS>
subnetClass=24
pivpnenableipv6=0
ALLOWED_IPS="<IP_ADDRESS>/0"
UNATTUPG=1
INSTALLED_PACKAGES=(dhcpcd5)
=============================================
::::  Server configuration shown below   ::::
[Interface]
PrivateKey = server_priv
Address = <IP_ADDRESS>/24
MTU = 1420
ListenPort = 51820
### begin KWS ###
[Peer]
PublicKey = KWS_pub
PresharedKey = KWS_psk
AllowedIPs = <IP_ADDRESS>/32
### end KWS ###
=============================================
::::  Client configuration shown below   ::::
[Interface]
PrivateKey = KWS_priv
Address = <IP_ADDRESS>/24
DNS = <IP_ADDRESS>

[Peer]
PublicKey = server_pub
PresharedKey = KWS_psk
Endpoint = REDACTED:51820
AllowedIPs = <IP_ADDRESS>/0
=============================================
:::: 	Recursive list of files in	 ::::
::::	/etc/wireguard shown below	 ::::
/etc/wireguard:
client_name.key
client_name.psk
client_name.pub
configs
keys
server.key
server.pub
wg0.conf

/etc/wireguard/configs:
clients.txt
KWS.conf

/etc/wireguard/keys:
KWS_priv
KWS_psk
KWS_pub
server_priv
server_pub
=============================================
::::		Self check		 ::::
:: [OK] IP forwarding is enabled
:: [ERR] Iptables MASQUERADE rule is not set, attempt fix now? [Y/n] y
# Warning: iptables-legacy tables present, use iptables-legacy-save to see them
Done
:: [ERR] Iptables INPUT rule is not set, attempt fix now? [Y/n] y
# Warning: iptables-legacy tables present, use iptables-legacy-save to see them
Done
:: [ERR] Iptables FORWARD rule is not set, attempt fix now? [Y/n] y
# Warning: iptables-legacy tables present, use iptables-legacy-save to see them
Done
:: [OK] WireGuard is running
:: [OK] WireGuard is enabled (it will automatically start on reboot)
:: [OK] WireGuard is listening on port 51820/udp
[INFO] Run pivpn -d again to see if we detect issues
=============================================
:::: Having trouble connecting? Take a look at the FAQ:
:::: https://docs.pivpn.io/faq
=============================================
:::: WARNING: This script should have automatically masked sensitive       ::::
:::: information, however, still make sure that PrivateKey, PublicKey      ::::
:::: and PresharedKey are masked before reporting an issue. An example key ::::
:::: that you should NOT see in this log looks like this:                  ::::
:::: YIAoJVsdIeyvXfGGDDadHh6AxsMRymZTnnzZoAb9cxRe                          ::::
=============================================
::::		Debug complete		 ::::
:::
::: Debug output completed above.
::: Copy saved to /tmp/debug.log

You are ok with PiVPN though. Now it's about remote connectivity, try the troubleshooting https://docs.pivpn.io/faq/#how-do-i-troubleshoot-connection-issues

Additional info that may help?
This is a screenshot from the netpanel

You are ok with PiVPN though. Now it's about remote connectivity, try the troubleshooting https://docs.pivpn.io/faq/#how-do-i-troubleshoot-connection-issues

I spent a good 2 hours last night and another hour just now following the troubleshooting and everything.
Unfortunately I still cannot connect.

What’s the result of the tcpdump test? Did you see any packets?

tcpdump -n -i IPv4dev pivpnPROTO port pivpnPORT
tcpdump: IPv4dev: No such device exists

ip -f inet address show IPv4dev
Device "IPv4dev" does not exist.

cat /etc/pivpn/wireguard/setupVars.conf
PLAT=Raspbian
OSCN=bullseye
USING_UFW=0
pivpnforceipv6route=0
IPv4dev=eth0
dhcpReserv=1
IPv4addr=<IP_ADDRESS>/24
IPv4gw=<IP_ADDRESS>
install_user=pi
install_home=/home/pi
VPN=wireguard
pivpnPORT=51820
pivpnDNS1=<IP_ADDRESS>
pivpnDNS2=
pivpnHOST=<IP_ADDRESS>
INPUT_CHAIN_EDITED=1
FORWARD_CHAIN_EDITED=1
INPUT_CHAIN_EDITEDv6=
FORWARD_CHAIN_EDITEDv6=
pivpnPROTO=udp
pivpnMTU=1420
pivpnDEV=wg0
pivpnNET=<IP_ADDRESS>
subnetClass=24
pivpnenableipv6=0
ALLOWED_IPS="<IP_ADDRESS>/0"
UNATTUPG=1
INSTALLED_PACKAGES=(dhcpcd5)

tcpdump: IPv4dev: No such device exists

You need to replace IPv4dev, pivpnPROTO, pivpnPORT, with the value in setupVars.conf. Anyway, you tcpdump command is sudo tcpdump -n -i eth0 udp port 51820.

cat /etc/pivpn/wireguard/setupVars.conf

I've edited you comment because you didn't redact pivpnHOST.

tcpdump: verbose output suppressed, use -v[v]... for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), snapshot length 262144 bytes
still nothing. Also, when I activate VPN, I lose internet connection.

Please confirm that all the preliminary checks are satisfied and that you are connecting from a different network like a mobile network.
Have you ever had success forwarding a port on your router in the past? See this too.

I lose internet connection.

That's expected, when you turn on the VPN, the client tries to tunnel all traffic through it, but if the other end doesn't respond, traffic is blocked to avoid leaks.

Please confirm that all the preliminary checks are satisfied and that you are connecting from a different network like a mobile network.
Have you ever had success forwarding a port on your router in the past? See this too.

I lose internet connection.

That's expected, when you turn on the VPN, the client tries to tunnel all traffic through it, but if the other end doesn't respond, traffic is blocked to avoid leaks.

I'm connecting from work mac network, iphone (using lte). Same config file, copied pasted in both occasions

Fine, what about my question and the link next to it?

Have you ever had success forwarding a port on your router in the past? See this too.

yes, cameras port fw work
The only thing that changed was my ip.

The only thing that changed was my ip.

The public IP? Does the camera port forwarding still work after the IP change?
Is the pivpnHOST value in /etc/pivpn/wireguard/setupVars.conf the same as the Endpoint in the client configuration (or the app if you have already imported it)?

The only thing that changed was my ip.

The public IP? Does the camera port forwarding still work after the IP change?
Is the pivpnHOST value in /etc/pivpn/wireguard/setupVars.conf the same as the Endpoint in the client configuration (or the app if you have already imported it)?

The public ip yes.
The cameras port works fine yes.
The pivphost is the same as the port / endpoint

Removed port from both routers
Added port from both routers
restarted both routers
fixed. connected.
Thank you so much. So much.
You've made my day.
Appreciate your help and support.

If you have multiple chained routers, then you need to configure multiple port forwardings. Example: (<IP_ADDRESS>) ISP router (<IP_ADDRESS>) ---> (<IP_ADDRESS>) Own router (<IP_ADDRESS>) ---> (<IP_ADDRESS>) Raspberry Pi. Given that, on the ISP router port forward 1194 udp to <IP_ADDRESS> and on your own router port forward 1194 UDP to <IP_ADDRESS>.

Yes, I guess with the ip change the ports needed to be re-added.
Thanks again @orazioedoardo


Transcribing scalac parsing logic into cantBeWrittenWithoutBackquotes

Resolves #1661
Motivation: There are many rules to govern whether or not a sequence of characters is legal for a term or type name in scalac, as defined by scala/scala's spec/01-lexical-syntax.md.
This PR is an attempt at bringing cantBeWrittenWithoutBackquotes in line with scalac's expectations.
With this change, I can remove a workaround in twilio/guardrail
// 100k iterations
scala> benchmark(100000) { assert(cantBeWrittenWithoutBackquotes(Term.Name("this is a very long test"))) }
Average: 0.01088

// 1M iterations
scala> benchmark(1000000) { assert(cantBeWrittenWithoutBackquotes(Term.Name("this is a very long test"))) }
Average: 0.005877

// 100k iterations with a longer string
scala> benchmark(100000) { assert(cantBeWrittenWithoutBackquotes(Term.Name("this is a very long test foo bar baz blix '"))) }
Average: 0.00904

vs the original function:
// 100k iterations
scala> benchmark(100000) { assert(cantBeWrittenWithoutBackquotesO(Term.Name("this is a very long test foo bar baz blix '"))) }
Average: 7.0E-5

Seems as though `//` turns into //, as you've pointed out -- investigating

It looks like // and /* are both (correctly) considered operator strings, though that raises some concerns for structures like
val a_// = 2

perhaps comment characters should be checked outside of the analyzer, as they operate at a higher level

@olafurpg Resolved!
Additionally, I noticed there was no branch for 3.7.x bugfixes, what's the policy around this? I'd rather be able to upgrade to 4.x at a separate time to making other major changes. I've been maintaining a changeset here, deployLocal-ing so I can continue iterating on guardrail during the PR review process.

We don't backport for 3.x so this fix will only be available in 4.x. However, there are no breaking changes in the syntactic api (Tree, Token) so you should not encounter problems upgrading. The breaking changes only relate to SemanticDB.
Our CI releases a snapshot after merge, you can use 4.0.0-M4-127-8fc2a4de-SNAPSHOT to enjoy this fix. Snapshots are effectively immutable since the version changes with every commit, and with
    updateOptions := updateOptions.value.withLatestSnapshots(false)

the resolution times are reasonable. If you are using publishLocal, then we might want to update the build to .aggregate(...)  correctly so that scalametaJVM/publishLocal triggers a publish for all modules.

@olafurpg Ah, I ran into that problem; every time I tried to resolve there were more missing packages. Proper aggregate would be very much appreciated, if that would make publishLocal publish all deps.
Thank you!

@blast-hardcheese I will update the build in #1682 so that scalametaJVM/publishLocal aggregates all modules.


any plan add rtmp support?

Owner of this question wrote he managed to stream to RTMP server with libstreaming. http://stackoverflow.com/questions/28768332/ffmpeg-copy-file-while-recording
But not sure about this one..


Audio issues WaitForSingleObject failed

Build last version freerdp from git branch master
use options:
"cmake . "
"make"
"checkinstall"
and install deb packet .
Next step connect to windows server 2012r2 with option
"xfreerdp /sec:tls +fonts /cert-ignore /bpp:16 /d:OF /kbd:0x00000409 -wallpaper /u:Administrator /v:<IP_ADDRESS> /w:1280 /h:900 +clipboard /nsc /t:Win12R2 /sound:sys:alsa /microphone:sys:alsa"
Sound work some time, after try speak via skype, background console have many errors:
[16:56:04:892] [17567:17568] [ERROR][com.freerdp.freerdp] - svc_plugin_process_received: read error
[16:56:04:971] [17567:17568] [ERROR][com.freerdp.freerdp] - svc_plugin_process_received: read error
[16:56:05:111] [17567:17568] [ERROR][com.freerdp.freerdp] - svc_plugin_process_received: read error
[16:56:05:173] [17567:17568] [ERROR][com.freerdp.freerdp] - svc_plugin_process_received: read error
[16:56:05:252] [17567:17568] [ERROR][com.freerdp.freerdp] - svc_plugin_process_received: read error
WaitForSingleObject failed: invalid hHandle.
[16:56:09:472] [17567:17568] [ERROR][com.freerdp.freerdp] - svc_plugin_process_received: read error
[16:56:09:550] [17567:17568] [ERROR][com.freerdp.freerdp] - svc_plugin_process_received: read error
[16:56:09:627] [17567:17568] [ERROR][com.freerdp.freerdp] - svc_plugin_process_received: read error
WaitForSingleObject failed: invalid hHandle.
[16:56:38:807] [17567:17568] [ERROR][com.freerdp.freerdp] - Closed from X11
WaitForSingleObject failed: invalid hHandle.
What i doing wrong?

fixed latest with #4453 (but most likely very long before that)


Add additional behaviour

Describe the current way to archive your requirement
Did not find a way.
Describe the solution you'd like
I want to be able to have a behaviour that is a mix of LEFT and LEFT_HYBRID_SMALL.
It should just behave like the LEFT_HYBRID_SMALL, but if I click on the hamburger instead of pushing the content aside, it would be nice if the menu is slide-open as an overlay just the way it is for LEFT.
Additional context
None
Target Version
As soon as possible of course :stuck_out_tongue: . Just kidding. You sure you want to keep this section?

As soon as possible of course 😛
😁
How about making a pull request? The feature list is currently pretty long. Vaadin 13 just released, #175 and #205 have a higher priority. Also there are other features, which I liked to see in this project (#227, #134, #190) meaning this will not be added soon.

Adding another behaviour is actually not too complicated but requires a lot of testing and css optimization.

Thank you for the quick response!
I unfortunately do not have the time myself right now. But if I find spot, I will definitely try it.

Closing for same reason as #263


Unable to use Newtonsoft as default serializer

Description
I have an isolated .NET8 Function App and I am unable to use Newtonsoft as a default serializer.
According to the documentation, the following can be added to the Program.cs in order to set the default serializer :
var host = new HostBuilder()
    .ConfigureFunctionsWebApplication((IFunctionsWorkerApplicationBuilder builder) =>
    {
        builder.Services.Configure<WorkerOptions>(workerOptions =>
        {
            var settings = NewtonsoftJsonObjectSerializer.CreateJsonSerializerSettings();
            settings.ContractResolver = new CamelCasePropertyNamesContractResolver();
            settings.NullValueHandling = NullValueHandling.Ignore;

            workerOptions.Serializer = new NewtonsoftJsonObjectSerializer(settings);
        });
    })
    .Build();

However, this does absolutely nothing. No matter the serializer settings, it looks like it is still using System.Text.Json for serializing. I can even set the serializer to null and it changes nothing :
workerOptions.Serializer =null;

For now, as a workaround, I have installed Microsoft.AspNetCore.Mvc.NewtonsoftJson and used the following line:
.ConfigureServices((hostContext, services) =>
{
    services.AddMvcCore().AddNewtonsoftJson();
}

This works as expected, but I am not sure about the impact it could have over the solution and I would much rather use the officiel documented way, but the latter simply doesn't work.
Is the documentation wrong or is it a bug in the worker?
Steps to reproduce

Create a brand new .net8 isolated Function App

Add the code to Program.cs to set Newtonsoft as default

Run code and notice how it is still using System.Text.Json to serialize. You can try playing with the serializer options and you will also notice that it is completely ignored.

I think I found this issue as well whilst investigating https://github.com/Azure/azure-functions-dotnet-worker/issues/2384
It looks like there is a bug with ConfigureFunctionsWebApplication where we are not properly registering customer provided serializers. We will need to investigate why the behavior seems to differ between ConfigureFunctionsWebApplication and ConfigureFunctionsWorkerDefaults as the latter is working as expected.
Flagging for investigation.

Looks like this is a dupe of https://github.com/Azure/azure-functions-dotnet-worker/issues/2131
Closing in favour of using #2131 to track investigation and fix.


ADD flexusd.eth Space

Change to add flexusd.eth space

Closing this PR for now, feel free to open it again once you've done the changes.
If you want to add avatars please follow this link https://docs.snapshot.page/guides/add-avatars

Closing this PR for now, feel free to open it again once you've done the changes.
If you want to add avatars please follow this link https://docs.snapshot.page/guides/add-avatars


Clean the npm build and add to README

Adding dist to .gitignore
Removing dist files from repo
Fixing package.json to point to versions that don't give warnings
Adding build instructions to the README

@ronichoudhury PTAL

Can we remove the "Installation from npm" section in the README and open an issue instead?
Besides that, LGTM.

Done. Merging.


Saves disappear after a reboot

It's possible to make saves in game (the save appears to be created in the save menu, and can also be loaded). However they appear to be lost when the game is exited, because upon rebooting the game no saves are visible in either the save or the load menu.
Happens on both Windows and Linux

Looks like it's just an issue with the game overwriting the common save on boot


Can we include neutralino.js inside package.json instead of it being bundled together in resources/js folder?

From what I can gather - neutrinalino.js repo houses the original code. Since this is just the fron-tend of starter application, it makes sense to have dependencies inside package.json as package.json is the designated/appropriate place. It will allow implicit imports and make the fron-tend code more obvious.
That'll also allow updating to newer version of neutralinojs easier instead of copy pasting it in the resources folder.

That'll also allow updating to newer version of neutralinojs easier instead of copy pasting it in the resources folder.

You don't need to copy and paste the neutralino.js file, as mentioned (as a comment) in the index.html:

Neutralino.js client. This file is gitignored,
because neu update typically downloads it.
Avoid copy-pasting it.


MontySolr - frontend dispatching module

Originally on 2011-06-14
When Invenio asks for the search results the remove service (MontySolr) it passes the query and all the parameters, it receives back:

search results (IDs)
OR citation summaries (in certain cases)

What needs to be done:

paging
display of results inside collections (now the results are one-dimensional)
display of error messages

Invenio 3 is using Elasticsearch instead.


Issue on install

python 3.11.6
git checkout v1.6.0rc2
pip install -e .
Obtaining file:///home/esheldon/tmp/skyCatalogs
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Checking if build backend supports build_editable: started
  Checking if build backend supports build_editable: finished with status 'done'
  Getting requirements to build editable: started
  Getting requirements to build editable: finished with status 'error'
  error: subprocess-exited-with-error

  × Getting requirements to build editable did not run successfully.
  │ exit code: 1
  ╰─> [134 lines of output]
      configuration error: `tool.setuptools.dynamic.version` must be valid exactly by one definition (0 matches found):

          - type: table
            additional keys: False
            keys:
              'attr': {type: string, format: 'python-qualified-identifier'}
            required: ['attr']
          - type: table
            additional keys: False
            keys:
              'file':
                exactly one of the following:
                  - {type: string}
                  - type: array
                    items: {type: string}
            required: ['file']

      DESCRIPTION:
          A version dynamically loaded via either the ``attr:`` or ``file:``
          directives. Please make sure the given file or attribute respects
          :pep:`440`. Also ensure to set ``project.dynamic`` accordingly.

      GIVEN VALUE:
          {
              "attr": ".skycatalogs._version.__version__"
          }

      OFFENDING RULE: 'oneOf'

      DEFINITION:
          {
              "oneOf": [
                  {
                      "title": "'attr:' directive",
                      "$id": "#/definitions/attr-directive",
                      "$$description": [
                          "Value is read from a module attribute. Supports callables and iterables;",
                          "unsupported types are cast via ``str()``"
                      ],
                      "type": "object",
                      "additionalProperties": false,
                      "properties": {
                          "attr": {
                              "type": "string",
                              "format": "python-qualified-identifier"
                          }
                      },
                      "required": [
                          "attr"
                      ]
                  },
                  {
                      "$id": "#/definitions/file-directive",
                      "title": "'file:' directive",
                      "description": "Value is read from a file (or list of files and then concatenated)",
                      "type": "object",
                      "additionalProperties": false,
                      "properties": {
                          "file": {
                              "oneOf": [
                                  {
                                      "type": "string"
                                  },
                                  {
                                      "type": "array",
                                      "items": {
                                          "type": "string"
                                      }
                                  }
                              ]
                          }
                      },
                      "required": [
                          "file"
                      ]
                  }
              ]
          }

      For more details about `format` see
      https://validate-pyproject.readthedocs.io/en/latest/api/validate_pyproject.formats.html

      Traceback (most recent call last):
        File "/home/esheldon/miniforge3/envs/test/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
          main()
        File "/home/esheldon/miniforge3/envs/test/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/esheldon/miniforge3/envs/test/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 132, in get_requires_for_build_editable
          return hook(config_settings)
                 ^^^^^^^^^^^^^^^^^^^^^
        File "/home/esheldon/data/tmp/pip-build-env-9t5bbhqu/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 448, in get_requires_for_build_editable
          return self.get_requires_for_build_wheel(config_settings)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/esheldon/data/tmp/pip-build-env-9t5bbhqu/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 325, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=['wheel'])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/esheldon/data/tmp/pip-build-env-9t5bbhqu/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 295, in _get_build_requires
          self.run_setup()
        File "/home/esheldon/data/tmp/pip-build-env-9t5bbhqu/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 311, in run_setup
          exec(code, locals())
        File "<string>", line 1, in <module>
        File "/home/esheldon/data/tmp/pip-build-env-9t5bbhqu/overlay/lib/python3.11/site-packages/setuptools/__init__.py", line 103, in setup
          return distutils.core.setup(**attrs)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/esheldon/data/tmp/pip-build-env-9t5bbhqu/overlay/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 158, in setup
          dist.parse_config_files()
        File "/home/esheldon/data/tmp/pip-build-env-9t5bbhqu/overlay/lib/python3.11/site-packages/setuptools/dist.py", line 632, in parse_config_files
          pyprojecttoml.apply_configuration(self, filename, ignore_option_errors)
        File "/home/esheldon/data/tmp/pip-build-env-9t5bbhqu/overlay/lib/python3.11/site-packages/setuptools/config/pyprojecttoml.py", line 68, in apply_configuration
          config = read_configuration(filepath, True, ignore_option_errors, dist)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/esheldon/data/tmp/pip-build-env-9t5bbhqu/overlay/lib/python3.11/site-packages/setuptools/config/pyprojecttoml.py", line 133, in read_configuration
          validate(subset, filepath)
        File "/home/esheldon/data/tmp/pip-build-env-9t5bbhqu/overlay/lib/python3.11/site-packages/setuptools/config/pyprojecttoml.py", line 57, in validate
          raise ValueError(f"{error}\n{summary}") from None
      ValueError: invalid pyproject.toml config: `tool.setuptools.dynamic.version`.
      configuration error: `tool.setuptools.dynamic.version` must be valid exactly by one definition (0 matches found):

          - type: table
            additional keys: False
            keys:
              'attr': {type: string, format: 'python-qualified-identifier'}
            required: ['attr']
          - type: table
            additional keys: False
            keys:
              'file':
                exactly one of the following:
                  - {type: string}
                  - type: array
                    items: {type: string}
            required: ['file']

      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build editable did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

I see the same with python 3.10.14
This worked yesterday on both python versions.

considering that nothing changed in this branch since yesterday, I wonder where this is coming from.
I first  notice this when I ran my CI today, for a different project, and this install failed even though I had not changed my CI at all.
then I tried it on my local computer and it also failed, whereas it had worked before.
Is this code trying to access something across the network that may have changed? (it also fails with --no-deps so that's not the issue)

On the suggestion of @beckermr adding --no-build-isolation worked
pip install --no-build-isolation --no-deps -e .

We should probably update the imsim docs about this

We probably should put skyCatalogs into conda-forge.

Fixed with https://github.com/LSSTDESC/skyCatalogs/pull/102


Develop

Async & Sync methods now share same code.
Create generic version of DatabaseHelper.ExecuteScalar
Fixed KeyNotFoundException and NullRefence exception
Added basic integration tests

Nice!


daily-dev >> dev merge

See commits for more details regarding the contents of the merge.

Pull Request Test Coverage Report for Build 241

137 of 255 (53.73%)  changed or added relevant lines in 17 files are covered.
6 unchanged lines in 3 files lost coverage.
Overall coverage decreased (-5.3%) to 78.637%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

talos/commands/reporting.py
9
13
69.23%

talos/utils/best_model.py
3
8
37.5%

talos/utils/load_model.py
2
8
25.0%

talos/scan/scan_round.py
38
45
84.44%

talos/commands/predict.py
8
18
44.44%

talos/commands/evaluate.py
7
19
36.84%

talos/metrics/entropy.py
6
18
33.33%

talos/commands/restore.py
6
20
30.0%

talos/utils/gpu_utils.py
0
14
0.0%

talos/commands/deploy.py
14
48
29.17%

Files with Coverage Reduction
New Missed Lines
%

talos/reducers/reduce_run.py
1
90.0%

talos/reducers/correlation.py
2
73.68%

talos/metrics/performance.py
3
83.78%

Totals

Change from base Build 235:
-5.3%

Covered Lines:
854

Relevant Lines:
1086

💛  - Coveralls


HashedWheelTimer.newTimeout(...) may overflow

Motivation:
We dont protect from overflow and so the timer may fire too early if a large timeout is used.
Modifications:
Add overflow guard and a test.
Result:
Fixes https://github.com/netty/netty/issues/7760.

@ivankelly PTAL


Update azure-services-in-fedramp-auditscope.md

#sign-off

Hi @Jain-Garima - This pull request was opened in the public repo. PMs should work in the private repo, per the Microsoft Docs contributor guide. Would you make this content update in the private repo instead? Thank you! We'll close this PR.


Omit false conds

would it make sense to flatten conditionals where the value is always true

Possibly, however, I'm not going to do this for now.

@tfausak thanks for the review.  I'm going to merge.


make good use of tx metadata

 Issue by jexp
Tuesday Mar 20, 2018 at 08:50 GMT
Originally opened as https://github.com/neo4j-contrib/neo4j-apoc-procedures/issues/766

statement.queryRegistration().set/getMetaData()

 Comment by conker84
Thursday May 13, 2021 at 09:52 GMT

@jexp can you elaborate this a little bit?


Making ReminderAction survives a bot reboot

Rasa Core version: 0.11.x
Python version: 3.6
Operating system : linux
Issue: ReminderAction are handled by the apscheduler and rasa is using the default jobstore, which stores the next action with the MemoryJobStore.
I've tried creating a RedisJobStore and monkey patching rasa-core to use my custom jobstore, but then I get stuck in pickle errors one after the other.
For what's it worth, I'm also using the RedisStore for the Slots without any issues.
I'm using version 0.11.x, maybe it got fixed in 0.12.x?
I'm open to any solutions, it doesn't have to be related to apscheduler, but it seems to be right solution to me.
Context: we have health-lifestyle bot that requires to validate the user mental health every 24-36hours. Deploying a new version of the bot means loosing all our users right now.

Thanks for raising this issue, @Ghostvv  will get back to you about it soon.


add details to undeploy stack

Description
Adds details to undeploy stack and related known issues.

Release required?

[x] No release
[ ] Patch release (x.x.X)
[ ] Minor release (x.X.x)
[ ] Major release (X.x.x)

Release notes content

Run the pipeline
If the CI pipeline doesn't run when you create the PR, the PR requires a user with GitHub collaborators access to run the pipeline.
Run the CI pipeline when the PR is ready for review and you expect tests to pass. Add a comment to the PR with the following text:
/run pipeline

Checklist for reviewers

[ ] If relevant, a test for the change is included or updated with this PR.
[ ] If relevant, documentation for the change is included or updated with this PR.

For mergers

Use a conventional commit message to set the release level. Follow the guidelines.
Include information that users need to know about the PR in the commit message. The commit message becomes part of the GitHub release notes.
Use the Squash and merge option.

/run pipeline

/run pipeline

/run pipeline

/run pipeline

@SirSpidey - I merged for now to have the doc public, but would value your review/inputs on the readme.

@vburckhardt FYI: I started a draft PR for the readme. I want to talk to some other writers -- I think there might be existing docs we can point to for some of this.

:tada: This PR is included in version 1.1.0 :tada:
The release is available on:

GitHub release
v1.1.0

Your semantic-release bot :package::rocket:


Add support for custom PyPi indexes

Add two new options to pip_requirements:

index_url to specify a custom PyPi index, for example a local mirror
or a development index
trusted_host to specify a trusted host in case the index is used
over HTTP

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

Merging [#55][cc-pull] into [master][cc-base-branch] will decrease coverage by -0.67%

@@             master        #55   diff @@
==========================================
  Files            21         21
  Lines           568        576     +8
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits            493        496     +3
- Misses           75         80     +5
  Partials          0          0

File ...es/python_package.rb (not in diff) was modified. more

Misses +1
Partials 0
Hits -1

Powered by Codecov. Last updated by 4be9fa8
[cc-base-branch]: https://codecov.io/gh/poise/poise-python/branch/master?src=pr
[cc-pull]: https://codecov.io/gh/poise/poise-python/pull/55?src=pr

Please let me know if the form is correct or if there's anything else I need to do.
An other approach might be to use a options string and just pass the whole --index-url=... in there, but I believe this approach makes the intent clearer :)

Is there a reason you wouldn't put this in the requirements file itself? That is why I left it off to start with. If I was going to add something, I would be the general purpose options property, but I can't think of a great example of when to not put it in the file.

@coderanger Hi Noah!
Good question - I guess what I was looking for was to make this as transparent as possible for the developers, and keep our mirror server "opt-in". In our specific case, what I want is to use this mirror for the CI server (they're both in the same datacenter = very fast installs), but not force it down to the rest of the devs as using it or not should be their own decision.
Additionally, our standard workflow is to use pip freeze -r > requirements.txt when adding a new package, and as far as I can see pip freeze is not clever enough to realise that the packages have been installed from another mirror, and merely outputs package name and version. We'd have to basically revert to editing the requirements.txt manually, and that's not great. :/
As a minor point, it also keeps the requirements.txt cleaner by just having package/version rather than package/version/server.
That said, if you feel this doesn't really belong in poise-python, I'll understand and we'd manage that in another way.
Cheers,
Florent

That's fair, I think adding an options property is a good middle ground. I don't like breaking each argument out into a property because they change over time and I want to make sure the whole thing is flexible enough to deal with future (unknowable) versions of pip :)

@coderanger Thanks for your help with getting this through, much appreciated! :)


ScrollSpy root-margin gets disabeled by smoot-scroll set to false

Prerequisites

[X] I have searched for duplicate or closed issues
[X] I have validated any HTML to avoid common problems
[X] I have read the contributing guidelines

Describe the issue
Toggleing the smooth-scroll attribute changes the scroll and highlighting behavior in combination with a custom rootMargin.
In my use case I have a sticky top-nav and a negative rootMargin is set to shrink the view. When I disable smoot-scrolling and use the anchors for scrolling the content is partialy disappering behind the navbar.
The Indication of the active Item is off as well. When I set smooth-scroll to true everything works fine.
Reduced test cases
I tried to replicate the test case here in codepen but the ScrollSpy is somehow bugged in there. It behaves different from my own html file which can be found here as a gist.
This gist works right if smooth-scroll is enabled but if it is turned off the highlighting of an active element and the clickable-scrolling is different than before.
For me it looks like the root-margin is disabled.
What operating system(s) are you seeing the problem on?
Windows
What browser(s) are you seeing the problem on?
Firefox, Microsoft Edge
What version of Bootstrap are you using?
v5.2.0

I'm seeing this same issue in 5.2.1


Update DEVELOPMENT.md to explain labels and processes

Following the merge of  #3437 , might we want to update the DEVELOPMENT.md to explain our labeling system and process, including what is automated and what is manual?

you can assign this to me if you want, happy to update things. I didn't know this document existed.

That would be great, @baywet , thanks! I'm happy to be a reviewer if you want to assign it to me when you're ready.


undefined symbol: _ZN2v811HandleScopeC1Ev", source: module.js

attempting to use the sha3 package with node-webkit (now nws), throws the error above? is there any way around it?

Can you please provide the full error log? What version of v8 are you using?

A repo replicating the issue here https://github.com/iurimatias/nw-test

npm install
nw
==> runs, but the require('sha3') results in the error reported.

node version: v0.10.35
cyprus@cyprus-VirtualBox:~/nw-test$ npm install
npm WARN package.json new-test@ No description
npm WARN package.json new-test@ No repository field.
npm WARN package.json new-test@ No README data
\
><EMAIL_ADDRESS>install /home/cyprus/nw-test/node_modules/sha3
> node-gyp rebuild

make: Entering directory `/home/cyprus/nw-test/node_modules/sha3/build'
  CXX(target) Release/obj.target/sha3/src/addon.o
  CXX(target) Release/obj.target/sha3/src/displayIntermediateValues.o
  CXX(target) Release/obj.target/sha3/src/KeccakF-1600-reference.o
  CXX(target) Release/obj.target/sha3/src/KeccakNISTInterface.o
  CXX(target) Release/obj.target/sha3/src/KeccakSponge.o
  SOLINK_MODULE(target) Release/obj.target/sha3.node
  SOLINK_MODULE(target) Release/obj.target/sha3.node: Finished
  COPY Release/sha3.node
make: Leaving directory `/home/cyprus/nw-test/node_modules/sha3/build'
<EMAIL_ADDRESS>node_modules/sha3
└──<EMAIL_ADDRESS>
cyprus@cyprus-VirtualBox:~/nw-test$ nw
[12091:0130/090836:ERROR:browser_main_loop.cc(164)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.
pci id for fd 12: 80ee:beef, driver (null)
OpenGL Warning: Failed to connect to host. Make sure 3D acceleration is enabled for this VM.
libGL error: core dri or dri2 extension not found
libGL error: failed to load driver: vboxvideo
ATTENTION: default value of option force_s3tc_enable overridden by environment.
[12091:0130/090837:ERROR:nw_shell.cc(324)] Error: /home/cyprus/nw-test/node_modules/sha3/build/Release/sha3.node: undefined symbol: _ZN2v811HandleScopeC1Ev
    at Error (native)
    at Module.load (module.js:367:32)
    at Function.Module._load (module.js:322:12)
    at Module.require (module.js:377:17)
    at require (module.js:396:17)
    at window.require (<anonymous>:4:17)
    at file:///home/cyprus/nw-test/html/index.html:4:18
[12091:0130/090837:INFO:CONSOLE(367)] "Uncaught Error: /home/cyprus/nw-test/node_modules/sha3/build/Release/sha3.node: undefined symbol: _ZN2v811HandleScopeC1Ev", source: module.js (367)

We use nan to maintain compatibility with Node v0.10 and Node v0.12 (which have breaking changes in the v8 versions they bundle). NW may not be compatible with nan.

Just released a new version – check that one out. Should be all fixed now.


Implement a Google Hangouts gateway

A Gateway to the Google Hangouts groupchat should be implemented

@mkzero: Did we need this anymore?

@mape2k since we don't use Hangouts anymore this is obsolete.


Support the definition of active species/complexes?

It is not uncommon for multiple inputs/components to result in the formation of an active catalyst complex in a reaction. It could be useful to allow users to specify what this complex is (e.g., by MolFile) and any associated computed compound features. This could be useful for machine learning on catalyst/ligand structures down the road without having to infer what the active species is based on multiple inputs.
It is not clear where these additional fields should go.

Has this been resolved?

It has not been resolved, no.
This is information that doesn't make sense to define at the input-level, since an active complex can be formed from multiple inputs. Defining active complexes / intermediate Compounds is one use for a reaction-level annotation. Another could be an estimate of a derived kinetic rate constant or energetic barrier, which would need some generic Data field.
These are thematically different from what is currently in the ReactionNotes message, but right now that's my top choice. I don't know if we'd want to add a catch-all for other reaction-related annotations there or add structured fields, e.g., repeated Compound intermediates or repeated Compound active_species
I think this is a low/medium-priority task that will require more thought


404 at /engine/install/centos//u200b

I found a broken link : https://docs.docker.com/engine/install/centos//u200b

I searched our docs for this URL, but didn't find it, and suspect this may have been a typo on some website linking to our docs, or perhaps you copied some characters that were not part of the URL.
The correct URL for this is https://docs.docker.com/engine/install/centos/
Let me close this for now, but feel free to comment if there's something we can fix in our docs