Monit: support commandline parameters in Custom Services

Hi,
found that monit supports command line parameters at least since the latest release.
But the UI verifies the if the PATH  is a file only.
Would be great if command line parameters are supported here.
In the munit config path  +  parameters need to be given as one string in quotes.
Tried this out by manually editing the monit.config and it is working find from a monit prospective.
Here an example:
check program raid-md127 with path "/sbin/mdadm --misc --test /dev/md127"    if status != 0 then alert
If you touch the code there you may also want to allow to give the timeout parameter.
Thanks for your great work
Thomas

Hi Thomas,
the program path is quoted now and the timeout parameter can be set as an advanced option.
Cheers
Frank

Hi Frank,
thanks for the fast response. And fix.
Just for verification, as it is not mentioned in you comment. You allow parameter in addition to the quotes? And the verification check if the first part is an existing file?
Thanks again
Thomas

Just for verification, as it is not mentioned in you comment. You allow parameter in addition to the quotes? And the verification check if the first part is an existing file?

The additional parameters have already worked.
The quotes are necessary due to the timeout parameter.
And the verification only checks if the first part is a path regardless if the file exists or not.
Hope that helps :wink:

Had no luck creating a custom service (without timeout) until I have added the quotes in the config manually. Before monit was complaining about the config file.
However if it is fixed now I am happy. WHich release will contain this fixes?

18.7.6 or later. Needs review to see how error-prone it is against injection.


"lightgtb" edition for the newest bitcon-abc

hi,
will you provide the newest  "lightgbt" edition for the newest bitcon-abc?

Is this for mining BCH or BCHA?  If you'r mining BCH (Bitcoin Cash), BCHN software already has getblocktemplatelight built-in.
if you want to use bitcoin-abc on  ABC's coin, BCHA, then you indeed would need some special edition...

Is this for mining BCH or BCHA?  If you'r mining BCH (Bitcoin Cash), BCHN software already has getblocktemplatelight built-in.
if you want to use bitcoin-abc on  ABC's coin, BCHA, then you indeed would need some special edition...


Use Safe contract 0.0.2

Pull Request Test Coverage Report for Build 9

29 of 33 (87.88%)  changed or added relevant lines in 4 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+5.7%) to 88.534%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

gnosis/safe/safe_service.py
23
27
85.19%

Files with Coverage Reduction
New Missed Lines
%

gnosis/safe/safe_service.py
1
82.85%

Totals

Change from base Build 5:
5.7%

Covered Lines:
610

Relevant Lines:
689

💛  - Coveralls


Create sensor_images_example.py

Some simple python functions demonstrating how to parse and visualise sensor data.

Hi @benibienz, thanks for the contribution and the interest in CARLA! However, this was already implemented in the new API. The changes are still in the new_client_api branch, but it will be merged to master in the coming days.

OK no worries


[AIRFLOW-970] Latest runs on homepage should load async and in batch

Please accept this PR that addresses the following issues:

https://issues.apache.org/jira/browse/AIRFLOW-970

Testing Done:

Opened UI, existing tests, and identical HTML

This causes our render time to go from 6s to 2s.
@aoen

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@695ed93). Click here to learn what that means.
The diff coverage is 20%.

@@            Coverage Diff            @@
##             master    #2144   +/-   ##
=========================================
  Coverage          ?   67.08%
=========================================
  Files             ?      142
  Lines             ?    10744
  Branches          ?        0
=========================================
  Hits              ?     7208
  Misses            ?     3536
  Partials          ?        0

Impacted Files
Coverage Δ

airflow/www/views.py
66.98% <20%> (ø)

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 695ed93...101e4e1. Read the comment docs.

@bolkedebruin PTAL

@bolkedebruin unless we want private APIs there I think we should leave it. This has special logic that's not really useful unless for the homepage

@saguziel we will have private API's (Task to API communication) eventually, but we can always move stuff. As mentioned I am not particularly opinionated here.
Can you take care of removing the the DB access from the function in views?

The db access is contained entirely within models now

Session is still opened in views? Also please verify your commit message against the guidelines pls (subject imperative and subject length)

bump @bolkedebruin

bump again


Template Edit "Clickable UI"

Description
This pull request is far too big, I need to get better at descoping in future. I think I will generate a few cards from this to spin off.
This PR focuses on having a clickable interface for the template editor, the aim was to try to make majority of links clickable without doing any of the GraphQL integration.
https://www.loom.com/share/791017d9b19e40dd96b23f6e2b8bca1a
Happy to jump on a call separate from our regular meetings to discuss if need be
Type of change

[x ] New feature (non-breaking change which adds functionality)

How Has This Been Tested?
Test have done across browsers, and ran browser plugin accessibility checks. Will revisit and add jest tests once we get further along.
Checklist:

[ ] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I updated the CHANGELOG.md and added documentation if necessary
[ ] I have added tests that prove my fix is effective or that my feature works
[x] I have completed manual or automated accessibility testing for my changes
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

Thanks @fraserclark. I'll try and take a look at your PR tomorrow, Friday.

Hi @fraserclark. Great progress. It's nice to see things coming together.
I just have a few comments in your PR.
Also, I saw a linting error when I ran the linter on your branch, and was wondering if you saw that during your commit? I would've thought that the pre-commit would've caught that. Hopefully it's working as expected.

All fixed and commented on things ive not fixed.
I think the font naming should be a separate PR
Same with the "create template start page" maybe a separate update, as is incomplete styling


Refactor login screen design

Current state:

@sterapps not sure, but can we use https://www.anglify.io/components/form-field for this?

Thanks @sterapps for designing and implementing the new login screen


DSE restructuring and improvements

You'll see lots of edits in this PR, but no worries: it's mostly just moving stuff around and dropping useless functionalities.
Now the DSE has its own subdirectory dse, and its components are split over multiple files.
The Bhaskara polynomials approximation is now applicable by the DSE; as such, it's been removed from TTI.
A few more things:

Now we always print the compilation time
The factorized attribute has finally been dropped
Added basic infrastructure for creating temporaries graphs, which will be used in subsequent versions of the DSE

All new functionalities are properly tested
I'm happy to rebase if #161 lands first

Will rebase and address your comments soon

Please make sure that any tti example/test uses space_order=4,8,10..

Rebased.
If Travis is happy, we can merge this.


Add chisel version to generated top-level page.

Type of change: other enhancement
Impact: no functional change
Development Phase: implementation

Is there a way to do this by configuring the doc generator instead of as a hackish post-processing string replacement operation?

It's actually a hackish pre-processing string replacement. Although one would think sbt-unidoc would provide a mechanism to support this (they add the version to page titles), it doesn't appear to be documented. I have a slight preference for a visible, user-controlled string replacement hack, than using undocumented implementation details.


[Enhancement]: Add an E2E case for MO with MinIO

Is there an existing issue for enhancement?

[X] I have checked the existing issues.

What would you like to be added ?
Add an E2E case for MO with MinIO.
Why is this needed ?
No response
Additional information
No response

closed via #56


Falco build service

Motivation
As discussed in the build and release infrastructure call we decided to build a service that will allow people to:

Download deb/rpm packages
Download probes and kernel modules

When a probe or kernel module is required by a user for a specific combination of kernel version + falco version + kernel config flags, that triggers a build for that combination that will result in an artifact. That artifact will be available at the same url after.
@kris-nova and @fntlnz are going to make a proposal for this with more details.
Alternatives

The s3 we have now

Additional context
Look here https://hackmd.io/ub_t_KqlSzS4Gc_e3r1oOQ?both

Link to repository to track this work: https://github.com/falcosecurity/build-service
We can open issues there


Allow specifying the offset commit policy as a threshold

The threshold represents the number of messages that can be processed before an offset commit is required, thus putting an upper bound on duplicate message processing in case a consumer dies.

:+1:


check the schema for lock table existence

To attempt to avoid deadlock on mysql, check the schema for lock
table existence.

Even with "create table if not exists", we were seeing lock issues in MS Azure.  This seems to make it better.  We still had some deadlocks occurring on 2nd and 3rd instances of our code that was deploying, but I think that's due to configuration issues on our side.


Allow using hook for individual getters

Check the updated README to see the new alternative way of using useConnect.
Maybe useConnect is not the best name for this hook anymore, let's discuss alternatives (we can make an alias and deprecate the old name). I was thinking about useRemx but don't like that it's based on library name.
Thanks @yedidyak for the idea.

Maybe useConnectedValue ?


Add localSeq information to mapKernel value operations

This information is needed to implement rebasing of interval ops on reconnection; without it it's impossible to know which local segments should be included.

I wasn't sure whether it was worth the effort to add direct tests for this behavior, considering we have plans to remove most of the plumbing involved here and the tests for reconnect correctness will indirectly test this. If the reviewer thinks it's worth it though I can write some.


Application.configure function :env assign not correct

env variable assign not correct . please update it.

