Error: getaddrinfo ENOTFOUND undefined

Today I upgraded node-red-contrib-shelly coming from V10.13.7 to current V10.27.0
After rebooting Node Red to activate the update all shelly functions act normal besides the connection to the single Shelly Plug S (Gen1) I have in my network.
Flows were working smooth before, but now the shelly gen 1 node cycles between connected and the error state Error: getaddrinfo ENOTFOUND undefined in intervals of 1-2 seconds.
This is the simple configuration I use:

One strange thing I noticed while trying to debug:
If I try to autodetect the device type it returns an incorrect type Relay SHPLG-S. Once I try to use it the node reports a type mismatch.
When I change it back to Plug(S/E/US) the problem described above rises again.
Plug S is using newest available firmware.
Any advice?

@Lineflyer
ah that is interesting.
I have a shelly plug s here and I will try to reproduce it. Thanks for reporting.
I refactored a lot of stuff yesterday in order to get rid of strange exceptions. Maybe I am causing additional state changes... will try to fix it asap.

fixed in 10.27.1
thanks alot, did not see that

Hi @windkh
The problem seems to persist when i'm using 10.27.1 and my Shelly Gen1 2.5 Relay.
Downgrading the package to a lower version fixes the issue.

@windkh
I also just upgraded to v10.27.1 + restart to try it out and I also have to confirm:
Error is still there as described initially. Let me know, if you need more info/logs or anything.

Hm ...?
If you have a log then paste it here

Well, the normal node-red log only shows the following from both nodes where I use this shelly:
8 Jul 19:49:11 - [warn] [shelly-gen1:f929ead30743b4b2] Error: Error: getaddrinfo ENOTFOUND undefined
8 Jul 19:49:16 - [warn] [shelly-gen1:8ba7704f650825c6] Error: Error: getaddrinfo ENOTFOUND undefined
8 Jul 19:49:16 - [warn] [shelly-gen1:f929ead30743b4b2] Error: Error: getaddrinfo ENOTFOUND undefined
8 Jul 19:49:21 - [warn] [shelly-gen1:8ba7704f650825c6] Error: Error: getaddrinfo ENOTFOUND undefined
8 Jul 19:49:21 - [warn] [shelly-gen1:f929ead30743b4b2] Error: Error: getaddrinfo ENOTFOUND undefined
8 Jul 19:49:26 - [warn] [shelly-gen1:8ba7704f650825c6] Error: Error: getaddrinfo ENOTFOUND undefined
8 Jul 19:49:26 - [warn] [shelly-gen1:f929ead30743b4b2] Error: Error: getaddrinfo ENOTFOUND undefined
8 Jul 19:49:31 - [warn] [shelly-gen1:8ba7704f650825c6] Error: Error: getaddrinfo ENOTFOUND undefined
8 Jul 19:49:31 - [warn] [shelly-gen1:f929ead30743b4b2] Error: Error: getaddrinfo ENOTFOUND undefined
8 Jul 19:49:36 - [warn] [shelly-gen1:8ba7704f650825c6] Error: Error: getaddrinfo ENOTFOUND undefined
8 Jul 19:49:36 - [warn] [shelly-gen1:f929ead30743b4b2] Error: Error: getaddrinfo ENOTFOUND undefined
8 Jul 19:49:41 - [warn] [shelly-gen1:8ba7704f650825c6] Error: Error: getaddrinfo ENOTFOUND undefined
8 Jul 19:49:41 - [warn] [shelly-gen1:f929ead30743b4b2] Error: Error: getaddrinfo ENOTFOUND undefined
8 Jul 19:49:46 - [warn] [shelly-gen1:8ba7704f650825c6] Error: Error: getaddrinfo ENOTFOUND undefined
8 Jul 19:49:46 - [warn] [shelly-gen1:f929ead30743b4b2] Error: Error: getaddrinfo ENOTFOUND undefined
8 Jul 19:49:51 - [warn] [shelly-gen1:8ba7704f650825c6] Error: Error: getaddrinfo ENOTFOUND undefined
8 Jul 19:49:51 - [warn] [shelly-gen1:f929ead30743b4b2] Error: Error: getaddrinfo ENOTFOUND undefined
8 Jul 19:49:56 - [warn] [shelly-gen1:8ba7704f650825c6] Error: Error: getaddrinfo ENOTFOUND undefined
8 Jul 19:49:56 - [warn] [shelly-gen1:f929ead30743b4b2] Error: Error: getaddrinfo ENOTFOUND undefined
8 Jul 19:50:01 - [warn] [shelly-gen1:8ba7704f650825c6] Error: Error: getaddrinfo ENOTFOUND undefined
8 Jul 19:50:01 - [warn] [shelly-gen1:f929ead30743b4b2] Error: Error: getaddrinfo ENOTFOUND undefined
8 Jul 19:50:06 - [warn] [shelly-gen1:8ba7704f650825c6] Error: Error: getaddrinfo ENOTFOUND undefined
8 Jul 19:50:06 - [warn] [shelly-gen1:f929ead30743b4b2] Error: Error: getaddrinfo ENOTFOUND undefined
8 Jul 19:50:11 - [warn] [shelly-gen1:8ba7704f650825c6] Error: Error: getaddrinfo ENOTFOUND undefined
8 Jul 19:50:11 - [warn] [shelly-gen1:f929ead30743b4b2] Error: Error: getaddrinfo ENOTFOUND undefined
8 Jul 19:50:16 - [warn] [shelly-gen1:8ba7704f650825c6] Error: Error: getaddrinfo ENOTFOUND undefined
8 Jul 19:50:16 - [warn] [shelly-gen1:f929ead30743b4b2] Error: Error: getaddrinfo ENOTFOUND undefined

please install V10.27.3 and let me know if it helps

This fixed it for me, thank you! :)

Confirmed fixed with v10.27.3
Thanks @windkh for this swift reaction. Appreciated!

Thank you all for your help!


Implement "Search by Tags" in API Publisher

It would be better if we can consider this in our roadmap for future releases.

This feature is already available in API publisher. But this option is not mentioned in "search options of API". Please find the below image for the same.

There is no need to add the same in API Manager as there is no "Tags" attribute while publishing the API. So this issue should be closed.

Tag search is provided in APIM 2.6.0 and also supported in APIM 3.0.0


[Bug] The read-only database is not catching up to the primary database correctly.

🐛 Bug Report

The snarkOS node runs a primary RocksDB database for standard node operations and a read-only secondary database for the RPC server. This secondary database is uses a try_catch_up_with_primary to update it's state. Despite this, the secondary seems to occasionally fall behind the primary database and not update properly.
Initially, we called try_catch_up_with_primary every time an RPC endpoint was hit, however we noticed that a high frequency of these try_catch_up_with_primary calls jumps the secondary database state back and forth between new and old state. This can be seen in the secondary database latest sequence number, which was also updating, then reverting back to the original.
To get around the original issue, we have a loop that calls try_catch_up_with_primary every X seconds, and only updates the read-only state if the sequence number increases properly. However, this approach still has issues keeping state live/udpated for the secondary database.
This is the current iteration of our design - https://github.com/AleoHQ/snarkOS/blob/f9f3210ab8e3b1b7626d133317a1dbfbb5c7715e/ledger/src/state/ledger.rs#L171-L210
Steps to Reproduce

Run a node
Query the RPC for block state
Look for mismatches in block height or latest block state.

Expected Behavior

The secondary database should catch up to the primary state properly every time the try_catch_up_with_primary function is called.
Your Environment
testnet2 branch
Latest commit - 8bf81be47aa6be2145abd7a188507848d1dcb4c3

Closing as we've switched to primary. Pending rust-rocksdb new release, we can switch back to secondary.


Add MatchPhraseQuery As Alternate Syntax for Match_Phrase Function

Description
Adds matchphrasequery as alternate syntax for match_phrase function which currently exists in opensearch
Queries can be performed using the following syntax :
matchphrasequery(field, 'query')

Example:
SELECT field FROM index WHERE matchphrasequery(field, 'query');

This query should return the same result as match_phrase(field, 'query')
Issues Resolved
Check List

[X] New functionality includes testing.

[X] All tests pass, including unit test, integration test and doctest

[ ] New functionality has been documented.

[ ] New functionality has javadoc added
[X] New functionality has user manual doc added

[X] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #1103 (9c769dd) into 2.x (e280866) will decrease coverage by 35.52%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##                2.x    #1103       +/-   ##
=============================================
- Coverage     98.28%   62.76%   -35.53%
=============================================
  Files           345       10      -335
  Lines          8580      658     -7922
  Branches        547      119      -428
=============================================
- Hits           8433      413     -8020
- Misses          142      192       +50
- Partials          5       53       +48

Flag
Coverage Δ

query-workbench
62.76% <ø> (?)

sql-engine
?

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...h/sql/expression/function/BuiltinFunctionName.java

...h/sql/expression/function/OpenSearchFunctions.java

...arch/storage/script/filter/FilterQueryBuilder.java

...ensearch/sql/planner/physical/PhysicalPlanDSL.java

...rch/sql/expression/function/FunctionSignature.java

...ensearch/storage/script/core/ExpressionScript.java

...nsearch/executor/protector/ExecutionProtector.java

...ensearch/sql/analysis/NamedExpressionAnalyzer.java

...n/java/org/opensearch/sql/planner/PlanContext.java

...rotocol/response/format/FlatResponseFormatter.java

... and 345 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


fatal error: dmlc/logging.h: No such file or directory compilation terminated.

Some error in the current repo?
g++ -std=c++11 -Wno-unknown-pragmas -Wall -I`pwd`/../../OpenBLAS -I`pwd`/../../OpenBLAS/include -MD -MF mxnet_predict0.d \
-I `pwd`/../ -I `pwd`/../mshadow/ -I `pwd`/../dmlc-core/include \
-I `pwd`/../include \
-D__MIN__=0 -c mxnet_predict0.cc
In file included from /media/robox/Netac/CodeSpace/ng/auto_car/detect/mxnet-ssd.cpp/mxnet/amalgamation/../src/ndarray/ndarray_function.cc:8:0,
                 from mxnet_predict0.cc:26:
