Aggregate squid localnet src ips

[x] I have read the contributing guide lines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
[x] I have searched the existing issues and I'm convinced that mine is new.
Is your feature request related to a problem? Please describe.
When working with ip aliases, VIPs, etc. there may exist several addresses within the same subnet. This will cause warning when using 'squid -k check'
squid.conf
acl localnet src <IP_ADDRESS>/24 # Possible internal network (interfaces v4)
acl localnet src 2002:db8:b00:9080::/64 # Possible internal network (interfaces v6)
acl localnet src <IP_ADDRESS>/32 # Possible internal network (aliases)
acl localnet src 2002:db8:b00:9080::4/64 # Possible internal network (aliases)
acl localnet src <IP_ADDRESS>/24 # Possible internal network (interfaces v4)
acl localnet src <IP_ADDRESS>/32 # Possible internal network (aliases)
acl localnet src <IP_ADDRESS>/32 # Possible internal network (aliases)
acl localnet src <IP_ADDRESS>/32 # Possible internal network (aliases)
acl localnet src <IP_ADDRESS>/32 # Possible internal network (aliases)

squid -k check
2020/01/14 08:09:25| WARNING: (A) '<IP_ADDRESS>' is a subnetwork of (B) '<IP_ADDRESS>/24'
2020/01/14 08:09:25| WARNING: because of this '<IP_ADDRESS>' is ignored to keep splay tree searching predictable
2020/01/14 08:09:25| WARNING: You should probably remove '<IP_ADDRESS>' from the ACL named 'localnet'
2020/01/14 08:09:25| aclIpParseIpData: WARNING: Netmask masks away part of the specified IP in '2002:db8:b00:1020::4/64'
2020/01/14 08:09:25| WARNING: (B) '2002:db8:b00:1020::/64' is a subnetwork of (A) '2002:db8:b00:1020::/64'
2020/01/14 08:09:25| WARNING: because of this '2001:7c0:b00:1020::/64' is ignored to keep splay tree searching predictable
2020/01/14 08:09:25| WARNING: You should probably remove '2001:7c0:b00:9080::/64' from the ACL named 'localnet'
2020/01/14 08:09:25| WARNING: (A) '<IP_ADDRESS>' is a subnetwork of (B) '<IP_ADDRESS>/24'
2020/01/14 08:09:25| WARNING: because of this '<IP_ADDRESS>' is ignored to keep splay tree searching predictable
2020/01/14 08:09:25| WARNING: You should probably remove '<IP_ADDRESS>' from the ACL named 'localnet'
2020/01/14 08:09:25| WARNING: (A) '<IP_ADDRESS>' is a subnetwork of (B) '<IP_ADDRESS>/24'
2020/01/14 08:09:25| WARNING: because of this '<IP_ADDRESS>' is ignored to keep splay tree searching predictable
2020/01/14 08:09:25| WARNING: You should probably remove '<IP_ADDRESS>' from the ACL named 'localnet'
2020/01/14 08:09:25| WARNING: (A) '<IP_ADDRESS>' is a subnetwork of (B) '<IP_ADDRESS>/24'
2020/01/14 08:09:25| WARNING: because of this '<IP_ADDRESS>' is ignored to keep splay tree searching predictable
2020/01/14 08:09:25| WARNING: You should probably remove '<IP_ADDRESS>' from the ACL named 'localnet'
2020/01/14 08:09:25| WARNING: (A) '<IP_ADDRESS>' is a subnetwork of (B) '<IP_ADDRESS>/24'
2020/01/14 08:09:25| WARNING: because of this '<IP_ADDRESS>' is ignored to keep splay tree searching predictable
2020/01/14 08:09:25| WARNING: You should probably remove '<IP_ADDRESS>' from the ACL named 'localnet'
2020/01/14 08:09:25| WARNING: (A) '<IP_ADDRESS>' is a subnetwork of (B) '<IP_ADDRESS>/24'
2020/01/14 08:09:25| WARNING: because of this '<IP_ADDRESS>' is ignored to keep splay tree searching predictable
2020/01/14 08:09:25| WARNING: You should probably remove '<IP_ADDRESS>' from the ACL named 'localnet'

Describe the solution you'd like
Run the src ips through aggregate (https://www.freebsd.org/cgi/man.cgi?query=aggregate).
Unforunatelly I am not familar with Jinja and how/whether you can filter via external commands. One must build one list from core/src/opnsense/service/templates/OPNsense/Proxy/squid.conf  lines 120 (interface addr) and 129 (VIPs), pipe it through aggregate and then build the acls.
I think aggregate will just handle ipv4.
Describe alternatives you've considered
If template engine cannot call external filters (I fear so, at least without additional python code), you could use php when save button is pressed to aggregate the IPs and write result as config entry to config.xml for localnets which can be used directly by template engine.

This issue has been automatically timed-out (after 180 days of inactivity).
For more information about the policies for this repository,
please read https://github.com/opnsense/core/blob/master/CONTRIBUTING.md for further details.
If someone wants to step up and work on this issue,
just let us know, so we can reopen the issue and assign an owner to it.


slackUserIdFromEmail() Doesn't Work

Version report
Jenkins and plugins versions report:
Version 2.235.2
Description
Slack have added new scopes that might interest those who use a custom bot user.
Update guidance on the new bot scopes:
Hi,
We are using your plugin without the custom slack app and it's working fine for the slackSend() method.
I'm trying to implement a simple pipeline which also calls the slackUserIdFromEmail() method.
Reading your documentation I set up a custom slack app and the sendSlack() method is still working, now I'm receiving slack messages from the app.
But the slackUserIdFromEmail() method returns null, though I tried to play with the settings to see if I could make it work by (un)ticking boxes or anything else.
Has anyone an idea of what I might be doing wrong?
1. Here is my test pipeline using slackUserIdFromEmail():
def notifySlack() {
    def userId = slackUserIdFromEmail('myEmailOnSlack')
    slackSend(color: "good", message: "Test: <@$userId> Message from Jenkins Pipeline")
}

node {
    notifySlack()
}

Slack result:

2. Here is my test pipeline using Slack Member ID:
def notifySlack() {
    def userId = "UT3L4RST1"
    slackSend(color: "good", message: "Test: <@$userId> Message from Jenkins Pipeline")
}

node {
    notifySlack()
}

Slack result:

These are the bot settings in the job that generated an error:

These are the general settings for the bot:

These are the permissions of my Jenkins Bot app:

Plugin versions 2.45 and lower have an issue with the Slack API URL where it includes the token in the URL which was removed in the Slack API (it gets treated as an invalid_auth when included).
You didn't provide your plugin version, but I also had an issue with a very similar configuration to you; when I upgraded to plugin version 2.46+ (2.48 is latest right now) the step started working.

Plugin versions 2.45 and lower have an issue with the Slack API URL where it includes the token in the URL which was removed in the Slack API (it gets treated as an invalid_auth when included).
You didn't provide your plugin version, but I also had an issue with a very similar configuration to you; when I upgraded to plugin version 2.46+ (2.48 is latest right now) the step started working.
A really easy way I found to test this was to pass a single space as the email which will cause the step to fail and print out the URL it's attempting to use. If you see ?token=... in it, you likely just need to update the plugin version.

@Kazzer I believe this is my problem. My plugin is version 2.40. I'll update the plugin and test it. Thank you very much!


docs: fix typo

Just saw this. This has been fixed in #429 (along with some other stuff).
Thanks anyway :)


Porting the template in godot 4

Would it be possible to port the template in godot 4? I use godot 4 and i'd like to be able to use the template too!

Hi @xShader1374, I'll consider porting the template to Godot 4 when there will be an official stable release.
Probably I'll start a Godot 4 branch (like I did for Defending Todot) but it will be unofficial until Godot 4 gets a stable release.

An initial version with support for Godot 4 has been published in the feature/godot4 branch


Feature/60 create onboarding experience

This PR contains code and a text document that serves as step-by-step guide to getting new community members up to speed.
Code is located in the samples/ directory in folders named e.g. 01-basic-connector etc.
The guide is incremental (e.g. step 2 uses code from step 1), so code was duplicated between steps rather than referenced.

LGTM I think we should merge ASAP and then we can iterate the details


Only clean up dangling images in jump box

Keep non dangling images which will be used in following
steps to build new images, otherwise, antrea image will build
ovs from scratch which is time-consuming.
Signed-off-by: Lan Luo<EMAIL_ADDRESS>

/test-multicluster-e2e

/test-multicluster-e2e

/test-multicluster-e2e

The multi-cluster e2e is passed http://<IP_ADDRESS>:8080/job/antrea-multicluster-e2e-for-pull-request/232/
this can help to reduce the overall time from 30mins to 20mins.

/test-multicluster-e2e

/skip-all


[W5.7][F11-2] Teo Wei Zheng

Added a new command, "findtag", to search for people using their tags. This was added as tags do not serve much purpose currently and adding this command would lead to more purposeful use of the tags.

Very good addition to the AddressBook.

findTag is a very fine addition to the features that address book boasts. Good work in adding the I/O and JUnit tests as well!

Please ignore this pull request, I made another one.


Release of version <IP_ADDRESS> of xExchange

Releasing version <IP_ADDRESS>

This change is

Codecov Report

Merging #271 into master will decrease coverage by 0.01%.
The diff coverage is 0%.

@@            Coverage Diff            @@
##           master    #271      +/-   ##
=========================================
- Coverage    0.97%   0.95%   -0.02%
=========================================
  Files          36      36
  Lines        3917    3996      +79
=========================================
  Hits           38      38
- Misses       3879    3958      +79

Impacted Files
Coverage Δ

...ientAccessServer/MSFT_xExchClientAccessServer.psm1
1.58% <0%> (-0.11%)
:arrow_down:

...ber/MSFT_xExchDatabaseAvailabilityGroupMember.psm1
2.7% <0%> (-0.33%)
:arrow_down:

...ExchMaintenanceMode/MSFT_xExchMaintenanceMode.psm1
0.28% <0%> (-0.01%)
:arrow_down:

...irectory/MSFT_xExchPowerShellVirtualDirectory.psm1
2.12% <0%> (-0.1%)
:arrow_down:

...urces/MSFT_xExchUMService/MSFT_xExchUMService.psm1
3.84% <0%> (-0.33%)
:arrow_down:

