Update op-node-entrypoint

This error was preventing building and starting both containers
[+] Running 2/0
 ✔ Container repo-geth-1  Running                                                                                0.0s
 ✔ Container repo-node-1  Running                                                                                0.0s
Attaching to geth-1, node-1
node-1  | ./op-node-entrypoint: 10: Bad substitution
node-1  | ./op-node-entrypoint: 10: [: Illegal number:

after fixing it, still seeing something coming up but at least the nodes do start
 ✔ Container repo-geth-1  Recreated                                                                                0.4s
 ✔ Container repo-node-1  Recreated                                                                                10.3s
Attaching to geth-1, node-1
geth-1  | ./geth-entrypoint: 15: [[: not found
geth-1  | INFO [02-22|04:19:14.639] Starting geth on an OP network...        network=base-mainnet
geth-1  | INFO [02-22|04:19:14.640] Bumping default cache on mainnet         provided=1024 updated=4096
geth-1  | INFO [02-22|04:19:14.640] Enabling metrics collection
geth-1  | INFO [02-22|04:19:14.640] Enabling stand-alone metrics HTTP endpoint address=<IP_ADDRESS>:6060
geth-1  | INFO [02-22|04:19:14.640] Starting metrics server                  addr=http://<IP_ADDRESS>:6060/debug/metrics
geth-1  | INFO [02-22|04:19:14.641] Maximum peer count                       ETH=100 LES=0 total=100
geth-1  | INFO [02-22|04:19:14.641] Smartcard socket not found, disabling    err="stat /run/pcscd/pcscd.comm: no such file or directory"
geth-1  | INFO [02-22|04:19:14.643] Enabling recording of key preimages since archive mode is used
geth-1  | WARN [02-22|04:19:14.644] Disabled transaction unindexing for archive node
geth-1  | INFO [02-22|04:19:14.644] Set global gas cap                       cap=50,000,000
geth-1  | INFO [02-22|04:19:14.773] Initializing the KZG library             backend=gokzg
geth-1  | INFO [02-22|04:19:14.785] Allocated trie memory caches             clean=1.20GiB dirty=0.00B
node-1  | ./op-node-entrypoint: 4: [[: not found
node-1  | waiting for geth to be ready
geth-1  | INFO [02-22|04:19:15.410] Using leveldb as the backing database
geth-1  | INFO [02-22|04:19:15.410] Allocated cache and file handles         database=/data/geth/chaindata cache=2.00GiB handles=1,000,000,000
node-1  | waiting for geth to be ready
geth-1  | INFO [02-22|04:19:19.906] Using LevelDB as the backing database
geth-1  | INFO [02-22|04:19:19.907] Opened ancient database                  database=/data/geth/chaindata/ancient/chain readonly=false
geth-1  | INFO [02-22|04:19:19.934] State scheme set to already existing     scheme=hash
geth-1  | INFO [02-22|04:19:22.616]
geth-1  | INFO [02-22|04:19:22.616] ---------------------------------------------------------------------------------------------------------------------------------------------------------
geth-1  | INFO [02-22|04:19:22.616] Chain ID:  8453 (Base)
geth-1  | INFO [02-22|04:19:22.616] Consensus: Optimism
geth-1  | INFO [02-22|04:19:22.616]

The configuration in main is correct... the variable substitution is designed to replace any instances of ws with http:
OP_NODE_L2_ENGINE_RPC=ws://localhost
echo ${OP_NODE_L2_ENGINE_RPC/ws/http}

results in (expected output):
http://localhost

with the change introduced in this PR, the output would be:
ws://localhost/ws/http

can you share what your value for $OP_NODE_L2_ENGINE_RPC is?

echo $OP_NODE_L2_ENGINE_RPC
ws://geth:8551

Are you using bash to run the script? See #124 and the fix in #123.

Awesome, thanks so much @mdehoog
Looks like the problem was solved :)


Android textile

Adds a temporary method to the android-threads lib that will allow the use of project tokens for remote threads. Ideally this will move to it's own auth lib after we've tested it with the first user.

should be gtg


Panel Web UI Documentation

This PR Adds documentation for adding a Panel web ui
Adds documentation for adding a web ui using the Panel framework which is part of the features requested in https://github.com/Lightning-AI/lightning/issues/13335.
This adds a basic example only. I intend to add an intermediate example and links to some published examples later. But for now I would like to keep it simple as this is my first contribution to the project.
I am not able to find instructions for installing the requirements and building the docs on my constrained windows machine. So I've only inspected the .rst files manually using VS Code extensions. I've tried to inspect the artifacts build but could not find the dash, panel and streamlit documentation in there.
Before submitting

[x] Was this discussed/approved via a GitHub issue? (not for typos and docs)
[x] Did you read the contributor guideline, Pull Request section?
[x ] Did you make sure your PR does only one thing, instead of bundling different changes together?
[x] Did you make sure to update the documentation with your changes? (if necessary)
[x ] Did you write any new necessary tests? (not for typos and docs)
[ ] Did you verify new and existing tests pass locally with your changes?
[x] Did you list all the breaking changes introduced by this pull request?
[ ] Did you update the CHANGELOG? (not for typos, docs, test updates, or minor internal changes/refactors)

PR review
Anyone in the community is welcome to review the PR.
Before you start reviewing, make sure you have read the review guidelines. In short, see the following bullet-list:

[ ] Is this pull request ready for review? (if not, please submit in draft mode)
[ ] Check that all items from Before submitting are resolved
[ ] Make sure the title is self-explanatory and the description concisely explains the PR
[ ] Add labels and milestones (and optionally projects) to the PR so it can be classified

Did you have fun?
Make sure you had fun coding 🙃

The app is deployed here https://01g6z4w0fgxzp3npc9cr2dmthh.litng-ai-03.litng.ai/view/Home

This PR will be super seeded by https://github.com/Lightning-AI/lightning/pull/13531, where I contribute a PanelFrontend and make basic and intermediate documentation.
I will apply the feedback on this PR to the other PR.


Unable to install on clean RHEL 7.2

After trying to run cabal install blank-canvas --force-resintalls I get the following error message:

I'm guessing you're using GHC 7.6. blank-canvas's dependencies no longer build with GHC 7.6 (and we only test with 7.8 and later), so we should probably bump the minimum version bounds of base to reflect this. Sorry about the confusion.

I've revised the Hackage metadata so that one cannot construct a build plan with GHC 7.6.

Thanks @RyanGlScott

I am now getting the following warning when trying to install on a clean Fedora 23 environment (which has a newer Haskell than the previous RHEL 7.2).
cabal: The following packages are likely to be broken by the reinstalls:
haskell-platform-2<IP_ADDRESS>.2
Use --force-reinstalls if you want to install anyway

My GHCI is now >= 7.8, as you graciously pointed out :). It shipped with the haskell-platform package that I installed using dnf.
After running cabal install --force-reinstalls blank-canvas it did install successfully, but the error message was scary.

Also, how do I get it to accept non-local connections? :)

Figured it out :)
{-# LANGUAGE OverloadedStrings #-}
module Main where

import Graphics.Blank                     -- import the blank canvas

main = blankCanvas (Options 8000 [] True "." [] False) $ \ context -> do -- start blank canvas on port 3000
        send context $ do                 -- send commands to this specific context
                moveTo(50,50)
                lineTo(200,100)
                lineWidth 10
                strokeStyle "red"
                stroke()

For non-local, it is better to use
main = blankCanvas 8000 { middleware = [] } $ \ context -> ...

Which removes the local_only Middleware from the Options. The number of Options in options may change in the next version and this solution would still work.


Train donut on two different downstream tasks simultaneously

Is it possible to train donut on two downstream tasks simultaneously ? document parsing and classification for example. If yes, should the {"class" : {class_name}} inside ground_truth_parse when  the gt_parse is as follows {\"gt_parse\": {ground_truth_parse}} ?

That would be a nice idea! Might I ask which dataset (opensource preferably) you would use for that?

Unfortunately the data I have is not open source. Please share if you find any interesting open source ones.


[improve][test] validate redelivery delay for negative backoff

Motivation
We have missed the redelivery delay validation in the tests. The PR tries to add total redelivery delay validation to make sure the negative backoff is working as expected.
Modifications

Add redelivery total delay validation
Clean up unused methods from MultiplierRedeliveryBackoff.java
Remove the unused ack timeout configuration for the test

Codecov Report

Merging #18264 (50f64e0) into master (6c65ca0) will increase coverage by 35.87%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##             master   #18264       +/-   ##
=============================================
+ Coverage     34.91%   70.79%   +35.87%
+ Complexity     5707      438     -5269
=============================================
  Files           607       26      -581
  Lines         53396     2246    -51150
  Branches       5712      245     -5467
=============================================
- Hits          18644     1590    -17054
+ Misses        32119      483    -31636
+ Partials       2633      173     -2460

Flag
Coverage Δ

unittests
70.79% <ø> (+35.87%)
:arrow_up:

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

Impacted Files
Coverage Δ

...pache/pulsar/proxy/server/ProxyServiceStarter.java
60.66% <0.00%> (-1.34%)
:arrow_down:

...apache/pulsar/proxy/server/DirectProxyHandler.java
63.63% <0.00%> (ø)

...apache/pulsar/proxy/server/ParserProxyHandler.java
91.86% <0.00%> (ø)

...ache/pulsar/proxy/server/BrokerProxyValidator.java
89.15% <0.00%> (ø)

...sar/proxy/server/TargetAddressDeniedException.java
100.00% <0.00%> (ø)

...in/java/org/apache/pulsar/PulsarBrokerStarter.java

.../org/apache/pulsar/PulsarClusterMetadataSetup.java

...g/apache/pulsar/PulsarClusterMetadataTeardown.java

...org/apache/pulsar/PulsarInitialNamespaceSetup.java

.../main/java/org/apache/pulsar/PulsarStandalone.java

... and 577 more


[infra] Builders should not upload data if they are run with led

When working on new and existing builders, using LUCI, we want to test them using the "led" command from depot-tools, and not upload results to cloud storage or to the results data on BigQuery.
Recipes should check for the api.is_experimental property, and not upload results or cause other side effects if this recipe is being run from led

Done (although they upload but to a special location).


Invariant Violation: requireNativeComponent: "RCTVLCPlayer" was not found in the UIManager.

I've done the mentioned steps on README but I'm still getting this error, using expo with react native

same


[PT Run > Settings plugin] Update device and bluetooth results

Summary of the Pull Request
This PR updates the results for device pages and bluetooth pages in Win10 and Win11. It fixes the outdated command for "Control panel > Devices and printers" in Win11.

PR Checklist

[x] Closes: #27820
[x] Communication: I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected
[x] Tests: Added/updated and all pass
[x] Localization: All end user facing strings can be localized
[ ] Dev docs: Added/updated
[ ] New binaries: Added on the required places

[ ] JSON for signing for new binaries
[ ] WXS for installer for new binaries and localization folder
[ ] YML for CI pipeline for new test projects
[ ] YML for signed pipeline

[ ] Documentation updated: If checked, please file a pull request on our docs repo and link it here: #xxx

Detailed Description of the Pull Request / Additional comments

Validation Steps Performed

@jaimecbernardo
I can fix it too. We need to change the command that it calls cpl file instead of control.exe.

@jaimecbernardo
Bluetooth command is fixed.


Add support for extra.cz

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I remove or skip any mandatory* field

Checklist

[X] I'm reporting a new site support request
[X] I've verified that I'm running yt-dlp version 2022.11.11 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that none of provided URLs violate any copyrights or contain any DRM to the best of my knowledge
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[X] I've read about sharing account credentials and am willing to share it if required

Region
Czech Republic
Example URLs

video: https://www.extra.cz/cauky-lidi-70-dil-babis-predstavil-pohadky-prymulanek-nebo-andrejovy-nove-saty-ac867
video: https://www.extra.cz/cauky-lidi-moje-kampan-4-proc-se-nezucastni-prezidentskych-debat-a-jak-se-matematik-janecek-prepocital-81d7c
video on right side: https://www.extra.cz/zpravy-tv-nova-predstavila-novy-program-na-podzim-krome-masterchefa-nechybi-dalsi-divacke-stalice-db819
playlist: https://www.extra.cz/tema/cauky-lidi/

Provide a description that is worded well enough to be understood
Yt-dlp can't download video
It streams the video from eom.cz.
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
[debug] Command-line config: ['-vU', '-U', '-f', 'bv*+ba', '-o', '[%(upload_date>%Y-%m-%d)s] [%(id)s] %(title)s', '--prefer-free-formats', '--write-comments', '--write-description', '--write-thumbnail', '--write-info-json', 'https://www.extra.cz/cauky-lidi-70-dil-babis-predstavil-pohadky-prymulanek-nebo-andrejovy-nove-saty-ac867']
[debug] Encodings: locale cp1250, fs utf-8, pref cp1250, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2022.11.11 [8b64402] (win_exe)
[debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.19045-SP0 (OpenSSL 1.1.1k  25 Mar 2021)
[debug] exe versions: ffmpeg 5.0-full_build-www.gyan.dev (setts), ffprobe 5.0-full_build-www.gyan.dev
[debug] Optional libraries: Cryptodome-3.15.0, brotli-1.0.9, certifi-2022.09.24, mutagen-1.46.0, sqlite3-2.6.0, websockets-10.4
[debug] Proxy map: {}
[debug] Loaded 1723 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: 2022.11.11, Current version: 2022.11.11
yt-dlp is up to date (2022.11.11)
[debug] [generic] Extracting URL: https://www.extra.cz/cauky-lidi-70-dil-babis-predstavil-pohadky-prymulanek-nebo-andrejovy-nove-saty-ac867
[generic] cauky-lidi-70-dil-babis-predstavil-pohadky-prymulanek-nebo-andrejovy-nove-saty-ac867: Downloading webpage
WARNING: [generic] Falling back on generic information extractor
[generic] cauky-lidi-70-dil-babis-predstavil-pohadky-prymulanek-nebo-andrejovy-nove-saty-ac867: Extracting information
[debug] Looking for embeds
[debug] Identified a JSON LD
[debug] [generic] Extracting URL: https://stream.eom.cz/storage-prod/videos/D1yA3uml-57xeMHzN.mp4#__youtubedl_smuggle=%7B%22force_videoid%22%3A+%22cauky-lidi-70-dil-babis-predstavil-pohadky-prymulanek-nebo-andrejovy-nove-saty-ac867%22%2C+%22to_generic%22%3A+true%2C+%22http_headers%22%3A+%7B%22Referer%22%3A+%22https%3A%2F%2Fwww.extra.cz%2Fcauky-lidi-70-dil-babis-predstavil-pohadky-prymulanek-nebo-andrejovy-nove-saty-ac867%22%7D%7D
[generic] cauky-lidi-70-dil-babis-predstavil-pohadky-prymulanek-nebo-andrejovy-nove-saty-ac867: Downloading webpage
[debug] Identified a direct video link
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
ERROR: [generic] cauky-lidi-70-dil-babis-predstavil-pohadky-prymulanek-nebo-andrejovy-nove-saty-ac867: Requested format is not available. Use --list-formats for a list of available formats
Traceback (most recent call last):
  File "yt_dlp\YoutubeDL.py", line 1485, in wrapper
  File "yt_dlp\YoutubeDL.py", line 1582, in __extract_info
  File "yt_dlp\YoutubeDL.py", line 1694, in process_ie_result
  File "yt_dlp\YoutubeDL.py", line 1641, in process_ie_result
  File "yt_dlp\YoutubeDL.py", line 2701, in process_video_result
yt_dlp.utils.ExtractorError: [generic] cauky-lidi-70-dil-babis-predstavil-pohadky-prymulanek-nebo-andrejovy-nove-saty-ac867: Requested format is not available. Use --list-formats for a list of available formats

Don't say -f 'bv*+ba'. This site appears to offer combined formats. Instead use -f 'bv*+ba/best' or similar. The site has a ld+json block from which the media link and useful metadata are extracted.
$ python3.9 -m yt_dlp -v -F 'https://www.extra.cz/cauky-lidi-70-dil-babis-predstavil-pohadky-prymulanek-nebo-andrejovy-nove-saty-ac867'
[debug] Command-line config: ['-v', '-F', 'https://www.extra.cz/cauky-lidi-70-dil-babis-predstavil-pohadky-prymulanek-nebo-andrejovy-nove-saty-ac867']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2022.11.11 [8b644025b] (source)
[debug] Lazy loading extractors is disabled
[debug] Plugins: ['SamplePluginIE', 'SamplePluginPP']
[debug] Git HEAD: c73355510
[debug] Python 3.9.15 (CPython i686 32bit) - Linux-4.4.0-210-generic-i686-with-glibc2.23 (OpenSSL 1.1.1s  1 Nov 2022, glibc 2.23)
[debug] exe versions: ffmpeg 4.3, ffprobe 4.3
[debug] Optional libraries: Cryptodome-3.11.0, certifi-2019.11.28, secretstorage-3.2.0, sqlite3-2.6.0
[debug] Proxy map: {}
[debug] Loaded 1735 extractors
[generic] Extracting URL: https://www.extra.cz/cauky-lidi-70-dil-babis-predstavil-pohadky-prymulanek-nebo-andrejovy-nove-saty-ac867
[generic] cauky-lidi-70-dil-babis-predstavil-pohadky-prymulanek-nebo-andrejovy-nove-saty-ac867: Downloading webpage
WARNING: [generic] Falling back on generic information extractor
[generic] cauky-lidi-70-dil-babis-predstavil-pohadky-prymulanek-nebo-andrejovy-nove-saty-ac867: Extracting information
[debug] Looking for embeds
[debug] Identified a JSON LD
[generic] Extracting URL: https://stream.eom.cz/storage-prod/videos/D1yA3uml-57xeMHzN.mp4#__youtubedl_smuggle=%7B%22force_videoid%22%3A+%22cauky-lidi-70-dil-babis-predstavil-pohadky-prymulanek-nebo-andrejovy-nove-saty-ac867%22%2C+%22to_generic%22%3A+true%2C+%22http_headers%22%3A+%7B%22Referer%22%3A+%22https%3A%2F%2Fwww.extra.cz%2Fcauky-lidi-70-dil-babis-predstavil-pohadky-prymulanek-nebo-andrejovy-nove-saty-ac867%22%7D%7D
[generic] cauky-lidi-70-dil-babis-predstavil-pohadky-prymulanek-nebo-andrejovy-nove-saty-ac867: Downloading webpage
[debug] Identified a direct video link
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
[info] Available formats for cauky-lidi-70-dil-babis-predstavil-pohadky-prymulanek-nebo-andrejovy-nove-saty-ac867:
ID  EXT RESOLUTION │ PROTO │ VCODEC  ACODEC
────────────────────────────────────────────
mp4 mp4 unknown    │ https │ unknown unknown
$

Separately, I had to patch utils.py to prevent the site sending Brotli, which was not available. Something was setting Accept-Encoding: * and thus causing the check in http_request() for SUPPORTED_ENCODINGS to fail. Is this expected, or does it need a new issue?

Read the error message!

Separately, I had to patch utils.py to prevent the site sending Brotli, which was not available. Something was setting Accept-Encoding: * and thus causing the check in http_request() for SUPPORTED_ENCODINGS to fail. Is this expected, or does it need a new issue? ... Yes.

This is the code that's setting the header https://github.com/yt-dlp/yt-dlp/blob/1fc089143c79b02b8373ae1d785d5e3a68635d4d/yt_dlp/extractor/generic.py#L2306-L2318

Yes. This is the bit that I haven't twigged yet

... According to yt-dlp default Accept-Encoding that will always result in downloading the whole file

If a specific compressor, or a list, is sent? identity? anything except *?

The code is originally from https://github.com/ytdl-org/youtube-dl/commit/58bde34a236ff98f25fc109a94b3d393f0bbc9ee.

FYI each of the first two examples contains an invalid ld+json block of type NewsArticle as well as the VideoObject that should be extracted. The value of the description attribute begins with 3 blank lines which should have been omitted or escaped. These cause a warning in the current yt-dl but are silently ignored by yt-dlp.


Add a link to previous/archived versions of the website

Fulfilled in https://github.com/tcrs-ws/tcrs-ws.github.io/pull/8


⚠ Bofrost.fr has degraded performance

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

HTTP code: 200
Response time: 1707 ms

Resolved: Bofrost.fr performance has improved in b924aee after 7 minutes.


Update the url to the semver doc

As I mentioned on https://github.com/steveklabnik/semver/pull/199#issuecomment-595349595, the old URL also occurs in some other files.

@steveklabnik Could you please merge it? Thanks :)

This one's obsolete now and could be closed - #199 was merged.

Whoops! Sorry for not merging this one :(


website updates config section

fix link to  mapprojection section
various rephrasing
added proj4-related links
tilegrid config definition
remove Projection and Tilegrid config from example config (they are not used in the config furhter)
use 2 examples: the one from the demo and link to one with projections

LGTM, thanks @justb4 ! I'll merge now.


No internet and with latest update of windows 10, i can't enable internet sharing:

Hello,
i've no internet when my client is enabled...
server status:
`interface: wg_server
public key: eQqR5N/GnJgu+Yw8mRIDtZpublickey
private key: (hidden)
listening port: 51820
peer: v1RLoLK8Lynw9yvf20aHlN57ddApublickey
preshared key: (hidden)
endpoint: <IP_ADDRESS>:55022
allowed ips: <IP_ADDRESS>/32
latest handshake: 3 hours, 34 minutes ago
transfer: 18.27 KiB received, 301.00 KiB sent
persistent keepalive: every 25 seconds`
Im behing a freebox, port 51820 is opened
Firewall is off
for: endpoint: <IP_ADDRESS>:55022
i've tryp iplan, ipwan and same
in client log:
2022-04-13 20:44:27.801: [TUN] [wg_server] Handshake for peer 1 (no address) did not complete after 5 seconds, retrying (try 12) 2022-04-13 20:44:27.801: [TUN] [wg_server] Sending handshake initiation to peer 1 (no address) 2022-04-13 20:44:28.817: [TUN] [wg_server] Handshake for peer 2 (<IP_ADDRESS>:55022) did not complete after 5 seconds, retrying (try 13) 2022-04-13 20:44:28.817: [TUN] [wg_server] Sending handshake initiation to peer 2 (<IP_ADDRESS>:55022) 2022-04-13 20:44:32.861: [TUN] [wg_server] Handshake for peer 1 (no address) did not complete after 5 seconds, retrying (try 13) 2022-04-13 20:44:32.861: [TUN] [wg_server] Sending handshake initiation to peer 1 (no address) 2022-04-13 20:44:33.907: [TUN] [wg_server] Handshake for peer 2 (<IP_ADDRESS>:55022) did not complete after 5 seconds, retrying (try 14) 2022-04-13 20:44:33.907: [TUN] [wg_server] Sending handshake initiation to peer 2 (<IP_ADDRESS>:55022)
edit: with latest update of windows 10, i can't enable internet sharing:
`System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
---> System.Runtime.InteropServices.COMException (0x80040201): Un événement n’a pu invoquer aucun des abonnés. (0x80040201)
at NETCONLib.INetSharingConfiguration.EnableSharing(tagSHARINGCONNECTIONTYPE Type)
at WireGuardServerForWindows.Models.InternetSharingPrerequisite.Resolve(String networkToShare) in C:\Users\micah\source\repos\WireGuardServerForWindows\WireGuardServerForWindows\Models\InternetSharingPrerequisite.cs:line 146
at WireGuardServerForWindows.Models.InternetSharingPrerequisite.Resolve() in C:\Users\micah\source\repos\WireGuardServerForWindows\WireGuardServerForWindows\Models\InternetSharingPrerequisite.cs:line 52
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
at GalaSoft.MvvmLight.Helpers.WeakAction.Execute()
at GalaSoft.MvvmLight.Command.RelayCommand.Execute(Object parameter)
at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
at System.Windows.Controls.Primitives.ButtonBase.OnClick()
at System.Windows.Controls.Button.OnClick()
at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)
at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
System.Runtime.InteropServices.COMException (0x80040201): Un événement n’a pu invoquer aucun des abonnés. (0x80040201)
at NETCONLib.INetSharingConfiguration.EnableSharing(tagSHARINGCONNECTIONTYPE Type)
at WireGuardServerForWindows.Models.InternetSharingPrerequisite.Resolve(String networkToShare) in C:\Users\micah\source\repos\WireGuardServerForWindows\WireGuardServerForWindows\Models\InternetSharingPrerequisite.cs:line 146
at WireGuardServerForWindows.Models.InternetSharingPrerequisite.Resolve() in C:\Users\micah\source\repos\WireGuardServerForWindows\WireGuardServerForWindows\Models\InternetSharingPrerequisite.cs:line 52
`

Have you tried manually enabling it?

in configuration use network reset

i don't found this option :x

I had the same issue

When Internet Sharing gets stuck, it can be necessary to manually enable it. Check out the workaround described here.
https://github.com/micahmo/WgServerforWindows#inability-to-enable-internet-sharing

I have to use "Internet Sharing" because NAT requires HyperV. If this is active, my virtual machines in VirtualBox run very slow.
Unfortunately, I regularly encounter the problem, that WG4W can't enable "Internet Sharing" (same error code as Owned67). Each time I have to manually follow the workaround to bring WG4W "back to life". What prevents you from automate this workaround (or find a better solution) in WG4W?

What prevents you from automate this workaround (or find a better solution) in WG4W?

Unfortunately, we're limited by what the Windows API provides. WS4W is attempting to enable Internet Sharing, but Windows is reporting an error. The workaround is just performing the same action through the Windows system UI, which somehow works better than the API. When this issue first cropped up, I looked into workarounds, but this is "the way" to do it in Windows. Of course, I'd be happy to be wrong about this if someone comes up with something better.
The real "better solution" is NAT routing, but you've explained why that wouldn't work for you. I'm sorry. 😞

@micahmo
Thanks, but this does not help.
Haven't developed with the Windows API for 20 years, but I try to fix it. Here is how I can reproducible break WS4W:
Internet sharing works, restart works as expected;
C:\Program Files (x86)\WS4W>ws4w restartinternetsharing
Internet sharing is already enabled. Disabling...
Enabling internet sharing with network 'WLAN'.
Command executed successfully.

Share with an non existing internet connection, because after each reboot my internet connection is shared with wg_server_<random number> instead of wg_server:
C:\Program Files (x86)\WS4W>ws4w restartinternetsharing --network random-name
Internet sharing is already enabled. Disabling...
Enabling internet sharing with network 'random-name'.
Command did not complete successfully.

Restarting fails, as expected:
C:\Program Files (x86)\WS4W>ws4w restartinternetsharing
Cannot restart internet sharing since no network is currently shared. Specify a network to share with --network.
Command did not complete successfully.

Provide the previously shared network again, this does not work using ws4w, users currently have to manually do this step using the windows gui:
C:\Program Files (x86)\WS4W>ws4w restartinternetsharing --network WLAN
Enabling internet sharing with network 'WLAN'.
Command did not complete successfully.

Hey @JP95Git, thank you so much for the detailed repro steps, that is very helpful! And thank you for volunteering to take a look at the code. I use Visual Studio. Any version is fine but the latest (major) release is 2022. I build on Windows (again, pretty much any version, 10 or 11 is fine).


Make HostingEnvironment default to Production.

#272
@blowdart @muratg @davidfowl

:cry:

:shipit:
@blowdart

Oh hush @davidfowl, it's security party time!  :balloon: :lock: :balloon:


The num of entities in KGDataset.

Thank you for your clear and well-documented code !
I built my own urbun graph and want to get graph embedding by your code(/UrbanKG_Embedding_Model). However, during the evaluation and ranking process, the val entity index exceeded the length of candidates entity.
I discovered that the bug was caused by calculating 'max_axis' in kg_dataset.py using only the 'train' set. The 'val' set I divided contained entities that were not present in the 'train' set. This ultimately led to the bug. I use all data to init the 'max_axis', and the bug is fixed.
Is this correct? Or is it necessary to ensure that all entities present in the 'train' set ? Thank you for your response.

Yes. When preparing dataset via "kg_dataset.py", all data (i.e., train, val and test set) should be used to init the index. The obtained index file "entity_idx_embedding.csv" will be further used to get embedding.

Thank you for your answer !


About CLIP ViT-L/14

Thank you for your meaningful work. I would like to know if larger models (such as ViT-L/14 as the image encoder) will be released in the future, or how I can train a larger model.

We will release ViT-L/14 on the 400M-scale dataset with long caption~


macOS ARM64 Homebrew Install failed

Hello! In following your Homebrew installation steps for macOS arm64, an error occurs.
[ 30%] Built target adm
make: *** [all] Error 2

Do not report this issue to Homebrew/brew or Homebrew/core!

Thank you very much @rsjbailey . So sad that IRT is no longer :(

@rsjbailey Your tap worked great! Thank you. Are you going to be the maintainer of this GitHub repo moving forward?


filter facet loop

1. Why is this change necessary?
Provide editable blocks
2. What does this change do, exactly?
Adds blocks and namespace to committed file
3. Describe each step to reproduce the issue or behaviour.
///
4. Please link to the relevant issues (if any).
///
5. Which documentation changes (if any) need to be made because of this PR?
///
6. Checklist

[ ] I have written tests and verified that they fail without my change
[X] I have squashed any insignificant commits
[ ] This change has comments for package types, values, functions, and non-obvious lines of code
[X] I have read the contribution requirements and fulfil them.

Hello,
thank you for creating this pull request.
I have opened an issue on our Issue Tracker for you. See the issue link: https://issues.shopware.com/issues/SW-21400
Please use this issue to track the state of your pull request.

Already implemented in the meantime


[Question]Export using a default excel file/sheet

Hi @MaatwebsiteSupport.
I have an "order" excel file, and I need to fill the fields and create a new file every time, keeping the unfilled file. I just had a look at the docs and found how I can fill the fields, but I wasn't able to figure out how can I get the "empty" order file, to fill it up. I'm not a native english speaker, so the problem might as well be me.
By the way, I also need to send and email with the filled order attached to it. Do Laravel-Excel offer such feature ? Thanks in advance, Laravel-Excel is extremely helpful and well made. Cheers =)

Found what I was looking for, thanks =)


Can't log in

Just installed this tool and I can't log in, the screen even looks different when trying to login trough the unlocker
I get the following message on screen: "Go to the official site or application store to download the latest version"
Is anyone else having this problem?
I can obviously see different game versions, how is this possible?
Comparison Screenshots. Notice the hoyoverse logo and different versions:
Unlocker:

Official launcher:

Never mind, I found the correct installation. for some reason I had an old copy of the game in another VERY similar path.


Cannot query user from DB

Hey,
since today i'm getting the error "Cannot query user from DB" when i'm trying to login to the wireguard-ui.
We do not have it active 24/7 - we just turn it on when we need it with:
/opt/wireguard-ui/wireguard-ui -bind-address [::1]:5000

It worked the last days but since today i get the error above when i try to login. When i start the interface i get the following:
Wireguard UI
App Version	: v0.5.2
Git Commit	: 6bbe230fe8a25844cebe9997a5acf4645033f9b5
Git Ref		: refs/tags/v0.5.2
Build Time	: 07-14-2023 08:25:30
Git Repo	: https://github.com/ngoduykhanh/wireguard-ui
Authentication	: true
Bind address	: [::1]:5000
Email from	:
Email from name	: WireGuard UI
Custom wg.conf	:
Base path	: /
⇨ http server started on [::1]:5000

When accessing the interface and trying to login no further logs getting generated. Before this error appeared the last days when it was working, there where logs generated.
The firewall has the following:
-A INPUT -p tcp -m tcp --dport 22 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 80 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 443 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 51820 -j ACCEPT
-A INPUT -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
-A INPUT -p icmp -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A INPUT -j DROP

As Reverse Proxy we are using NGINX:
server {
        listen 80;
        listen [::]:80;
        listen 443 ssl http2;
        listen [::]:443 ssl http2;

        server_name vpn.domain.tld;

        root /var/www/share/vpn.domain.tld/htdocs;
        index index.html index.php;

        ssl_certificate /var/www/share/acme.sh/vpn.domain.tld/fullchain.pem;
        ssl_certificate_key /var/www/share/acme.sh/vpn.domain.tld/privkey.pem;

        add_header Strict-Transport-Security max-age=15768000;

        if ($ssl_protocol = "") {
            return 301 https://$server_name$request_uri;
        }

        location / {
            proxy_pass http://[::1]:5000;
            proxy_set_header Host $host;
            proxy_set_header X-Real-IP $remote_addr;
            proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
            error_page 502 /proxy_unavailable.html;
        }

        location = /proxy_unavailable.html {
            root /var/www/html;
            internal;
        }

}

We do not done any updates or changes to the server itself. The operating system is a debian 11 amd64.

same

I successfully logged in by adding admin.json in the/db/users directory
admin.json:
{
    "username":"admin",
    "password":"admin"
}

Same issue here, but try the suggestion above.. this means a recent update now requires that file to be there, with the credentials?

@zhangshuohuaii your suggestion worked, but the whole server admin page is missing in the UI, I can only see the clients and modify those. @ngoduykhanh what is happening?

@zhangshuohuaii your suggestion worked, but the whole server admin page is missing in the UI, I can only see the clients and modify those. @ngoduykhanh what is happening? If we know which version broke it for existing users maybe we can simply use an older version?

Yes, same issue, I am also waiting for the author's reply.

yep, that worked for me.

yep, that worked for me.

Is there a problem as @zilexa said?

Nope, i was able to login and viewing the admin page.

This issue ("cannot query user from DB) is probably a duplicate of https://github.com/ngoduykhanh/wireguard-ui/issues/395 which explains the cause.
For the issue of missing server settings page, I have created a new one, with screenshot: https://github.com/ngoduykhanh/wireguard-ui/issues/430


excessive mainnet gas estimation without --legacy

Component
Forge
Have you ensured that all of these are up to date?

[X] Foundry
[X] Foundryup

What version of Foundry are you on?
forge 0.2.0 (d1c84e3 2023-03-13T00:07:48.790822528Z)
What command(s) is the bug in?
forge
Operating System
Linux
Describe the bug
When using forge script --broadcast --slow -vvvv without the --legacy flag on mainnet, the baseFee seems wrong(excessive).
On this repo for example the gas estimation yields:
mainnet --legacy: 36gwei
mainnet: 73gwei
etherscan reference: 35-38 gwei
polygon --legacy: 140 gwei
polygon: 177 gwei
polygonscan reference: 130-180 gwei
Probably there was some timing issue when producing the numbers.
That said for me eth non-legacy transactions are consistently priced with a 100% premium, where on other networks they seem to be on par.
Additional info:
I tried a few different rpcs for mainnet (alchemy & public ones) and seems like it's always the same behavior. 1559 on ethereum being excessively priced.

estimate is here
https://github.com/foundry-rs/foundry/blob/d1c84e3e756c00a5baeab2a7714786e4885d4b0c/common/src/provider.rs#L226-L236
which should trigger this section:
https://github.com/gakonst/ethers-rs/blob/2cead3e11160a48b403d1334eab329d38f10b4fa/ethers-providers/src/rpc/provider.rs#L428-L441
and
https://github.com/gakonst/ethers-rs/blob/2cead3e11160a48b403d1334eab329d38f10b4fa/ethers-core/src/utils/mod.rs#L453-L453
looks like we need to tune this a bit @prestwich ?

this appears to be a direct result of https://github.com/gakonst/ethers-rs/blob/2cead3e11160a48b403d1334eab329d38f10b4fa/ethers-core/src/utils/mod.rs#L615-L625
which simply doubles the base fee (leading to the 36->73 relationship)
An excessive base fee in a tx is only a problem if the sending account doesn't have funds to cover the max. The basefee here is the max, not the effective payment. As long as the max priority fee is low (seems like it's 1 gwei?) there shouldn't be an issue. This will not cause users to overpay, it will cause their transactions to confirm even if there's a price surge

@prestwich interesting, pardon my ignorance - would be good if the code was documented a bit :sweat_smile:
What the rationale behind this surge multiplier?
The lower the base fee, the higher the multiplier?
To me this assumption seems to be incorrect/unfounded as

on ethereum the price is "mostly stable" (yes it moves up and down, but usually not more than a few gwei per block)
where on polygon which i assume has a higher base fee already, the volatility is quite high from block to block

While i see now, that eventually it doesn't matter (if you have enough funds on your wallet, i assume otherwise you cannot even execute?).
I think it would be good if estimation would be somewhat closer to reality. At least for me when trying non legacy, the estimated 2x was concerning so i used legacy - assume others might experience the same.

this is @gakonst's code. so I don't know the full rationale

I think it would be good if estimation would be somewhat closer to reality. At least for me when trying non legacy, the estimated 2x was concerning so i used legacy - assume others might experience the same

generally, we assume that users have a good grasp of EIP1559 transaction fee params. I'm not sure we should adjust the MBF in a way that makes transactions less likely to confirm, in order to quote the same as legacy

@prestwich fair point. Might make sense to log though, how the fee is composed (base + tip) is the current log doesn't show this afaik.
Also might make sense, to allow users to adjust this surplus (didn't try yet, perhaps i can use gas multiplier 70, to reduce the 100% surplus in case my wallet is short of funds).

yes, for sure :+1:


LGP Inference

Thanks for posting an amazing implementation.
I managed to train the LGP model, but having trouble in inferance, where we are supposed to guide reverse process of diffusion model using the gradient of the LGP.
Could you please provide the complete inferance code ? Or at least some crude outlines ?

Hi. Sorry i haven't written code for inference yet. I've tried but it doesn't seem to get the results you would expect even though the LGP itself is working.

I have been trying to implement it by myself. I will PR when its completed

I have been trying to implement it by myself. I will PR when its completed

Hi, have you implemented this project?

I have been trying to implement it by myself. I will PR when its completed

are you able to implement it ?


Fix(tokenizer): Set rstrip,lstrip,norm to False

Attempt to fix the tokenizer saving new special tokens properties (rstrip,lstrip) as True.
This issue can be seen in Mistral Tokenizer saved after finetuning.

{
  "add_bos_token": true,
  "add_eos_token": false,
  "added_tokens_decoder": {
    "0": {
      "content": "<unk>",
      "lstrip": false,
      "normalized": false,
      "rstrip": false,
      "single_word": false,
      "special": true
    },
    "1": {
      "content": "<s>",
      "lstrip": false,
      "normalized": false,
      "rstrip": false,
      "single_word": false,
      "special": true
    },
    "2": {
      "content": "</s>",
      "lstrip": false,
      "normalized": false,
      "rstrip": false,
      "single_word": false,
      "special": true
    }
  },
  "additional_special_tokens": [
    "<unk>",
    "<s>",
    "</s>"
  ],
  "bos_token": "<s>",
  "clean_up_tokenization_spaces": false,
  "eos_token": "</s>",
  "legacy": true,
  "model_max_length":<PHONE_NUMBER>000000019884624838656,
  "pad_token": "</s>",
  "sp_model_kwargs": {},
  "spaces_between_special_tokens": false,
  "tokenizer_class": "LlamaTokenizer",
  "tokenizer_file": "/root/.cache/huggingface/hub/models--mistralai--Mistral-7B-v0.1/snapshots/ae9d75c6b4eb39515def78c685fb4d71d49fc2cf/tokenizer.json",
  "trust_remote_code": false,
  "unk_token": "<unk>",
  "use_default_system_prompt": true,
  "use_fast": true
}

Confirmed that it's false now.

One extra config seem to be use_fast=True. This is the default, and although Mistral's tokenizer config does not have it, Mistral's tokenizer has fast tokenizer support.
https://huggingface.co/docs/transformers/v4.34.0/en/index#supported-frameworks

I wonder if maybe we should only specify actual new tokens in the YML file. so remove the default tokens the tokenizer model already includes. that's probably the root of the issue.

Yes, makes sense. We can address that in a followup PR.


Fix build error when project path contains kyuubi-

Why are the changes needed?
The building will failed if the project name contains kyuubi-.
For example: for our jenkins job, its name is kyuubi-binary-build, and the TMP dir won't be created because all the jar files are filtered because their absolute path contains kyuubi-.
How was this patch tested?

[ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[ ] Run test locally before make a pull request

Codecov Report

Merging #997 (6f6f17a) into master (d58a092) will decrease coverage by 0.78%.
The diff coverage is 84.51%.

:exclamation: Current head 6f6f17a differs from pull request most recent head f658940. Consider uploading reports for the commit f658940 to get more accurate results

@@             Coverage Diff              @@
##             master     #997      +/-   ##
============================================
- Coverage     80.74%   79.96%   -0.79%
  Complexity       11       11
============================================
  Files           148      151       +3
  Lines          5406     5514     +108
  Branches        638      643       +5
============================================
+ Hits           4365     4409      +44
- Misses          661      724      +63
- Partials        380      381       +1

Impacted Files
Coverage Δ

...he/kyuubi/events/AbstractEventLoggingService.scala
0.00% <0.00%> (ø)

...ala/org/apache/kyuubi/events/EventLoggerType.scala
0.00% <ø> (ø)

...ala/org/apache/kyuubi/events/JsonEventLogger.scala
0.00% <0.00%> (ø)

.../scala/org/apache/kyuubi/events/JsonProtocol.scala
0.00% <0.00%> (ø)

...n/scala/org/apache/kyuubi/events/KyuubiEvent.scala
0.00% <0.00%> (ø)

...n/scala/org/apache/kyuubi/service/Serverable.scala
42.85% <ø> (-7.15%)
:arrow_down:

.../org/apache/kyuubi/session/KyuubiSessionImpl.scala
85.29% <0.00%> (-2.59%)
:arrow_down:

...uubi/engine/spark/events/SparkStatementEvent.scala
83.33% <33.33%> (ø)

.../apache/kyuubi/server/KyuubiFrontendServices.scala
76.92% <80.00%> (ø)

...ache/kyuubi/engine/spark/SparkProcessBuilder.scala
89.15% <81.81%> (-0.85%)
:arrow_down:

... and 25 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 d58a092...f658940. Read the comment docs.

Thanks, merging to master/v1.3


SensorTag basic board support

Basic board support for the TI SensorTag, with minimal drivers.

Switch from Gerrit to Github for this changeset
Split linker script modification and minimal SoC support into 2 commits
Move uart.h, gpio.h and trng.h to corresponding drivers

Basic board support for the TI SensorTag, with minimal drivers.
Questions remain to be answered, like Stellaris / CC3200 UART driver reuse
and how to accomodate HW-specific flash header / footer needs by modifying
the Cortex generic linker script.

Sorry about that, commit dates mixed up the order when pushing.
Squashed SoC + Device Tree support accordingly.

Had to move gpio.h to arch/ again, because it is also needed by pinmux driver
(hardware awkardness).
Tried to use both the stellaris and the CC32xx UART drivers.

With CC32xx UART: TI provides a HAL for CC26xx SoC, "cc26xxware". It is
different than the HAL used for CC3200 port ("cc32xxware"). Not surprisingly, the CC32xx
UART driver does not work for the CC2650 (probably power management issues, but see below).
With Stellaris UART: Polling interface works, interrupts do not. Pushed code is a quick hack
to show what's needed to make it work; most importantly, powering on the UART HW module
used to be done in CC2650 UART driver and was copy-pasted here.

I have the following questions:

What's the policy regarding HALs for Zephyr? I could not find any. If that's preferred,
I could import TI's cc26xxware HAL along cc32xxware and use it everywhere.
Regarding SoC power management, should I power on everything that may be needed
in SoC's init() (in arch/) and not in each individual driver?
There is still a problem when using Device Tree generated macros: the address is
baked in their names. Here, a quick hack in the board's .fixup file does the job; but
why not using generic names? We could generate names using port numbers, for example.

Regarding policy on HALs, my understanding is that they are initially being encouraged as a way to expand board support in Zephyr, though I've heard some comments against HALs if they bring in too much extra code.    In the case of CC32xx, I was able to save ~2K in code space by using the ROM versions of the cc32xx driverlib functions: MAP_*.
I wonder if there is a SimpleLink SDK for cc26xx?  The following link seems to suggest that is the case:
http://dev.ti.com/tirex/content/simplelink_cc13x0_sdk_1_30_00_06/docs/simplelink_mcu_sdk/Users_Guide.html#directory-structure
In which case, cc26xx device files could go under the new ext/ti/hal/simplelink/ directory structure, if you choose to use them.

Regarding power management, the cc32xx UART driver does not currently support power management, so is not a good example.  I would think it's best for the device driver to provide the power management hooks, and initialization.

With regards to DT generated, we intend to generate the code bits so the #defines go away, the problem with names is its hard to come up with a generic solution that works for everyone.  Some people start at 0, some want it to be the name the board uses, and not the SoC, etc.
So for now the fixup file exists until we can generate the bits instead that are in the driver code.

Move inline register manipulations functions to soc.c.
Move power/clock setup of HW modules to soc.c, and remove such code from device drivers, where it was previously located.
Document the Stellaris UART driver to explain use for CC2650 SoC.

Sorry for taking so long on this, headed on vacation for a few days, but will focus on getting this reviewed and merged next week.  Thanks.

No problem, I tried to keep conflicts minimal to avoid headaches upon merging.

Reorganized commits so that GPIO driver comes before pinmux driver,
Removed random number generator driver, for another pull request,
Removed CCFG_SIZE config variable, now hard-coded in linker script,
Various small fixes,
Fixed license to "SPDX-License-Identifier: Apache-2.0"

Can you rebase the patch set on latest 'arm' branch.  Thanks.

I'm going to pull in the linker script and modify the uart driver patch into the arm branch so we can close out on those bits.

Fixed number of priority bits for interrupts (DTSI file)
Fixed UART driver used (my fault, don't know where I changed the configuration again)

Changed Stellaris driver to use DTS-provided labels.
Moved .fixup changes to board patch.

Moved Stellaris UART driver update commit as first commit.
Simplify GPIO driver sample code.

Thanks a lot Kumar for your work and patience! I'm happy to make my first steps in the Zephyr project. :)

Thanks for your patience as well.  Hope to see some more development from you in the future!


FreeBSD: fs_event_watch_delete_dir segfaults

Possibly related to https://github.com/libuv/libuv/issues/4255
not ok 61 - fs_event_watch_delete_dir
# exit code 139
# Output from process `fs_event_watch_delete_dir`: (no output)

gdbing indicates that filename is a null pointer here.

Version: libuv 1.49.2
Platform: FreeBSD 14.0

cc @devnexen - likely related to 004dfd2d4b2bc3c3f2ddda7ac72c9dd579ca4194?

WIll have a look soon-ish.

with that diff, the error changes to the following:
# exit code 134
# Output from process `fs_event_watch_dir`:
# Assertion failed in test/test-fs-event.c on line 233: `filename == file_prefix` (watch_di == fsevent-)

can Confirm. I will take a look to this one.

@libuv/collaborators, this seems to be a kernel bug.
Refs: https://stackoverflow.com/a/28778077, https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198570

As #4649 landed, is it safe to close this?
Cc @cjihrig

is it safe to close this?

I'm not sure. It seems like the discussion was previously headed towards a workaround for the bug. @bnoordhuis what do you think?

Downstream users won't expect sneaky NULLs. It'd be best to fix this on our side.

I'll investigate.
@bnoordhuis, If you have a preferred workaround, let me know

https://github.com/libuv/libuv/issues/4606#issuecomment-2486459135 is what we do on other platforms, IIRC, so I'd just copy that for freebsd.

with that diff, the error changes to the following:

# exit code 134

# Output from process `fs_event_watch_dir`:

# Assertion failed in test/test-fs-event.c on line 233: `filename == file_prefix` (watch_di == fsevent-)

That will cause another crash.

The documentation at https://docs.libuv.org/en/v1.x/fs_event.html#c.uv_fs_event_cb suggests that it can be NULL: 'the filename parameter will be a relative path to a file contained in the directory, or NULL if the file name cannot be determined' so maybe it is ok...

#4606 (comment) is what we do on other platforms, IIRC, so I'd just copy that for freebsd.

@bnoordhuis I don't think that is gonna fix anything, the test seems to be conveniently ignoring when the -whole- file path is not determined (like the FreeBSD case)1, if we do that, we will get the path of the directory, but no the the -whole- file route.
I don't think there is reliable way to get the path of an fd in FreeBSD (without making extra requirements to the user's environment, like mounting /proc or something)


Remove deps

This PR removes the deps and spineVersion properties from the Gradle projects to which bootstrap is applied.

@armiol, PTAL.


Remove absolute paths

I'm including svg icons in my application using relative paths.
import CheckIcon from '../../assets/icons/check-icon.svg';

However, when I run npm run build absolute paths appear in app.js for these icons.
var toString = function () {return "/Users/username/documents/project/src/assets/icons/check-icon.svg"};module.exports = { render: render, toString: toString };

(I modified the path for security reasons.)
If a different developer runs the build, app.js will be different because of the absolute path. My application is a browser extension. In order to be approved, their review team must be able to run the build and get the same files as when I run the build. (They look at the MD5 checksum.)

Can we reopen this issue? The related PR #33 was closed but apparently the release depends on #32.


Add a validation job to ensure that the binary actually works

Create a new job that validates that the generated binary works on Alpine Linux. Do not release an image and/or a build if this step fails.
Current flow:
build -> release -> docker
New flow:
build -> validate -> release -> docker

Note: Add an option to force a release. This will be necessary for debugging purposes.


Question: Adding interfaces for 3rd party react component - e.g. material-ui

Is it possible to add an interface to a third party react component?
I would love to be able to add an interface that validates the proptypes of components that I am importing.
I tried a few different variations on this  -
// Filename:  /interfaces/material-ui.js

declare module 'material-ui/lib/flat-button' {
  declare class FlatButton extends ReactElement {
    type: ReactClass<void, {label: string}, void>;
  }
}

but I get the following error -
  4: import FlatButton from 'material-ui/lib/flat-button';
     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ module `material-ui/lib/flat-button`. This type is incompatible with
132:     name: ReactClass<DefaultProps, Props, State>,
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ class type: existential. See: /private/tmp/flow/flowlib_3f857f8f/react.js:132

Thanks

Not sure if you still need this, but fwiw the suggestion in https://github.com/facebook/flow/issues/314 works for me:
declare class FlatButton extends ReactComponent {
  static defaultProps: {};
  props: { foo: 'bar' };
  state: void;
}

With Flow v0.53, there have been minor changes to the syntax for typing Components. The example from @cprodescu is still close to right, but the syntax now looks like this.
Unless there is a further question, I think this issue can be closed (/cc @calebmer).


How to add custom method to Expressjs Response

I need add custom method called content to use later in Response Middleware
Example : in my router
//router
router.get('/user', this.get);
.....
public get = (req: Request, res: Response, next: NextFunction) => {
    res.status(201).content({ name: 'My name'});// i need custom method content here
    next();
  };

and in Response Middleware
export default function ResponseMiddleware(
  req: Request,
  res: Response,
  next: NextFunction
) {
  res.status(200).json({
    apiVersion: '1.0',
    status: true,
    data: res.content // get content object here
  })
}

is it possible ?

You can define custom methods for your app like the following (sorry not in TypeScript; I'm not familiar with it enough):
app.response.content = function (obj) {
  // implement your content method here
}

Your example as-is cannot work, as you cannot have res.content be both a property and a method. You could make it a method that when called without args gives you the set content if you like:
app.response.content = function (content) {
  if (arguments.length === 0) {
    return this._content
  } else {
    this._content = content
    return this
  }
}

I hope this helps!

@dougwilson Thanks for you quick response. can you convert it to typescript ? because i am got error Property 'content' does not exist on type 'Response'

can you convert it to typescript ?

sorry not in TypeScript; I'm not familiar with it enough

Ok thanks you.


fix: Add sample env

Description
Running the app in development mode fails with this error:
error: modules/env.ts: /volt-wallet/modules/env.ts: "BREEZ_INVITE_CODE" is not defined in .env
> 1 | import {BREEZ_INVITE_CODE, BREEZ_SDK_API_KEY} from '@env';
    |         ^^^^^^^^^^^^^^^^^
  2 |
  3 | // Path: modules/env.ts
  4 | export const _BREEZ_INVITE_CODE_ = BREEZ_INVITE_CODE;

Adding a .env file fixes the issue
Added a sample env, also updated the readme to that effect

@Zero-1729 Seems this commit fixes this.

Thank you @Jeezman for surfacing this and the PR.
I've cleaned up some more of the Greenlight credentials code and included a section in the README on how to store that info in the .env. Nevertheless, I'd like to merge this to include your env.example and info about copying those placeholder contents to .env.
Please rebase this PR, then test against https://github.com/Zero-1729/volt/commit/b55b4be1d939a202ff92a68099c8b8dc3f383c81 on main and drop any additional feedback.

Thank you @Jeezman for surfacing this and the PR.
I've cleaned up some more of the Greenlight credentials code and included a section in the README on how to store that info in the .env. Nevertheless, I'd like to merge this to include your env.example and info about copying those placeholder contents to .env.
Please rebase this PR, then test against b55b4be on main and drop any additional feedback.

@Zero-1729 All good. Rebase here https://github.com/Zero-1729/volt/pull/6/commits/682527311189359f6d165793649c184806364d53


[BUG] problem with close-by variants and phasing

Hi,
I'm using FreeBayes to estimate how variant callers respond to out-of-phase variant that are in close proximity of each other.
For this example, I've introduced two out-of-phase deletions with one base in between (see figure below). The FreeBayes output however lists only one deletion (the first one) but at a frequency of 100%, as if both deletions are combined into a single event. Clearly they shouldn't be. However, I can't find the arguments (or combination thereof) to separate this event into two.
Could you help me? If needed I can provide the reads and reference data. I went through the debugging output and at first, it lists the first variant at 50% but after 'extending the haplotype' it suddenly arrives at a single deletion of 100%.
grts,
Gio
====================================

====================================
FreeBayes VCF line reports only the first deletion
The frequency listed below for this variant is 100 (AD) divided by 100 (DP) = 1.0
#CHROM	POS	ID	REF	ALT	QUAL	FILTER	INFO	FORMAT	unknown
reference	100	.	AGTGA	AA	2102.76	.	AB=0;ABP=0;AC=2;AF=1;AN=2;AO=100;CIGAR=1M3D1M;DP=100;DPB=40;DPRA=0;EPP=220.158;EPPR=0;GTI=0;LEN=3;MEANALT=1;MQM=42;MQMR=0;NS=1;NUMALT=1;ODDS=141.625;PAIRED=0;PAIREDR=0;PAO=0;PQA=0;PQR=0;PRO=0;QA=3400;QR=0;RO=0;RPL=0;RPP=220.158;RPPR=0;RPR=100;RUN=1;SAF=100;SAP=220.158;SAR=0;SRF=0;SRP=0;SRR=0;TYPE=del	GT:DP:AD:RO:QR:AO:QA:GL	1/1:100:0,100:0:0:100:3400:-300.585,-30.103,0

====================================
FreeBayes command:
 freebayes --fasta-reference reference.fasta sorted.bam --use-duplicate-reads --haplotype-length 3 --min-alternate-count 10 --min-base-quality 20 --min-mapping-quality 0 --min-alternate-fraction 0.1 -v results.vcf

@giodendoncker I have a resolution for this in process. It seems relatively simple but I need to find a way to make sure it doesn't have unintended consequences.


Code example

suggestion:
sometime a little code example is easiest to understand than a description, features may have a tab "Example" with a block of code (1 or 2 line)

I think it's more valuable to have a proper resource giving such an example with a thorough explanation on what it does. A few lines of code are rarely enough to help someone understand how it actually works.


Fixing behavior issue when route raising Exception

Background
Consider following code
@server.route("/", methods=("GET", ))
def landing_page(request):
  # some error
  foo = 0
  foo.set()
  return "OK?"

Presently _handle_request will return not thing,
Leading client hang until timeout.
Change
This pull request change are following

Fixing undesired behavior by return a error page.
Adding error message.
Adding decorator "errorhandler" for customizing in user code.

@staytime @Gadgetoid This PR is heading in the right direction.  However, Phew is a framework that is used by other applications.  The behaviour in this PR while an improvement does not give control into the hands of the application developer.
Note that I'ved used my branch of Phew ccrighton/phew in the examples below.
Ideally, we would:

Provide default unhandled exception handler that returns a 500 Internal Server Error (much like this PR)

Provide a decorator that allows the developer to create their own handlers for different exceptions and provide their own default exception handler.

phew_app = server.Phew()

@phew_app.errorhandler(HTTPException)
def handle_exception(e):
   return render_template("500_generic.html", e=e), 500

Support API errors as JSON

Support a set of exception classes that can be raised in route handlers that will automatically generate a response object e.g.

@phew_app.route("/", methods=["GET"])
def index(request)
    ...
    raise SomeException("an error occured")

Some other stuff that will come out in the wash when implementation is done :-).


[Proposal] Community management with Peribolos

Proposal
Community, Membership, and Repository management is complex on its own.
With a growing community, keeping an overview gets harder and harder.
Instead of relying on manual actions, I recommend switching to a GitOps approach, utilizing Peribolos.
Peribolos offers a great variety of settings and can be used to manage organization management, team assignments, and repository permissions.
Peribolos is developed and used by Kubernetes and is a good fit for OpenFeature.
What do we want?

We want to have a GitOps way of assigning different permissions to members of our organization.
We want to have a straightforward approach with little to no duplication or too many points to edit alignment
We want to organize our members in teams with certain aspects.
We don't want to assign permissions per individual but on a team basis, so if you want specific permissions, you're part of a certain team.
We want to group repositories for teams, aka one team is responsible for multiple repositories - to reduce maintenance efforts
We also want to have overlapping teams for repositories, as there might be the need to separate some access

Permission structure
Organization Level
First, we do have roles on organizational level like:
Owners
Members

With respective permissions
Repository Level
Additionally, if you are part of the organizational level, you can also be one of those roles just for the repository or repository group:
Repo-Admin
Repo-Maintainer
Repo-Approver

Proposal
Ultimately, we can setup the repo permissions for each repository, which means a lot of duplicated configuration effort, but grouping would be easier and way better to handle.
Furthermore, it would represent the community structure in a better manner.

Theoretically, we could group the repository as follow (naive proposal)

sdk

java

https://github.com/open-feature/java-sdk
https://github.com/open-feature/java-sdk-contrib

javascript

https://github.com/open-feature/js-sdk-contrib
https://github.com/open-feature/js-sdk

.net

https://github.com/open-feature/dotnet-sdk
https://github.com/open-feature/dotnet-sdk-contrib

go

https://github.com/open-feature/go-sdk-contrib
https://github.com/open-feature/go-sdk

php

https://github.com/open-feature/php-sdk
https://github.com/open-feature/php-sdk-contrib

ruby

https://github.com/open-feature/ruby-sdk
https://github.com/open-feature/ruby-sdk-contrib

python

https://github.com/open-feature/python-sdk
https://github.com/open-feature/python-sdk-contrib

rust

https://github.com/open-feature/rust-sdk

education

https://github.com/open-feature/docs.openfeature.dev
https://github.com/open-feature/killercoda
https://github.com/open-feature/playground

org

https://github.com/open-feature/ofep
https://github.com/open-feature/community
https://github.com/open-feature/.github
https://github.com/open-feature/spec

utils

https://github.com/open-feature/test-harness

cloud native

https://github.com/open-feature/flagd
https://github.com/open-feature/watchman
https://github.com/open-feature/schemas
https://github.com/open-feature/open-feature-operator

As the configuration file for this structure would be already quite big and cover a lot of duplication
I propose consolidating this into a leaner structure with an automatic merge (like Kubernetes is doing https://github.com/kubernetes/org) tailored to our needs. We will have our Directory per organization we manage and a subdirectory per group containing the necessary information.
The org.yaml will contain basic information about the organization, such as general membership, description, etc.
Also it will contain a group for Community maintainers
The group configuration will contain the following structure, eg. for java
repos: # the repositories belonging to this team
  - java-sdk
  - java-sdk-contrib

approvers: # list of users who are approvers for this group and its repos (GitHub Permission: triage)

maintainers: # list of users who are maintainers for this group and its repos (GitHub Permission: maintain)

admins: # list of users who are admsin for this group and its repos  (GitHub Permission: admin)

Our merger will then take all this information to generate the configuration and apply it via GitHub Action to the defined organizations.
References

https://github.com/kubernetes/org

i do have somewhat issues to split permissions between approvers, and triagers - as the permissions seems to be the same for me, the question is, if it is worth to differentiate between both of them, and if we should reflect this also in the structure of the groups

Is this the project https://github.com/uwu-tools/peribolos ?
I also want to add some clarification here:

What do we want?
~We want to have a GitOps way of assigning different permissions to members of our organization.~
We want to have a straightforward approach with little to no duplication or too many points to edit alignment
We want to organize our members in teams with certain aspects.
We don't want to assign permissions per individual but on a team basis, so if you want specific permissions, you're part of a certain team.
We want to group repositories for teams, aka one team is responsible for multiple repositories - to reduce maintenance efforts
We also want to have overlapping teams for repositories, as there might be the need to separate some access

The process and technology isn't important, the outcomes are.
I am happy to bring this up at the next governance meeting though as I think it's great you're bringing this up!

actually it is https://docs.prow.k8s.io/docs/components/cli-tools/peribolos/ - we extracted it into our own docker image, to be easier used with github actions
Seems to be close to the same idea as uwutools :)


doc: Recommend cargo add instead of wildcard version

This patch changes the description in README.md to advise using cargo add kcapi instead of the wildcard version which may be problematic when working with future incompatible versions.
Fixes https://github.com/puru1761/kcapi/issues/1

Thanks for the change! I was meaning to make this for a while.

No problem! I'm working on adding kernel crypto backend to Sequoia PGP and that will probably mean I'll file a couple of PRs. I hope you don't mind :)


Typo in README.md

"Feel free to fork amd commit." Not trying to nitpick, just thought I'd point this out to help the overall professionalism of the project.

Thanks for the heads-up, I'll push a change today.


Ecosystem impact grants section

Copy can be "lorem ipsum" for now. I'll try to get some copy from Austin & team.

Maybe we should add a Twitter/X link to the card on the bottom right?


updated faq section

Issue Number
ISSUE #112
Describe the changes you've made
Changed the FAQ section and made it responsive according to the accordion clicks and fully responsive according to device sizes.
Screenshot of the changes made

Checklist

[ ] I have added my name in the contributors list at the end of README.md file.
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.
[x] The title of my pull request is a short description of the requested changes.
[x] LGMSOC21

Have changed the location of files?
Also their are few files with similar names help.css and css/help.css, help.html and html/help.html.

Review your changes.
Only necessary changes should be there.
Fetch upstream then push changes.


user not found error

` const client = await ZepClient.init(ZEP_API_URL, zep_jwt_token);
console.log("user :- ", client);
const userId = "58481deb-1099-4856-bbcf-c0b852b38182";
// const user = await client.user.list(10, 0);
const user = await client.user.get("58481deb-1099-4856-bbcf-c0b852b38182");
console.log("user :- ", user); `

i'm getting **Error fetching user: NotFoundError: No user found for userId 58481deb-1099-4856-bbcf-c0b852b38182**, but this user esists in my dashboard, also same script is working in python as well.

@yuvraj123-verma Hi, can you please tell me which version of zep-js sdk you are using? Also please tell me if your intention is to use Zep Open Source or Zep Cloud?


Corrected license identifier in library.properties

It should be a valid SPDX License Identifier:
https://spdx.org/licenses/

@njh, Thanks for your contribution :)


Generated spice netlist bug

As i used the command of write_fabric_spice --file ./SPICE --verbose to generate spice netlist, the OpenFPGA didn't raise any error. Just like what i expected, transistor.sp was correct, but muxes.sp was not. the two netlists are as follows:
*********************************************
*	FPGA-SPICE Netlist
*	Description: Transistor wrappers
*	Author: Xifan TANG
*	Organization: University of Utah
*	Date: Wed Sep 27 04:25:36 2023
*********************************************

.subckt lvtpch_wrapper drain gate source bulk L=5.999999786e-08 W=1.199999957e-07
X1 drain gate source bulk lvtpch L=L W=W
.ends
.subckt lvtnch_wrapper drain gate source bulk L=5.999999786e-08 W=1.199999957e-07
X1 drain gate source bulk lvtnch L=L W=W
.ends

************************************
* SPICE module for mux_tree_size12 *
************************************
.subckt mux_tree_size12 in[0] in[1] in[2] in[3] in[4] in[5] in[6] in[7] in[8] in[9]
+                       in[10] in[11] sram[0] sram[1] sram[2] sram[3] sram_inv[0] sram_inv[1] sram_inv[2] sram_inv[3]
+                       out VDD VSS

*********************************
* BEGIN Local short connections *
*********************************
*******************************
* END Local short connections *
*******************************
****************************************
* BEGIN Local output short connections *
****************************************
**************************************
* END Local output short connections *
**************************************

X const1_0_ const1_0_const1 VDD VSS const1

X mux_l1_in_0_ in in[1] sram MUX2_0_Y VDD VSS MUX2

X mux_l1_in_1_ in[2] in[3] sram MUX2_1_Y VDD VSS MUX2

X mux_l1_in_2_ in[4] in[5] sram MUX2_2_Y VDD VSS MUX2

X mux_l1_in_3_ in[6] in[7] sram MUX2_3_Y VDD VSS MUX2

X mux_l1_in_4_ in[8] in[9] sram MUX2_4_Y VDD VSS MUX2

X mux_l2_in_0_ MUX2_0_Y MUX2_1_Y sram[1] MUX2_5_Y VDD VSS MUX2

X mux_l2_in_1_ MUX2_2_Y MUX2_3_Y sram[1] MUX2_6_Y VDD VSS MUX2

X mux_l2_in_2_ MUX2_4_Y in[10] sram[1] MUX2_7_Y VDD VSS MUX2

Omit the following

In my opinion, there shouldn't be a space between 'X' and its following character.
How can i solve this bug. Thanks!

@narutozxp FPGA-SPICE has not been ported to OpenFPGA yet. Currently, it is a low priority to us. If you have some strong need, please let us know.

@tangxifan Yes, i just hope to use spice to get the power of FPGA subcircuit. So, is there any method that could be used if FPGA-SPCAE has not been ported to OpenFPGA.
By the way, as I wish to fix the bug, could you give some tips about how to modify the code of OpenFPGA.
Thanks!

@tangxifan Hello, it seems an unnecessary space after the character, "X" , which results incorrect spice file.
https://github.com/lnis-uofu/OpenFPGA/blob/3c50d1cd96def24b71366a5e85b3114d2728e8dd/openfpga/src/fpga_spice/spice_writer_utils.cpp#L260


Anime Commands

What Does This PR Do?
This PR adds /anime and sub-commands get and search using the Kitsu API to retrieve information on anime and anime searches.
Acceptance Criteria Met
Which acceptance criteria will be met with this PR?

Sushi bot now has an anime search command
Sushi bot now has an anime get command

I'm probably gonna write a little module/lib that makes it easier to fetch objects from the API. I'll keep this PR open until it's done or abandoned


memory corruption fix for distributed data parallel version before SyncUpGlobalBestSplit

memory corruption was found using valgrind
see relevant issue for debugging info:
https://github.com/microsoft/LightGBM/issues/2981

Close-reopen to retrigger Appveyor.

Close-reopen to retrigger travis URL checker

the PR previously failed on a Mac build that complained about different types passed to std::max, I added a fix for it (cast) that seems to have resolved the build issue

@guolinke might you be able to take another look at this PR?  thank you!

close reopen for CI
URL        `https://en.wikipedia.org/wiki/Gamma_distribution#Occurrence_and_applications'

Name       `gamma-distributed'

Parent URL file:///home/travis/build/microsoft/LightGBM/docs/_build/html/Parameters.html, line 239, col 220

Real URL   https://en.wikipedia.org/wiki/Gamma_distribution#Occurrence_and_applications

Check time 3.469 seconds

D/L time   1.042 seconds

Size       345.98KB

Warning    [None] Anchor `Occurrence_and_applications' not found.

           Available anchors: `coll-download-as-rl', `footer',

           `footer-copyrightico', `footer-icons', `footer-info',

           `footer-info-copyright', `footer-info-lastmod',

           `footer-places', `footer-places-about',

           `footer-places-contact',

           `footer-places-cookiestatement',

           `footer-places-developers',

           `footer-places-disclaimer',

           `footer-places-mobileview', `footer-places-privacy',

           `footer-places-statslink', `footer-poweredbyico',

           `n-aboutsite', `n-contactpage', `n-portal',

           `n-recentchanges', `p-coll-print_export',

           `p-coll-print_export-label', `p-lang', `p-lang-label',

           `p-tb', `p-tb-label', `p-wikibase-otherprojects',

           `p-wikibase-otherprojects-label', `t-cite', `t-info',

           `t-permalink', `t-print', `t-recentchangeslinked',

           `t-specialpages', `t-upload', `t-whatlinkshere',

           `t-wikibase'.


Rbk current

product cards and product detail pages rendering with info + images

I'm getting a strange issue with my merge so I'm closing for now until I fix it. don't want to accidentally spread it to you all.


Android setFromResponse always returns null

According to the docs, it should return true on success and false on failure

Also experiencing this bug...
Environment:
OS: macOS High Sierra 10.13.4
Node: 7.9.0
Yarn: Not Found
npm: 4.2.0
Watchman: 4.9.0
Xcode: Xcode 9.3 Build version 9E145
Android Studio: 3.1 AI-173.4697961
Packages: (wanted => installed)
react: 16.2.0 => 16.2.0
react-native: 0.52.2 => 0.52.2

Hey guys, thanks for the report. Happy to accept a PR.

same to me!,how to do?
"react": "^16.0.0-alpha.12",
"react-native": "^0.48.1",
"react-native-cookies": "^3.2.0",

I have forked the repo here: https://github.com/safaiyeh/react-native-cookie-store
We can create issues and PRs there to continue the development of the project.


🎁: Handover: KPI row

Expected outcome
Clear KPI's
Business Value / Developer Experience
Yesterday a Commissioning manager asked me how the KPI numbers work and I could not answer, had to calculate and check the numbers before i understood how it works.
We need to make the KPI numbers more clear.
User did not understand it was two sections. (did not notice the sqare brackets)

Acceptance Criteria

[ ] Clear separation between RFC and RFO sections
[ ] The sum of numbers in each section should be same as total commPk
(Overdue must be moved to its own section, maybe all the way to the right)

@atlewee I have moved the KPIs into two separate sections, but i dont understand how you want the Overdue to look. Do you want them both merged into a single number? The other changes are in prod

Waiting for UX input

@EdwardBrunton remove overdue. and as Atle said the sum in RFC should be the same as the sum of KPI in RFO section. you could use the fields RFC_Stauts and RFO_Status to get the correct KPIs


Use pretrained-model for tracking in real-time

Hi,
I wanna use ByteTrack and use your pretrained model to predict my own data
After studying your colab code, I can't find a function for tracking real-time(streaming?) data
Could you help we finish this or give me some tips?
br,
henry

You can pass an RTSP streaming using the video parameter. The function that plays streaming is the same as video cv2.videoCapture(). The only thing you have to do, to your code does not break is change:
https://github.com/ifzhang/ByteTrack/blob/b82ba6170d439a4a0d970cfe8c43e5a69ce99b7f/tools/demo_track.py#L237
Because the code will try to split your URL to create the path for the video write function, you can for example modify
https://github.com/ifzhang/ByteTrack/blob/b82ba6170d439a4a0d970cfe8c43e5a69ce99b7f/tools/demo_track.py#L236
if args.demo == "video" and "rtsp" not in args.path:

By the way, do you plan to submit this paper to any conference?


BearerTokenAuthenticationPolicy should support CAE token revocation challenges by default

This feature entails adding CAE support for all clients lacking a custom challenge handler i.e., everyone except Key Vault and Storage.
Adding support involves adding logic to your BearerTokenAuthenticationPolicy such that it does the following:

Detects when a CAE challenge is issued (401 response with a WWW-Authenticate header)
Parses the WWW-Authenticate header (format here)

validate that the error value is "insufficient_claims"
capture the claims value and decode it from base64 encoding to a string

Pass the string value of the un-encoded claims to the TokenCredential via the TokenRequestContext or equivalent for your language via the Claims property
Ensure that any local token caching is bypassed in the policy when the claims are populated from a CAE challenge
Authorize the original request with the new token and send it through the pipeline again
Return any response to the caller (don't try to handle a second challenge)

Example PR: https://github.com/Azure/azure-sdk-for-go/pull/23414

stretch: october release cycle, pending access to test resources this week

there is a version of impl in azure-core-management
https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/core/azure-core-management/src/main/java/com/azure/core/management/http/policy/ArmChallengeAuthenticationPolicy.java


Pin version only up to minor changes

Apparenty APT, as the Alpine repository, only stores up to the minor changes and it discards the bugfixes and build versions from its cache.
Due to that, we're pinning up until the minor change in the Dockerfile, and we will let latest build and bugfix increments to be downloaded on the container.
Refers to: https://github.com/Pyrrha-Platform/Pyrrha-Deployment-Configurations/issues/13

@upkarlidder since I don't have access to the org, I cannot add you as reviewer.
Please check.

Works for me locally and passes the docker build test. Thank you @dacamposol  🎉
@FYI @albertum1


feat(spark): Support Spark 3.5

What changes were proposed in this pull request?

Add maven profile spark3.5
Enable tests for Spark 3.5 in CI

Why are the changes needed?
https://github.com/apache/incubator-uniffle/issues/1083
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Pass Test

Codecov Report

Merging #1223 (d170a76) into master (5ac76e8) will increase coverage by 1.19%.
Report is 30 commits behind head on master.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #1223      +/-   ##
============================================
+ Coverage     53.69%   54.88%   +1.19%
- Complexity     2575     2604      +29
============================================
  Files           391      372      -19
  Lines         22320    20147    -2173
  Branches       1867     1889      +22
============================================
- Hits          11984    11058     -926
+ Misses         9627     8450    -1177
+ Partials        709      639      -70

see 64 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


PP-4890: Add logo for Somerset West and Taunton Council

WHAT
Add an SVG version of Taunton Deane Borough Council & West Somerset Council's logo

We also need to add a custom stylesheet to go with this SVG. Will contact them to see what this should look like.


Setup Initial CI and CD

Travisfile (CI)
You'll see that I activated caching in our Travisfile compared to minicap where we had it set to false.
Setting cache npm: true caches $HOME/.npm, saving on build time.
Setting the pre-commit cache to be stored also makes it so that pre-commit run -a runs in 2 seconds instead of 60 like in minicap, since the python environment does not need to be recreated at every build.
DockerHub (CI)
We currently have two DockerHub repos for the frontend and backend images of the application:

ritchellegmp/litterrally-frontend
ritchellegmp/litterrally-backend

DockerHub AutoBuilds trigger a build when there is a merge/push to a branch and/or tag, according to defined AutoBuild rules.
There is currently one AutoBuild build rule for each image repository, and that is to build the master branch with the latest tag. As we go along with the semester, we'll have more AutoBuild rules once we have a more defined concept as to how we want things to be tagged and built.
Kubernetes Manifests (CD)
You'll see that k8s/kustomize/env/dev and k8s/kustomize/env/prod paths contain the same kubernetes manifests, just with different names. It is possible that we will move from kustomize to helm for controlling manifests if the only difference between dev and prod are names of the manifests. For now, we will stick with kustomize since it has better handling of bigger discrepancies between environments as a way of future-proofing.
The files in k8s/argocd-apps enables ArgoCD to watch over our live applications, staying true to GitOps.
 It removes the .gitkeep files which aren't used anymore

@TheGreatMarkus
Thanks for catching those small inconsistencies!
Added a troubleshooting section to the README to make people aware of the possible issues with caching npm on Travis.
Feel free to push the fix to make the npm run lint pass in Travis!

Merging with my admin powers!


Not possible to launch a new game vs a bot after another game

In the image below, there is no "new game" button or at least I couldn't find a way of doing it, without going manually to reminisce.me. A button would be nice,
Thanks !

This is a UX issue related to #249, I will consolidate those there. Thank you for the feedback.


Template Only Or HBS Strategy

Why
Mainly to allow splattributes and modifiers, maybe when embroider lands we can get tree shaking working for unused svgs!
TL;DR
For every svg => 1 template only hbs
 <Svg @name="svg/some/nested/svg />
 <Svg::Some::Nested::Svg  style="background: red;" {{on "mouseenter" this.something}} />

Updates dependencies

In order to create template only components I decided to upgrade the deps.

Hbs strategy

For every inline svg found, create an hbs file with this template for now

const SVGAsHSBTemplate = ({ attrs, content }) => `
  <svg ${formatAttrs(attrs)} ...attributes>
    {{#if @title}}
      <title id={{@titleId}}> {{@title}} </title>
    {{/if}}
    ${content}
  </svg>
`;

By default, it adds a namespace or prefix => "Svg"
It respects the folder structure, so for public/images/my/image/hola.svg ---> <Svg::Images::My::Image::Hola />
You can also provide another idGen function to generate files name if needed.

Adds <Svg /> component to ergonomically call stuff like <Svg @name="svg/images/my/image/hola" />

Updates viewer and copypasta

There a few restrictions with naming of the assets, since components name rules.
. will be removed
_ replaced by dashes
/ for <Svg @name="svg/car/blue" /> invocation, nothing happens, for component invocation, use :: <Svg::Car::Blue />
toLowerCase , so for myBlueCar === mybluecar `<Svg @name="svg/mybluecar" />
Updates
After Ember Contributors Workshop, @ef4 helped me out to import these generated template only components on demand with the native import, so now they kind of work like normal images, they are not included in the final bundle, instead they are built as separate js files and placed in /public/ember-svg-jar/components/svg by default, and the new invocation would be
<Svg @name="svg/my-icon" />

This component will handle the dynamic native import for you and all that internally.
I also updated the copypasta to generate the previously mentioned snipet, we might have some issues regarding fingerprinting, for now, I included ember-cli-resolve-asset, to manage handling fingerprinting

How about a strategy like https://github.com/martndemus/ember-font-awesome/tree/master/lib looks like build time components that get compiled out, could still have modifiers and splattributes

@knownasilya woah, that's a super nice approach, totally missed it, a few top of the mind questions

Does that approach support all sort of dynamic edge cases? for example {{fa-icon this.model.icon}}? I think for that one you must use some sort of whitelist
I'm not sure how splattribues could work with an AST approach, need to dig more into this to have a real sense of how this could be done statically

//wrapper.hbs
<FaIcon<EMAIL_ADDRESS>...attributes/>
<Wrapper @model={{this.model}} arialabel={{this.model.name}}  />
Here's a sample of the component I'll be using
eui-icon

How will this “shake” out with embroider - will unused SVG files/templates be tree-shaken?

How will this “shake” out with embroider - will unused SVG files/templates be tree-shaken?

I'm not entirely sure yet TBH, haven't dig into embroider yet, but as long as the full component invocation is used and staticComponents is enabled perhaps it works automatically 🙏? But if you will use the dynamic name approach I.e. <Svg @name="svg/some/svg" /> we probably will have to hint embroider with a static whitelist in ember-cli-build
Honestly the best approach I can think of is if we can chunk every component and let the Svg component dynamically import all of these chunks in runtime using ember-auto-import, but I think ember-auto-import, dynamic imports don't work with dynamic strings, yet...
This is what React svgr does with
https://react-svgr.com/

Another thing to take into account regarding bundle size and shaking is that the current default inline mode does ship with the full json with all the necessary data to rebuild them in runtime with the helper so in terms of size I think(?) It's kind of the same, but now you can use the power of splattributes, modifiers and accessibility

@betocantu93 this is great! Will this strategy work in addon?

@SergeAstapov oh yep, that's exactly why I did it, I'm working on this UI lib ember-eui (its a React port) and I wanted a 1:1 API with their EuiIcon lol, and its really interesting how they handle it here EuiIcon React version, anyway, AFAIK, ember-svg-jar only needs paths to where to look for svgs, so the host app must declare them, you can see an example in the dummy app of ember-eui or ember-polaris
You just gotta make sure you give the right ergonomics for the users of your addon I guess

To simplify reviewing this, would you be amenable to breaking into two pieces?

Upgrade
The new feature

To simplify reviewing this, would you be amenable to breaking into two pieces?

Upgrade
The new feature

Yess, Will do asap @jherdman ! Thanks

@jherdman  I thiiink I got the PR's! :) it was actually quite a ride to get the tests green

closed in favor of #185 and #186


Does not download sources for packages via gopkg.in

When attempting to import https://github.com/alecthomas/kingpin via its gopkg.in URL "gopkg.in/alecthomas/kingpin.v1", I only see the json file updated, and no sources are downloaded. However, updating the import path to "github.com/alecthomas/kingpin" does the right thing.
What am I missing? Are non-github import paths not supported?
Some details:

Im running godep save ./...
I'm running it in a dir that has no go source files but has subprojects (one of which is attempting to import the kingpin package)

godep does not upload or download source files, it manages package locally vendored copies from those installed into your $GOPATH.


AccountStats plugin values don't match Polo values

Tagging @rnevet since he's the author of said plugin.
Looking at this page, https://poloniex.com/tradeHistory#analysis/BTC/-/lending, says "Total with Fees: X.XXXXX BTC" But looking at the plugin output, I see this:
`2017-07-23 21:03:32 Earnings: | ---------- | 0.0000678 BTC Yesterday | Y.YYYYYY BTC in total |
Shouldn't X.XXXX == Y.YYYY?
Additionally, when using this url, https://poloniex.com/tradeHistory#analysis/BTC/-/lending/1500854400/1500940799 to look at "from yesterday", the 'total with fees' number is also different from what the bot says. Looks like "yesterday" for Polo means "today -1 day, from midnight to 11:59:59PM"

If the bot is "more correct" or "more accurate", please describe/explain why that is over Polo's calculations. Thanks!

@utdrmac
First I think there is a bug in the Yesterday calculation, I haven't found the time to find it. It seems to return the right value after the first run but the following days seem to me like lower then expected.
Secondly there will be a difference as Poloniex calculates with fees and the bot tries to calculate netto earned. i.e. the bot value should be Polo Value - 15% fee.

Ack on 'yesterday' bug. The difference is a lot more than 15%.

I looked at this today. Such odd logic that Polo API returns most-recent trade activity first but returns all other history latest activity first. The calculations appear correct, as you said, on first run. Will wait until tomorrow/more activity to see if I was wrong all along.

@rnevet
https://pastebin.com/eCDqzWaE
I'm finding that the API is not returning all data when given a range. Even for "today", I'm getting back an empty JSON array but when I look at the report, I can see 10+.
The only time I'm getting back all data for a specific date is when I query for all trade history. If I use start time of 0 or start time >= my first lend, I get everything.
But if I set a 'start' that is just 1 day after my first lend, I do not get all data.

Closing in favor of #521


Create Brew formula

See:
https://docs.brew.sh/Formula-Cookbook

Tap created:
https://github.com/loganstellway/homebrew-self-signed-ssl
Just running into local issue:
https://stackoverflow.com/questions/54579315/brew-upgrade-package-package-cannot-be-built-with-any-available-compiler