here， just set env and type to "all", it is correct. a more readable code should be:
Application.configure = function(/*env, type, fn) {
     var args = [].slice.call(arguments);
    fn = args.pop();
    var env = Constants.RESERVED.ALL;
    var type = Constants.RESERVED.ALL;
    .....
}


Allow arbitrary Charset for binary output

Right now, only UTF-8 is supported. This would change the parameter in gg.jte.gradle.JteTaskBase#setBinaryStaticContent from boolean to a Charset.
This breaking change would likely be part of jte 3.0.

I'd say let's keep things simple and stick to UTF-8.

I think you are right. It could be a source of very nasty bugs if the encoding of the output and the encoding of the precompiled templates does not match.


build-rust-crate: modify rustc flags

set codegen-units=1 in release
disable incremental build (doesn't make sense in nix)

original author: Luka Blaskovic<EMAIL_ADDRESS>original patch: https://github.com/tvbeat/nixpkgs/commit/2aa98b7cc4738ac191dbed21afdf07604f4f43c8.patch
The original patch included LTO optimizations, but LTO can have
unwanted effects on some rust programs (e.g. reduced performance),
thus I excluded that from this commit.
Motivation for this change
Setting codegen-units to 1 causes the rust compiler to run whole-program optimizations more aggressively, as the whole code is in the same codegen unit, and thus optimized all at once.
Incremental builds don't make sense for builds using Nix.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 117277 at b3a33403 run on x86_64-linux 1

4 packages built successfully:

cargo-download
carnix
systemfd
toml2nix

Setting codegen-units to 1 causes the rust compiler to run whole-program optimizations more aggressively, as the whole code is in the same codegen unit, and thus optimized all at once.
Incremental builds don't make sense for builds using Nix.

Incremental builds: agree. codegen-units: have you timed the difference for some large projects?

I got rid of the codegen-units stuff, as there is no clear consensus... A fix for this would be probably the introduction of another argument to buildRustCrate, e.g. aggressiveOptimizations, which could enable LTO and lower codegen-units...


MXNet 2.x significantly slower than 1.x in Sockeye

Description
We observe a significant reduction in Sockeye inference speed with a recent build of MXNet 2.x (master branch). Compared to 1.x versions of MXNet, GPU translation with MXNet 2.x is ~2x slower.
For MXNet 2.x, we migrated Sockeye to the Gluon 2.0 interface and adopted the new Numpy namespaces. Otherwise, code is equivalent to master with the same level of hybridization (static_alloc=True) in both branches. The pull request/branch can be found here: https://github.com/awslabs/sockeye/pull/953.
The runs below use half-precision and run on a p3.2xlarge. Outputs are equal.
p3.2xlarge instance
batch size 64
mxnet-cu112 2.0.0b20211001:
[INFO:__main__] Processed 3003 lines. Total time: 37.2888, sec/sent: 0.0124, sent/sec: 80.5336

mxnet-cu112 1.7:
[INFO:__main__] Processed 3003 lines. Total time: 20.2805, sec/sent: 0.0068, sent/sec: 148.0735

batch size 1
mxnet-cu112 2.0.0b20211001:
[INFO:__main__] Processed 3003 lines. Total time: 858.3818, sec/sent: 0.2858, sent/sec: 3.4984

mxnet-cu112 1.7:
[INFO:__main__] Processed 3003 lines. Total time: 302.0189, sec/sent: 0.1006, sent/sec: 9.9431

g4 instance
mx18/out.1.bpe.log:[2021-10-04:20:02:32:INFO:__main__:read_and_translate] Processed 3003 lines. Total time: 316.4692, sec/sent: 0.1054, sent/sec: 9.4891
mx18/out.64.bpe.log:[2021-10-04:20:03:10:INFO:__main__:read_and_translate] Processed 3003 lines. Total time: 31.8175, sec/sent: 0.0106, sent/sec: 94.3819
mx20/out.1.bpe.log:[2021-10-04:20:17:32:INFO:__main__:read_and_translate] Processed 3003 lines. Total time: 714.5509, sec/sent: 0.2379, sent/sec: 4.2026
mx20/out.64.bpe.log:[2021-10-04:20:18:26:INFO:__main__:read_and_translate] Processed 3003 lines. Total time: 46.4607, sec/sent: 0.0155, sent/sec: 64.6352

To Reproduce

Download the Sockeye sample model
Run translate.sh with the master branch of Sockeye
Run translate.sh with the mx2 branch of Sockeye

Steps to reproduce
(Paste the commands you ran that produced the error.)

wget https://github.com/awslabs/sockeye/releases/download/2.3.22/wmt14_en_de.tgz
tar -xvf wmt14_en_de.tgz
git clone https://github.com/awslabs/sockeye.git
pip install -r sockeye/requirements/requirements.gpu-cu112.txt`
mv sockeye/sockeye wmt_14_en_de
cd wmt_14_en_de
bash translate.sh [translate with master branch]
git checkout mx2
(Install nightly build of mx2: pip uninstall mxnet-cu112 ; pip install --pre -f https://dist.mxnet.io/python 'mxnet-cu112')
bash translate.sh [translate with mx2 branch]

What have you tried to solve it?

Environment

Cuda 11.2 (conda install -c conda-forge nccl cudnn cudatoolkit==11.2)
MXNet 1.8.post0 or MXNet 1.7 vs MXNet 2.x (2.0.0b20211001)

@blchu  has been working on this together with @barry-jin . We found big CPU overhead in 2.x vs. 1.x. One specific op, unravel, runs on CPU instead of GPU in 2.x due to the interface change. The fixing is ongoing. @szha FYI too.

I've done some additional profiling of the code, and have noticed that certain parts of the code are being slowed down by functions that currently call asnumpy() and use the numpy array equivalent function instead. Directly implementing these functions should improve the performance considerably. Also, the __getitem__ function is slower than the numpy version, and moving the code to the backend would improve array indexing performance.
I've attached an image of the profile visualization of the related part of the code (getting the best translations at the end of decoding).


Update "bundles" Wiki

Hi,
Thanks for the awesome library, we have been using it for quite sometime, and is quite useful!.
We spent sometime trying to understand what's wrong after the major update, as our builds were failing with the following error:

"A problem occurred evaluating script.
Could not find method bundle() for arguments [kotlin-stdlib, dependency_analysis_dvsliagx61bjs063tibt8j0yl$_run_closure1$_closure4$_closure6@30851adc] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler"

Until we noticed that "bundle" should be nested under "structure" not "dependencies" like the wiki says:
https://github.com/autonomousapps/dependency-analysis-gradle-plugin/wiki/Customizing-plugin-behavior#logical-dependency-groups-aka-dependency-bundles

Thanks for letting me know! I've updated the wiki.
Please note that the old name, dependencies, has been deprecated for a while :) Were the deprecation warnings not showing up in your IDE or build logs?


Refactor remainder of Policies tab groups

Compiled mod for testing: TMPE.zip
Part of ongoing work on #1356 phase 2.

Notably, this ensures options propagate to features they require (eg. setting parking ban on roundabouts will enable parking restrictions feature)
Fixes: #1429

This completes phase 2 refactor of all mod options groups.
Closes: #62

Path of evil is default value in new game. is this expected? I remember it used to be minor complaints.

Also "vehicles going straight on can change lane on junctions" is on by default. Isn't that illegal in the real world?

Path of evil is default value in new game. is this expected? I remember it used to be minor complaints.

Good catch! That's likely an issue from an earlier PR. I'll update this PR to fix.

@kianzarrin Fixed bugs you spotted.

@kvakvs Is there any changes you specifically want in this PR or can comments above be left until next phase of updates to options stuff?

I checked WS TMPE and this build and found more differences. Not sure if relevant to this PR.

Individual driving style used to be on by default
buses may ignore lane arrows used to be off by default

Old values in new game:

urg, 1 sec, will send PR to fix

buses may ignore lane arrows used to be off by default

Yeah, that was causing constant trickle of support so it was changed in this PR.
Can change it back to off by default if desired. @krzychu124 what do you think?


'Connection aborted.', RemoteDisconnected('Remote end closed connection without response')

Hi, I always encounter the error: 'Connection aborted.', RemoteDisconnected('Remote end closed connection without response'). As a result, some images fail to download and must be retrieved manually. How can I fix this error? This is the log from an ebook I attempted to download.
[24/Oct/2023 18:54:30] ** Welcome to SafariBooks! **
[24/Oct/2023 18:54:31] Successfully authenticated.
[24/Oct/2023 18:54:31] Retrieving book info...
[24/Oct/2023 18:54:31] Title: The Video Games Textbook, 2nd Edition
[24/Oct/2023 18:54:31] Authors: Brian J. Wardyga
[24/Oct/2023 18:54:31] Identifier:<PHONE_NUMBER>227
[24/Oct/2023 18:54:31] ISBN:<PHONE_NUMBER>227
[24/Oct/2023 18:54:31] Publishers: CRC Press
[24/Oct/2023 18:54:31] Rights:
[24/Oct/2023 18:54:31] Description: The Video Games Textbook takes the history of video games to the next level. Coverage includes every major video game console, handheld system, and game-changing personal computer, as well as a look at the business, technology, and people behind the games.Chapters feature objectives and key terms, illustrative timelines, color images, and graphs in addition to the technical specifications and key titles for each platform. Every chapter is a journey into a different segment of gaming, where reade...
[24/Oct/2023 18:54:31] Release Date: 2023-06-13
[24/Oct/2023 18:54:31] URL: https://learning.oreilly.com/library/view/the-video-games/9781000868227/
[24/Oct/2023 18:54:31] Retrieving book chapters...
[24/Oct/2023 18:54:33] Output directory:
    C:\Users\Admin\Downloads\safaribooks\Books\The Video Games Textbook 2nd Edition<PHONE_NUMBER>227)
[24/Oct/2023 18:54:33] Downloading book contents... (25 chapters)
[24/Oct/2023 18:54:33] Created: A_000_cover.xhtml
[24/Oct/2023 18:54:33] Crawler: found a new CSS at https://learning.oreilly.com/api/v2/epubs/urn:orm:book:9781000868227/files/styles/9781000868227.css
[24/Oct/2023 18:54:33] Created: A_000_halftitle.xhtml
[24/Oct/2023 18:54:34] Created: A_000_TitlePage.xhtml
[24/Oct/2023 18:54:34] Created: A_001_copy.xhtml
[24/Oct/2023 18:54:35] Created: A_002_toc.xhtml
[24/Oct/2023 18:54:35] Created: A_003_abbreviations1.xhtml
[24/Oct/2023 18:54:36] Created: A_004_ack1.xhtml
[24/Oct/2023 18:54:36] Created: A_005_author.xhtml
[24/Oct/2023 18:54:37] Created: A_006_intro.xhtml
[24/Oct/2023 18:54:37] Created: C_005_c1.xhtml
[24/Oct/2023 18:54:38] Created: C_006_c2.xhtml
[24/Oct/2023 18:54:39] Created: C_007_c3.xhtml
[24/Oct/2023 18:54:39] Created: C_008_c4.xhtml
[24/Oct/2023 18:54:40] Created: C_009_c5.xhtml
[24/Oct/2023 18:54:40] Created: C_010_c6.xhtml
[24/Oct/2023 18:54:41] Created: C_011_c7.xhtml
[24/Oct/2023 18:54:41] Created: C_012_c8.xhtml
[24/Oct/2023 18:54:42] Created: C_013_c9.xhtml
[24/Oct/2023 18:54:43] Created: C_014_c10.xhtml
[24/Oct/2023 18:54:43] Created: C_015_c11.xhtml
[24/Oct/2023 18:54:44] Created: C_016_c12.xhtml
[24/Oct/2023 18:54:45] Created: C_017_c13.xhtml
[24/Oct/2023 18:54:45] Created: C_018_c14.xhtml
[24/Oct/2023 18:54:46] Created: C_019_c15.xhtml
[24/Oct/2023 18:54:47] Created: Z_020_index.xhtml
[24/Oct/2023 18:54:47] Downloading book CSSs... (1 files)
[24/Oct/2023 18:54:48] Downloading book images... (382 files)
[24/Oct/2023 19:04:50] ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
[24/Oct/2023 19:04:50] Error trying to retrieve this image: un05_01.jpg
    From: https://learning.oreilly.com/api/v2/epubs/urn:orm:book:9781000868227/files/images/un05_01.jpg
[24/Oct/2023 19:15:12] ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
[24/Oct/2023 19:15:12] Error trying to retrieve this image: Fig09_01.jpg
    From: https://learning.oreilly.com/api/v2/epubs/urn:orm:book:9781000868227/files/images/Fig09_01.jpg
[24/Oct/2023 19:25:53] ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
[24/Oct/2023 19:25:53] Error trying to retrieve this image: Fig14_13.jpg
    From: https://learning.oreilly.com/api/v2/epubs/urn:orm:book:9781000868227/files/images/Fig14_13.jpg
[24/Oct/2023 19:28:45] Creating EPUB file...
[24/Oct/2023 19:28:55] Done: C:\Users\Admin\Downloads\safaribooks\Books\The Video Games Textbook 2nd Edition<PHONE_NUMBER>227)\9781000868227.epub

    If you like it, please * this project on GitHub to make it known:
        https://github.com/lorenzodifuccia/safaribooks
    e don't forget to renew your Safari Books Online subscription:
        https://learning.oreilly.com

[!] Bye!!

The problem is that the URL used for logging in to "Safari Book" has been deprecated. Therefore, when the script attempts to navigate to this URL to authenticate the user, it no longer exists.


Creating a Hue group no longer works

The current configuration is 6 lights (2 colour, 2 ambiance, 2 white), they are each in 3 rooms (Party Room, Ambiance Room, Living Room) -- configured via the Philips Hue App.
When pressing "Add another App" and selecting the Philips Hue bridge nothing happens.
Looking at the senic_hub.log file the following error is thrown:
2017-10-25 12:49:58,695 ERROR [waitress] Exception when serving /-/nuimos/c7-de-b3-28-ad-b7/components
Traceback (most recent call last):
  File "/usr/lib/python3.5/site-packages/waitress/channel.py", line 338, in service
    task.service()
  File "/usr/lib/python3.5/site-packages/waitress/task.py", line 169, in service
    self.execute()
  File "/usr/lib/python3.5/site-packages/waitress/task.py", line 399, in execute
    app_iter = self.channel.server.application(env, start_response)
  File "/usr/lib/python3.5/site-packages/raven/middleware.py", line 98, in __call__
    iterable = self.application(environ, start_response)
  File "/usr/lib/python3.5/site-packages/pyramid/router.py", line 236, in __call__
    response = self.invoke_subrequest(request, use_tweens=True)
  File "/usr/lib/python3.5/site-packages/pyramid/router.py", line 211, in invoke_subrequest
    response = handle_request(request)
  File "/usr/lib/python3.5/site-packages/pyramid/tweens.py", line 51, in excview_tween
    request_iface=request_iface.combined
  File "/usr/lib/python3.5/site-packages/pyramid/view.py", line 547, in _call_view
    response = view_callable(context, request)
  File "/usr/lib/python3.5/site-packages/pyramid/viewderivers.py", line 413, in viewresult_to_response
    result = view(context, request)
  File "/usr/lib/python3.5/site-packages/pyramid/tweens.py", line 22, in excview_tween
    response = handler(request)
  File "/usr/lib/python3.5/site-packages/pyramid/router.py", line 158, in handle_request
    view_name
  File "/usr/lib/python3.5/site-packages/pyramid/view.py", line 547, in _call_view
    response = view_callable(context, request)
  File "/usr/lib/python3.5/site-packages/pyramid/config/views.py", line 182, in __call__
    return view(context, request)
  File "/usr/lib/python3.5/site-packages/pyramid/viewderivers.py", line 393, in attr_view
    return view(context, request)
  File "/usr/lib/python3.5/site-packages/pyramid/viewderivers.py", line 371, in predicate_wrapper
    return view(context, request)
  File "/usr/lib/python3.5/site-packages/pyramid/viewderivers.py", line 442, in rendered_view
    result = view(context, request)
  File "/usr/lib/python3.5/site-packages/pyramid/viewderivers.py", line 147, in _requestonly_view
    response = view(request)
  File "/usr/lib/python3.5/site-packages/cornice/service.py", line 493, in wrapper
    response = view_(request)
  File "/home/root/senic-hub/senic_hub/backend/views/nuimo_components.py", line 115, in add_nuimo_component_view
    component = create_component(device)
  File "/home/root/senic-hub/senic_hub/backend/views/nuimo_components.py", line 168, in create_component
    light_ids = sorted(list(device['extra']['lights']))
KeyError: 'lights'

Additional, when logging the contents of the dictionary device['extra'] is shows that username: None. It is unclear to me why this issue only started showing up today after I changed the configuration of the Philips Hue lights.

the PR #362 introduces a check on the request format but the error has to be solved in the frontend, in particular:
https://github.com/getsenic/senic-home-automation-app/blob/master/app/screens/hub/devices/HubDevicesAddComponentScreen.js
Where the fetchDevices() has to filter only the authenticated devices.

@kelada : Is this resolved in the frontend ?

@neelotpalnag this was fixed in the dev branch and has yet to be merged into master.


Using distributed_backend='dp' causes result.write to fail

🐛 Bug
Saving results with result.write is broken up DP distributed training.
To Reproduce
Perform something like this
result.write('blah', ['one', 'two', 'three']

in a test_step and run with distributed_backend='dp', PTL will then call into Result.dp_reduce and try to run
self[k] = value.mean(dim=-1) where value is the predictions dictionary which will subsequently fail.

Hey @willprice which version of lightning are you using?

0.9.0, sorry, should have put that in the original issue.

hey @willprice! We updated our API to use self.write instead of results objects, that should simplify things.
Can you try upgrading to 1.0.2 to see if issue presists?

Feel free to reopen if needed!


[Documentation Update]: add leetcode solution 120

Is there an existing issue for this?

[X] I have searched the existing issues

Issue Description
Please provide a clear description of the documentation update you are suggesting.
I would like to add the solution for LeetCode problem 120, "Triangle," to the open source project documentation. This addition will help users understand and solve the problem efficiently.
Suggested Change
The proposed change involves adding a detailed solution for the "Triangle" problem (problem 120 on LeetCode) in multiple programming languages, including Python, Java, C++, and JavaScript. The solution will include a thorough explanation of the algorithm used, along with code examples in each language.
I am contributing upon Gssoc24
Rationale
No response
Urgency
High
Acknowledgements

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository
[X] I have read and followed the Contribution Guidelines
[X] I have followed the code style guidelines of this project
[X] I have checked for any existing open issues that my pull request may address
[X] I have ensured that my changes do not break any existing functionality
[X] Each contributor is allowed to create a maximum of 4 issues per day. This helps us manage and address issues efficiently
[X] I have read the resources for guidance listed below
[X] I have not used AI-generated content (e.g., ChatGPT, other AI tools)
[X] I have not used content from existing sites (e.g., text, images)
[X] I have followed all security rules and only shared trusted resources

I am contributing upon Gssoc24  please assign me the issue

i am contributing upon gsoon24 please assign me the issue


⚠ Bofrost.fr has degraded performance

In 1ef2293, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1467 ms

Resolved: Bofrost.fr performance has improved in a10f403.


Create SEO

Great, make sure you also commit and push your files for PS0 here: https://github.com/ECON368-fall2023-big-data-and-economics/ps0-soneil2.


[FEDE-5144] Fix MemoryUtil

This PR highlighted that the direct buffer constructor was not used. The reason is that the constructor is private and changing its accessibility using reflection may throw a InaccessibleObjectException. Testing on master, I found the following log which showed it isn't used:
[2021-11-24T15:22:37,545][DEBUG][s.i.n.u.i.PlatformDependent0] [mars] direct buffer constructor: unavailable

@scampi looks like a new limitation of JDK 16:
https://github.com/google/gson/issues/1875


[Feature] Adjust liveness- and readiness probe defaults and add a stop handler

Description

Changes liveness- and readiness probe default values
Adds a preStop handler to give time for finishing up existing client connections/requests before shutting down. (This has the effect that shutting down pods takes longer, but it will be a clean shutdown from a user perspective, assuming there are other pods to handle the traffic)

Versions

Microgateway: 1.0
Helm chart: 0.6.0

@libuweber

The changes for the preStop handler are fine.
VSHN said that we should stick to the default values for liveness and readiness probes. Did they mean we have to configure them explicitly or just remove them from our configuration? Did they suggest to configure explicitly failureThreshold and timeoutSeconds?

@libuweber

The changes for the preStop handler are fine.
VSHN said that we should stick to the default values for liveness and readiness probes. Did they mean we have to configure them explicitly or just remove them from our configuration? Did they suggest to configure explicitly failureThreshold and timeoutSeconds?


Bug Issue : Test failing first time. Type: Minor

Summary:
Some tests are are failing on the first run of the test. But after rerunning them they will pass.
Steps to repoduce:
Run all the tests. After they finnish run only the tests that didn't pass.
Expected Result:
Test to pass.
Actual Result:
Test are failing. And for them to pass they need to be rerun.

I've found the source of this bug. After you have 50 projects in one workspace, new workspaces don't appear in simple FindAllProjectsOnWorkspaceAsync.
It is because page size is set to 50.
The solution would be to delete just created project after each test.

I could do that later today.

I've done it ;)


Fix type

at least the other guys use it like this: look at my last PR at julia: https://github.com/JuliaLang/julia/pull/11172#issuecomment-100391076 > StefanKarpinski: on case-insensitive filesystems isn't really possible and should probably be a no-op or an error:

Thanks.


[PACK-2] Use eslint-plugin-perfectionist

ESLint plugin perfectionist:

Automatically sort and organize objects, imports, types, enums, and JSX props.
Ensure a clean and maintainable codebase with minimal effort.

From SyncLinear.com | PACK-2

After trying it out, the readability may occasionally decrease.


feat: Use RPITIT instead of Box<dyn ...>

Just a small PR to replace Box<dyn ...> with RPITIT, since it is now stable. I believe this is what your todo in the trait was for?

Maybe it would also make sense to return a type that implements the Error trait, instead of something that just implements  Debug?

Another question maybe: Why does the fetch function have to take a mutable reference to self? Shouldn't this be an immutable function?

@zesterer Any updates on this?

Thanks for the PR. Sorry, it got lost in my notifications. I think this is a positive change, although I'm surprised it's been stable for so long already: I'm used to things like this being nightly-only for a while!


IEC 61850 to typescript definition files translation

User Story: Translate IEC61850 to typescript definition files
As a developer
I want to be able to have access to strongly type business rules
So that I can create new Plugins with more confidence
Acceptance Criteria:

[ ] Translate the XSD XML schema into typescript definition files (*.d.ts)

[x] Substation
[ ] Communication
[ ] IED
[x] DataTypeTemplates
[ ] Line
[ ] Process

The translated definition will be available in a dedicated packages inside the monorepo.

Create a script to generate an object based on current constants and types (this might help for validation and queries).


⚠ Bofrost.at has degraded performance

In 09ca7c3, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 952 ms

Resolved: Bofrost.at performance has improved in 7d000c4.


Removed Google Voice SMS notification support

Description:
Support was originally added with #1044 unfortunately it appears google has made some sort of change to break the login functionality of https://github.com/w1ll1am23/pygooglevoice-sms. The original pygooglevoice was hacked together to begin with and I further modified it to work. This package is very delicate and is basically screen scraping. I expect this package would continue to break frequently if fix, therefore I will not be maintaining it.
Pull request in home-assistant.io with documentation (if applicable): home-assistant/home-assistant.io#677
Checklist:
If user exposed functionality or configuration variables are added/changed:

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

If code communicates with devices, web services, or a:

[x] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[x] New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[x] New files were added to .coveragerc.

It's what it is. First component ever to be removed. Thanks 🐬


[Bug]: cannot login

Checks before filing an issue

[X] This issue doesn't reproduce on web browsers (such as in Chrome). If it does, issue reports go to the Mattermost Server repository.
[X] I have checked the issue tracker and have not found an issue that matches the one I'm filing.
[X] This issue is not a troubleshooting question. Troubleshooting questions go here: https://forum.mattermost.com/c/trouble-shoot/16.
[X] This issue is not a feature request. You can request features and make product suggestions here: https://mattermost.com/suggestions/.
[X] This issue reproduces on the most recent stable version, or the most recent prerelease version of the Mattermost Desktop App.
[X] I have read the contribution guidelines.

Mattermost Desktop Version
5.5.1
Operating System
OpenSUSE 15.5
Mattermost Server Version
No response
Steps to reproduce
I start mattermost-desktop with server mattermost.cern.ch The app redirects me to the CERN SSO in Firefox where I log in.
Expected behavior
The browser should restart the app
Observed behavior
I get a popup window "Unable to create KIO worker. Unknown protocol 'mattermost'." and nothing happens.
I verified that xdg-settings get default-url-scheme-handler mattermost  gives me
Mattermost.desktop
and Mattermost.desktop exists in /usr/share/applications/
Log Output
[2023-12-09 14:28:26.527] [error] Logger Log level set to: info
[2023-12-09 14:28:26.656] [warn]  [App.Initialize] Current working directory is /home/moenig, changing into /opt/mattermost
[2023-12-09 14:28:26.753] [info]  [App.Config] config.autostart has been configured: true
[2023-12-09 14:28:26.805] [info]  [App.Initialize] Autoupgrade disabled: false
[2023-12-09 14:28:26.939] [info]  [ServerDropdownView] init
[2023-12-09 14:28:26.992] [warn]  [i18nManager] Failed to set new language en-GB
[2023-12-09 14:28:26.995] [warn]  [i18nManager] Failed to set new language GB
[2023-12-09 14:28:27.080] [info]  [App.Config] config.autostart has been configured: true
[2023-12-09 14:28:27.973] [info]  [App.Config] config.autostart has been configured: true

Additional Information
No response

@klausatlas Can you post a video of what you're seeing? It could be an issue specific to OpenSUSE. Thanks!

I finally managed to solve it myself. In the application menu of firefox I had used the default Mattermost.desktop as application for mattermost. I changed it to /opt/mattermost/mattermost-desktop. That solved the problem.


default_environment can only be set in meltano.yml, not using meltano config meltano set

@tayloramurphy pointed out that meltano config meltano set default_environment prod or meltano config meltano unset default_environment doesn't do anything.
This is because default_environment is not actually a setting, but a core property of meltano.yml: https://github.com/meltano/meltano/blob/dfd9650170ff97fd69fdff7ac8dc7dc0841bf663/src/meltano/core/meltano_file.py#L21
https://docs.meltano.com/concepts/environments#default-environments doesn’t suggest that meltano config meltano would work here, only setting it directly in meltano.yml. But https://docs.meltano.com/getting-started#view-and-activate-your-environments does call it a setting, and someone seeing it in meltano.yml could reasonably expect it to work just like the other keys in there like send_anonymous_usage_stats and project_id.
If we want to make it a proper setting, we should be able to define it in settings.yml and replace https://github.com/meltano/meltano/blob/main/src/meltano/cli/cli.py#L70 with ProjectSettingsService(project).get("default_environment").

@DouweM - Thanks for this writeup. Super helpful.
I don't see any downsides of making it a formal setting. Anything you can anticipate that would keep us from making this change?
cc @tayloramurphy, @edgarrmondragon

@aaronsteers I don't see any reason why this wouldn't work (or not be improved!) by making it a project setting. It'd even make it possible to toggle it with environment variables.
What I'd worry about is related to https://github.com/meltano/meltano/issues/3419, i.e. what is the effect of
$ meltano config meltano set default_environment

@edgarrmondragon Yeah, if default_environment is currently dev, meltano config meltano set default_environment prod would store that under environments: - dev. In this case, it really doesn't make any sense to store this anywhere other than the top-level of meltano.yml.

@DouweM and @tayloramurphy - This should be blocked by

#6247

If we have that in place, and if we categorized this as a Meltano config, this becomes doable as a top-level only setting that can be modified via .env, terminal env vars, and a top-level entry in meltano.yml.


fix: remove arm64 from Excluded Archs for IOS

Details
Removed EXCLUDED_ARCH arm64 from iOS project configuration.
Fixed Issues
$ https://github.com/Expensify/App/issues/18218
https://github.com/Expensify/App/issues/18218#issuecomment-1602267576
Tests

Rebuild the Pods
Run the app for iOS (specifically in an >= 16.4 iOS simulator and a real device)
Logout if necessary and then try to login
The magic code input should not flicker when we input numbers
The rest of the app should work as normal

[x] Verify that no errors appear in the JS console

Offline tests
Not applicable.
QA Steps

Run the application in an iOS device/simulator
Logout if necessary and then try to login
The magic code input should not flicker when we input numbers
The rest of the app should work as normal

[x] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android / native
[x] Android / Chrome
[x] iOS / native
[x] iOS / Safari
[x] MacOS / Chrome / Safari
[x] MacOS / Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If a new component is created I verified that:

[x] A similar component doesn't exist in the codebase
[x] All props are defined accurately and each prop has a /** comment above it */
[x] The file is named correctly
[x] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[x] The only data being stored in the state is data necessary for rendering and nothing else
[x] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[x] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[x] All JSX used for rendering exists in the render method
[x] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[x] I have checked off every checkbox in the PR author checklist, including those that don't apply to this PR.

Screenshots/Videos

Web
https://github.com/Expensify/App/assets/25725586/7f96cbeb-e71a-4535-add1-8701b8b5c20d

Mobile Web - Chrome
https://github.com/Expensify/App/assets/25725586/99416465-edd0-419b-acf2-932371fc3f9a

Mobile Web - Safari
https://github.com/Expensify/App/assets/25725586/52fee9c4-38d8-41c7-a4f2-66cd99e8330e

Desktop
https://github.com/Expensify/App/assets/25725586/bf8cdd2c-1bb2-43f5-bd15-a73fe8e08e2d

iOS
iOS 17:
https://github.com/Expensify/App/assets/25725586/032ac35e-a20f-457a-8e5e-5c75c8edb0c6
iOS 14.5:
https://github.com/Expensify/App/assets/25725586/60ee8c5f-1bac-4b2b-9ae5-e04bb8ff3a47

Android
https://github.com/Expensify/App/assets/25725586/8841e2ac-8cd4-4007-a9f1-c2ad1a990408

@mountiny I'm using a remote mac from macincloud just waiting to get Xcode upgraded to test this.

Hey 👋 Any update regarding this?

@BeeMargarida So sorry, still waiting on support for the upgrade process

Ah, are you updating to the beta, or just to 16.4? If it's the first, you can test in 16.4, the problem is still present there (it's the same as iOS 17)