/media/robox/Netac/CodeSpace/ng/auto_car/detect/mxnet-ssd.cpp/mxnet/amalgamation/../src/ndarray/./ndarray_function.h:9:26: fatal error: dmlc/logging.h: No such file or directory
compilation terminated.
Makefile:28: recipe for target 'mxnet_predict0.d' failed
make: *** [mxnet_predict0.d] Error 1
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test COMPILER_SUPPORTS_CXX11
-- Performing Test COMPILER_SUPPORTS_CXX11 - Success
-- Performing Test COMPILER_SUPPORTS_CXX0X
-- Performing Test COMPILER_SUPPORTS_CXX0X - Success
-- Configuring done
-- Generating done
-- Build files have been written to: /media/robox/Netac/CodeSpace/ng/auto_car/detect/mxnet-ssd.cpp/build
Scanning dependencies of target ssd
[ 75%] Building CXX object CMakeFiles/ssd.dir/media/robox/Netac/CodeSpace/ng/auto_car/detect/mxnet-ssd.cpp/src/detector.cpp.o
[ 75%] Building CXX object CMakeFiles/ssd.dir/media/robox/Netac/CodeSpace/ng/auto_car/detect/mxnet-ssd.cpp/src/zupply.cpp.o
[ 75%] Building CXX object CMakeFiles/ssd.dir/media/robox/Netac/CodeSpace/ng/auto_car/detect/mxnet-ssd.cpp/src/main.cpp.o

same error,do you solve it?


Unable to print readable formatted output?

Through the test console on tumblr website, it looks properly formatted, but just displays a long line of code in ide and standalone console.

The json returned by the API is not "pretty-printed" to save bytes added by newlines and spaces. The pytumblr library just dumps this json into a dict object, and dicts are not typically "pretty printed" by coding tools. If you want a pretty-printed format, here's an example in the standard python REPL:
>>> import json
>>> from pytumblr import TumblrRestClient
>>> c = TumblrRestClient('YOUR API KEY HERE')
>>> blog_info = c.blog_info('staff.tumblr.com')
>>> formatted = json.dumps(blog_info, indent=2)  # indent with 2 spaces
>>> print(formatted)  # print to show newlines instead of '\n'
{
  "meta": {
    "status": 200,
    "msg": "OK"
  },
  "response": {
    "blog": {
      "ask": false,
      "ask_anon": false,
      "ask_page_title": "",
      "can_subscribe": false,
      "description": "",
      "is_nsfw": false,
      "name": "staff",
      "posts": 2338,
      "share_likes": false,
      "subscribed": false,
      "title": "Tumblr Staff",
      "total_posts": 2338,
      "updated":<PHONE_NUMBER>,
      "url": "https://staff.tumblr.com/",
      "uuid": "t:0aY0xL2Fi1OFJg4YxpmegQ",
      "is_optout_ads": true
    }
  }
}
>>>

Thank you!


Provide BCDR guidance

We need to indicate to customers how to best configure their usage of Azure Arc for disaster recovery purposes. This paragraph provides an introduction to that.

It appears that the file is no longer in master. We'll close the PR. Thanks.


Fix typos in tooltips.md and javascript.md

typo in the Placement section of Tooltip component:
data-tooltip-placement="{top|right|bottom"left}"  should be data-tooltip-placement="{top|right|bottom|left}"
See: https://github.com/themesberg/flowbite/issues/816#issue-2152773500

and also typo in end of Instance manager
FlowbiteInstance.getInstances('Modal'); should be FlowbiteInstances.getInstances('Modal');

Thanks @Lexachoc for the PR. Merged!


Add OpenAPI descriptions

Closes #49

Codecov Report

Merging #53 (ce5a7bc) into master (cac1e46) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master      #53   +/-   ##
=======================================
  Coverage   99.90%   99.90%
=======================================
  Files          83       82    -1
  Lines        1056     1072   +16
  Branches       58       58
=======================================
+ Hits         1055     1071   +16
  Misses          1        1

Impacted Files
Coverage Δ

src/app.module.ts
100.00% <ø> (ø)

src/orders/orders.service.ts
100.00% <ø> (ø)

src/orders/payments/payments.service.ts
100.00% <ø> (ø)

src/auth/auth.controller.ts
100.00% <100.00%> (ø)

src/local-files/local-files.controller.ts
92.30% <100.00%> (+0.64%)
:arrow_up:

src/orders/deliveries/deliveries.controller.ts
100.00% <100.00%> (ø)

src/orders/orders.controller.ts
100.00% <100.00%> (ø)

src/orders/payments/payments.controller.ts
100.00% <100.00%> (ø)

src/products/attributes/attributes.controller.ts
100.00% <100.00%> (ø)

src/products/categories/categories.controller.ts
100.00% <100.00%> (ø)

... and 11 more

Continue to review full report at Codecov.

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


Add more ruff rules

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (3204e63) to head (d79a8c8).

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #617   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           71        71
  Lines         1896      1896
  Branches       225       225
=========================================
  Hits          1896      1896

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


Add Starship to 'Shell Prompts'

Add Starship prompt to list of shell prompts compatible with Fish -
I started using Starship recently and when I came back to this list after a while I thought it would be a nice addition. I'd encourage you folks (the maintainers) to check it out too!

I looked at the other open PRs for new shell prompts and saw that there were some minimum requirements you had in mind for additions to the list. I think Starship passes all of those tests (many stars, CI pipelines, well written README), but I thought I'd point out that I'm just a user, not a contributor or maintainer (to starship). Feel free to close this without feedback if you feel it's unsuitable for some reason; if the maintainers feel it is important, I'm sure they'd reach out directly.

have you seen these? #68, #69, #71

I think we're going to need an ISSUE_TEMPLATE at this point. 😂

Do people just ignore these or what?

I guess it's just easy to ignore in this case because there's nothing wrong with Starship, on the contrary, it's a very nice prompt so why not add it here? The reason is that Starship is not written in fish and this repository is only about collecting (awesome) fish-related software and documentation. 😄

Yikes.
On Mon, Oct 28, 2019 at 5:24 PM Jorge Bucaran<EMAIL_ADDRESS>wrote:

Closed #72 https://github.com/jorgebucaran/awesome-fish/pull/72.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jorgebucaran/awesome-fish/pull/72?email_source=notifications&email_token=AB4CDPNHSKGUP5PEPPAJ7ZLQQ3HIPA5CNFSM4JFXBWWKYY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOUPHIKZA#event-2748220772,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB4CDPIEUN7DXWCSSG7PDKLQQ3HIPANCNFSM4JFXBWWA
.

--
Vidur Butaliafiat justitia, raet caelum
<EMAIL_ADDRESS>+91<PHONE_NUMBER> <+91+9205288305>
[image: Twitter] https://twitter.com/ogadmiralthrawn


fix header bug and also rename request to requestdata

Changes
Fixes an infinite header loop in the case that header info comes from the producer.

Fixes an infinite header loop in the case that header info comes from the producer.
rename request to requestData in consumer

/kind bug

Fixes #

Release Note

Docs

/assign @julz
/assign @maximilien


Fix Unit discrepancy & Input errors with Nomination, Add State, Unbond and Rebond & Fix Cancel Tx Flow

Summary of changes
Provide a detailed description of proposed changes.

Fix amount input errors for Nomination, Add State, Unbond, and Rebond (handling decimals, remove 0)
Fix unit discrepancy across nomination stats items
Minor UX improvement across pages

Proposed area of change
Put an x in the boxes that apply.

[ ] apps/bridge-dapp
[ ] apps/hubble-stats
[ ] apps/stats-dapp
[x] apps/tangle-dapp
[ ] apps/testnet-leaderboard
[ ] apps/faucet
[ ] apps/zk-explorer
[ ] libs/webb-ui-components