...boxDatabaseCopy/MSFT_xExchMailboxDatabaseCopy.psm1
1.23% <0%> (-0.04%)
:arrow_down:

..._xExchAutoMountPoint/MSFT_xExchAutoMountPoint.psm1
0.86% <0%> (-0.01%)
:arrow_down:

...angeCertificate/MSFT_xExchExchangeCertificate.psm1
2.85% <0%> (-0.22%)
:arrow_down:

...chTransportService/MSFT_xExchTransportService.psm1
0.31% <0%> (-0.01%)
:arrow_down:

...Resources/MSFT_xExchInstall/MSFT_xExchInstall.psm1
1.12% <0%> (-0.12%)
:arrow_down:

... and 24 more

Continue to review full report at Codecov.

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


Add local file upload functionality to adapter.

Partly resolves https://github.com/brooklyn-data/dbt_artifacts/issues/61
Description
Add local file upload functionality to the adapter. The main motivation for this is to make dbt_artifacts compatible with Databricks. In order to do so we need to get the generated artifacts first to dbfs, from where to dbt package will be able to pick them up as sources for the downstream models. Ideally this upload process should happen in the adapter so the whole process in environment-independent and will do the same on dbt Cloud, local runs, etc.
As I haven't found an official Python Databricks API client, I went with databricks-api, which generates the client based on the internals of the official databricks-cli tool.
To use via command line
dbt -d run-operation databricks__upload_file --args "{local_file_path: './sample_files/manifest.js'}"

dbt -d run-operation databricks__upload_file --args "{local_file_path: './sample_files/manifest.js', overwrite: True}"

or as a pre-hook
{{
    config(
        pre_hook=[
            "{{ databricks__upload_file(
                local_file_path='./sample_files/manifest.json'
            ) }}",
            "{{ databricks__upload_file(
                local_file_path='./sample_files/manifest.json',
                overwrite=True
            ) }}"
        ]
    )
}}

Checklist

[*] I have run this code in development and it appears to resolve the stated issue
[*] This PR includes tests, or tests are not required/relevant for this PR
[ ] I have updated the CHANGELOG.md and added information about my change to the "dbt-databricks next" section.

@superdupershant ptal

Thanks for the comments @ueshin! Added my responses & new commits. The only thing I'm not exactly sure about is the implementation of an _execute_api wrapper, I am not yet that familiar with dbt adapter patterns (especially this one) but I would love to learn how to fit this into the existing codebase properly.

@danthelion is this still an outstanding ask, or has it been solved some other way in the meantime?  Apologies for this PR getting lost in the shuffle as we've switched maintainers a few times in the last year.

Closing as stale with no response from Dan.


fatal error: boost/predef/architecture/x86/32.h: No such file or directory

Got this error from make on Ubuntu 16.04 - I had installed QT + c/make etc as specified in the guide.
g++ -c -m64 -pipe -std=gnu++11 -O3 -Wall -W -fPIC -DHAVE_DECL_HTOBE16 -DHAVE_DECL_HTOLE16 -DHAVE_DECL_BE16TOH -DHAVE_DECL_LE16TOH -DHAVE_DECL_HTOBE32 -DHAVE_DECL_HTOLE32 -DHAVE_DECL_BE32TOH -DHAVE_DECL_LE32TOH -DHAVE_DECL_HTOBE64 -DHAVE_DECL_HTOLE64 -DHAVE_DECL_BE64TOH -DHAVE_DECL_LE64TOH -DHAVE_BYTESWAP_H -DHAVE_DECL_BSWAP_16 -DHAVE_DECL_BSWAP_32 -DHAVE_DECL_BSWAP_64 -I../nheqminer -I. -I../nheqminer/3rdparty -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o main.o ../nheqminer/main.cpp
In file included from ../nheqminer/3rdparty/boost/predef/architecture.h:28:0,
                 from ../nheqminer/3rdparty/boost/predef.h:14,
                 from ../nheqminer/3rdparty/boost/smart_ptr/detail/yield_k.hpp:28,
                 from ../nheqminer/3rdparty/boost/smart_ptr/detail/spinlock_sync.hpp:18,
                 from ../nheqminer/3rdparty/boost/smart_ptr/detail/spinlock.hpp:50,
                 from ../nheqminer/3rdparty/boost/smart_ptr/detail/spinlock_pool.hpp:25,
                 from ../nheqminer/3rdparty/boost/smart_ptr/shared_ptr.hpp:35,
                 from ../nheqminer/3rdparty/boost/shared_ptr.hpp:17,
                 from ../nheqminer/3rdparty/boost/signals2/deconstruct.hpp:28,
                 from ../nheqminer/3rdparty/boost/signals2.hpp:15,
                 from ../nheqminer/libstratum/ZcashStratum.h:10,
                 from ../nheqminer/libstratum/StratumClient.h:6,
                 from ../nheqminer/main.cpp:8:
../nheqminer/3rdparty/boost/predef/architecture/x86.h:8:46: fatal error: boost/predef/architecture/x86/32.h: No such file or directory
compilation terminated.
Makefile:1859: recipe for target 'main.o' failed
make: *** [main.o] Error 1
The command '/bin/sh -c make' returned a non-zero code: 2

Get windows

The instructions look incorrect. Are you the primary developer @aaronsace?

Just messing with you. Someone will respond soon.

@alexellis did you install all the required packages (sudo apt-get install cmake build-essential libboost-all-dev) ?
Also, are you aware that building this miner will only allow you to mine using cpu ? GPU support is lacking in this source code, it is only available in the windows binaries.

I followed the instructions for Ubuntu 16.04 - which don't appear to mention libboost-all-dev - I did install build-essential though for make. I'll try using the instructions for both distros at once.
The link I followed said this could work with AMD etc GPUs on Linux?

It's in the build instructions.
Have a look at other issues, you'll see there is something wrong here...

Qt build instructions are and will be removed. We will be pushing a work in progress Linux branch with current device support (working CPU_TROMP and WIP XENONCAT very soon), after that AMD optimizations. Will close this issue thread now.

git clone --recursive https://github.com/kost/nheqminer.git
cd nheqminer/
mkdir build
cd build
cmake -DXENON=1 ../nheqminer/
make -j3

@megabaks with which apt-get packages? :-)

the same packages

Getting this response.. can anyone help:
-- Configuring incomplete, errors occurred!
See also "../pi/nheqminer/build/CMakeFiles/CMakeOutput.log".
See also "../pi/nheqminer/build/CMakeFiles/CMakeError.log".

On my other machine (dell laptop).. getting this:
..nheqminer/build$ cmake -DXENON=1 ../nheqminer/
Bus error (core dumped)
I am simply not getting nheqminer to run on any of my unix (ubuntu) machines..

I've been running it at scale on the cloud, but I changed the build
instructions:
Follow through to the gists for the Dockerfile/images and benchmarks etc
http://blog.alexellis.io/scale-docker-swarm-on-aws/
On 4 November 2016 at 10:20, ted samuel<EMAIL_ADDRESS>wrote:

On my other machine (dell laptop).. getting this:
..nheqminer/build$ cmake -DXENON=1 ../nheqminer/
Bus error (core dumped)
I am simply not getting nheqminer to run on any of my unix (ubuntu)
machines..
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/nicehash/nheqminer/issues/61#issuecomment-258391828,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGEGz5uEzlwSWsQIJyegActG-Wd-M2nPks5q6wbxgaJpZM4KkZqL
.

--
Regards,
Alex Ellis

Will try with this Alex, feels like wading back into the deep :)
Ok thanks
Ted


Fix JSDocs/samples and regenerate scaffolding.

Why does the test for Node 6 keep timing out?

Circle has not been a very good friend today.

Looks like it passed.


GOV.UK Footer component fails accessibility test

Description of the issue

It's been reported in an accessibility test that the "Support links" h2 in the GOV.UK Footer component is causing a failure to comply. This failure is due to ordering of headings, meaning it only becomes an issue on screens which use headings down to the level 3 as it appears to a screenreader that the heading order is h1 -> h2 -> h3 -> h2, for example.
The suggestion is to remove the h2 tag, but I'm hesitant because it's in this design system.
Steps to reproduce the issue

Visit the DARTS login page: https://darts.staging.apps.hmcts.net/login and view the source for the footer.
This screenshot shows the h2 Support links header.

Actual vs expected behaviour

It's currently failing an accessibility test. I would expect using the GOV.UK Footer component not to result in a failure.
Environment (where applicable)

Operating system: MacOS Sonoma 14.5
Browser: Chrome
Browser version: 129.0.6668.89 (Official Build) (arm64)

Can you elaborate on what tool or audit is calling this a failure?
It isn't a WCAG failure for heading levels to decrease as a page goes on, that's a natural part of defining the content hierarchy of the page. It's only when with increased nesting that the headers should be sequential (i.e. h2 → h3 rather than h2 → h4), but this doesn't apply going from lower to higher levels.

Thanks for the quick reply @querkmachine.
One tool was was JAWS and it raised a point about visually hidden links confusing screen reader users. The point raised about heading levels was an observation and upon reading it again I think it was actually an issue with the headings in the application content, which we can fix.
I would appreciate some advice on the visually hidden headings though please.


Add more scenarios

Add more and more complex scenarios, showcasing the usage of collections in place of nested loops. These also serve as a more complex test cases.
Example: Transform CSV rows into object collections, filter, map, ...

Added a transform example which implements the stuff proposed here http://adamwathan.me/2016/04/06/cleaning-up-form-input-with-transpose/.
Should be enough for now, but more is always better.


Add test files for CoinMarketCap module

Note

Test all the methods of the coinmarketcap module and add a test file for the same.
Add test file in directory src/test.
Check the codechef_test.py file as a reference to get an idea about structuring the code.
Use unittest only.

Hi, please assign this to me.

Go ahead @Killer2OP
Note

Create a separate file for this test, named github_test.py file.
Make different classes for different classes existing for github module.

All the best 👨💻


Clarify wording about language stacks (base images page)

For the balena base images page, please clarify the wording about language stacks relative to base images. 3 parts below.

Consider adding a sentence or more confirming that it is fine to use a language that is not listed on the page. This is part of an effort to clarify for developers that they are not particularly language constrained (see note at the bottom of this issue).  Here is sample wording, provided only to express the idea i.e. feel free to change:

You are welcome to any use language. After all, they are your containers. This does mean that the language must be installable in your container’s image. Balena’s collection of base images makes it especially easy to use the common languages listed below.

Be consistent about Dotnet. The top of the page lists Dotnet. So Dotnet should presumably also be included in this later sentence:  “<lang_stack> is the programming language pack, currently we support Node.js, Python, OpenJDK and Go”

@vipulgupta2048 suggested: I think we need to update the Python version on this page as well. 2.7 is out of support

NOTE: There is a related issue with The container-based platform for deploying IoT applications. That related issue is outside of the scope of this repo. But if you are curious, see Flowdock.

Hey @rosswesleyporter would you be willing to open a PR for this, take a shot at it? Let us know if you face any difficulties.

@vipulgupta2048, sure I'll take a shot at it. It will be my first little contrib at balena. FYI, I'll be at the CI/CD talk at the Summit tomorrow (Fri).

Love it, let me know how can I be of help.
On Fri, Oct 2, 2020 at 4:01 AM Ross Porter<EMAIL_ADDRESS>wrote:

@vipulgupta2048 https://github.com/vipulgupta2048, sure I'll take a
shot at it. It will be my first little contrib at balena. FYI, I'll be at
the CI/CD talk at the Summit tomorrow (Fri).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/balena-io/docs/issues/1498#issuecomment-702431160,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFN63HQACLUV6VHP34IMOTDSIT7LJANCNFSM4R5ELLLQ
.

--
Best,
Vipul Gupta
@vipulgupta2048 https://twitter.com/vipulgupta2048 | Mixster
https://mixstersite.wordpress.com


Ensure non-final builds have unique package GUIDs

This addresses https://github.com/dotnet/core-sdk/issues/2655
The regression seems to be https://github.com/aspnet/AspNetCore/commit/41ce223c1cf4ffd482c4ea36e88ed44a94db37b3#diff-8a63ea279503159f0bb870af84feae00L10. I'm assuming it was an oversight when removing the BuildNumberSuffix variable. I'm updating the logic to mimic the previous behaviour, albeit using different variables.
I've verified with this change that the product code and upgrade code are now unique between builds. However, I don't think I'll be able to do end to end verification.
I plan on merging as soon as builds are green, so the change can be consumed downstream.
cc @johnbeisner

@JunTaoLuo
Why would the final builds need a stable GUID, release over release. I would think we would have the same problem.

Yea, I wasn't sure why but this is the behaviour I see in our previous code. Since I couldn't track down why it was built that way, I figured it's safer to keep it until I can find out more.

Do you know what's the logic used by other teams? @johnbeisner

For dotnet/core-sdk MSIs:
<GenerateGuidFromName Name="$(SdkMSIInstallerFile)">
      <Output TaskParameter="OutputGuid"

Where the seed string 'SdkMSIInstallerFile' for the MSI GUID is full path + filename: "C:\buildrootcoresdk\artifacts\packages\Release\Shipping\dotnet-sdk-3.0.100-preview7-012608-win-x64.msi"

Ah, then I think we should follow suite.

The logic got removed as part of the arcade work it seems: https://github.com/aspnet/AspNetCore/commit/41ce223c1cf4ffd482c4ea36e88ed44a94db37b3#diff-8a63ea279503159f0bb870af84feae00


Feature Request: Send telegram alerts into a target thread (topic)

Telagram groups have possibility to create multiple Threads (topics).
It is possible to use the API option message_thread_id to specify in which thread to send the alerts.
Would be nice to be possible to specify a default Thread for a Project and/or to specify different Threads for each Task Template.

This option is now in the WebGUI but is not working as intended.
Project > Dashboard > Settings  contains a Telegram Chat ID field, but when I populate it  w/ the desired thread id I get a 400 error when sending to telegram.
Removing the populated field sends the message successfully to the main thread.

Hi @DevAlphaKilo
Thread ID can not be used without Chat ID. So we need additional field for this.


*: fix etcd and kenc container command

get rid of sh
fix flock command

@xiang90 @aaronlevy

Updated

@hongchaodeng The change to the boot-etcd.yaml is causing things to fail. I'm not exactly sure why but the docker logs for that container says:
flag provided but not defined: -name boot-etcd
usage: etcd [flags]
       start an etcd server

       etcd --version
       show the version of etcd

       etcd -h | --help
       show the help information about etcd

       etcd --config-file
       path to the server configuration file

fixed

rktbot run tests

rktbot run tests

@hongchaodeng The CI tests look good to me. The self-hosted scale test is struggling these days, but the other tests all pass including the self-hosted smoke.

@aaronlevy PTAL

lgtm


Fix jupyterlite deployment

Let's wait for the comment to show up so we can test it :)

Arf..,  having some issues with the file names being too long...


⚠ SolarOscp has degraded performance

In 9d2b996, SolarOscp ($SOLAROSCP_URL) experienced degraded performance:

HTTP code: 200
Response time: 403 ms

Resolved: SolarOscp performance has improved in 96039c6 after 15 minutes.


Add sprite exports

Okay now it's the right branches.

Ended up using a local build but if I or someone else feels like it in future they can use this as a basis and clean it up.

I also added a button to the lobby screen so people can easily export their characters too.


net/http: Server doesn't use ReadHeaderTimeout for TLS handshake deadline