Updating to iOS 16.4

Reviewer Checklist

[X] I have verified the author checklist is complete (all boxes are checked off).
[X] I verified the correct issue is linked in the ### Fixed Issues section above
[ ] I verified testing steps are clear and they cover the changes made in this PR

[X] I verified the steps for local testing are in the Tests section
[X] I verified the steps for Staging and/or Production testing are in the QA steps section
[X] I verified the steps cover any possible failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[X] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)

[X] I checked that screenshots or videos are included for tests on all platforms
[X] I included screenshots or videos for tests on all platforms
[X] I verified tests pass on all platforms & I tested again on:

[X] Android / native
[X] Android / Chrome
[X] iOS / native
[X] iOS / Safari
[X] MacOS / Chrome / Safari
[X] MacOS / Desktop

[X] If there are any errors in the console that are unrelated to this PR, I either fixed them (preferred) or linked to where I reported them in Slack
[X] I verified proper code patterns were followed (see Reviewing the code)

[X] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick).
[X] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[X] I verified that comments were added to code that is not self explanatory
[X] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[X] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method
[X] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[X] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[X] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[X] I verified the JSDocs style guidelines (in STYLE.md) were followed

[X] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[X] I verified that this PR follows the guidelines as stated in the Review Guidelines
[X] I verified other components that can be impacted by these changes have been tested, and I retested again (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar have been tested & I retested again)
[X] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[X] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[X] If a new component is created I verified that:

[X] A similar component doesn't exist in the codebase
[X] All props are defined accurately and each prop has a /** comment above it */
[X] The file is named correctly
[X] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[X] The only data being stored in the state is data necessary for rendering and nothing else
[X] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[X] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[X] All JSX used for rendering exists in the render method
[X] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[X] If any new file was added I verified that:

[X] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[X] If a new CSS style is added I verified that:

[X] A similar style doesn't already exist
[X] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)

[X] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[X] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[X] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[X] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[X] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[X] I have checked off every checkbox in the PR reviewer checklist, including those that don't apply to this PR.

Screenshots/Videos

Web

Mobile Web - Chrome

Mobile Web - Safari

Desktop

iOS

https://github.com/Expensify/App/assets/16493223/e983a93a-fb1f-459d-ba16-884cee02f46a

Android

@BeeMargarida Can you please update the test steps to reflect the issue that we are solving i.e. to be able to enter the magic code smoothly

@s77rt Done!

@mountiny just checking if you had a chance to re-review this PR?

@mountiny Hi, pinging so that this does not get forgotten

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by https://github.com/mountiny in version: 1.3.37-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/Julesssss in version: 1.3.37-7 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅


[2.0] Use ZooKeeper autopurge instead of Exhibitor periodic cleanup

High-level description
Back-port of #7314
ZooKeeper 3.4 introduced autopurge to clean up old snapshots and transaction logs. This was also one of the responsibilities handled by Exhibitor. For some time we have had ZK running autopurge every 6 hours, but also Exhibitor calling ZK purge every 5 minutes.
Exhibitor does not pass the configured JNA temporary directory through to its explicit purge, so it causes ZooKeeper to to use /tmp for executable files, even if it is mounted noexec.
This PR stops the Exhibitor purge, and changes the ZK autopurge to run every hour (the minimum).
Corresponding DC/OS tickets (required)