Reference issue to close (if applicable)
Specify any issues that can be closed from these changes (e.g. Closes #233).

Closes #2182
Closes #2114
Closes #2156
Closes #2167

Screen Recording
If possible provide a screen recording of proposed change.
Nomination (Success)
https://github.com/webb-tools/webb-dapp/assets/69841784/3c451e6f-b46c-4fb8-892e-8c59f4525889
Add Stake, Unbond & Rebond (Success)
https://github.com/webb-tools/webb-dapp/assets/69841784/80e3135f-7db0-45c7-be78-e53797e41465

Code Checklist
Please be sure to add .stories documentation if any additions are made to libs/webb-ui-components.

[x] I have added tests that prove my fix is effective or that my feature works
[x] I have added necessary documentation (if appropriate)

Some issues left here (rank by priority to fix):

The loading state runs forever when users cancel a tx (applies all flows: Nominations, Add Stake, Unbond, Rebond)
AmountInput component: the cursor always moves to the end when users change the number in the middle
When performing a tx, the users' inputs can automatically be invalid because of the state subscription of the network. Can fix this by clearing the inputs when users submit a tx

Some issues left here (rank by priority to fix):

[ ]  1. The loading state runs forever when users cancel a tx (applies all flows: Nominations, Add Stake, Unbond, Rebond)
[ ]  2. AmountInput component: the cursor always moves to the end when users change the number in the middle
[ ]  3. When performing a tx, the users' inputs can automatically be invalid because of the state subscription of the network. Can fix this by clearing the inputs when users submit a tx

Fixed 1:
https://github.com/webb-tools/webb-dapp/assets/69841784/435b8695-494d-480e-af16-a724e6aa2033

Some issues left here (rank by priority to fix):

[x]  The loading state runs forever when users cancel a tx (applies all flows: Nominations, Add Stake, Unbond, Rebond)
[x]  AmountInput component: the cursor always moves to the end when users change the number in the middle
[ ]  When performing a tx, the users' inputs can automatically be invalid because of the state subscription of the network. Can fix this by clearing the inputs when users submit a tx

Fixed 2
https://github.com/webb-tools/webb-dapp/assets/69841784/3387010e-6836-424d-a4c5-dd0e4b2014c6

Some issues left here (rank by priority to fix):

[x]  The loading state runs forever when users cancel a tx (applies all flows: Nominations, Add Stake, Unbond, Rebond)
[ ]  AmountInput component: the cursor always moves to the end when users change the number in the middle
[x]  When performing a tx, the users' inputs can automatically be invalid because of the state subscription of the network. Can fix this by clearing the inputs when users submit a tx

Created an issue for 2 here #2200

Need QA @devpavan04 pls

Nomination (first time) ✅
https://github.com/webb-tools/webb-dapp/assets/53374218/b4f097a3-a5e3-44b0-91c8-e35db3116b2d
Add Stake ✅
https://github.com/webb-tools/webb-dapp/assets/53374218/db6d5077-e689-4fff-a8d8-9efc91e90db6
Rebond ✅
https://github.com/webb-tools/webb-dapp/assets/53374218/dac41cab-2d31-4dcb-be82-a567aa795ce5

@vutuanlinh2k2
I have 100.222 tTNT staked. When I try to unbond 100 tTNT, I see incorrect input validation - *Not enough staked balance. Also when I select Max button, the input field is populated with 0.222 which is incorrect and correct value is 100.222.
https://github.com/webb-tools/webb-dapp/assets/53374218/9b4acea8-cf5c-452d-a029-90b273faaf56

Fixes - [BUG] Validator table does not display nomination count & self-staked amount #2201

Self staked amount & Effective staked amount

LGTM 👍🏼
@yurixander Need QA from your end.


Fix issues with setting up listeners in video block and handouts.

In handouts we were only setting the listener to listenOnce which means
it will only send the cached version.
In the video block code we were adding a listener each time we reloaded
the stream. In practice we were only loading the stream once so it
didn't matter, but if we wanted to add a refresh feature this could lead
to a bug.

:+1:


Unable to manage users of organization

On a fresh build, logged in as admin4example user, the users page of an organization is empty.
Using devtools I see several js files like organization_new.js not being found.

By enabling feature flag new_dashboard the page is working again.
See 943c32ff59d08aef2680ffc3b5eeb71d69b99edf


Use without a mouse

Make it possible to use only keyboard.

[x] Ctrl + PgUp/PgDn switch between windows
[ ] Alt + Z to call sidebar menu
[ ] Alt + Arrows/Ctrl + Arrows to access window menu
[ ] ...

All operations can be done with either the mouse or the keyboard.
Resources

https://en.wikipedia.org/wiki/Table_of_keyboard_shortcuts
https://en.wikipedia.org/wiki/IBM_Common_User_Access

Right Alt + Z is used on Polish keyboard to write "ż", and I imagine many national keyboard layouts work similarly. How about using Super key ("windows logo") instead? It's traditionally not used in terminal applications or national keyboards at all, and many DEs use them to handle their functionalities. All i3 shortcuts are based on Super key, for example (or Alt key, if the user chooses so).
That would, of course, interfere with DE in which vtm is run...

Ok, instead of Alt+Z, we will need something else. The whole variety of shortcuts is limited to those that the terminal forwards inside the terminal to the application.
We can set any combination that can be displayed in $> cat when fired.

Well, Windows key doesn't work in terminal window, and in tty4 it's ignored (Super+z produces "z").
Left Alt + Z works fine though.
I wonder if there is any convention for international keyboards, about which combinations are commonly used for diacritics.

Perhaps this is all individually for each writing.

I came up with the following thing.
vtm can accept entire strings (which sent by block not key by key) as a shortcut and interpret them as commands. To do this, the user must configure a hotkey in his terminal to generate such a string.
For example, now for toggling a debug overlay, it is enough to send the whole line "🐞" (several bytes in UTF-8) to vtm (same action for Left+Right triple click on main menu). You can assign any combination to generate this string for the overlay toggling.

Universal and configurable approach is always welcome, I think. :)


Could you please support Golang in wordpress plugin? thx!!!

I don't own the wordpress plugin, please reach out to the plugin developer directly.


[FEATURE]: Add average(), climatology(), and departures() to temporal accessor

Is your feature request related to a problem?
Currently, calling temporal averaging requires using .temporal.temporal_avg() The user has to pass a mode arg with a value of either "time_series" for time series averaging, or "climatology" for calculating climatology.
Both operations were encapsulated under temporal_avg() because they share the same logic. However, the temporal averaging API could be cleaner if we separate each of these operations into separate methods, both of which call temporal_avg() with the mode arg already specified under the hood.
Describe the solution you'd like