The net/http.Server does:
// Serve a new connection.
func (c *conn) serve(ctx context.Context) {
...
        if tlsConn, ok := c.rwc.(*tls.Conn); ok {
                if d := c.server.ReadTimeout; d > 0 {
                        c.rwc.SetReadDeadline(time.Now().Add(d))
                }
                if d := c.server.WriteTimeout; d > 0 {
                        c.rwc.SetWriteDeadline(time.Now().Add(d))
                }
                if err := tlsConn.HandshakeContext(ctx); err != nil {

But if only Server.ReadHeaderTimeout is set (and not ReadTimeout), it seems like ReadHeaderTimeout should be used for the TLS handshake deadline instead of infinite.
/cc @neild

related? https://github.com/golang/go/issues/35626

Yeah, it seems similar to #35626. @bradfitz @neild feel free to close if you think this is a dup. Thanks.

Not a dup, but similar. Different bugs involving the same tunables.


[Event Hubs] Add missing descriptions for user facing methods in BlobCheckpointStore class

The methods on the BlobCheckpointStore in both sync and async versions of the package need descriptions:

Found as part of #15109
Nice catch @yunhaoling

PR merged, this should be fixed after we release the eventhub and the corresponding doc.

PR merged, this should be fixed after we release the eventhub and the corresponding doc.


swipe left/right doesn't work over header and footer

Hi all,
i am rendering a custom header and a custom footer through renderFooter and renderHeader props.
My custom footer covers 40% of SCREEN_HEIGHT, so when i have to swipe to next image, the swipe gesture doesn't work over footer or header.
here is my code:
Custom footer
renderModalFooter(index){
return(
<View style={{flex: 1, width: SCREEN_WIDTH}}>
  // children covering  40% of SCREEN_HEIGHT
 </View>
  )
}

Custom Header
renderModalHeader(index){
return(
<View style={{position: "absolute", top: 0, left: 0, right: 0, zIndex: 1}}>
// children covering 10% of SCREEN_HEIGHT
</View>
  )
}

ImageViewer component
<ImageViewer
  enableSwipeDown
  imageUrls={arr}
  index={activeIndex}
  renderHeader={currentIndex => this.renderModalHeader(currentIndex)}
  renderFooter={currentIndex => this.renderModalFooter(currentIndex)}
  renderIndicator={() => null}
/>;

How can i fix this or are there any other possible workarounds for my problem ?

up swipe left/right  not work

flipThreshold | number | no | Swipe threshold of the next page | 80
maxOverflow | number | no | The X position maximum, that current page can slide to the next page | 300

flipThreshold | number | no | Swipe threshold of the next page | 80
maxOverflow | number | no | The X position maximum, that current page can slide to the next page | 300

this doesn't solve my problem.


Offscreen images - better guidance

The advice given on the help page for Offscreen Images is too vague to be helpful. It doesn't provide anything actionable that I can do, and doesn't point me to anywhere that gives me an idea of how to do this. The first link on the page goes to a plug for a Udacity class. I wish there was something more compact I could start learning with.
My site is https://spinningnumbers.org, written in markdown (kramdown), built with Jekyll, served by github-pages. What advice should appear on the Help page to point me in a productive direction?
Thanks for the very good audit tool. It helped me bump my Accessibility score up to 100% in a short while.

Thanks for the descriptive feedback. I'll check out your site and see if I can come up with more specific guidance for this audit.

Kayce,
After writing you I did my web homework and came across a js script for lazy load of off-screen images. https://jekyllcodex.org/without-plugin/lazy-loading/
There are a number of other sites that offer similar promise as this function. I picked the first one I understood how to deploy.
For my Jekyll-based web site I created a compact {: include %} statement that calls the javascript,
See for example http://spinningnumbers.org/charge.html http://spinningnumbers.org/charge.html (source: https://github.com/willymcallister/willymcallister.github.io/blob/master/articles/charge.md https://github.com/willymcallister/willymcallister.github.io/blob/master/_articles/charge.md_
This is where I lazy load the image of an electric eel,
{% include img.html img="charge_electric-eel.jpg" alt="Electric eel" %}{: height="200px" :}
This is the one-line img.html that translates my simple include command into the somewhat arcane syntax of lazyload.html,
![{{ include.alt }}]({{ site.baseurl }}{% link i/blank.svg %}){: .centered :}{: data-echo="/i/{{ include.img }}" :}

Willy

On Nov 14, 2018, at 4:56 PM, Kayce Basques<EMAIL_ADDRESS>wrote:
Thanks for the descriptive feedback. I'll check out your site and see if I can come up with more specific guidance for this audit.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/google/WebFundamentals/issues/6827#issuecomment-438875407, or mute the thread https://github.com/notifications/unsubscribe-auth/AQPyC8f4pr0WkVzojgoc6jjkpBg0rGcrks5uvLuggaJpZM4Ya6J1.

Sweet! Thanks for the details. Your implementation may help me provide better guidance.


Added personal site

This PR is:

[X] Adding a new domain
[ ] Updating existing domain size
[ ] Changing domain name
[ ] Removing existing domain from list
[ ] Website code changes (512kb.club site)
[ ] Other not listed

[X] I used the uncompressed size of the site
[X] I have included a link to the Cloudflare report
[X] This site is not an ultra minimal site
[X] The following information is filled identical to the data file

I confirm that I have read the FAQ section, particularly the two red items around minimal pages and inappropriate content and I attest that this site is neither of these things.

[X] Check to confirm

- domain: ashishpanigrahi.com
  url: https://ashishpanigrahi.com
  size: 195.72
  last_checked: 2024-11-02

Cloudflare Report: https://radar.cloudflare.com/scan/9e728875-1b72-43fd-9189-06f990578866/summary

Thanks!


nitc/android: rely on Android's native stacktrace, drop MIPS support and temporarily disable the GC

This PR tweaks basic Nit features on Android so it is more practical on the short-middle term.
It is better to not handle signals on Android so that it falls back on the Android stacktrace, which is pretty useful for debugging. We might want to handle the signals once we successfully integrate libunwind to the Android apps.
Dropping MIPS support saves some compilation time. The related commit can be reverted when supporting MIPS is useful.
This PR also deactivates the GC on Android as it is currently broken. Unexpected behaviors happen more frequently when using the Java FFI in a threaded app. There are possible solutions to this problem; newer versions of libgc are tweaked for Android, better compilation configs may help, and double checking the Android lib for objects that should be pinned for use from Java...

+1


Add Line of Sight

Bukkit had an hasLineOfSight  method on entities, similarly Forge has a canEntityBeSeen  method with equivalent behavior. This method is simply performs a ray cast to see if entity A can see entity B in the expressions A.canEntityBeSeen(B).
I propose we have a method A.hasViewOf(B, checkFacingDir), determining whether A can see B, internally ray casting while ignoring transparent blocks. In the case that checkFacingDir is set to true, vertical and horizontal rotation are also factored in.This will help with developing "hide and seek" plugins, as well as boss fights, where the player may need to hide from a boss.

Duplicate of https://github.com/SpongePowered/SpongeAPI/issues/797. Also not fully implementable without the player FOV and aspect ratio. Without these you can't do frustum culling which is how you actually determine visibility. The client doesn't send these. Rays limit to a "can't see your face" solution, which doesn't imply being fully hidden.


increase usage of https://files.consumerfinance.gov

When possible, we should link to or reference 'https://files.consumerfinance.gov', instead of some of the older urls like:
http://files.consumerfinance.gov   (results in unnecessary redirects, reducing performance)
https://s3.amazonaws.com/files.consumerfinance.gov   (skips the CDN, reducing performance)
There is more to do (for example, this won't impact files uploaded through wagtail-- solving that probably requires some more discussion), but it should make a difference.
Changes

many instances of those older urls changed to https://files.consumerfinance.gov

Testing

Screenshots
Notes

Todos

Checklist

[ ] PR has an informative and human-readable title
[ ] Changes are limited to a single goal (no scope creep)
[ ] Code can be automatically merged (no conflicts)
[ ] Code follows the standards laid out in the development playbook
[ ] Passes all existing automated tests
[ ] Any change in functionality is tested
[ ] New functions are documented (with a description, list of inputs, and expected output)
[ ] Placeholder code is flagged / future todos are captured in comments
[ ] Visually tested in supported browsers and devices (see checklist below :point_down:)
[ ] Project documentation has been updated
[ ] Reviewers requested with the Reviewers tool :arrow_right:

Testing checklist
Browsers

[ ] Chrome
[ ] Firefox
[ ] Safari
[ ] Internet Explorer 8, 9, 10, and 11
[ ] Edge
[ ] iOS Safari
[ ] Chrome for Android

Accessibility

[ ] Keyboard friendly
[ ] Screen reader friendly

Other

[ ] Is useable without CSS
[ ] Is useable without JS
[ ] Flexible from small to large screens
[ ] No linting errors or warnings
[ ] JavaScript tests are passing

not sure why the frontend tests are failing

@hillaryj I went ahead and took your advice, reverting the s3utils and test changes.

s3utils was probably fine with the methods having been pared down, but since it sounds like that isn't used directly on the site, either way should be fine.


Fix test failures with golden file ((openshiftio/openshift.io#1246))

Use a different ordering to make sure that the test pass no matter which
ID has been allocated to the codebases and their spaces.
Ordering the codebases in data by the ID of their related space, and
ordering the included spaces by their ID ensures that all data are in
such an order, than replacing all ID with incremental UUIDs in the files
still works.
Fixes openshiftio/openshift.io#1246
Signed-off-by: Xavier Coulon<EMAIL_ADDRESS>
Please describe what your change is about.
What issues does it solve? (Use autoreferencing for this)
If you are still working on the change please prefix the pull request title with "WIP"

[test]

@xcoulon snapshot fabric8-wit image is available for testing.  docker pull docker.io/fabric8/fabric8-wit:SNAPSHOT-PR-1742-1

[test]

[test]


Where is the source?

The readme says "Source Code - https://github.com/nakkaya/ferret" but src is in .gitignore?

Code is generated from ferret.org file. Thats why src/ is in .gitignore. For more information see Overview -> Building From Sources on the webpage.


Multi-node clustering

Overview
This commit adds the ability to cluster multiple nodes together to share the same metadata through raft consensus.

lgtm - testing on the DO boxes looks solid +:100:


[WiP] Alerting Provisioning

Description
Adding functionality (at least some of) for Alerting Provisioning (https://github.com/panodata/grafana-client/issues/30)
I know it's probably not the best, but for me is working so that please review/test/use part if needed.

Closing this in favor of #41. Thank you again.


Fix: test worlds bugs batch 4

UI Sorting optimized:

Instead of O(N^2) complexity every frame SortedList handles the sorting based on unique rightOf (confirmed with the SDK team)
Hierarchy is resorted based on comparison instead of moving children (that was very costly) only once upon a change

Before:

After:

Character/Camera Systems optimized.

Introduced a new group that limits the execution once per FixedUpdate but does not belong to the Fixed Update per se. Executing heavy logic in FixedUpdate leads to a circular performance degradation
Got rid of underperforming Remove calls including redundant ones
Enabled throttling where it's applied
Didn't fix the logic for querying avatars itself (O(N*M) complexity)

Before:

After:

UI Background Promise and Release fixes

I cant currently load metadyne using this branch - I've merged main to test it again.
The usual problem of appearing next to a black cube.


staggered_sending

we use semaphores to limit simultaneous transmissions. can speedup message reception for large messages

PR-1100


fix: correct csv generation for local development

What type of PR is this? (check all applicable)

[ ] 🍕 Feature
[x] 🐛 Bug Fix
[ ] 📝 Documentation Update
[ ] 🎨 Style
[ ] 🧑💻 Code Refactor
[ ] 🔥 Performance Improvements
[ ] ✅ Test
[ ] 🤖 Build
[ ] 🔁 CI
[ ] 📦 Chore (Release)
[ ] ⏩ Revert

Description

This PR corrects the CSV generation scripts for open-sauced/hot#139 - SQL files work right now but are inferior to \copy
Related Tickets & Documents

Mobile & Desktop Screenshots/Recordings

Added tests?

[ ] 👍 yes
[ ] 🙅 no, because they aren't needed
[ ] 🙋 no, because I need help

Added to documentation?

[ ] 📜 README.md
[ ] 📓 docs.opensauced.pizza
[ ] 🍕 dev.to/opensauced
[ ] 📕 storybook
[x] 🙅 no documentation needed

[optional] Are there any post-deployment tasks we need to perform?
[optional] What gif best describes this PR or how it makes you feel?

@bdougie this needs merging and running the seed action one time for the hot prs to work locally 🍕


IOU – Join button appears in IOU details page header when navigate via link

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: v1.4.48-0
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4396826
Issue reported by: Applause - Internal Team
Action Performed:

Go to https://staging.new.expensify.com/
Log in
Go to unpaid IOU details page.
Copy link.
Paste in another chat.
Log out.
Log in.
Click on the link.

Expected Result:
Join button not appears in IOU details page
Actual Result:
Join button appears in IOU details page header
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android: Native
[x] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence
https://github.com/Expensify/App/assets/93399543/3b8ca44a-3266-4149-8793-4d944b81c24d
View all open jobs on GitHub

@strepanier03 I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors.

Reviewing now, thank you for the patience 🙌

I'm not able to recreate this behavior, there is no Join button when following the steps as written and shown in the video.
I'm also not convinced this is a behavior we would want to look into more or that it would happen frequently.
I'm going to label as needs repro and close. We can always reopen in the future if we need to.


CI - Unit Tests

CI missing unit tests

#64 adds functionality, @paveltc need to add this test feature to CI

@kiritigowda I'll take a look at what can be added to the CI. The unit tests for RPP are comprehensive and take up a lot of time. Not sure if the CI is the proper place for them.

Issue #74 track


fix: DataBlock respect dl_type kwarg

Looks like this was inadvertently removed in https://github.com/fastai/fastai2/commit/dcc7e1bfa7170700143127e56d8dae8e97ef8177#diff-3fec432759d383a373137d69c9ac4c72L58?

Indeed, thanks a lot for putting it back!


Helloworld gulp trust-dev-cert does not work in Edge but does in IE when testing in SharePoint tenant

Category

[ ] Question
[ ] Typo
[x ] Bug
[ ] Additional article idea

Expected or Desired Behavior
After working through the Build your first SharePoint client-side webpart (Helloworld part 1) in Edge (41.16299.1004.0) I was able to successfully open the webpart in localhost:4321 and then modify the webpart and retest in localhost:4321. However, when I tried to use the webpart while gulp serve was processing in the https://.sharepoint.com/_layouts/15/workbench.aspx it was not available. The following message was always presented:

Warning
Your web part will not appear in the toolbox. Please make sure "gulp serve" is running in a web part project. Please refresh the page once "gulp serve" is running.
Click here for more information.

Looks like it's the same issue as https://github.com/SharePoint/sp-dev-docs/issues/441 but have opened a new one as it is closed.
Observed Behavior
Troubleshooting I tried deleting the /.gcb-serve-data as mentioned in https://github.com/SharePoint/sp-dev-docs/issues/395.
I also recreated the project with the same error. Finally I opened the workbench page in IE (11.1087.16299.0) and it works without a problem.
Steps to Reproduce
Follow instructions in the Helloworld part 1 tutorial and use MS Edge as your browser.

This sounds like your self-signed cert was not properly trusted on your local machine. A few things:

the workbench is not fully supported with IE... either the local workbench or hosted workbench... there are known issues
the message fro because the hosted workbench is reporting the dialog you mention, that implies it isn't getting a response from your local web server running on https... because it isn't seeing the cert as valid
try other browsers and see if you are having an issue
untrust & re-trust the cert using an administrative command prompt

If you continue to have issues please provide more context:

your environment (operating system, version, etc)
target environment (sp2016/2019/spo)
versions of node, npm & SPFx generator installed
version of the SPFx component
show the output from the console when you run gulp trust-dev-cert & when you run gulp serve including when you navigate to the local workbench


Support AML as a new training service

As the title, design to be discussed, welcome for feedbacks.

Hi, I'm currently trying to use NNI with AML and wanted to share some design thoughts based on my experience thus far.
Pain Points:

As far as I know, NNI only works by invoking the RESTful server using nnictl create --config <config-file>. When using AML as a training platform, unless the compute platform has additional setup to allow inbound and outbound traffic for the ports used by NNI (which doesn't appear to be available for configuration on compute platforms made through AML only on a regular Azure VM instance) I can't seem to access the WebUI dashboard. Thus, the only method I've found thus far is to obtain the results of the NNI experiment through hitting the API endpoint at /api/v1/nni/trial-jobs and parsing the finalMetricData.

Proposed Design Thoughts

NNI should be able to submit an AML experiment for each trial that is run so that the results and info about the trial can have a 1-1 mapping with the AML interface when it appears in the list of experiments ran.
NNI should submit trials as child runs of a parent experiment on AML's interface. Currently this is the way Hyperdrive works and it would be nice if NNI appeared to work as natively as possible here in a similar fashion.

As an additional thought, are there plans to allow developers to use the underlying tuning algorithms, NAS algorithms, etc. through a Python API instead of only through the command line tool? This could allow training platform developers to adopt NNI natively into their own platform instead of having NNI configured to work on a plethora of services which may incur technical debt as services evolve.


add DAF source code

Issue #, if available: None
Description of changes: Code of Domain Adapatation Forecaster temporarily hosted by gluonts/nursery
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Please tag this pr with at least one of these labels to make our release process faster: BREAKING, new feature, bug fix, other change, dev setup

lgtm thanks @Gandor26 ! @lostella it looks like we have one flaky test for DeepVAR that is failing. Thanks!


breaking changes: refactor configs + fixes

Breaking changes.

no more .env -> using JSON configuration file, some options can be overwritten via command line (sheet, header, storage, col names, ...). There might be some cases where .env variables are the only way like some deployment environments etc, but we could also read the JSON config from an env variable. happy to iterate a bit if needed.
fixes issues with telethon archiver
fixes issues with tiktok downloader
new column option "folder" which will allow users to override the logic of folder names: before sheet_name/tab_name now that's the default but each link can go to a custom folder if provided
retry wayback once after 30min to 2h
simplified GDStorage code
new LocalStorage: some issues to fix is the html with image previews that referrence an absolute path and should be relative
left better comments and some TODOs for the future
tried to move all path calculations to os.path operations instead of string concat

After this, deployed versions should do pipenv update + remove anon file,

Thanks - my PR is coming today!

Wow - some great work in here! I can't immediately see why the google drive code errored. It does look like it saved some files up there successfully. Have emailed you directly about a problem with tiktok-downloader repo. Once that is running I may be able to get this working and test out the GD implementation problems.
Are you going to merge this into dev and we can work from there?

The bug @loganwilliams found with the gd storage + twitter archiver was related to the generate_media_page which was calling get_cdn_url before the file was uploaded, and GDStorage, unlinke S3, will not be able to get the URL before uploading.
fixed by removing this line: 6499161 (#33) (the line was duplicated below, where it could actually be called)

All bugs and change requests have been fixed and applied, thanks a lot for the useful feedback, the example.config.yaml is now clearer


chore(main): release 1.0.2

:robot: I have created a release beep boop
1.0.2 (2024-11-26)
Bug Fixes

populated values.yaml files cause issues with pulumi (067e80a)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v1.0.2
:sunflower:


Fix isue: After customer login, the exist items in shopping cart are not loaded.

What does this implement/fix? Explain your changes.
This change will just reload the shopping cart after customer login.
Screenshots

Magento Version: 2.3.5
Device: Android Simulator
OS: Android
Version 29

@hungvt thanks for your contribution!

@all-contributors please add @hungvt for code


Surface error more clearly for push_validity

When this function panics, it's not clear exactly what is being pushed that violates its invariants. Ideally you'd see what arrow field is failing and what the data looks like.

Thanks a lot for the report! The error messages are definitely something to improve.
If you have a concrete example, it would be quite helpful, so I can directly include it in the test suite.

My current plan is to include the relevant fields (and potentially other metadata) in the error message, e.g.,

Cannot push null for non-nullable array (field: "$.nested.field")

Would this have helped?

Released with 0.12.0


Unable to detect QR codes with particular data values

System Information
Operating System: Ubuntu 22.04
Python version: 3.10.6
.venv dump (pip freeze) - also contains other QR detection libraries which were tested:
joblib==1.2.0
numpy==1.24.3
opencv-python==<IP_ADDRESS>
py4j==<IP_ADDRESS>
PyBoof==0.41
pyzbar==0.1.9
pyzxing==1.0.2
segno==1.5.2
six==1.16.0
transforms3d==0.4.1

Detailed description
I was testing the performance of various QR code detection libraries using "perfect" version 1-H QR codes generated by segno, and I noticed that some of these codes could not be detected. In particular, the following 192 values failed to be detected when testing exhaustively in the range $[0, 10^6]$:
1982, 2189, 2429, 4041, 4135, 4598, 4608, 4705, 5468, 6310, 6466, 6620, 6904, 7418, 9983, 10279, 11066, 11561, 13451, 14861, 14940, 15105, 16171, 16697, 17199, 17237,  17367, 18125, 18249, 18251, 18331, 19198, 19295, 19485, 20451, 21842, 22820, 22975, 23030, 23110, 23389, 23502, 23577, 24380, 24403, 24537, 24836, 25114, 25393, 25481, 26545, 26668, 26783, 26872, 27075, 27649, 29342, 29744, 29759, 30473, 31283, 32182, 33687, 33982, 34427, 35288, 36713, 36731, 37872, 38155, 38630, 39141, 39892, 40506, 41855, 42022, 42536, 42918, 43036, 43452, 44255, 44300, 47121, 47681, 48830, 48942, 49808, 49992, 50922, 52182, 53588, 54099, 54441, 54635, 55294, 55540, 55802, 56831, 57003, 57950, 58161, 58240, 58815, 60599, 60826, 60915, 61078, 61569, 61612, 62202, 62457, 62710, 63392, 64002, 64632, 65289, 65742, 66070, 66175, 66495, 67268, 67345, 67861, 68142, 69169, 69772, 69991, 70558, 70585, 72597, 72769, 73250, 73726, 74664, 74729, 75836, 76625, 77483, 77574, 77762, 77906, 78091, 78339, 78350, 78626, 78678, 78889, 78922, 79267, 79726, 79889, 80122, 80483, 80615, 80680, 80886, 80930, 81243, 81315, 81862, 82485, 82509, 82600, 84801, 85762, 86122, 87319, 87729, 89386, 89478, 89996, 90458, 90709, 90938, 91397, 91541, 92479, 93120, 93287, 94030, 94865, 95290, 95342, 95377, 95700, 95815, 96620, 97158, 98549, 98665, 99579, 99794

This issue was not exclusive to pyzxing, and other tested libraries such as OpenCV and BoofCV also had issues with some payloads (although for different values), which are confirmed as a bug due to false positives in the finder pattern (which may or may not be the same issue in this case) - see lessthanoptimal/PyBoof#23. Please note that there is also an identified bug in segno in which the padding is malformed for 4-digit payloads - see heuer/segno#123, although this does not seem to affect pyzxing as I'm assuming you ignore the padding bits (which seems to be a strategy employed by many detector libraries).
Steps to reproduce
import cv2
import segno
from pyzxing import BarCodeReader

TEST_FILE = 'qr_test.png'

reader = BarCodeReader()
bad_detections = []

for i in range(0, 100000):
    qrcode = segno.make(i, version=1)
    assert qrcode.error == 'H'
    qrcode.save(TEST_FILE, scale = 5)

    img = cv2.imread(TEST_FILE)
    img = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY)
    img = cv2.resize(img, (88, 88))

    barcodes = reader.decode_array(img)
    assert len(barcodes) == 1
    if 'raw' not in barcodes[0]:
        print(f"Unable to detect {i}")
        bad_detections.append(i)
    else:
        assert barcodes[0]['raw'].decode("utf-8") == str(i), f"Mismatch between detected value {barcodes[0]['raw'].decode("utf-8")} and input {x}"

print(f"Unable to detect the following data payloads:\n{bad_detections}")

This is really interesting. Thanks for sharing @simon-staal . I was running into issues detecting and was scratching my head about it.


feat: Implementation of Teams batch APIs

#minor
Description
This PR implements the new Teams batch APIs in TeamsOperations.

Send message to a list of users
Send message to all users in a tenant
Send message to all users in a team
Send message to a list of channels
Get Operation State
Get failed entries paginated
Cancel Operation

Specific Changes

Implemented the new methods in TeamsOperations, TeamsOperationsExtensions, and TeamsInfo.
Created botframework-connector/retry function to handle the retry logic of the operations.
Added batch operations models and mappers in botframework-connector to handle the operation responses and requests.
Added Errors class in botframework-schema to handle the list of errors returned by the retry function.
Added unit test to cover the new methods.

Testing
These images show some of the new operations working.

/promoted 4535


Custom sample rate

Can I use custom sampling rate, for example 32000 instead of 44100? I want to do this to increase the number of pairs with the same amount of memory.
I believe that many people do not need frequencies above 16 kHz and I want to try to improve the quality in the audible range. However, I am not sure that the custom sample rate will be compatible with the default window size.

@aufr33  Did you have answer for this issue?


Support ExecutionSuccess and ExecutionFailure topic

Added support for
export const successTopic = safeInterface.getEventTopic("ExecutionSuccess")
export const failureTopic = safeInterface.getEventTopic("ExecutionFailure")

Done.


Make editor compatible with Windows high contrast themes

By providing a manifest specifying the targeted Windows versions (as per this document) now the Godot editor renders normally under a high contrast theme on Windows, instead of staying white/black.

Just FYI multiple OSS projects (even Blender!) are affected by thiis and I'm trying to help those as well:
Blender
GDevelop


Livenet network page shows restricted IP Addresses

Occasionally a 10./8 or other private IPv4 address shows up on https://livenet.xrpl.org/network
It seems like it would be beneficial to have the livenet tool censor bogons, if it isn't too much work.
I'm going to also file a rippled issue suggesting a config option so a node can have an 'advertised address', but it seems like it makes sense to try to address this issue from both ends. I'm not 100% why this behavior occurs, but I suspect it happens when a peer on the same LAN as a given server reports information on that server to livenet.
Thanks

Closing as this will not require a change to the explorer.  This would maybe would apply to the https://github.com/ripple/validator-history-service.


whitespace causes parse failure with "Illegal quoting in line" error

When spaces are present between quoted entries, trailing or leading the CSV data, parse failure occurs.
Seems to happen in all versions of the plugin.
input {
 stdin {}
}

filter {
 csv {
 columns => [ "screentype", "devicetype" ]
 }
}

output {
 stdout {
  codec => rubydebug {}
 }
}

Note the space before the line in the 2nd record, and the space between fields in the 3rd record
2016-11-29T11:54:39,123][INFO ][logstash.agent           ] Successfully started Logstash API endpoint {:port=>9600}
"test1","test2"
{
    "@timestamp" => 2016-11-29T16:54:45.725Z,
      "@version" => "1",
    "screentype" => "test1",
       "message" => "\"test1\",\"test2\"",
    "devicetype" => "test2"
}
 "test1","test2"
[2016-11-29T11:54:57,222][WARN ][logstash.filters.csv     ] Error parsing csv {:field=>"message", :source=>" \"test1\",\"test2\"", :exception=>#<CSV::MalformedCSVError: Illegal quoting in line 1.>}
{
    "@timestamp" => 2016-11-29T16:54:56.479Z,
      "@version" => "1",
       "message" => " \"test1\",\"test2\"",
          "tags" => [
        [0] "_csvparsefailure"
    ]
}
"asdf3",   "234"
[2016-11-29T12:00:18,634][WARN ][logstash.filters.csv     ] Error parsing csv {:field=>"message", :source=>"\"asdf3\", \"234\"", :exception=>#<CSV::MalformedCSVError: Illegal quoting in line 1.>}
{
    "@timestamp" => 2016-11-29T17:00:17.933Z,
      "@version" => "1",
       "message" => "\"asdf3\", \"234\"",
          "tags" => [
        [0] "_csvparsefailure"
    ]
}

I don't' think there's any practical standard for what constitutes "CSV" but my rough understanding was that fields were comma-delimited and sometimes quotes were used for values. Spaces outside of values seems invalid, to me.
If I look outward a bit, what should the expected parsing result be for the following probably-not-valid-csv:

"hello" "world","foo bar"
"hello", "world"

Not jus t

I tested loading csv into LibreCalc with a few variants of "one","two","three" with spaces in various places, and things seem like they are loaded successfully.

After research above, I am agreeing this is a bug. We use the Ruby standard library CSV parser for this filter, and I don't see any mechanism in the CSV library to make it work with the whitespace-filled data you provide. This means we'll probably have to find (or write) a replacement library. I have no ETA on that effort.

I have the same issue and I have no idea how to fix it

I can third this issue. Is there a workaround?

The original spec (RF-4180) from 2005 doesn't mention what to do with this case, but a draft case of 2016 or so suggests we just trim any leading/trailing white-spaces outside a quote segment
Source
@jordansissel can this get a fix now?


[Communication Email] Addressing arch board feedback

Description
Adding AAD token support
All SDK Contribution checklist:

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

General Guidelines and Best Practices

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

Testing Guidelines

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

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-communication-email

@yogeshmo What is the status on this PR?

@yogeshmo What is the status on this PR?

It's no longer active, I'll go ahead and close this.


Invalid prop childreen - ForwardRef(TableCell)

Hi! Help!
I'm using the example of a table they give on their website, but with the latest versions.
I have an error with the TableCell component, the error can be seen here, could you help me?

Tech
Version

Material-UI
^4.1.1

MUI-datatables
^2.6.1

React
^16.8.6

browser
chrome

Interesting... if you get rid of the sort: false the error message does not longer appear.

Yep, figured that out and am already on it.

Should be resolved in 2.6.2.


Take %ask generator stuff out of sole- namespace

The bottom half of sur/sole concerns dojo generators, and uses only sole-prompt from the top half.

(or lib/dojo)

This may be the wrong way to go about this but...
I'm writing up tutorials for generators and the awful names of the parts of %ask are annoying me so I'm trying to extract them from sur/sole into their own sur/ask lib.
There are two problems I am encountering.

I've named all the gates ask-* which is not a great name so I need a better suggestion.
I can't seem to boot a fakezod with the release-candidate branch of arvo right now. Not sure if that's a problem on my end or something in the repo. Either way I am unable to test my changes against it right now.

Any thoughts on either of these would be greatly appreciated.

What happens when you try to boot?  Check also that your Vere is up to date...
Sent from my iPhone

On Oct 1, 2018, at 5:29 PM, David Kerschner<EMAIL_ADDRESS>wrote:
This may be the wrong way to go about this but...
I'm writing up tutorials for generators and the awful names of the parts of %ask are annoying me so I'm trying to extract them from sur/sole into their own sur/ask lib.
There are two problems I am encountering.
I've named all the gates ask-* which is not a great name so I need a better suggestion.
I can't seem to boot a fakezod with the release-candidate branch of arvo right now. Not sure if that's a problem on my end or something in the repo. Either way I am unable to test my changes against it right now.
Any thoughts on either of these would be greatly appreciated.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

I don’t mind ask- but I’ll have to see it...
Sent from my iPhone

On Oct 1, 2018, at 5:29 PM, David Kerschner<EMAIL_ADDRESS>wrote:
This may be the wrong way to go about this but...
I'm writing up tutorials for generators and the awful names of the parts of %ask are annoying me so I'm trying to extract them from sur/sole into their own sur/ask lib.
There are two problems I am encountering.
I've named all the gates ask-* which is not a great name so I need a better suggestion.
I can't seem to boot a fakezod with the release-candidate branch of arvo right now. Not sure if that's a problem on my end or something in the repo. Either way I am unable to test my changes against it right now.
Any thoughts on either of these would be greatly appreciated.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

@baudtack, the arms don't need to be prefixed in any way. Just give them meaningful names like "parse", "none", "prompt", etc. When you import the library with ford (/+  mylib), the names will be namespace'd by default (mylib:parse).
As for booting a fake-zod, make sure you have the release-candidate branch of both Arvo and vere, and use the -s option to find the latest pill.

fixed in #829


lo_unlink failed

After I delete model from DB, carrierwave-postgresql tries to call lo_unlink but there is no object with this oid in db already.
I am usin ActiveAdmin. It can be related.
PG::Error - lo_unlink failed:
  carrierwave-postgresql (0.1.5) lib/carrierwave/storage/postgresql_lo.rb:34:in `delete'
  carrierwave (0.10.0) lib/carrierwave/uploader/remove.rb:15:in `block in remove!'
  carrierwave (0.10.0) lib/carrierwave/uploader/callbacks.rb:17:in `with_callbacks'
  carrierwave (0.10.0) lib/carrierwave/uploader/remove.rb:14:in `remove!'
  carrierwave (0.10.0) lib/carrierwave/uploader/versions.rb:289:in `block in remove_versions!'
  carrierwave (0.10.0) lib/carrierwave/uploader/versions.rb:289:in `remove_versions!'
  carrierwave (0.10.0) lib/carrierwave/uploader/callbacks.rb:18:in `block in with_callbacks'
  carrierwave (0.10.0) lib/carrierwave/uploader/callbacks.rb:18:in `with_callbacks'
  carrierwave (0.10.0) lib/carrierwave/uploader/remove.rb:14:in `remove!'
  carrierwave (0.10.0) lib/carrierwave/mount.rb:392:in `remove!'
  carrierwave (0.10.0) lib/carrierwave/mount.rb:195:in `remove_image!'
  carrierwave (0.10.0) lib/carrierwave/orm/activerecord.rb:49:in `remove_image!'
  activesupport (4.2.4) lib/active_support/callbacks.rb:432:in `block in make_lambda'
  activesupport (4.2.4) lib/active_support/callbacks.rb:253:in `block in conditional'
  activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `block in call'
  activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `call'
  activesupport (4.2.4) lib/active_support/callbacks.rb:92:in `__run_callbacks__'
  activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_commit_callbacks'
  activerecord (4.2.4) lib/active_record/transactions.rb:314:in `committed!'
  activerecord (4.2.4) lib/active_record/connection_adapters/abstract/transaction.rb:89:in `commit_records'
  activerecord (4.2.4) lib/active_record/connection_adapters/abstract/transaction.rb:153:in `commit'
  activerecord (4.2.4) lib/active_record/connection_adapters/abstract/transaction.rb:175:in `commit_transaction'
  activerecord (4.2.4) lib/active_record/connection_adapters/abstract/transaction.rb:194:in `within_new_transaction'
  activerecord (4.2.4) lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `transaction'
  activerecord (4.2.4) lib/active_record/transactions.rb:220:in `transaction'
  activerecord (4.2.4) lib/active_record/transactions.rb:348:in `with_transaction_returning_status'
  activerecord (4.2.4) lib/active_record/transactions.rb:281:in `destroy'
   () home/yevhene/.rvm/gems/ruby-2.2.3@footstock/bundler/gems/activeadmin-06bf79c58216/lib/active_admin/resource_controller/data_access.rb:190:in `block in destroy_resource'
  activesupport (4.2.4) lib/active_support/core_ext/object/try.rb:77:in `try!'
  activesupport (4.2.4) lib/active_support/core_ext/object/try.rb:63:in `try'
   () home/yevhene/.rvm/gems/ruby-2.2.3@footstock/bundler/gems/activeadmin-06bf79c58216/lib/active_admin/callbacks.rb:79:in `block (2 levels) in define_active_admin_callbacks'
   () home/yevhene/.rvm/gems/ruby-2.2.3@footstock/bundler/gems/activeadmin-06bf79c58216/lib/active_admin/resource_controller/data_access.rb:189:in `destroy_resource'
  inherited_resources (1.6.0) lib/inherited_resources/actions.rb:58:in `destroy'
  actionpack (4.2.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
  actionpack (4.2.4) lib/abstract_controller/base.rb:198:in `process_action'
  actionpack (4.2.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
  actionpack (4.2.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
  activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call'
  activesupport (4.2.4) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
  activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call'
  activesupport (4.2.4) lib/active_support/callbacks.rb:92:in `__run_callbacks__'
  activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'
  activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks'
  actionpack (4.2.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
  actionpack (4.2.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
  actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
  activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument'
  activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
  activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument'
  actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
  actionpack (4.2.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
  activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
  actionpack (4.2.4) lib/abstract_controller/base.rb:137:in `process'
  actionview (4.2.4) lib/action_view/rendering.rb:30:in `process'
  actionpack (4.2.4) lib/action_controller/metal.rb:196:in `dispatch'
  actionpack (4.2.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
  actionpack (4.2.4) lib/action_controller/metal.rb:237:in `block in action'
  actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `dispatch'
  actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:45:in `serve'
  actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve'
  actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve'
  actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call'
  bullet (4.14.7) lib/bullet/rack.rb:10:in `call'
  warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
  warden (1.2.3) lib/warden/manager.rb:34:in `call'
  rack (1.6.4) lib/rack/etag.rb:24:in `call'
  rack (1.6.4) lib/rack/conditionalget.rb:38:in `call'
  rack (1.6.4) lib/rack/head.rb:13:in `call'
  actionpack (4.2.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
  actionpack (4.2.4) lib/action_dispatch/middleware/flash.rb:260:in `call'
  rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context'
  rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call'
  actionpack (4.2.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
  activerecord (4.2.4) lib/active_record/query_cache.rb:36:in `call'
  activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
  activerecord (4.2.4) lib/active_record/migration.rb:377:in `call'
  actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
  activesupport (4.2.4) lib/active_support/callbacks.rb:88:in `__run_callbacks__'
  activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
  activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks'
  actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
  actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
  actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
  better_errors (2.1.1) lib/better_errors/middleware.rb:84:in `protected_app_call'
  better_errors (2.1.1) lib/better_errors/middleware.rb:79:in `better_errors_call'
  better_errors (2.1.1) lib/better_errors/middleware.rb:57:in `call'
  actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
  actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
  railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app'
  railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call'
  activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
  activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged'
  activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged'
  railties (4.2.4) lib/rails/rack/logger.rb:20:in `call'
  quiet_assets (1.1.0) lib/quiet_assets.rb:27:in `call_with_quiet_assets'
  actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
  rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
  rack (1.6.4) lib/rack/runtime.rb:18:in `call'
  activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
  rack (1.6.4) lib/rack/lock.rb:17:in `call'
  actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call'
  rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
  railties (4.2.4) lib/rails/engine.rb:518:in `call'
  railties (4.2.4) lib/rails/application.rb:165:in `call'
  rack (1.6.4) lib/rack/content_length.rb:15:in `call'
  thin (1.6.4) lib/thin/connection.rb:86:in `block in pre_process'
  thin (1.6.4) lib/thin/connection.rb:84:in `pre_process'
  thin (1.6.4) lib/thin/connection.rb:53:in `process'
  thin (1.6.4) lib/thin/connection.rb:39:in `receive_data'
  eventmachine (1.0.8) lib/eventmachine.rb:193:in `run'
  thin (1.6.4) lib/thin/backends/base.rb:73:in `start'
  thin (1.6.4) lib/thin/server.rb:162:in `start'
  rack (1.6.4) lib/rack/handler/thin.rb:19:in `run'
  rack (1.6.4) lib/rack/server.rb:286:in `start'
  railties (4.2.4) lib/rails/commands/server.rb:80:in `start'
  railties (4.2.4) lib/rails/commands/commands_tasks.rb:80:in `block in server'
  railties (4.2.4) lib/rails/commands/commands_tasks.rb:75:in `server'
  railties (4.2.4) lib/rails/commands/commands_tasks.rb:39:in `run_command!'
  railties (4.2.4) lib/rails/commands.rb:17:in `<top (required)>'
  bin/rails:8:in `<top (required)>'
  spring (1.4.0) lib/spring/client/rails.rb:28:in `call'
  spring (1.4.0) lib/spring/client/command.rb:7:in `call'
  spring (1.4.0) lib/spring/client.rb:28:in `run'
  spring (1.4.0) bin/spring:49:in `<top (required)>'
  spring (1.4.0) lib/spring/binstub.rb:11:in `<top (required)>'
  /home/yevhene/.rvm/rubies/ruby-2.2.3/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
  bin/spring:13:in `<top (required)>'
  bin/rails:3:in `<main>'

$ tail -f /var/log/postgresql/postgresql-9.4-main.log
2015-10-10 14:39:59 EEST [16842-9] postgres@footstock_develop ERROR:  large object 1179618 does not exist

Did you expect the error to be treated in a different way?
Or the problem is that this is happening all deletes?
If is the later, are you sure the large objects are there before the dele command?

This is happening all deletes.
LO is accessible before destroy.

I'll look into it. If you could send some code for a failing spec that would be very helpful :D

Is there any update in this matter? I am facing the same problem.

@ppfp no, sorry. I am moved to simple file storage. (S3 - is alternative).

@ppfp I'm not currently using this code, but if someone provides a failing spec I'd be glad to fix it.

I bypassed the issue by first assigning model instance oid to nil, then saving, then running vacuum_lo then destroying. I do not know how expensive the vacuum_lo operation is, but I think it is fine for my use-case.

Also had this issue, I found that lo_unlink triggered two times, at first in after_save callback, and second inafter_commit callback  => so oid is not present at the last call and it fails to delete object.

Has this issue been fixed? When I try to use model.destroy_all, I receive PG::Error: lo_unlink failed. How can I avoid this error in both cases of removing one object and destroying all objects that relate to a particular model instance?


Only restart servers with changes made to them

isnt this done aswell?

isnt this done aswell?

No, the script can be a little smarter about how it does things, right now if the script runs, the servers restart.

No, the script can be a little smarter about how it does things, right now if the script runs, the servers restart.

Servers now restart daily and update if needed then


Service "rancher" is invalid: spec.clusterIP: Invalid value: "": field is immutable

What kind of request is this (question/bug/enhancement/feature request): bug
Steps to reproduce (least amount of steps as possible):
use helm provider, install latest chart and try to change something in helm_release
Result:
Service "rancher" is invalid: spec.clusterIP: Invalid value: "": field is immutable

Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI): rancher/rke
Installation option (single install/HA): single

  force_update     = false
  replace          = false


remove google source dependency

Without CLA we won't be able to accept it. Also, this is the wrong way to address the problem. Bazel accepts mirrors, which should be used instead of replacing the current url.

Closing because no response from user for over a month.


Module: tsvsf - FSBackedSystem has a fixed getCurrentDirectory() that breaks relative imports

Im using @typescript/vfs and its createFSBackedSystem to create an environment to test my transformer. I stumbled on the following problem where I am trying to figure out what the intention of the following line is:
https://github.com/microsoft/TypeScript-Website/blob/4700f41b706108a515c9f40dbcd17e453b7856e4/packages/typescript-vfs/src/index.ts#L432
This breaks relative imports when a file is read from disk but im not sure why. When I override system.getCurrentDirectory with () => process.cwd() everything works as expected, but I'm not sure why.
For example:
// test/values.ts

export const value = 42;

// test/objects/interfaces.ts:3:73

import { value } from '../values';
// AssertionError: test/objects/interfaces.ts:3:73 Cannot find module '../values' or its corresponding type declarations

I tried setting host.resolveModulesNames to see if the compiler would use that instead, but that doesnt seem to be used at all.
I dumped a stack trace to see why system.getCurrentDirectory is being used to resolve file relative imports but I'm a bit lost on why the compiler does it like this.

It seems that src/compiler/utilities.ts#getPathsBasePath is being used to figure out from where relative paths should be resolved

at Object.getCurrentDirectory (C:\Users\kevin\Documents\Projects\ts-transform-runtime-check\test\createEnvironment.ts:51:21)
    at Object.getPathsBasePath (C:\Users\kevin\Documents\Projects\ts-transform-runtime-check\node_modules\typescript\lib\typescript.js:17451:192)
    at tryLoadModuleUsingPathsIfEligible (C:\Users\kevin\Documents\Projects\ts-transform-runtime-check\node_modules\typescript\lib\typescript.js:39662:36)
    at tryLoadModuleUsingOptionalResolutionSettings (C:\Users\kevin\Documents\Projects\ts-transform-runtime-check\node_modules\typescript\lib\typescript.js:39643:24)
    at tryResolve (C:\Users\kevin\Documents\Projects\ts-transform-runtime-check\node_modules\typescript\lib\typescript.js:39788:28)
    at C:\Users\kevin\Documents\Projects\ts-transform-runtime-check\node_modules\typescript\lib\typescript.js:39784:69
    at Object.forEach (C:\Users\kevin\Documents\Projects\ts-transform-runtime-check\node_modules\typescript\lib\typescript.js:384:30)
    at nodeModuleNameResolverWorker (C:\Users\kevin\Documents\Projects\ts-transform-runtime-check\node_modules\typescript\lib\typescript.js:39784:25)
    at nodeModuleNameResolver (C:\Users\kevin\Documents\Projects\ts-transform-runtime-check\node_modules\typescript\lib\typescript.js:39776:16)
    at Object.resolveModuleName (C:\Users\kevin\Documents\Projects\ts-transform-runtime-check\node_modules\typescript\lib\typescript.js:39547:30)
    at loader_1 (C:\Users\kevin\Documents\Projects\ts-transform-runtime-check\node_modules\typescript\lib\typescript.js:106565:99)
    at loadWithLocalCache (C:\Users\kevin\Documents\Projects\ts-transform-runtime-check\node_modules\typescript\lib\typescript.js:106314:42)
    at actualResolveModuleNamesWorker (C:\Users\kevin\Documents\Projects\ts-transform-runtime-check\node_modules\typescript\lib\typescript.js:106566:129)
    at resolveModuleNamesWorker (C:\Users\kevin\Documents\Projects\ts-transform-runtime-check\node_modules\typescript\lib\typescript.js:106803:26)
    at resolveModuleNamesReusingOldState (C:\Users\kevin\Documents\Projects\ts-transform-runtime-check\node_modules\typescript\lib\typescript.js:106900:24)
    at processImportedModules (C:\Users\kevin\Documents\Projects\ts-transform-runtime-check\node_modules\typescript\lib\typescript.js:108351:35)
    at findSourceFileWorker (C:\Users\kevin\Documents\Projects\ts-transform-runtime-check\node_modules\typescript\lib\typescript.js:108153:17)
    at findSourceFile (C:\Users\kevin\Documents\Projects\ts-transform-runtime-check\node_modules\typescript\lib\typescript.js:108014:26)
    at C:\Users\kevin\Documents\Projects\ts-transform-runtime-check\node_modules\typescript\lib\typescript.js:107966:85
    at getSourceFileFromReferenceWorker (C:\Users\kevin\Documents\Projects\ts-transform-runtime-check\node_modules\typescript\lib\typescript.js:107933:34)
    at processSourceFile (C:\Users\kevin\Documents\Projects\ts-transform-runtime-check\node_modules\typescript\lib\typescript.js:107966:13)
    at processRootFile (C:\Users\kevin\Documents\Projects\ts-transform-runtime-check\node_modules\typescript\lib\typescript.js:107776:13)
    at C:\Users\kevin\Documents\Projects\ts-transform-runtime-check\node_modules\typescript\lib\typescript.js:106658:67
    at Object.forEach (C:\Users\kevin\Documents\Projects\ts-transform-runtime-check\node_modules\typescript\lib\typescript.js:384:30)
    at Object.createProgram (C:\Users\kevin\Documents\Projects\ts-transform-runtime-check\node_modules\typescript\lib\typescript.js:106658:16)

Any ideas on what im missing here? I'd like vfs to behave as expected in its node environment, but im lost on what is going wrong here.

I used the static root because I figured that was the project root and the cwd for the project. I'd be surprised if TypeScript was expecting the cwd to change depending on a relative file. I think it might be a good idea to add a test case for it in the vfs package

Ill take a shot at that. I cloned the repo and look into the contribution guidelines.

Running the tests locally does seem to fail:
 PASS  test/index.test.ts (5.257s)
 FAIL  test/fsbacked.test.ts (5.459s)
  ● can import files in the virtual fs

    expect(received).toEqual(expected) // deep equality

    - Expected  - 1
    + Received  + 3

    - Array []
    + Array [
    +   "Cannot find module './file-with-export' or its corresponding type declarations.",
    + ]

      56 |   errs.push(...env.languageService.getSyntacticDiagnostics(index))
      57 |
    > 58 |   expect(errs.map(e => e.messageText)).toEqual([])
         |                                        ^
      59 | })
      60 |

      at Object.<anonymous> (test/fsbacked.test.ts:58:40)

Is there a set in stone way of debugging tests? I think I can figure it out, but tsdx is still new to me.

Well debugging is suprisingly easy. VSCode allows to attach a debugger to yarn test. The reason my test is failing is because the fsMap looks like:
0:(2) ['C:\\Users\\kevin\\Documents\\Projects\\TypeScript-Website\\fake\\file-with-export.ts', 'export const helloWorld = "Example string";']
1:(2) ['C:\\Users\\kevin\\Documents\\Projects\\TypeScript-Website\\fake\\index.ts', 'import {helloWorld} from "./file-with-export"; console.log(helloWorld)']

And it tries to fetch the file with the key: C:/Users/kevin/Documents/Projects/TypeScript-Website/fake/index.ts.
I'll open an issue for that, and try to find the original bug in WSL


Updating 4.0 hash for Kitura

https://bugs.swift.org/browse/SR-6748
Newer hash seems to resolve the dependency issues as shown in SR-6748

@swift-ci test


Nav Breaks When there isnt a Utility Nav

Delete the top two entries in the nav, the utility links, see that the nav doesn't show at all. Since for phase 1a we dont need the pages currently in the utility section e need a way to show the nav without the utility ....
I took a shot at a fix here: https://no-utility-nav-use-case-mod--takeda-ihs--hlxsites.hlx.page/

Fixed with content edits.
Leave one empty list item to display the nav without any content.


tiny refactor in data loading

very small refactor in how data is loaded to expose the method for tuning a dataframe into user, item, ratings dicts for use in recommenders

LGTM!


Make it possible to choose which model to use for automatic generation of chat title in the list.

Make it possible to choose which model to use for automatic generation of chat title in the list.
For example, instead of gpt-3.5-turbo use gpt-4o-mini.
By default, gpt-3.5-turbo is used to generate the chat title.
https://betterchatgpt.canny.io/feature-requests/p/make-it-possible-to-choose-which-model-to-use-to-create-the-chat-title

@animalnots
Do I understand correctly that now the same model is used for generating the title as for generating the main text?
If so, can you make it possible to separately select the model for automatic title generation. For example, in default chat config, add a model selection for header generation. So that you can call, for example, gpt-4o for main text generation, and gpt-4o-mini for automatic title generation.

added in https://github.com/animalnots/BetterChatGPT-PLUS/releases/tag/v1.5.0


Cannot GET / or /login

In the Setup Instruction Step 9
If we follow the instruction and use node smart-home-provider-cloud.js isLocal command when the current path is smart-home-provider/cloud, the localhost:3000 or ngrok url is 404, since the node_module is in smart-home-provider folder.
Instead of using  node smart-home-provider-cloud.js isLocal command, we should input  node cloud/smart-home-provider-cloud.js isLocal, then we can access the login page.
Although this is a very small issue, since I am not familiar with nodejs, it took me 2 days to find the solution.

Thanks for posting this. I'm going to try to push out a few changes, including this README fix, tomorrow.

Thank you for this! I thought I was going crazy.

:+1: new changes have been made, so I'm going to close this


Hyundai: remove CAN fingerprints

According to the FP bot, these (Hyundai) dongles have been CAN fingerprinting on the past 3 releases in the last 90 days, but now all FW fingerprint on master:
{'95040c267966a52c', '1fa78293c27f8aa0', 'aaf2f8e95bfb437f', 'c9508b688d2009f6', 'cb7eee5264754a21', '7ae1c131629d96e5', '1613602610c3e789', '0e13ee2b821302f4', 'a647223762c0a9d5', 'dbda33c67462b907', '6b111e8e45cc2d07', 'ebdfcd4184611cfd', '36abc44c4f296c7a', '414c7928c36f12a3', 'c6aaf0a8faa7f18b', '70a73b2fbd820de4', '8b8d0edc013a0414', '9004767ba8fe7321'}

Nissan and GM are left!


Error when generating key/certificate pair using java keytool

The keytool command provided by openjdk installations can be used with a PKCS#11 driver.
A configuration file is needed which points to the pkcs11 driver (and a name)
library=/path/to/BouncyHsm.Pkcs11Lib-x64.so
name=bouncy-hsm

the command to the generate a new private key and corresponding self-signed certificate:
keytool -keystore NONE -storetype PKCS11 -providerClass sun.security.pkcs11.SunPKCS11 -providerArg java-pkcs11.cfg -genkey -keyalg RSA -keysize 2048 -dname cn=sample -alias sample-rsa

this fails with the following error message:
[12:33:51 INF] Executing operation CreateObject.
[12:33:51 ERR] Pkcs11 error during operation CreateObject with CKRV: CKR_ATTRIBUTE_VALUE_INVALID.
BouncyHsm.Core.Services.Contracts.RpcPkcs11Exception: Attribute CKA_SERIAL_NUMBER is not valid X509 Name in DER encoding.
 ---> System.ArgumentException: failed to construct integer from byte[]: unexpected end-of-contents marker
   at Org.BouncyCastle.Asn1.DerInteger.GetInstance(Object obj)
   at BouncyHsm.Core.Services.Contracts.Entities.CryptoObjectValueChecker.CheckDerInteger(CKA attributeType, Byte[] data, Boolean enableEmpty, Boolean mustByPositive)
   --- End of inner exception stack trace ---
   at BouncyHsm.Core.Services.Contracts.Entities.CryptoObjectValueChecker.CheckDerInteger(CKA attributeType, Byte[] data, Boolean enableEmpty, Boolean mustByPositive)
   at BouncyHsm.Core.Services.Contracts.Entities.X509CertificateObject.Validate()
   at BouncyHsm.Core.Services.P11Handlers.CreateObjectHandler.Handle(CreateObjectRequest request, CancellationToken cancellationToken)
   at BouncyHsm.Core.Rpc.RequestProcessor.ProcessRequestBody[TRequest,TResponse](IServiceProvider scopeProvider, String operation, ReadOnlyMemory`1 requestBody, Func`2 nonOkResponseFactory, ILogger logger, CancellationToken cancellationToken)

@MaxFichtelmann try this build, it also logs the value of the problem attribute.
https://github.com/harrison314/BouncyHsm/actions/runs/11578823608


bug in footer section

Bug in footer section
[Cite any related issue(s) this pull request addresses. If none, simply state “None”]
Fixes:  #534
Description
there is a duplicate section in the footer section. I make the changes in the footer section.

Type of PR

[x] Bug fix
[ ] Feature enhancement
[ ] Documentation update
[ ] Other (specify): _______________

Screenshots / videos (if applicable)
before:

After:

Checklist:

[x] I have made this change from my own.
[ ] I have taken help from some online resources.
[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[ ] I have commented my code, particularly in hard-to-understand areas.
[x] I have made corresponding changes to the documentation.
[x] My changes generate no new warnings.
[x] I have tested the changes thoroughly before submitting this pull request.
[x] I have provided relevant issue numbers and screenshots after making the changes.

@Antima2004 Due to a conflicting issue, some code was removed from the repository. We are investigating the matter. Meanwhile, please check on your end, and if your PR code no longer exists, kindly create the PR again for merging.Please Do Sync fork before then add your part in code as none of the contributions are visible in website BuddyTrail. Thank you for your understanding!

Ok