D2IQ-68109 COPS-6111: Regression: Exhibitor writing JNA files to /tmp again
D2IQ-68868 Back-port dropping Exhibitor purge

@mesosphere-mergebot request-review @DominikDary @janisz @jkoelker


Separate the worker, from a model worker.. maybe

Something that I'm finding will make working with the data the represents a worker, and the actual workers is the fact that they are the same object.
I thinking of something like Resque\Component\Worker\Worker. Which does the actual forking and so on. And Resque\Component\Worker\Model\Worker as the data object that represents a known worker.
And to construct a Resque\Component\Worker\Worker requires you pass it a Resque\Component\Worker\Model\Worker .

Perhaps a WorkerProcess that contains the main, and a "Worker" object that represents the worker regardless of its location (and can contain helper methods to find the process and get the WorkerProcess if located on the same machine)?

Good suggestion. I have been playing with a similar idea in a branch on my local. That strips everything from the current "Worker" class that has to do with the "state" of the worker.
Though I've renamed i tot "WorkerDeamon" instead of "WorkerProcess". I don't like Deamon now that I think about it. Cause it's not really one.
The Resque\Component\Worker\Model\WorkerInterface now just has getPid(), getCurrentJob(). getHostname(), getStartedAt() and other pure state representation things on it. Which means working with worker information is much simpler.
I'll push it up when I'm home for you to look at.


Fix #13377 for compatibility with #13330

Problem
The pull requests #13330 and #13377 were merged around the same time,
and have caused a small build breakage.
Change overview
Amend #13377 to work with #13330.
Testing
Tested to build without error.

OK to fix build, but as a followup we should figure out whether this is in fact always a SecureSession session, right? @turon

Yes, I had the same question for @kghost regarding the new API.  Specifically, what happens when AsSecureSession is called on an unsecured session? This use case simply needs to print info about the session that should be there regardless of session type (session id, local node id, is the session secure or not).  We should have a simple API for that that doesn't require a number of conditionals and branches to print the common data.

I guess I would defend this as no better or worse than the original code, which was extracting the chip::Optional GetLocalSessionId.Value without checking whether it exists first.  It seems sort of like the same underlying assumptions are at play in either case.

I guess I would defend this as no better or worse than the original code, which was extracting the chip::Optional GetLocalSessionId.Value without checking whether it exists first. It seems sort of like the same underlying assumptions are at play in either case.

Yes, basically the entire stack now calls AsSecureSession() when a secure session is assumed / required, which will VerifyOrDie(GetSessionType() == SessionType::kSecure);.


Blob Storage (NFS 3.0) and Azure Container Instances

Documentation highlights that NFS 3.0 allows Azure VMs and on-prem computers to write files to Azure storage:
https://learn.microsoft.com/en-us/azure/storage/blobs/network-file-system-protocol-support
However, the documentation for Azure container instances says it is not supported:
https://learn.microsoft.com/en-us/azure/container-instances/container-instances-volume-azure-files#limitations
Which is correct? As containers are a form of VM, I would expect NFS 3.0 to work from a deployed Azure container when everything else is configured correctly.

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

ID: b27543b5-a932-1e96-ed33-05ab951cfda5
Version Independent ID: 43b1d7a8-5c11-804e-4f5c-30e8ae333c82
Content: Network File System 3.0 support for Azure Blob Storage - Azure Storage
Content Source: articles/storage/blobs/network-file-system-protocol-support.md
Service: storage
Sub-service: blobs
GitHub Login: @normesta
Microsoft Alias: normesta

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

@kernja
The information you provided from the documentation seems to be contradictory. Let's clarify the situation:
The first documentation you mentioned states that NFS 3.0 allows Azure VMs and on-premises computers to write files to Azure storage using the Network File System (NFS) protocol. This means that you can mount Azure Blob storage as an NFS share and access it from Azure VMs or on-premises computers.
On the other hand, the second documentation you referenced specifically mentions the limitations of using Azure Files as volumes in Azure Container Instances (ACI). It states that Azure Files currently does not support the NFS protocol in ACI. This limitation implies that you cannot mount Azure Files as an NFS share directly from an Azure Container Instance.
While containers are indeed a form of virtualization, the specific feature support and limitations can vary depending on the container service or platform being used. In the case of Azure Container Instances, the documentation states that NFS support for Azure Files is not available.
If you specifically require NFS support within a container environment, you may consider using alternative container orchestration services like Azure Kubernetes Service (AKS). AKS allows you to mount Azure Files as NFS shares within the Kubernetes cluster, providing NFS support for containers running on AKS.
In summary, Azure VMs and on-premises computers can use NFS 3.0 to write files to Azure storage, but Azure Container Instances do not support NFS protocol for Azure Files volumes.


What about students who write on other pages

I was wondering about what happen when the number of pages per student is different (by example if one have asked for another paper during the exam to write more).. While reading the code It seemed that this number is fixed.

Must not happen ;)


JS runtime required

Hello, guys! I have found the when I run
bundle exec rails g casino:install

I face with the problem, that there is no JS environment. I have fix this problem with installing therubyracer gem. My proposal is to include this gem into gem dependencies.
Best regards,
Arthur