Make temporal_avg() a private API (_temporal_avg().
Add a method for climatology() which calls _temporal_avg() with mode="climatology"

Example: ds.temporal.climatology("some_var")

Add a method for average() which calls _temporal_avg() with mode="time_series"

Example: ds.temporal.average("some_var")

Describe alternatives you've considered
No response
Additional context
Related issue #218

@tomvothecoder excellent, thank you for keeping me in the loop!


libtensorflow.so: .dynsym local symbol at index 3 (>= sh_info of 3)

Hello,
I read from the forumtensorflow that it was necessary to use your lib for writtine tensorflow with GOlang.
I was intalled the lib C tensorflow but I had this probleme. Apparently, I have to use the gold linker to compile.
Do you have a solution, for user -fuse-ld=gold with gcc ?

I had added
// #cgo LDFLAGS: -fuse-ld=gold
in my main.go.
You have to clean the cache into "rm -rf ~/.cache/go-build/*"

This is not an error, is just a warning you could ignore.
Your soluton, anyway, is OK, because the gold linker just does not produce this warning when linking with a library with an invalid symbol table (maybe there's something wrong in how the libtensorflow.so has been created by Google)


DNM / Discussion: Fix for Bone Scaling

This is a specific fix for the issue of bones being too tiny and not scaled correctly.
DNM is for clarification and discussion on the subject and to double check conventions, and due to still incomplete fix: tested with Binary version of Celsius Man and Monster (which seems to be offset, separate issue). Will post an issue related to the Monster, later..
Not Perfect, as joint ends are most likely not upto spec (will look into just using the previous bone length in the future).
Bones in Blender inherently have no scale: instead they have a start point (head, or joint position) and an endpoint (tail, child point.). This is something to keep in mind when designing the nodes.
From what I understood, the idea is to put most of the correction logic into the Nodes. However we cannot rely on the information in them while the scene is building, as information comes in out of order.

Hello,
Problem is much more complicated.
Your solution will work for bone chains, but every bone are not connected ( even if a bone have only 1 child), so this code won't work for not connected bones.
A still missing feature is bone scale animation: you remove TODOs in code, but it has to be implemented, because bones have scale in pose mode (even if there don't have scale in edit mode).
Currently working on a more robust solution ( not committed yet)


range of a Block Scalar should match its value

Describe the bug
The "start offset" of a Block Scalar value should be the beginning of the string value, not the "|-" part
      v Range should not starts from here
test: |-
    This is a string

To Reproduce
test: |-
    This is a string

var yaml = require("yaml")
var text = "test: |-\n    This is a string"
var doc = yaml.parseDocument(text, { keepSourceTokens: true, strict: false })

console.log("value:", doc.contents.items[0].value.value) // "This is a string"
console.log("offset:", doc.contents.items[0].value.range[0]) // 6, should be 13 instead

Expected behaviour
test: |-
    This is a string
    ^ The range offset should start here

Versions:

yaml: 2.4.1

Why?

Well I'm actually trying to get the exact offset of the string value. By instinct I would think doc.contents.items[0].value.range only indicating the start and end of the value itself, yet it seems covering something else as well.
I did not read through the YAML specification. If the value.range does work as intended, that should be fine.
I will try to calculate it through srcToken though it is a bit of complicated 😂

For a block scalar, the header is a required part of the source to determining its value. So what you're asking for would be analogous for the range of a quoted scalar like "foo" to not include the " marks.


SINGLE_USER isn't supported on all databases

Hi, just a quick one - this topic says this article applies to all versions, and it doesn't (won't work on SQL Managed Instance.)
Wouldn't it be great if there was a stored procedure or function can I call like with modenizr to say "DoesSupport('SET SINGLE_USER') or DoesSupport('AT TIME ZONE'), taking the guess work out of compatibility.

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

ID: b67ab534-229d-f12a-6216-9550d790ea42
Version Independent ID: 529e1ec2-00c5-9c13-1a75-dfc183765aff
Content: Set a Database to Single-user Mode - SQL Server
Content Source: docs/relational-databases/databases/set-a-database-to-single-user-mode.md
Product: sql
Technology: ****
GitHub Login: @WilliamDAssafMSFT
Microsoft Alias: wiassaf

Thanks @Gilesey for taking the time to provide document feedback. In this case, this article's "Applies to" is correct. Though they share a Database Engine, the Azure SQL Database and SQL Managed Instance products are not a version of SQL Server, but rather their own platforms. This is good feedback though that we could be more clear on the Applies To: line and we are discussing internally.
As for a proposed DoesSupport() function, that sounds like a great suggestion for SQL Feedback.
Thanks again for this feedback, your suggestions help improve our documentation.


Improve performance of asynchronous reduction

Seems to be a few superfluous copies happening which ruins performance.

One of these copies is caused by scope_result_container's copy constructor. Even though it is being constructed from an rvalue, scope_result_container's copy constructor is being called because it does not have a move constructor.


feat: update golang-github-gdamore-tcell.v2 to 2.6.0

cell based view for text terminals
Issue: https://github.com/deepin-community/sig-deepin-sysdev-team/issues/552
Log: update repo

/lgtm
/approve


Make 'tests' depend on a generated 'providers/fipsmodule.cnf'

To generalize this so it doesn't become a specific hack in the build file templates, this PR adds the possibility to specify dependencies for existing targets with a special syntax (||).  With that, we can specify this in providers/build.info:
DEPEND[|tests|]=fipsmodule.cnf

Furthermore, we add the possibility to use a program compiled as part of the build as a generator, giving us this in providers/build.info:
GENERATE[fipsmodule.cnf]=../apps/openssl fipsinstall \
      -module providers/$(FIPSMODULENAME) -provider_name fips \
      -mac_name HMAC -section_name fips_sect -out -
DEPEND[fipsmodule.cnf]=$FIPSGOAL

Fixes #14315

I've had this dormant on my laptop in a non-ready to publish state since last September.  It was time it got a cleanup and became known...

I've had this dormant on my laptop in a non-ready to publish state since last September. It was time it got a cleanup and became known...

How many more forgotten laptops do you have?

How many more forgotten laptops do you have?

The laptop isn't forgotten, it's the one I actively use.  But I do have quite a number of branches, some being very early experiments, some being almost finished but I got distracted by something else.
So, well, if you must know, here's what exists in my main working tree:
$ git branch | wc -l
166

I don't think that half of them are on github yet.

Furthermore, we add the possibility to use a program compiled as part of the build as a generator,

What happens when we're cross compiling?  Does the build system use HOSTCC et al to build the binary to be run?

None of our programs are built with HOSTCC

For the tests, we can get away without this since they have to run on the target but if this spreads further....

So if you read the PR description (subject, even) once more, does it not tell you that building up fipsmodule.cnf this way remains part of the tests?

Yes, it does.  However: ...to use a program compiled as part of the build as a generator doesn't strike me as being limited to the tests.

Uhm, I'm not sure I understand. All programs are built during build, that's what that sentence refers to. fipsmodule.cnf is build as part of testing.

The implication I took away was that a program could be used to generate something required by the build.
Anyway, moot point since this is dealing with testing and that's okay.

I've added a line in the description to that effect.

24 hours has passed since 'approval: done' was set, but this PR has failing CI tests.  Once the tests pass it will get moved to 'approval: ready to merge' automatically, alternatively please review and set the label manually.

Ouch, Appveyor protests...  I'll fix on Monday

AppVeyor still does not like it.

Yeah I know, I'm looking into it

Fix done, I hope.  It demanded a bit extra refactoring to make the bits of the generator line a bit more manageable.

The remaining CI failures are not relevant here.

Rebased

Merged
3f399e3787788b1cc3832e254c53cda42873d847 build.info: Add the possibility to add dependencies on raw targets
79f47ef507c945f4c73bcf8eb12f2caef19dc04e build.info: Make it possible to use compiled programs as generators
05869bba7fbe59d04bb8605b81b470d4dedb38ac Make 'tests' depend on a generated 'providers/fipsmodule.cnf'
e9d74dbd3676603a257cedcdcbd720a3a9a775a5 APPS: Modify 'fipsinstall' to output all notifications on stderr
e25b4db754b2327be27fa0c1a4f6e66f57368293 TEST: Remove the build of fipsmodule.cnf from test recipes
c9b0214edeb7fdbedd36cf403583e016d9fbbd38 Fix the perl code to get FIPSMODULENAME
33ac7b324bdf6791b3ec4a2e3bde74fee8686ff4 Add a new test recipe to verify the generated test fipsmodule.cnf


history

is there a way to give an instruction history initiated ?

For now, the model is only trained on one-turn dialogue dataset, so we do not support chat history during inference.


[#103779820] Auditing user updates properly

Part of this bug fix: https://www.pivotaltracker.com/story/show/103779820
The update user endpoint should expect updater details and save them in audit events.
Previously the auditing of user updates only recorded the user who had been updated and not the user who made the change.  We need both to have a proper record of changes made.
Depends on:

[ ] https://github.com/alphagov/digitalmarketplace-utils/pull/166/files

:+1: when the version is ready


Executing a sheduled tasks only once?

Hi,
Is there any way to add a scheduled task that will only run once (on the first GP update) to a existing GPO? By default scheduled tasks run on every GP update.
Thanks!

I should check how this can be possible. If you know the scheduled task parameters for this specific need, please share


Linting

Changes

Adds eslint magic
Quick refactor of some unused variables/globals and a quick refactor to use an unused variable.

Notes

This is a superset of #21 ctsstc:package-update

Thank you @ctsstc


PDFJS highlight is not correct.

Attach (recommended) or Link to PDF file here:
10pages-noLogo.pdf
Configuration:

Web browser and its version: IE 11, Chrome.
Operating system and its version: Windows 10 Enterprise
PDF.js version:  https://mozilla.github.io/pdf.js/web/viewer.html
Is a browser extension: NO

Steps to reproduce the problem:

Open PDFJS demo, https://mozilla.github.io/pdf.js/web/viewer.html
Click "Open File" button in header and open PDF attached from local
Search "engine" and highlight all occurrences.
Some keyword cannot be highlighted correctly, for example in page 6.
What is the expected behavior? (add screenshot)
Keyword need be highlighted correctly.

What went wrong? (add screenshot)

Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):

I modified in text_layer_builder.js in the convertMatches the two while loops
from:
iIndex += textContentItemsStr[i].length;
to:
iIndex += this.findController.normalize(textContentItemsStr[i]).length;
Since this change I could resolve a simmilar Problem, but it is not perfect because in some cases the match is still shifted one position to the right.
Here is the modified function which I use now in text_layer_build.js :
modified_convertMatches.txt

I think this is related to #9448 then.


Fix composer input rendering is delayed

Details

The composer input and the + button are shown with delay because the required onyx data is not available yet. We remove unused onyx data and set an initial value so it renders immediately.
Fixed Issues

$ https://github.com/Expensify/App/issues/41397
PROPOSAL: https://github.com/Expensify/App/issues/41397#issuecomment-2090678966
Tests

Same as QA Steps

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

Offline tests

Same as QA Steps
QA Steps

(Android/iOS) Close the app (Web/Desktop/mWeb) Refresh the app
Open any non-policy chat (e.g., DM)
Verify the all the composer component part is rendered immediately at the same time (+ button, text input, emoji, send)

[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: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb 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 either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
[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 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(theme.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 the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label and/or tagged @Expensify/design so the design team can review the changes.

[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.

Screenshots/Videos

Android: Native

https://github.com/Expensify/App/assets/50919443/81eb8c76-004e-47ca-91ee-04b509652672

Android: mWeb Chrome

https://github.com/Expensify/App/assets/50919443/4bd90a2a-63eb-4e17-9476-fe94da7b1096

iOS: Native

https://github.com/Expensify/App/assets/50919443/8197f80b-8ac0-4408-956e-28c5635465ed

iOS: mWeb Safari

https://github.com/Expensify/App/assets/50919443/18a7fd34-1793-4b06-9952-ebd39704d9d3

MacOS: Chrome / Safari

https://github.com/Expensify/App/assets/50919443/50e2f7b1-6f8d-4443-93a2-3fdf77ab994a

MacOS: Desktop

https://github.com/Expensify/App/assets/50919443/e30cb7f5-8e7b-4996-8e2c-66c21c30e4b1

Reviewer Checklist

[ ] I have verified the author checklist is complete (all boxes are checked off).
[ ] 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

[ ] I verified the steps for local testing are in the Tests section
[ ] I verified the steps for Staging and/or Production testing are in the QA steps section
[ ] 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)
[ ] 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)

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

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

[ ] 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
[ ] I verified proper code patterns were followed (see Reviewing the code)

[ ] 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).
[ ] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[ ] I verified that comments were added to code that is not self explanatory
[ ] 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.
[ ] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method
[ ] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[ ] 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 either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
[ ] 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.
[ ] I verified the JSDocs style guidelines (in STYLE.md) were followed

[ ] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[ ] I verified that this PR follows the guidelines as stated in the Review Guidelines
[ ] 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)
[ ] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[ ] 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
[ ] If a new component is created I verified that:

[ ] A similar component doesn't exist in the codebase
[ ] All props are defined accurately and each prop has a /** comment above it */
[ ] The file is named correctly
[ ] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[ ] The only data being stored in the state is data necessary for rendering and nothing else
[ ] 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)
[ ] 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)
[ ] All JSX used for rendering exists in the render method
[ ] 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

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

[ ] 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

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

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

[ ] 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.
[ ] 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)
[ ] 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.
[ ] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[ ] If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:

[ ] I verified that all the inputs inside a form are aligned with each other.
[ ] I added Design label and/or tagged @Expensify/design so the design team can review the changes.

[ ] 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.
[ ] 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.
[ ] I have checked off every checkbox in the PR reviewer checklist, including those that don't apply to this PR.

Screenshots/Videos

Android: Native

Android: mWeb Chrome

iOS: Native

iOS: mWeb Safari

MacOS: Chrome / Safari

MacOS: Desktop

@Julesssss I think merge freeze is over :shipit:

🚀 Deployed to staging by https://github.com/Julesssss in version: 1.4.74-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/chiragsalian in version: 1.4.74-6 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


[Docs] - Remove duplicate mention of checklist in PR template

What changes would you like to make in the documentation?
In the pull request template, we need to remove the first mention of checklist that occurs just above the Summary of changes
Here is a screenshot of the word needed to be removed below

Its just remove the word, right? Can I do that?

@CaioCintra
Yes that is correct


reshape params array to work with fixed generator from core

Can you write a quick test looking at the use case we addressed yesterday? That will make sure this bug doesn't happen again.

I dunno what I did wrong before (maybe I had a wrong version of core installed) but some tests did fail yesterday and passed after I generalized the reshape hack to the whole function.


Custom Transports respects system proxy

The built in transport in Go respects the system proxy settings (/etc/profile.env for example).  The  custom transports used in Harbor do not respect the system proxy settings, so added Proxy: http.ProxyFromEnvironment, to the custom transports.
This enables the ability to add proxy environment to YAML files.  For example:
environment:       - http_proxy=http://<IP_ADDRESS>:8080       - https_proxy=http://<IP_ADDRESS>:8080       - no_proxy=log,registry,mysql,adminserver,ui,jobservice,proxy,postgres,clair,notary-server,notary-signer,notary-db,<IP_ADDRESS>,localhost,corp.network

Coverage decreased (-0.05%) to 56.161% when pulling 4f1d88f7e336e98329b1eefde300b7a25ad4e1c1 on everydaynerd:master into 5b2ececae842e28c83c5de250ba7610b8dadbc10 on vmware:master.

Not sure how adding 6 lines of code can make the code coverage go from 56.161% to -0.05%

How does one get a review on a PR? Asking for a friend.

Harbor is not working behind our corporate proxy. Could you fix that please? Injecting the http_proxy environment variable seems not to make any effect.
Is this pull request the solution ?

Hi @everydaynerd – super sorry for dropping the ball on this. We're cleaning up old PRs and issues. If you're still interested in contributing this feature please ping me and I'll help get this reviewed and merged.
Apologies again!

@clouderati
Is this issue solved? I don't think so.

Hi @jomeier – this is actually a PR, not an issue. I haven't tested whether it will fix potential issues of Harbor running behind a proxy.
Very happy to reopen, but the PR will have to be rebased before it can be merged.
In an effort to track your particular problem, can you open a separate issue and describe the problem you're hitting in detail? This will ensure that it doesn't fall through the cracks.
Thoughts?

@clouderati I'd love to have this merged in.  This change I opened the PR for is what we did to make it work with our corporate proxy.

Wahoo! Thanks @everydaynerd – this contribution is super welcomed. :smile:
Looks a few conflicts need to be ironed out. I'll review as soon as you rebase. 👍  Thanks again for spending time on this; it's greatly appreciated!

Wahoo! Thanks @everydaynerd – this contribution is super welcomed. 😄
Looks a few conflicts need to be ironed out. I'll review as soon as you rebase. 👍 Thanks again for spending time on this; it's greatly appreciated!

No problem - glad to give back, we really love this product.  It may take me some time to rebase due to current workload, but get it done as soon as possible.

Absolutely no rush. :+1:

@everydaynerd
PR is also outdated, please rebase it and submit it again. We'll merge it after review. Thanks!
Don't forget to sign-off your commit.

Gentle ping. Happy to close and re-open when you have spare cycles to contribute @everydaynerd. No rush at all. :+1:

Thanks James,  It will be Q1 of 19 before I get on this. My son was killed
by a drunk driver last week, so taking some time...
{
"name"  : "Dan Burgess",
"email"<EMAIL_ADDRESS>"phone" : "864.990.2101"
}
On Wed, Dec 12, 2018 at 9:52 AM James Zabala<EMAIL_ADDRESS>wrote:

Gentle ping. Happy to close and re-open when you have spare cycles to
contribute @everydaynerd https://github.com/everydaynerd. No rush at
all. 👍
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/goharbor/harbor/pull/3474#issuecomment-446614696, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AEgyNhvfdrxnEZkuNtXKy1UZUMvVhg3pks5u4RhGgaJpZM4QKaNL
.

@everydaynerd if ok for you I can also submit the change as we ended up doing the same fix on the newer codebase

That would be awesome - thank you!

As @salkin has submitted another PR #6541 to fix this, closing this one. Thanks a lot @everydaynerd .


Indexed simon similarity

Added indexed search feature for Simon Similarity, this way users can index large amount of data and quick search using the index.
Also added documentation for Simon Similarity on README

I ended up simplifying the code quite a lot, using Set for more efficient lookups (it should be O(n) rather than O(mn) now, I think). I've added memoisation in a different way, so I'm going to close this request. Thanks!


hda's released under limited commercial license

Hey Kamil, your kinefx tools are super useful, amazing work! Is there any chance you'd consider releasing the HDA's under the full houdini license (i.e. with a .hda extension instead of .hdalc)?
I'd be happy to pay if you released them on gumroad or similar.

Haven't installed these tools yet..

If that's the case I don't see any point in installing them.

Yes, they're free tools saved as .hdalc. In the future, I'm planning to release them under a full commercial license.


Reload causes socket.close, causing additional request

Do NOT ignore this template or your issue will have a very high chance to be closed without comment.

Describe the bug
The client.ts listens for socket.addEventListener('close' link to code to try and reconnect to the server in the event of connection failure. The problem is, this is triggered whenever manually reloading the page. So on unload, it effectively will fire off an unnecessary request to /.
Reproduction

Please provide a link to a repo that can reproduce the problem you ran into.

A reproduction is required unless you are absolutely sure that the the problem is obvious and the information you provided is enough for us to understand what the problem is. If a report has only vague description (e.g. just a generic error message) and has no reproduction, it will be closed immediately.

Happy for you to immediately close, as I don't have time to set up a whole project for this, perhaps someone else will find this while googling!
System Info

required vite version: 1.0.0-rc.13
required Operating System: debian
required Node version: v11.15.0

The problem is, this is triggered whenever manually reloading the page

I test it, if you manually reloading the page, the closeevent of socket is not be triggered. I'm not sure what happend to you, but if you have not time for reproduction, i hasn't idea to track this.


chore: make Firebase Crashlytics optional

By default, we disable the upload of mapping file (in Android build) or debug symbol (dSYM) file in iOS build
as described in Get readable crash reports in the Crashlytics dashboard.
To enable it, you need to set the environment variable:
export FIREBASE_CRASHLYTICS_ENABLED=true

Set mappingFileUploadEnabled to false as stated in https://github.com/mlcommons/mobile_app_open/pull/774#issuecomment-1829187492 and change it to true in CI build.
The switch "Crash reporting" in the Settings screen will be hidden if FIREBASE_CRASHLYTICS_ENABLED=false
Related to https://github.com/mlcommons/mobile_app_open/issues/772

@Mostelk ask Samsung colleagues to check


Train-Loader Optimization

So, I went on an optimization binge and pretty much completely rewrote the Train-Loader interactions.
My results (test setup: 10 wagon train on manual, set to all-trains, each wagon with 6 express loaders in and 6 out, numbers are mod-LoaderRedux script times from in-game)
old version: 2.8 with spikes up to 4.2
new version: 1.3 with spikes up to 2.1
So I'm getting about a 2x speedup.  Should still be MP-safe, but I'm not at all sure about migration from old saves.
The biggest change is probably moving from a table indexed by loader.unit_number to a table indexed by wagon.unit_number with a subtable indexed by loader.unit_number.  This way, instead of calling some functions loader-wagon-pair times per tick they can be called wagon-with-loaders times per tick (in my test case, reduced to 10 per tick from 120 per tick).
Other changes are mostly low-level stuff (getting rid of unnecessary conditionals, small loops, etc.).
Hopefully, at least some of this will be useful to you.

You put a lot of effort in rewriting the entire worker.
However you should do more testing for starting new games, adding the mod to existing games, updating from old versions, asf
Skimming over it I found a guaranteed crash when adding the mod to existing games by initializing globals in a function called from on_load.

Keeping chest and wagon in sync turned out to be nearly impossible when also accounting for inserters/players changing wagon inventory directly while loaders work the chests.
I'm going to merge this improvements and add upon it.


capitalization of titles in citation keys

I am using the following pattern to generate bibtex keys:
[authors2]_[year]_[shorttitle]
Consider this entry:
Title: Improving statistical machine translation using comparable corpora
Year: 2010
Author: Snover, Matthew Garvey
This gets me the following bibtex key:
Snover_2010_Improvingstatisticalmachine
It is certainly useable, but would it not be much easier to read (for example, while choosing from the citations from the same author in a dropdown list in cite-as-you-write process) if the words in the title were capitalized or separated somehow? For example,
Snover_2010_ImprovingStatisticalMachine
Snover_2010_Improving_statistical_machine
Snover_2010_Improving.statistical.machine
I think capitalization of all words in titles when generating bibtex entries should be the default behavior.

No accounting for taste I guess, but I'm not going to change the defaults. First it was because I wanted to track the JabRef behavior (and that's still generally the case, but I'm not super-strict about it anymore) but now it's just that BBT has been out in the wild for a while and I certainly don't want to make a change that could have citation keys for existing articles just change because the behavior behind the pattern changed.
In any case, what you want in the last two of your examples can be accomplished by

[authors2:postfix,_][year:postfix,_][Title:skipwords:select,1,3:condense,_]
[authors2:postfix,_][year:postfix,_][Title:skipwords:select,1,3:condense,.]

The first can be done but the pattern is a little funky

[authors2:postfix,_][year:postfix,_][Title:skipwords:select,1,1:capitalize][Title:skipwords:select,2,1:capitalize][Title:skipwords:select,3,1:capitalize]

(as said, the initial behavior behind the pattern blocks was just that of JabRef, but personally I mainly use lowercase citekeys because I type them by hand, and I don't want to have to use the shift key all the time. Different strokes for different folks I suppose)

Thanks for responding so quickly, and for the plugin in general!
You are right, different strokes for different folks... your memory is way better than mine if you can remember all those titles :)

Sorry, this is still not over...
I tried this:
[authors2:postfix,][year:postfix,][Title:skipwords:select,1,1:capitalize][Title:skipwords:select,2,1:capitalize][Title:skipwords:select,3,1:capitalize]
This works in that it capitalizes words, skipping articles and prepositions, but it does not remove punctuation signs like ',",(,) - and they "break" the whole document.
What can I do about this? I guess the easiest would be to remove punctuation in the postscript - if I knew anything about it.

Try [authors2:postfix,_][year:postfix,_][Title:nopunct:skipwords:select,1,1:capitalize][Title:nopunct:skipwords:select,2,1:capitalize][Title:nopunct:skipwords:select,3,1:capitalize]

Or rather just [authors2:postfix,_][year:postfix,_][Title:nopunct:skipwords:select,1,3:capitalize]; I had forgotten capitalize does all words.

If nopunct still leaves unwanted chars, you could do [authors2:postfix,_][year:postfix,_][Title:nopunct:skipwords:select,1,3:capitalize:alphanum]

Sorry for the late reply, and thanks a lot! No bibtex problems with [Title:nopunct:skipwords:select,1,3:capitalize:alphanum].
Your plugin really helps my work a lot. Thanks again from all the Tex+zotero lovers.


Instructions to Install

I would really like to test this library with react but there are no instructions for them to be installed. I know it is still in its testing stages, but I would still like to really try it on a instance of mine.
It would be great help if even crude details to install it were given.

can i be assigned this issue?


 Thus, this is great feature to have for better user experience.
It would be nice to load the image as they come into the viewport, both from page scroll and carousel index perspective.
It would be nice to implement this feature. :)
Thanks in advance!

+1

is lazy loading available ?


StatObject with Range optimization is breaking, and not as intended?

Since https://github.com/thanos-io/objstore/pull/138, Mimir no longer works for us, as our S3 backend (erroneously) responds to StatObject() with a range, with HTTP 416 Requested Range Not Satisfiable.
When GetRange() immediately calls GetObject(), as it did before this was merged, all is well.
Furthermore I have difficulty making sense of the PR. From the title and conversation I understand that the intent is to do a stat instead of an empty read, but the code introduces an unconditional extra StatObject() (that breaks things for us).
How can this extra StatObject() be an optimization, at least in a case like Mimir when the objects requested basically always exist?
Is it possible to revert this PR?