I think it should be up to the user of the CASino engine to chose a JS environment. CASinoApp for example (which is the recommended way to setup CASino) depends on therubyracer.


feat(frontend): Enhance parsing error reporting by providing location information.

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?

Enhance parsing error reporting by providing precise location information.

dev=> explain create materialized view v as
select B.* from part join B on part.c = B.d
join part p1 on ??? p1.p = part.p and p1.p = B.b;
ERROR:  QueryError: sql parser error: Expected an expression:, found: ? at line:3, column:18
Near "
join part p1 on ?"

Checklist For Contributors

[x] I have written necessary rustdoc comments
[x] I have added necessary unit tests and integration tests
[x] I have added fuzzing tests or opened an issue to track them. (Optional, recommended for new SQL features #7934).
[x] I have demonstrated that backward compatibility is not broken by breaking changes and created issues to track deprecated features to be removed in the future. (Please refer to the issue)
[x] All checks passed in ./risedev check (or alias, ./risedev c)

Checklist For Reviewers

[ ] I have requested macro/micro-benchmarks as this PR can affect performance substantially, and the results are shown.

Documentation

Types of user-facing changes
Please keep the types that apply to your changes, and remove the others.

Other (please specify in the release note below)

Release note

Enhance parsing error reporting by providing precise location information.

Solve https://github.com/risingwavelabs/risingwave/issues/7863.

@chenzl25 It would be helpful to include a couple of examples that show the location of an error. Thanks.

@chenzl25 It would be helpful to include a couple of examples that show the location of an error. Thanks.

Here is an example where users miss a , subsequent to b int.
dev=> create table t (
    id int,
    a int,
    b int
    c varchar,
    d varchar
);
ERROR:  QueryError: sql parser error: Expected ',' or ')' after column definition, found: c at line:5, column:6
Near "int,
    b int"


About dialog does not show which version of the app you're running

On the Android version of the app it clearly shows which version you're running when you show the about dialog. Not the case on the iOS version.

I remember there was some technical issue, but I'll see if I can find a way to implement it.


buy now/Sniping

Hi man,
First of all, good script that looks for me as running good. When i start the autobidder, it doesnt autobid for me, but maybe i am doing something wrong.
But i really want to se the buy now function for this bot. Is it possible to fix that?

And autobidd doesnt work, it doesnt bid anyone. It just search it up and then stops


Configuration Management EPs in Node SDK

Created by: @bayegan Sep 02 2021 at 02:49 CET
Last updated: Jul 25 2022 at 11:33 CET
ClickUp ID: IK-1439
As a user of the Node SDK, I need to be able to invoke the Configuration Management APIs in the Node SDK.
Acceptance criteria:
Implement the following gRPC/graphQL endpoints in the Node SDK:
Customer: CRU+list
AppSpace: CRU+list return with Issuer ID)
Tenant: CRU+list
Application: CRU+list
ApplicationAgent: CRU+list
ApplicationAgentCredential: CRU+list
AuthFlow: CRU+list (are implemented, without wrappers)
EmailConfig: CRU+list (are implemented, without wrappers)
OAuth2Client: CRU+list (currently embedded into auth flow)
Authenteq: CRU+list
SAFR: CRU+list
IngestMappingConfig: CRU+list

Commented by: @bayegan Sep 02 2021 at 03:01 CET
@dusan-kovacik-profiq : this might be a task coming up in the next sprint (uranus). FYI.


Handling SOCKS in a separate class, added HTTP Proxy support (CLI only)

Category
This change is exactly one of the following (please change [ ] to [x]) to indicate which:

[ ] a bug fix (Fix #...)
[ ] a new Ripper
[ ] a refactoring
[ ] a style change/fix
[x] Enhancement

Description
Moved SOCKS handling in a new class, which includes HTTP Proxy as well.
Added a unit test for both methods.
Testing
Required verification:

[x] I've verified that there are no regressions in mvn test (there are no new failures or errors).
[x] I've verified that this change works as intended.

[x] Downloads all relevant content.
[x] Downloads content from multiple pages (as necessary or appropriate).
[x] Saves content at reasonable file names (e.g. page titles or content IDs) to help easily browse downloaded content.

[x] I've verified that this change did not break existing functionality (especially in the Ripper I modified).

Optional but recommended:

[x] I've added a unit test to cover my change.

Coverage decreased (-0.1%) to 32.416% when pulling f493b1ed80384349511ba31f7099e4576b0a92d3 on randomcommitter:cli_socks_support into a52bbeb6d8ba46e6f47199783665c2335e4a6c83 on RipMeApp:master.

Coverage decreased (-0.1%) to 32.416% when pulling f493b1ed80384349511ba31f7099e4576b0a92d3 on randomcommitter:cli_socks_support into a52bbeb6d8ba46e6f47199783665c2335e4a6c83 on RipMeApp:master.

Some minor issues, the config names for the proxies are "proxy.server" and "socks.proxy", I think we they should be "proxy.http" and "proxy.socks" to help avoid confusion. Also ripme should check if the either "proxy.http" or "proxy.socks" are set on start and if so set the proxy to one of them (I say just default to http if both are set)
Besides that this looks good

Some minor issues, the config names for the proxies are "proxy.server" and "socks.proxy", I think we they should be "proxy.http" and "proxy.socks" to help avoid confusion. Also ripme should check if the either "proxy.http" or "proxy.socks" are set on start and if so set the proxy to one of them (I say just default to http if both are set)

Done

Alright. I'll merge this in for the next release


Sometimes the widget is not visible inside of an ax-accordion-widget

When using the ax-show-hide-widget inside the ax-accordion-widget, the ax-show-hide-widget is not visible when opening the tab of the ax-accordion-widget by the first time. After switching to another tab and back to the tab which includes the ax-show-hide-widget, the widget is visible then.
The widget is configured with features.visibility.initially: true.

Fixed on master (v2.4.0), on release-2.3.x (v2.3.1), on master-1.x (v1.4.0) and on release-1.3.x (v1.3.3).


Performance: Remove Extraneous Re-Renders in Frames Layer

Context
Part of ongoing performance work.
Summary
Removes empty re-renders of frame elements.
Running against these tests:
https://github.com/google/web-stories-wp/issues/10158
Element Selection

Before
After

React
React

Longest Commit
Longest Commit

~92ms
~56ms

Frames Layer
Frames Layer

~45ms
~1.7ms

Total JS
Total JS

~167ms
~120ms

Starting the drag of element to update position

Before
After

React
React

Longest Commit
Longest Commit

~80ms
~2ms

Frames Layer
Frames Layer

~44ms
~1.6ms

Total JS
Total JS

~182ms
~36ms

Ending the drag of element to update position

Before
After

React
React

Longest Commit
Longest Commit

~92ms
~60ms

Frames Layer
Frames Layer

~44ms
~7.5ms

Total JS
Total JS

~382ms
~204ms

Changing Layer Order
Screenshots of flame graphs are similar to above, so going to omit for brevity here

Before
After

React
React

Longest Commit
Longest Commit

~92ms
~55ms

Frames Layer
Frames Layer

~42ms
~3.6ms

Total JS
Total JS

~182ms
~127ms

Relevant Technical Choices
Better context selector usage and memoization.
To-do
NA

User-facing changes
NA

Testing Instructions
NA

[x] This is a non-user-facing change and requires no QA

This PR can be tested by following these steps:

Reviews
Does this PR have a security-related impact?

Does this PR change what data or activity we track or use?

Does this PR have a legal-related impact?

Checklist

[x] This PR addresses an existing issue and I have linked this PR to it in ZenHub
[x] I have tested this code to the best of my abilities
[x] I have verified accessibility to the best of my abilities (docs)
[x] I have verified i18n and l10n (translation, right-to-left layout) to the best of my abilities
[x] This code is covered by automated tests (unit, integration, and/or e2e) to verify it works as intended (docs)
[x] I have added documentation where necessary
[x] I have added a matching Type: XYZ label to the PR

Fixes #10079

Testing this locally and found a lil bug from reducing the amount of rerenders:

set media as your background
use the quick action menu to replace that background media
notice the layers panel icon has updated to the new media but the canvas has not

hmph I'm not able to replicate this consistently. Was able to get it to fail once, but was also able to get it to fail once on main as well. I don't think it's related to these issues.
Can you get it to fail consistently on your machine? if so, can you get the same issue to fail consistently on main?

Testing this locally and found a lil bug from reducing the amount of rerenders:

set media as your background
use the quick action menu to replace that background media
notice the layers panel icon has updated to the new media but the canvas has not

hmph I'm not able to replicate this consistently. Was able to get it to fail once, but was also able to get it to fail once on main as well. I don't think it's related to these issues.
Can you get it to fail consistently on your machine? if so, can you get the same issue to fail consistently on main?

So i can get it to fail on this branch and not on staging - it's not every time, try repeating the action a few times.

@BrittanyIRL just to clarify, you're talking about this button right?

okay interesting. able to get the image to fail loading in the icon and filters panel, but the canvas works fine for me

okay interesting. able to get the image to fail loading in the icon and filters panel, but the canvas works fine for me.
But just checked and I'm also getting this when running main on my machine

Yes, so I meant that the icon on the layers panel updates but the canvas isn't - the bad image lingers. We chatted a bit off github so i'm just catching up here. You're totally right it's on main too - so false alarm. Let's keep tabs on this though - seems related to video.
https://user-images.githubusercontent.com/10720454/150401895-afa0b092-4775-4010-8ab0-30e8b7703d65.mp4


Colors?

Is it possible to have different colors in StaSh (for different parts of text ofc)? Or this feature is not supported?

ui.TextFields can only have a single formatting for the entire text, so this is not easily possible. It would perhaps be possible to overlay colored ui.Labels over parts of the text to color them without affecting the text field below. That would be complicated to do though, and it would make scrolling impossible and probably affect cursor positioning and text selection in colored parts.

@dgelessus oh okay. I am not sure tho but I think Ole is going to add ctypes module in the next Pythonista. Maybe that'd enable to use some sort of styled text control or something :)

I looked at the apple API for this, and it didn't look promising, since it requires callbacks, a feature unsupported in ctypes.

A minor clarification, the text area is a ui.TextView not TextField. But still changing the font format affects all texts including even the existing texts.

@jsbain With the new objc_util in 1.6 beta, is it possible to color the texts in TextView?

yes.  it is tricky though, i have only been able to set the current style(i.e what you are about to type), and not retroactively style the whole thing, but that should be possible with enough experimentation.

@jsbain It would be quite useful even only coloring for the current style. Would it be possible for you to provide an example on how it is done?

see here.  actually, that is for fonts, let me look up color syntax

ok, here is an example that styles a textview that already has text in it.... if you replace range in sections, rather than replacing entire buffer, the formatting also stays intact...   i also updated the original to show dynamic colors

Amazing! Thanks a lot for the code!!

Attributed texts (including colors) are now possible with beta16 branch (requires Pythonista 1.6 beta).
Thanks @jsbain for getting me started by providing the sample code!


(Indonesia) Translate Steam Achievement Patch-1 [51/396]

you dont edit this file, you should go to reactivedrop_indonesian.txt in resource folder and translate from line 3416 if you wanna start with achievement.


QUESTION: Default Implementation for customRowRender needed

I want to be able to implement custom icons when a row is hovered. I have a state variable that holds the currently hovered rowIndex. For that row I want to do a custom rendering and for the other rows I want the default row implementation. I was thinking about doing this with conditional rendering. But the problem is I don't know what the code looks like for the default row rendering. If I did I would just copy and paste it in.

Tech
Version

Material-UI
4.11.3

MUI-datatables
3.7.6

React
17.0.1

ref : https://github.com/gregnb/mui-datatables/blob/master/examples/customize-rows/index.js

https://github.com/gregnb/mui-datatables/blob/bb0cf931decae7e5bec49a6b5f3343408bc4c0b5/src/components/TableBody.js#L247
Is the line I used but hopefully I can implement what I am planning

@wdh2100 Do you know the best way where I can have all the rows render default except the row number I specify, which I want to be rendered by my customRowRender?


Update request: rquickshare build from source

Now that Tauri has been updated to v2 https://github.com/NixOS/nixpkgs/pull/346277, can rquickshare be built from source instead of wrapping the AppImage?
The bulk of the work has already been done here https://github.com/Martichou/rquickshare/pull/241
Package Information

Package name: rquickshare
Latest released version: 0.11.2
Current version on the unstable channel: 0.11.2
Current version on the stable/release channel: 0.8.2

Checklist

[x] Checked the nixpkgs pull requests

Notify maintainers

@luftmensch-luftmensch

Note for maintainers: Please tag this issue in your PR.

Add a :+1: reaction to issues you find important.

i would glady move my work over from the upstream flake, but i'm a little bit hesitant to just duplicate all the logic, is there guidance on how to downstream flakes to nixpkgs?

This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/adding-flake-to-nixpkgs/20456/9

the peeps over at discourse convinced duplicating the derivation is currently the only sensible way, so i'll do that :)

Just curious, what's the implication of upstream Nix for RQuickShare and this PR? Should both coexist or it is not worth it?
I'd be happy to merge this if this still has some value (faster update maybe?).


ros2_control: 0.1.0-1 in 'foxy/distribution.yaml' [bloom]

Increasing version of package(s) in repository ros2_control to 0.1.0-1:

upstream repository: https://github.com/ros-controls/ros2_control.git
release repository: https://github.com/bmagyar/ros2_control-release.git
distro file: foxy/distribution.yaml
bloom version: 0.10.0
previous version for package: null

@jacobperron could you please take a quick look at this and let me know if this is something obvious to you? I can't spot the issue after a few minutes of reading
https://build.ros2.org/job/Fbin_uF64__transmission_interface__ubuntu_focal_amd64__binary/3/console#console-section-5
I could try updating bloom and re-blooming...

@bmagyar: isn't this the problem:
23:04:54 CMake Error at CMakeLists.txt:37 (find_package):
23:04:54   By not providing "Findament_cmake_gmock.cmake" in CMAKE_MODULE_PATH this
23:04:54   project has asked CMake to find a package configuration file provided by
23:04:54   "ament_cmake_gmock", but CMake did not find one.
23:04:54
23:04:54   Could not find a package configuration file provided by "ament_cmake_gmock"
23:04:54   with any of the following names:
23:04:54
23:04:54     ament_cmake_gmockConfig.cmake
23:04:54     ament_cmake_gmock-config.cmake
23:04:54
23:04:54   Add the installation prefix of "ament_cmake_gmock" to CMAKE_PREFIX_PATH or
23:04:54   set "ament_cmake_gmock_DIR" to a directory containing one of the above
23:04:54   files.  If "ament_cmake_gmock" provides a separate development package or
23:04:54   SDK, be sure it has been installed.
23:04:54
23:04:54
23:04:54 -- Configuring incomplete, errors occurred!```

@gavanderhoorn is correct.
The package is trying to use ament_cmake_gmock: https://github.com/ros-controls/ros2_control/blob/8acf70b35699b19af5f884ec0eae61cc370ed602/transmission_interface/CMakeLists.txt#L37
but, it is not listed as a test dependency in the package.xml: https://github.com/ros-controls/ros2_control/blob/8acf70b35699b19af5f884ec0eae61cc370ed602/transmission_interface/package.xml#L16-L17
Adding it to the package.xml should fix the issue.


[patch-release] v3.0.x

Tracker for the patch releases for the 3.0.x branch:

[x] v3.0.1
[x] v3.0.2 ( https://github.com/kairos-io/kairos/issues/2379 )
[x] v3.0.3
[x] #2427 ( https://github.com/kairos-io/kairos/issues/2384 )
[x] v3.0.5 (https://github.com/kairos-io/kairos/pull/2433) ~ no need as restarting the job fixed the nohang issue ~
[x] v3.0.7
[x] v3.0.8
[x] https://github.com/kairos-io/kairos/issues/2528
[x] https://github.com/kairos-io/kairos/issues/2535
[x] https://github.com/kairos-io/kairos/issues/2560
[x] https://github.com/kairos-io/kairos/issues/2582
[x] https://github.com/kairos-io/kairos/issues/2588
[x] 3.0.14 https://github.com/kairos-io/kairos/releases/tag/v3.0.14
[ ] #2603

Closing this. It's only jetson orin QA that needs to happen but it's not urgent so it might not happen for a while.


Two foot paths instead of one

Two Footway are returned.
If we make a Trip search for Bern, Humboldtstrasse 41 - Basel we get two Footpaths at the beginning instead of one:

The request:
<OJP version="2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.vdv.de/ojp" xmlns:siri="http://www.siri.org.uk/siri">     <OJPRequest>         <siri:ServiceRequest>             <siri:RequestTimestamp>2024-08-19T14:35:35Z</siri:RequestTimestamp>             <siri:RequestorRef>OJP_Demo_iOS_IOS_SDK_0.1.0</siri:RequestorRef>             <OJPTripRequest>                 <siri:RequestTimestamp>2024-08-19T14:35:35Z</siri:RequestTimestamp>                 <Origin>                     <PlaceRef>                         <GeoPosition>                             <siri:Longitude>7.45183</siri:Longitude>                             <siri:Latitude>46.95326</siri:Latitude>                         </GeoPosition>                         <Name>                             <Text>Bern, Humboldtstrasse 41</Text>                         </Name>                     </PlaceRef>                     <DepArrTime>2024-08-19T14:35:35Z</DepArrTime>                 </Origin>                 <Destination>                     <PlaceRef>                         <StopPlaceRef>22</StopPlaceRef>                         <Name>                             <Text>Basel</Text>                         </Name>                     </PlaceRef>                 </Destination>                 <Params>                     <NumberOfResults>6</NumberOfResults>                     <IncludeIntermediateStops>true</IncludeIntermediateStops>                     <UseRealtimeData>explanatory</UseRealtimeData>                 </Params>             </OJPTripRequest>         </siri:ServiceRequest>     </OJPRequest> </OJP>

Can also be tested here: https://tools.odpch.ch/ojp-demo-v2/search?from=46.953260,7.451830(Humboldtstrasse 41 (Bern))&to=8507492&mode_types=monomodal&transport_modes=public_transport&trip_datetime=2024-07-25%2007:52&stage=v2-test

Hi @TO-mdv - I have assigned this blocker to you... there are two weired things...

why does the routing suggest to walk? -> there is Bus 10 and Tram 9 running every other minute
if the walking part would make sense - it would have to be combined with the walk from 'Bern Bahnho' to 'Bern'

Bug already created: SH-3467 OJP2.0 TR liefert überflüssiges TransferLeg
Test ongoing

works on TEST-Enviroment, but not on INT and PROD yet..
not yet answered...

fixed on TEST, release for INT on-going. Also the footpath from Address to Bern is correct now (without deviation via Bern, Bahnhof)

Thanks for the update @TO-mdv  - is it due to this update that PROD and INT don't deliver any results right now?
https://tools.odpch.ch/ojp-demo-v2/search?from=46.953260,7.451830(Humboldtstrasse 41 (Bern)&to=8507492&mode_types=monomodal&transport_modes=public_transport&trip_datetime=2024-07-25 07:52&stage=v2-int

Good morning @TO-mdv - is it because of this fix that on INT and PROD I don't get any reusults from my address?
https://tools.odpch.ch/ojp-demo-v2/search?from=46.953260,7.451830(Humboldtstrasse 41 (Bern)&to=8507492&mode_types=monomodal&transport_modes=public_transport&trip_datetime=2024-07-25 07:52&stage=v2-int
On iOS the request takes very long and than "no results"

BUT my Adress to Sägemattstrasse 2 Köniz always works...

fixed


/intranet should include linktree link

This list of links should include our linktree: linktr.ee/acmuiuc
This can be found here after you sign in: https://acm.illinois.edu/intranet

added


Replaced incorrect localeTitle

Removed repated "Mais informações" heading and adjusted capitalization.

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

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

Thank you for your contribution to the page! 👍
We're happy to accept these changes, and look forward to future contributions. 🎉


Retrieve the doppler endpoint URL from CC.

We noticed that the doppler logging endpoint URL was incorrectly using the apps domain by default. This PR queries CC using the /v2/info API endpoint to determine the correct URL to use.
Signed-off-by: Zachary Gershman<EMAIL_ADDRESS>

Thanks @davewalter


Error "handle_call_service" when using keba.start service call

Hi,
I am using the latest version of the (beta) Keba wallbox integration from HACS and Home Assistant 2024.1.6.
I need different RFID cards to authorize charging and based on the documentation the build-in integration Keba Wallbox can only support one RFID card.
I get the following error, when I use the keba.start service call with an RFID:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 238, in handle_call_service
response = await hass.services.async_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2149, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2186, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/keba/__init__.py", line 108, in execute_service
host = config_entry.data[CONF_HOST]
~~~~~~~~~~~~~~~~~^^^^^^^^^^^
KeyError: 'host'
2024-03-26 00:13:05.925 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140543036198336] 'host'

I can still start the charging with the physical RFID cards on the wallbox (KEBA P30-X).
After some restarts of Home Assistant and the wallbox the error disappears.
Any idea how to solve it?

Hi @fuchsbau123 sorry for the late response, I would guess you need to remove and re-add your charging station. It seems, that there is something wrong with your config entry. (sorry for this issue). If the problem is still persistant, please reopen the issue.


chore: support passing refs to ecosystem-ci

Summary
Support three ref types for rspack-ecosystem-ci:

MODERN_REF: branch name to test against modern
RSPRESS_REF: branch name to test against rspress
RSBUILD_REF: branch name to test against rsbuild

MODERN_REF=<your-test-ref> !eco-ci modern
MODERN_REF=<your-test-ref> RSBUILD_REF=<your-test-ref> !eco-ci
RSPRESS_REF=<your-test-ref> !eco-ci

Test Plan

Require Documentation?

[X] No
[ ] Yes, the corresponding rspack-website PR is __

MODERN_REF=rspack-0.4.0 !eco-ci modern

MODERN_REF=rspack-0.4.0 !eco-ci modern

LGTM!


These will use the endianness, pointer widths, etc of the host machine rather than the target, unlike normal consts.

See this comment

I currently don't see a way in which this could be resolved without doing something far beyond the scope of this crate. This crate is still quite usable without this being corrected, but it should be noted that doing things like calling to_ne_bytes on an integer and storing the results in a const will result in a byte representation that reflects the host machine and not the target.


Clarify working directory of hooks

This PR updates the docs to clarify what the working directory of hooks are.
After some experimentation and code review, I found that the working directory of the hooks actually depended on which hook was running.
It turns out that all hooks run after the init-from-module stage is complete will be run in the terraform directory, while anything before that is run in the terragrunt config directory. Note that because the terragruntOptions struct is updated AFTER init-from-module is done, but is passed in to the hook function BEFORE init-from-module is run, after_hooks for init-from-module still run in the terragrunt config directory.
I verified this using the following config:
terraform {
  source = "git::git@github.com:gruntwork-io/terragrunt.git//test/fixture-get-output/regression-1124/modules/app?ref=master"

  after_hook "which_dir_init_from_module" {
    commands = ["init-from-module"]
    execute  = ["pwd"]
  }

  after_hook "which_dir_init" {
    commands = ["init"]
    execute  = ["pwd"]
  }

  before_hook "which_dir_plan" {
    commands = ["plan"]
    execute  = ["pwd"]
  }
}

inputs = {
  foo = "foo"
}

@yorinasub17 What do you think about adding a test for this behavior? init-from-module was something I contributed a while back, in the terragrunt <0.19 days. My intention was that init-from-module would run in the terraform directory, and it did at the time. But that got lost in the terragrunt 0.19 update, because there was no test for this behavior...

Thanks for review. Going to merge this in now.
@lorengordon Yes I agree we should have tests, but I didn't quite have time to shave that yak so deferred it for now.


[FLINK-33730][doc] update the Flink upgrade savepoint compatibility table doc

What is the purpose of the change
update the Flink upgrade savepoint compatibility table doc to only include the current and previous releases according to the Flink Update Policy for old releases
Brief change log

remove all created with versions older than 1.7
remove all Resumed with versions older than 1.17

Current change only focus on the English version. Once there is no objections of the modification, the change will be copied to the Chinese version.
Verifying this change
This change is a trivial doc cleanup without any test coverage.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): (yes / no / don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (yes / no / don't know)
The S3 file system connector: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)

@PatrickRen Thanks for the review. I have address your suggestion and add 1.16.x column back. Would you please check it again?

Thanks @PatrickRen for the review!


reduce the detection frame rate of tiny

My video frame rate is 90HZ,the detection frame rate of the yolov4 tiny on ububtu18 reaches 200HZ on 4090 graphics card. How can I reduce the detection frame rate of tiny to reduce the power of the graphics card? Because the graphics card has to do other video detection.
thanks

do {
fps_time = 1000 / 90
time = GetTickCount()
detect() //1 frame
time = GetTickCount() - time
time = fps_time - time
if (time > 0){
sleep (time)
}
}

做 {
fps_time = 1000 / 90 时间 = GetTickCount()
检测() //1帧
time = GetTickCount() - 时间 time = fps_time - 时间 if (time > 0){ sleep (time) }
}
GetTickCount()：自行替换以获得更高的检测精度，例如Windows上使用QueryperForManceCounter()

Thank you very much. I'll test it now

做 {
fps_time = 1000 / 90 时间 = GetTickCount()
检测() //1帧
time = GetTickCount() - 时间 time = fps_time - 时间 if (time > 0){ sleep (time) }
}
GetTickCount()：自行替换以获得更高的检测精度，例如Windows上使用QueryperForManceCounter()

Thank you very much. I'll test it now

你这搞得我以为是我这边翻译弄错了

做 {
fps_time = 1000 / 90 时间 = GetTickCount()
检测() //1帧
time = GetTickCount() - 时间 time = fps_time - 时间 if (time > 0){ sleep (time) }
}
GetTickCount()：自行替换以获得更高的检测精度，例如Windows上使用QueryperForManceCounter()

Thank you very much. I'll test it now

你这搞得我以为是我这边翻译弄错了

Thank you very much that it can work.


do you guys heard of anyscript? a new type of typescript

yes。

yes。

gonna be a big problem

As an Angular user, we have no choice but to use AnyScript, which is new version of Google AtScript.

Never heard of it. Googling it just brings me to this issue lol.
Since we're bringing up random TypeScript variants, here's one.
https://arxiv.org/pdf/1604.02480.pdf
Refinement types for TypeScript

Nope, I have not.

As an Angular user, we have no choice but to use AnyScript, which is new version of Google AtScript and it missing many strict type checks. (no strict type check in template and input and so on)

I would suggest flow or reason~.~


axios instead of request-promise-native ?

Since reuqst promise-native has been depercated for quite some time, is there anyway to replace that with axios or any other stable   packages ?

Hi @asheikm and thanks for the feedback! Axios would be nice, but while deprecated, there is luckily no immediate danger until a full rewrite of this library.
I'm planning on rewriting the whole library by the end of the year. I opened a new issue #19 for any suggestions.

@asheikm https://github.com/lahdekorpi/node-salt-api/tree/next


fix: Stretched image

Without 'object-fit: cover' the image used in the template '2 columns with Image' appeared stretched and awkward. This PR fixes that.
Before:

After:

@all-contributors please add @faheempatel  for code


Failed to install on Mac

I have failed to install this on my Mac.

pip install git+https://github.com/ucbrise/clipper.git@develop#subdirectory=clipper_admin
Collecting git+https://github.com/ucbrise/clipper.git@develop#subdirectory=clipper_admin
Cloning https://github.com/ucbrise/clipper.git (to revision develop) to /private/var/folders/nk/xbb077ys5nd_t4mpb2s4fwfc0000gn/T/pip-req-build-_vFqnE
Complete output from command python setup.py egg_info:
error in clipper_admin setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers; Expected version spec in subprocess32; python_version<"3" at ; python_version<"3"
----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/nk/xbb077ys5nd_t4mpb2s4fwfc0000gn/T/pip-req-build-_vFqnE/clipper_admin

I have fixed it by upgrade setuptools


Update Windows 10 preference to allow for boot from UEFI with TPM

This is to keep the Windows 10 preference consistent with the Windows 10 template in common-templates, also aligning with Windows 2k22 and Windows 11 which also use UEFI with TPM.

What this PR does / why we need it: UEFI and TPM enables additional functionalities in Windows
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Release note:

Windows 10 preference now boots from UEFI with TPM instead of BIOS

Looks good to me, thanks!
/approve

Thanks @prnaraya!
/lgtm