PR to revert: https://github.com/thanos-io/objstore/pull/148

This can be closed now, right, as #148 is merged?


PSP Glitter Graphics

I was using v2.0 (09/21/2021) Some PSP games didn't work, the screen was black and only the sound played.
I updated to the latest version v2.0 (11/05/2021) the games worked; but some were left with graphical glitching.
Thera emulator didn't do that.

I’ll be providing another update to the ppsspp emulator that should have some of those issues resolved,  if not, I can provide a solution to revert back to the previous 1.11.3 version.

New update is available with an updated PPSSPP.  Please test and report if the issue has improved.

Now it's good! Working perfectly.

Awesome!  Thanks for confirming.


New rating system to tv shows / movies

Check if this PR fulfills these requirements:

[x] My changes respect the Kodi add-on development rules
[x] I have read the CONTRIBUTING document.
[x] I made sure there wasn't another one Pull Requests opened for the same update/change
[x] I have successfully tested my changes locally

Types of changes

[x] New feature (non-breaking change which adds functionality)
[x] Feature change (non-breaking change which change behaviour of an existing functionality)
[ ] Improvement (non-breaking change which improve functionality)
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Description

Netflix has introduced a new system of rating movies / tv shows through thumb up/down (like/dislike)
is also easier to manage via add-ons
the old system will remain dormant, replaced by the new one
In case of Feature change / Breaking change:
Describe the current behavior

Describe the new behavior

Screenshots (if appropriate):

What do you think of these messages when someone evaluates the video?
do you think this messages it's understandable? suggestions?
@notoco @dagwieers

Thumb rating removed
You rated a thumb down
You rated a thumb up

Messages are ok, but only if they are shown in the information bar and not as a dialog box. too much clicking for a simple act.

of course 😉


[Bug] Main window sized incorrectly—hidden parts and cursor points to wrong places

On my laptop, Path of Building renders the main window incorrectly. Its size is too small (in the sense that there are parts on the edges missing), and depending on the placement of the cursor relative to the edges it will act as if it's in a different place. This always happens on the laptop, but does not reproduce itself on any other machines I use PoB on.
Example: https://i.imgur.com/VNP9qYd.jpg
(The red under Zealot's Oath is where the cursor was. As you can see, there are parts missing at the edges, particularly at the top. The levels, class and ascendancy are all missing. The "drift" in the cursor placement is probably a direct result of how much there's missing at the edges.)
Debug information:
PoB version: 1.4.73 (also observed in some previous 1.4 patch versions)
OS: Microsoft Windows 10 Enterprise x64 10.0.15063 Build 15063
GPU: NVIDIA GeForce GTX 1050
Display 1: Laptop Display
Display 2 & 3: Rather generic Dell monitors
I don't deal with GUIs so I wasn't sure what information would be useful. Are there any relevant debug logs?

Derp, I somehow missed a similar issue in my previous search. Will re-open if fixes there do not resolve the issue.
#527

Yup. PoB was opting for the integrated Intel HD graphics driver instead of NVIDIA. Resolved by forcing it to use NVIDIA.


Add more details about the "global packages folder", how it works/ what it is.

There's been some confusion among the community members on what the global packages folder actually is.
At some points it had been called a cache from our side but it's actually an install directory for the transitive  project systems.
//cc
@anangaur @kraigb
Including @emgarten to clarify in case I've missed something.

Addressed in PR #770


Add Documentation for Creating a Custom Difficulty WITHOUT Source Code

What needs to be documented?
In the documentation for adding a new difficulty, it says you need the source code to add a new difficulty, even though you can do that without it, like in issue #8247.
I made a useless issue about trying to code it in a build when I could have just looked at the documentation (if it was updated)

Maybe, but there's no documentation for using the Difficulties inside the Other tab in the Week Editor.

Tutorial updated.


Added dpkg files.

@destijl for review. Not urgent adding dpkg packaging files in this CL.

Good catch. I've fixed them. I've also added a URL regarding SystemDrive and some textual corrections.

LGTM, one minor comment.

Ack, documentation string fixed. I'll merge once Travis says OK.


Updating to new options pattern

https://github.com/aspnet/Options/issues/105

@DamianEdwards @Tratcher

:shipit:


supervised fine tuning 7b GPU requirement - CUDA out of memory

Dear authors,
Thanks for sharing the amazing implementation for long text inference. I am trying out supervised fine tuning. I got CUDA out of memory when I was running with Llama-2-7b-chat-hf on a machine with GPU–A100 * 8, each with 40GB GPU memory. I can see the setting per_device_train_batch_size=1, low_rank_training=True and use_flash_attn=True. May I know what is the GPU memory requirement for 7b supervised fine tuning please? I can train fine tuning without problem, I think this is because the max_seq_length is much smaller than the supervised fine tuning. I can't reduce the per_device_train_batch_size, as it is already 1. The only thing I can think of would be quantization. Any suggestions?
python torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 3.35 GiB (GPU 6; 39.59 GiB total capacity; 31.56 GiB already allocated; 3.09 GiB free; 33.93 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation.  See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF WARNING:torch.distributed.elastic.multiprocessing.api:Sending process 1519 closing signal SIGTERM WARNING:torch.distributed.elastic.multiprocessing.api:Sending process 1520 closing signal SIGTERM WARNING:torch.distributed.elastic.multiprocessing.api:Sending process 1521 closing signal SIGTERM WARNING:torch.distributed.elastic.multiprocessing.api:Sending process 1522 closing signal SIGTERM WARNING:torch.distributed.elastic.multiprocessing.api:Sending process 1523 closing signal SIGTERM WARNING:torch.distributed.elastic.multiprocessing.api:Sending process 1524 closing signal SIGTERM WARNING:torch.distributed.elastic.multiprocessing.api:Sending process 1526 closing signal SIGTERM ERROR:torch.distributed.elastic.multiprocessing.api:failed (exitcode: 1) local_rank: 6 (pid: 1525) of binary: /root/cheng/LongLoRA/.venv/bin/python Traceback (most recent call last):
Thanks a lot,
Cheng

same.

@bdytx5 I can't think a way to solve for now except for quantization at the moment. Do you have any idea?  I am happy to collaborate.

ok. Quanitization is an option. I can try it real quick

@bdytx5 I think the authors are more clear and may have some other ideas. 40GB is quite common I would say.

im running 8 48gb A6000's and its not working. Strange

Dropped down to 16k and still got overflow with stage 3 deepspeed

@bdytx5 What is your config? Are you able to send me a private message. We can get connected and discuss further.

I sent you an email

I sent you an email

Got it and replied.

Ok, I think I understand more. For find_tuning, I am running with the following config:
"--model_name_or_path", "meta-llama/Llama-2-7b-hf",
"--low_rank_training", "True",
"--tf32", "True",
"--bf16", "True",
"--model_max_length", "8192",
And GPU memory consumption is as the following screenshot.  I guess if I change model_max_length to 32768, as I did with supervised_fine_tuning, it will run of out memory also. Is the memory consumption below looks normal?

Hi,
Because we used 80GB A100 for training and did not encounter this issue. My suggestion is that would you please have a try on supervised-fine-tune-qlora.py?
It is a 4-bit quantization version of supervised fine-tuning. It might be OK for this case.
Regards,
Yukang Chen

It seems like gradient checkpointing is not being applied by default. You will need to add it to the training args.

using adafactor could also be an option, although I dont believe it has been tested. You can get big memory reductions with adafactor

@yukang2017 Hello Yukang, does eval.py only support single GPU for evaluation? Looking at the source code, it looks only supporting one. Thanks.

@yukang2017 Hello Yukang, I am trying out supervised-fine-tune-qlora.py you suggested. I am getting the following error.
python   File "/root/cheng/LongLoRA/.venv/lib/python3.11/site-packages/flash_attn/flash_attn_interface.py", line 68, in _flash_attn_varlen_forward    out, q, k, v, out_padded, softmax_lse, S_dmask, rng_state = flash_attn_cuda.varlen_fwd(                                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^RuntimeError: FlashAttention only support fp16 and bf16 data type

@yukang2017 I solved the above issue with supervised-fine-tune-qlora.py, which I am not sure if it happens to other people or in your local. Do you want a pull request? Thanks.

Hi @weicheng113113 ,
Great. What is the actual reason for the above issue? Because I did not meet this issue before. Would you please tell me the reason?
Please open a pull request for this. Thank you very much in advance.
For evaluation, the current code is for single-gpu.
Regards,
Yukang Chen

@yukang2017 Hello Yukang,  I will attach relevant information later when I do the pull request. You can have a review to see if it is right or not. By the way, supervised-fine-tune-qlora.py seems to train ok so far. It does take a lot of time, have not reached half at the moment, with a machine of GPU–A100 * 8, each with 40GB GPU memory. Thanks.

Hello @yukang2017 I made the pull request here - https://github.com/dvlab-research/LongLoRA/pull/101 . Please have a review to see if it is correct thing to do or not. Thanks.

I will close this issue as it seems that is has been solved. Please feel free to re-open it if there are any others to discuss.


Properly parse start/end dates with TZID using the Windows standard

Microsoft Exchange exposes TZID using the Windows standard and it contains a semicolon in the time offset (like (UTC+07 :00)).
The parsing method is improved to not split on semicolons surrounded by quotes.

hey @gpailler do you have example of how to use this?

I submitted this PR because I was using a magic mirror (https://github.com/MichMich/MagicMirror) and the dates from my Office365 calendar were not properly parsed.


html-formatter: Users encounter file names instead of feature names

Users are looking for features to review on the test-results web page, but the page is a list of file names to click on. These file names can be lengthy and are mangled if any spaces or special characters occur in them, making it difficult to find the specific feature that programmers want to review, much less non-technical users. This is especially a problem when the path to the feature files is long.
Ideally, feature names would be listed instead of file names, or before them.
If the programmers/testers use readable and complete file names, alternatives would be to list the file name before the path or highlight the file name so that it can be found over on the right-hand side.
I am using cucumber-jvm, and I don't know if this is a problem with other languages.

I assume you are talking about Cucumber's built-in html formatter and https://reports.cucumber.io ?

I assume you are talking about Cucumber's built-in html formatter and https://reports.cucumber.io ?

No, I don't think so. I'm talking about (in Gradle):
args = [ '--plugin', 'html:build/reports/tests/cucumber/...]
I'm using 6.10.2 of cucumber-java and cucumber-junit.
You can see an example of the web page produced at https://truej-lang.org/TestResults/ReadyFeatures.html


chef/platform/provider_priority_map LoadError on using Chef 12.9

Running bundle exec rspec throws this LoadError using chef-12.9.41. Locking to chef-12.8.1 resolves this issue.
The documentation for Chef::Platform::ProviderPriorityMap states:

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

It would seem that has happened! :grin:

@logankoester We're going to need additional information here. I'm not seeing this issue anywhere in our community cookbooks with the latest chefspec / chef releases. Can you provide more details on the cookbook you're testing and chefspec release.

@tas50 Sorry, but after 8 months I'm afraid I don't remember anything about this. Since it didn't seem to be causing anyone else problems, let's close the issue.


Add valid inputs to alexa InputController

Description:
The list of available source for a media_player should be specified in an inputs array for the InputController during the discovery process. The list of valid inputs is also predefined in the Alexa API. This PR translates the source_list for the media_player entity into a valid list for discovery. It also updates the handlers to translates the Alexa API names into valid HA names.
Checklist:

[x] The code change is tested and works locally.
[x] Local tests pass with tox. Your PR cannot be merged unless tests pass
[x] There is no commented out code in this PR.
[x] I have followed the development checklist
[x] Tests have been added to verify that the new code works.

I think this will fail for sources named like HDMI 1

I think this will fail for sources named like HDMI 1

Can you elaborate?

If source in HA has a blank in it, it will not be found in the valid source map. Am I wrong?

If source in HA has a blank in it, it will not be found in the valid source map. Am I wrong?

Nope.
I was under the assumption HA lower cased and replaced spaces with under score for that attributes... but I can't confirm where I got that idea now... Looks like it's up to the integration to determine the name.
I'll account for that.

@quthla Thanks for finding that.
Looks like I had around accounted for spaces in the handler, but never did during discovery. Added additional tests to account for a space, and case.


38 blog template

Link to previous pull request for discussion points

Should be done now, @pharmaverse/commswg
please try it out, see if it works as expected and adjust the readme files if needed.

Hi @StefanThoma , I got the following error message -
> source("R/help_create_blogpost.R")
>
> # Fill in the info, e.g.:
>
> create_post(
+   post_name = "test",
+   post_date = "2023-06-15",
+   description = "",
+   author = "Stefan Thoma",
+   cover_image = "admiral",
+   tags = "admiral"
+ )
Error in `case_when()` at R/help_create_blogpost.R:112:2:
! Case 3 (`key == "AUTHOR" ~ paste(" - name: ", replacement, sep = "")`) must be a two-sided formula, not a character
  vector.
Run `rlang::last_trace()` to see where the error occurred.

Thanks for checking @kaz462, which dplyr version are you using?

Hi @StefanThoma , I got the following error message -
> source("R/help_create_blogpost.R")
>
> # Fill in the info, e.g.:
>
> create_post(
+   post_name = "test",
+   post_date = "2023-06-15",
+   description = "",
+   author = "Stefan Thoma",
+   cover_image = "admiral",
+   tags = "admiral"
+ )
Error in `case_when()` at R/help_create_blogpost.R:112:2:
! Case 3 (`key == "AUTHOR" ~ paste(" - name: ", replacement, sep = "")`) must be a two-sided formula, not a character
  vector.
Run `rlang::last_trace()` to see where the error occurred.

Thanks for checking @kaz462, which dplyr version are you using?

I am using: V1.1.2

Thanks, @StefanThoma ! I was using dplyr_1.0.10, the function works for me after updating it to V1.1.2

Thanks, @StefanThoma ! I was using dplyr_1.0.10, the function works for me after updating it to V1.1.2

Perfect, I'll update anyway to make it a bit more robust.
I expect many contributors not to have the latest version.

Hey @bms63, for me it works on posit now.
Could you check if it works for you?

@StefanThoma can you fix merge conflicts as well.  Let's get this merged!!


Add options to readme

See
https://github.com/AlaSQL/alasql/issues/1827.
The options wiki page should also be updated with the dateAsString option, but i cannot do that via a PR.
Thanks!

Love it. Thank you!


After several days no actions were taken

I have debug disabled, and have cash in two exchanges (bitfinex and bitstamp), blackbird reports the correct info during startup, and regularly updates the log every few seconds, yet after several full days of running, no actions have been taken at all.
Config:
...
# Program parameters
DemoMode=false
UseFullCash=true
CashForTesting=25.00
MaxExposure=25000.00
MaxLength=5184000
DebugMaxIteration=3200000
Verbose=true
CACert=curl-ca-bundle.crt

# Strategy parameters
GapSec=3.0
SpreadEntry=0.0080
SpreadTarget=0.0050
PriceDeltaLimit=0.10
TrailingSpreadLim=0.0008
TrailingSpreadCount=1
OrderBookFactor=3.0
UseVolatility=false
VolatilityPeriod=600
...

From the latest startup:
[ Targets ]
   Spread Entry:  0.80%
   Spread Target: 0.50%

[ Current balances ]
   Bitfinex:    114.10 USD      0.000000 BTC
   Bitstamp:    115.93 USD      0.000000 BTC

[ Cash exposure ]
   FULL cash used!

[ 03/21/2017 12:48:42 ]
   Bitfinex:    1,089.80 / 1,089.90
   Bitstamp:    1,088.66 / 1,091.39
   ----------------------------
   Bitstamp/Bitfinex:   -0.15% [target  0.80%, min -0.15%, max -0.15%]

[ 03/21/2017 12:48:45 ]
   Bitfinex:    1,089.80 / 1,089.90
   Bitstamp:    1,088.70 / 1,091.32
   ----------------------------
   Bitstamp/Bitfinex:   -0.14% [target  0.80%, min -0.15%, max -0.14%]

...

[ 03/22/2017 09:43:00 ]
   Bitfinex:    1,053.80 / 1,054.00
   Bitstamp:    1,049.57 / 1,054.17
   ----------------------------
   Bitstamp/Bitfinex:   -0.04% [target  0.80%, min -0.53%, max  1.28%]

[ 03/22/2017 09:43:03 ]
   Bitfinex:    1,053.80 / 1,054.00
   Bitstamp:    1,049.57 / 1,054.17
   ----------------------------
   Bitstamp/Bitfinex:   -0.04% [target  0.80%, min -0.53%, max  1.28%]

Check the logs, did it ever hit the target? If not then no opportunity. Also this week the two you have are close, need to be on all of them to really get the benefit.

At some point the spread was higher than your target (1.28% > 0.80%):
Bitstamp/Bitfinex:   -0.04% [target  0.80%, min -0.53%, max  1.28%]

But the system didn't trade for some reason. Maybe a lack of liquidity on one of the exchanges, or the opportunity quickly went away. You can find that in the log (e.g. look for the keywords WARNING, trade or order).

Searching for "trade" came up with nothing, "order" came up with this:
[ 03/24/2017 21:12:33 ]
   Bitfinex:    960.01 / 961.30
   Bitstamp:    947.16 / 950.01
   ----------------------------
   Bitstamp/Bitfinex:    1.05% [target  0.80%, min -1.09%, max  1.57%]   trailin
g  1.14%  1/1
<Bitstamp> Looking for a limit price to fill 0.12 BTC...
<Bitstamp> order book<EMAIL_ADDRESS><Bitfinex> Looking for a limit price to fill 0.12 BTC...
<Bitfinex> order book<EMAIL_ADDRESS>
[ ENTRY FOUND ]
   Date & Time:       03/24/2017 21:12:33
   Exchange Long:     Bitstamp (id 1)
   Exchange Short:    Bitfinex (id 0)
   Fees:              0.25% / 0.20%
   Price Long:        $950.01 (target)
   Price Short:       $960.01 (target)
   Spread:            1.05%
   Cash used:         $112.95 on each exchange
   Exit Target:       -0.35%

<Bitstamp> Trying to send a "buy" limit order<EMAIL_ADDRESS><Bitstamp> Done (order ID: 202,925,940)

<Bitfinex> Trying to send a "sell" limit order<EMAIL_ADDRESS><Bitfinex> Done (order ID: 0)

Waiting for the two orders to be filled...
Done

Running for ~5 days, that's the only activity I saw. It looks like it tried to buy on both bitfinex and bitstamp, but only bitstamp worked (and it thought both worked?). Looking at my accounts, my bitstamp one now holds bitcoin and $2 USD. the bitfinex one still holds the $114 USD it started with.
I'm not really sure how to interpret the "target" as it always seems to be in the range given, but maybe I'm misunderstand what the range is. Also, now that one site hold USD and the other BTC, will it do anything anymore?

Your log shows that there was a problem with filling the order on Bitfinex. Look at the order ID:
<Bitfinex> Trying to send a "sell" limit order<EMAIL_ADDRESS><Bitfinex> Done (order ID: 0)

It might be related to the issue we had recently with orderId considered as int instead of std::string (issue #137). Could you please use the latest version of Blackbird and try again? Again, I'm not 100% sure it's related.
In any case, I think Blackbird should show the return code of the exchange if the order ID is 0. In the current situation we have no idea why the order ID is 0.


[DOC][ADDON] - Metrics Server

Under section where you check if the metric server has been deployed:
$ kubectl get deployments -n kube-system

NAME                                                          READY   UP-TO-DATE   AVAILABLE   AGE
metrics-server                                                1/1     1    $ kubectl get deployments -n kube-system

The above output is actually blueprints-addon-metrics-server.

Addressed per PR #342. Closing the issue.


Updated  CSS on Page : meshery.io/blog

Signed-off-by: Utkarsh Mishra<EMAIL_ADDRESS>Description
Updated  CSS on Page: meshery.io/blog
This PR fixes #
Notes for Reviewers
Before:

Now:

Signed commits

[x] Yes, I signed my commits.

@GaganpreetKaurKalsi, shouldn't the image shrink for the mobile view? Looks way too big.

@GaganpreetKaurKalsi, shouldn't the image shrink for the mobile view? Looks way too big.

Correct, need to size the image according to mobile as well.

@UtkarshMishra12

Great feedback.

Any updates @UtkarshMishra12?

@UtkarshMishra12 I've put this item as a point of discussion for tomorrow's meeting.

Now:  @leecalcote
https://user-images.githubusercontent.com/67385503/210272444-aa59e38a-0d9c-416e-95f0-b2fb275954a1.mp4


avoid warning in ssr

The use of useLayoutEffect shows warning in SSR. https://github.com/facebook/react/issues/14927
~This is an easy fix. It doesn't help if window is polyfilled.
(But, currently I don't feel like using a complex hack like https://github.com/alloc/react-layout-effect.)~
Originally reported by @alvinthen in https://github.com/dai-shi/react-hooks-async/pull/33#issuecomment-559365883.

On a second thought, we don't need to useLayoutEffect if we modify dispatchRef in render. That should be more stable.

https://www.npmjs.com/package/react-hooks-async/v/3.8.1


[BUG] auto_expand_replicas creating more replicas than shard allocation awareness allows

Describe the bug
We are using our K8s node names as an attribute on our OpenSearch processes/pods to prevent both index primaries and replicas from being assigned to the same K8s node.  The "auto_expand_replicas" setting creates the number of replicas equal to the total OpenSearch data processes/pods (in the case of 0-all) which is far greater than the number of K8s nodes the OpenSearch pods are on. The result is a permanent yellow cluster with unassigned shards.
Additionally, I cannot manually change the "auto_expand_replicas" setting on the system indices. I get a 403 error with a non-existent permission missing.
To Reproduce
Steps to reproduce the behavior:

Setup shard allocation awareness using an OpenSearch node attribute: https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-cluster.html#shard-allocation-awareness
Try something like 3 unique node attribute values in a 9 opensearch node cluster. We used "k8s_node_name" as our node.attr with the k8s node name as the value.
Full restart of the OpenSearch cluster
Check replica allocation status: GET /_cluster/allocation/explain

      "deciders" : [
        {
          "decider" : "same_shard",
          "decision" : "NO",
          "explanation" : "a copy of this shard is already allocated to this node [[.opendistro_security][0], node[0SeJnN8BS4WAcpyp-WRcxQ], [R], s[STARTED], a[id=raIjWQwnRGSLHZewDYro0g]]"
        },
        {
          "decider" : "awareness",
          "decision" : "NO",
          "explanation" : "there are too many copies of the shard allocated to nodes with attribute [k8_node_name], there are [40] total configured shard copies for this shard id and [7] total attribute values, expected the allocated shard count per attribute [7] to be less than or equal to the upper bound of the required number of shards per attribute [6]"
        }

Manually try to fix the replica allocation:
Check auto_expand_replicas setting:

GET /.opendistro-anomaly-detector-jobs/_settings

{
  ".opendistro-anomaly-detector-jobs" : {
    "settings" : {
      "index" : {
        "hidden" : "true",
        "number_of_shards" : "1",
        "auto_expand_replicas" : "1-20",
        "provided_name" : ".opendistro-anomaly-detector-jobs",
        "creation_date" : "1647463076484",
        "number_of_replicas" : "20",
        "uuid" : "yj6d84wzQZmN6z-UsVln7A",
        "version" : {
          "created" : "135238227"
        }
      }
    }
  }
}

Attempt to change the auto_expand_replicas setting:
PUT /.opendistro-anomaly-detector-jobs/_settings
{
  "settings" : {
    "index" : {
      "auto_expand_replicas" : "0-7"
    }
  }
}

returns
{
  "error" : {
    "root_cause" : [
      {
        "type" : "security_exception",
        "reason" : "no permissions for [] and User [name=admin, backend_roles=[admin], requestedTenant=null]"
      }
    ],
    "type" : "security_exception",
    "reason" : "no permissions for [] and User [name=admin, backend_roles=[admin], requestedTenant=null]"
  },
  "status" : 403
}

Expected behavior
The "auto_expand_replicas" setting should only expand the replica count to the number of unique values configured in shard allocation awareness.
Additionally, I should be able to update the auto_expand_replicas setting for all indices as the admin user.
Plugins
opensearch-alerting
opensearch-cross-cluster-replication
opensearch-knn
opensearch-performance-analyzer
opensearch-sql
opensearch-anomaly-detection
opensearch-index-management
opensearch-ml
opensearch-reports-scheduler
prometheus-exporter
opensearch-asynchronous-search
opensearch-job-scheduler
opensearch-observability
opensearch-security
Screenshots
n/a
Host/Environment (please complete the following information):

OS: Ubuntu 20.04
Helm chart: https://github.com/opensearch-project/helm-charts
OpenSearch version 1.3

Additional context
The forced yellow status is causing problems with our readiness checks and cluster state alerting.

Same here. Using "awareness.attributes": "rack_id"
I solved this issue for index .opendistro_security with:
securityadmin.sh -cd ../../../config/opensearch-security/ -dra -icl -nhnv -cacert ...
and
sh securityadmin.sh -cd ../../../config/opensearch-security/ -us 9 -icl -nhnv -cacert  ...
But this doesn't work with index .opendistro-anomaly-detector-jobs.

On every node restart, I must to do this workaround:
PUT _cluster/settings
{
  "persistent" : {
    "cluster.routing.allocation.awareness.attributes": null
  }
}

And after cluster is green:
PUT _cluster/settings
{
  "persistent" : {
    "cluster.routing.allocation.awareness.attributes": "rack_id"
  }
}

Okay, I'm having the same issues more or less and they are extremely annoying: when a node is above the low watermark it can't assign system indices that have the 1-all setting. I need to up the watermark setting so the shard gets assign after which I can lower the watermark until a node is restarted.
This causes stability issues.


chore: add 404 redirects

Summary
when route won't be matched on filesystem, show 404
Test plan

this required fixing a bug in @rspress/core, upstream PR submitted, using patch locally for now


"Native Component does not exist" error

Hi,
I am attempting to add this to my project but I get errors when I follow the directions.
What I did:
First I do npm i react-native-admob -S then I run react-native link from the root of my project.
Then I ran pod init in the ios directory and have this in my ios/podfile:
target 'VerseOfTheDayIOS' do
  pod 'Firebase/Core'
  pod 'Firebase/AdMob'
end

After that I ran pod install which worked perfectly fine, no errors.
At this point I add this to my component:
import React, { Component } from 'react';
import {
  View
} from 'react-native';
import {
  AdMobBanner,
} from 'react-native-admob'

export default class MyComponent extends Component {
  render() {
    return (
      <View>
        <AdMobBanner
            bannerSize="banner"
            adUnitID="MYID"
            testDeviceID="EMULATOR" />
      </View>
    );
  }
}

// ... removed rest for brevity

At this point I run react-native run-ios and the rest of the app works perfectly except the ads.
Errors:
Warning: Native component for "RNAdMob" does not exist
And:
Warning: Native component for "RNAdMobDFP" does not exist
Does anyone have any ideas?
Versions of things:
react-native-cli: 2.0.1
react-native: 0.42.0
npm: 4.1.2
node: 6.5.0
xcode: 8.2.1
osx: 10.12.3

Closed this issue because it was my fault. I missed a step.

@JustinDFuller Would you mind to specify the step you missed? I'm getting the same error and I cannot find the solution

@tomasfrancisco I think it was

Add react-native-admob static library to your Xcode project like explained here. (Step 3 of this guide is not needed)

Thank you @JustinDFuller !


Ropsten envs

We need a doc or docker-compose file to describe how to start a hydro relayer on other envs, such as ropsten and mainnet.

https://github.com/HydroProtocol/hydro-box-dex/blob/master/manual/change-network-and-run-from-source.md


Apply consistent naming in Problems API

@bot-gradle test QFL

I've triggered the following builds for you. Click here to see all build failures.

QuickFeedbackLinux build

@bot-gradle test QFL

I've triggered the following builds for you. Click here to see all build failures.

QuickFeedbackLinux build

Merged in https://github.com/gradle/gradle/pull/27403.


SyntaxError: Unexpected token - when requiring sheetify in a file using JSX

I'm trying to use sheetify in a module that is using JSX syntax:
const { h } = require('preact');
const css = require('sheetify');

const styles = css`:host { color: hotpink; }`;

const HelloThing = () => (

Hello!

);

module.exports = HelloThing;

This gives me:
SyntaxError: Unexpected token (7:2) while parsing file: whatevs.js

My browserify setup in package.json looks like:
    "transform": [
      [
        "sheetify/transform",
        {
          "use": [
            [
              "sheetify-postcss",
              {
                "plugins": [
                  "postcss-cssnext"
                ]
              }
            ]
          ]
        }
      ],
      "babelify"
    ]
  },

Reading #49 makes me think it should work, but apparently it doesn't. Any idea or hint on how this could work?
Edit: i'm running up-to-date browserify@14 / budo@10

Interestingly, when I externalize the css call like:
const css = require('sheetify');
module.exports = css`:host { color: hotpink; }`;

and then consume this in the file that is using JSX, it works as expected.


Use 'export * from' for public API instead of 'export ='

In #57133, I noticed that the emit for export = is actually worse for our bundle by a good bit; if we use export * from, things are less nested and smaller. Nothing changes for the public API as far as I'm aware.

@typescript-bot perf test

Ah, of course.
() => ts.version succeeded as expected.
() => ts.default.version failed as expected.
() => __importDefault(ts).version unexpectedly succeeded.
() => __importDefault(ts).default.version unexpectedly failed.
() => __importStar(ts).version succeeded as expected.
() => __importStar(ts).default.version unexpectedly failed.

In #51474 I actually did the reverse of this PR to fix #51473 and it's been long enough that I've forgotten.
I honestly don't understand this import helper stuff. I guess I could force __esModule back off again via another post-processing hack.

I stuck this into #57133.