Fix Rubocop TODOs

Codecov Report

Merging #146 into master will decrease coverage by 0.03%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #146      +/-   ##
==========================================
- Coverage   86.35%   86.32%   -0.04%
==========================================
  Files         197      197
  Lines       22249    22153      -96
==========================================
- Hits        19214    19123      -91
+ Misses       3035     3030       -5

Impacted Files
Coverage Δ

src/diceBot/Alsetto.rb
100.00% <100.00%> (ø)

src/diceBot/Amadeus.rb
100.00% <100.00%> (ø)

src/diceBot/Amadeus_Korean.rb
100.00% <100.00%> (ø)

src/diceBot/BattleTech.rb
98.81% <100.00%> (ø)

src/diceBot/BlindMythos.rb
100.00% <100.00%> (ø)

src/diceBot/BloodCrusade.rb
96.82% <100.00%> (ø)

src/diceBot/BloodMoon.rb
94.78% <100.00%> (ø)

src/diceBot/CardRanker.rb
100.00% <100.00%> (ø)

src/diceBot/ColossalHunter.rb
99.05% <100.00%> (ø)

src/diceBot/DarkDaysDrive.rb
96.66% <100.00%> (ø)

... and 61 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 40700fa...da9886e. Read the comment docs.


Inspector does not stringify Map() and Set() objects

Description
If the context of a machine uses new Map() / new Set(), both get stringified as {}
Expected Result
Map() should be stringified as an object, and Set as an array

Workaround
function betterToJSON<T extends Record<string, any>>(obj: T): T {
    if (process.env.NODE_ENV === 'development' && typeof obj === 'object') {
        ;(obj as any)['toJSON'] = function (this: Record<string, unknown>) {
            const keys = Object.keys(this)
            const res = { ...this }
            for (let key of keys) {
                const value = this[key]
                if (value instanceof Set) {
                    res[key] = [...value]
                }
                if (value instanceof Map) {
                    res[key] = Object.fromEntries([...value])
                }
            }
            return res
        }
    }
    return obj
}

const machine = createMachine({
  context: betterToJSON({
    normal: 'field',
    set: new Set([1, 2, 3]),
    map: new Map([['a', 1], ['b', 2]])
  })
})

This is also the story when using redux / redux dev tools etc., every step of the way you get punished for using modern javascript data structures 😆
Would be beyond awesome if using Map and Set with xstate would "just work".

This is also the story when using redux / redux dev tools etc., every step of the way you get punished for using modern javascript data structures 😆
Would be beyond awesome if using Map and Set with xstate would "just work".

It does "just work" in XState, just not with the inspector 😓

I guess one of the the potential pain points is persistence, but xstate leaves that to the user so it's up to you to use the right serialisation approach (e.g. orjson).

Just ran into this, was pretty confusing until I started using the console.

inspect(...) can take in a serializer:
inspect({
  iframe: false,
  devTools,
  serialize: (_key, value) => {
    if (value instanceof Map) {
      // convert map to object
    }

    return value;
  }
});


Customise Classic context (Right-click) menu of Windows Explorer

Description of the new feature / enhancement
Request option to customise right-click menu in Windows Explorer, including options to remove unused commands and add new commands.
Scenario when this would be used?
If you use the context menu a lot, then you will most likely wish you could remove all the unused commands and add new commands such as open in NotePad or VBCode for unknown file extensions.  I would rather have this customise option than viewing .svg or .pdf files in Thumbnail.
Supporting information
No response

Thanks for your message. This is a Duplicate of an other issue. Additional comments may be added there. /dup #33


kubeconfig without a current-context crashes telepresence.

What were you trying to do?
telepresence -m inject-tcp -n test --run-shell
What did you expect to happen?
Working shell
What happened instead?
Traceback.
I am using a Tectonic cluster and the kubeconfig doesn't include a cluster-context entry in the yaml. By adding the following to the bottom of my kubeconfig this bug went away.
  name: local
current-context: local

Automatically included information
Command line: ['/usr/local/bin/telepresence', '-m', 'inject-tcp', '-n', 'test', '--run-shell']
Version: 0.49
Python version: 3.6.1 (default, Apr  7 2017, 18:53:53)  [GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-8<IP_ADDRESS>)]
kubectl version: Client Version: v1.7.0-alpha.4
oc version: (error: [Errno 2] No such file or directory: 'oc')
OS: Darwin Brandons-MacBook-Pro.local 16.6.0 Darwin Kernel Version 16.6.0: Fri Apr 14 16:21:16 PDT 2017; root:xnu-3789.60.24~6/RELEASE_X86_64 x86_64
Traceback:
Traceback (most recent call last):
  File "/usr/local/bin/telepresence", line 95, in call_f
    return f(*args, **kwargs)
  File "/usr/local/bin/telepresence", line 1452, in go
    runner, remote_info, args, env, subprocesses, socks_port, ssh_port
  File "/usr/local/bin/telepresence", line 1210, in run_local_command
    runner.kubectl_cmd, "config", "current-context"
  File "/usr/local/bin/telepresence", line 198, in get_output
    **kwargs).strip(), "utf-8"
  File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py", line 336, in check_output
    **kwargs).stdout
  File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py", line 418, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['kubectl', 'config', 'current-context']' returned non-zero exit status 1.

Logs:
rictHostKeyChecking=no', '-oUserKnownHostsFile=/dev/null', 'telepresence@localhost', '/bin/true'],)... Running: (['ssh', '-q', '-p', '52928', '-oStrictHostKeyChecking=no', '-oUserKnownHostsFile=/dev/null', 'telepresence@localhost', '/bin/true'],)... Forwarding from <IP_ADDRESS>:52928 -> 8022
Forwarding from [::1]:52928 -> 8022
Running: (['ssh', '-q', '-p', '52928', '-oStrictHostKeyChecking=no', '-oUserKnownHostsFile=/dev/null', 'telepresence@localhost', '/bin/true'],)... Handling connection for 52928
 ran!
Running: (['ssh', '-q', '-oStrictHostKeyChecking=no', '-oUserKnownHostsFile=/dev/null', '-oServerAliveInterval=1', '-oServerAliveCountMax=10', '-N', '-p', '52928', 'telepresence@localhost', '-L', '<IP_ADDRESS>:52942:<IP_ADDRESS>:9050'],)...Running: (['kubectl', '--context', '', '--namespace', 'default', 'exec', 'test-3321722284-0h828', '--container', 'test', 'env'],)...Handling connection for 52928
 ran!
Running: (['kubectl', 'config', 'current-context'],)...error: current-context is not set

Thanks for the bug report! I'll try to get this fixed.

@philips I just released v0.50 with fixes for your two bugs. Let me know if you have any other problems!
What's your use case for Telepresence, by the way?

Just trying it out, neat project, good work!


Simplify callback handling in handle_events_of

Proposing a way to simplify the callback arg handling.

Yes, I'll remove the use_callback arg.
Since it's a private method, probably it's not needed the additional handle_events_of_with_callback method.


Theme: Tree hierarchy in Virtualmin site dropdown

It will be nice and helpful to see tree hierarchy in virtualmin server list dropdown. Flat hierarchy is little confusing.

You mean on the navigation menu? Top right? Why select is not good?

I mean this dropdown.

In old theme this dropdown respect hierarchy of servers, subserves and aliases. Now in flat structure is very confusing what belongs where. It was achieved with spaces before server name if I remember correctly.
Quick search is excellent but some sort of visualization of hierarchy might speedup my workflow. In example if I am going to find some sort of sub-server I would like to be informed about his master server somehow.
It is more clear now?

A bit more, clear. Thanks. But as far as I remember, there is padding on the left for subservers already? Could you please post a screenshot of how it looks in the old theme and how you would like it to be?

Yes you remember correctly. But it is weird drop down is not on my system anymore on old theme. Reason why I am interested in this is that I have 160+ domains in my virtualmin stack.
If I am thinking about improvement that indication is very tricky because filtering and spaces are not good  together.
One (not only) solution might be to indicate position with spaces (icon?) and when filter is applied maintain server hierarchy i.e.: Given server list

Server A

Subserver AA

Subserver AB

Server B

When I start filter for example Subserver AB whole structure remains in filter:

Server A

Subserver AA

Subserver AB

Any other ideas?

I'll see what I can do in few hours. It might be difficult to implement.. But will see.

👍 Thanks for considering this. As I said it is tricky but it might be worth it. I am surprised that nobody have similar problem.

Take a look at the screenshot. It has padding for sub domains, like I mentioned.

At least it's there at upcoming 18.00. Is this good enough?

It is super, please note, that there is also alias (for server also sub-server). Main server view is excellent (red one).

Ok, what exactly is missing?

I mean there is search? What else would you want?
A
abc.com
abc1.com
abc2.com
B
bcd.com
bcd1.com
bcd2.com
This kind of stuff??

Sorry for late response.
My note was about indentation based on real position in tree structure.
As far I know you can do following server types in Virtualmin:

Server (root, in virtualmin referenced as Top server)
Alias to Server (two indents for root)
Sub-Server (one indent for root, in virtualmin referenced as sub-server)
Alias of sub-server (one indent for sub-server, two indents for Server)
Alias of sub-server with own mail (for me is same as 4)

A.com (Top server)
-- Alias AA.com (for top-server A.com)
- Sub-server AB.com
-- Alias ABB.com (for subserver AB.com)
B.com (Top server)
-- Alias BA.com (for  top-server B.com)

It will be implemented on 18.20

Version 18.20 is out, please upgrade.


Add post-commit hook to clear GitHub cache on releases

When pushing a new release, the download links can take up to an hour to update.

Hook to refresh links was added to lbry.io/xxxxxx (See internal PR documetnation)

lbry.io is open source so it's not really a secret :)
@lyoshenka said he wasn't concerned with abuse of the ability to clear the cache


Tip for using it with Apollo 1.x

Just leaving this hear in case someone has the same issue as me getting it to work with Apollo 1.x:
Copy this file to somewhere in your project: https://github.com/cpunion/react-native-actioncable/blob/master/index.js
And then after global.document add the following line:
global.__APOLLO_DEVTOOLS_GLOBAL_HOOK__ = ''
if(Platform.OS == 'ios' || Platform.OS == 'android'){
  global.document = {
    addEventListener () {},
    removeEventListener () {}
  }
  global.__APOLLO_DEVTOOLS_GLOBAL_HOOK__ = ''
}

The problem is that once there is a document, apollo checks for devtools meant for the browser and checks if global.__APOLLO_DEVTOOLS_GLOBAL_HOOK__ is undefined, then tries to give you some suggestions what devtools to use, but fails because there is no navigator.userAgent. So by just setting it to an empty string you skip the suggestion.

Very useful. Thanks.

This is a problem in Apollo 2 as well.


[BTS-1511] Fix AqlValues with 7-byte integers

Scope & Purpose
AqlValues save and access integers of differents sizes differently. Those that fit into up to 48bits are saved as a native 64bit integer (either signed or unsigned), beside the originating slice. There's not enough space for that for larger integers, so the slice is saved so that the integer is aligned, and this is then interpreted directly as an integer (plus possible little endian to host endianness conversion). This affects integers of 7 or 8 bytes in size.
If the originating slice contained a 7 byte integer, the 8th byte was not initialized.
These optimizations (including this bug) were introduced in https://github.com/arangodb/arangodb/pull/13569.
Note that the final byte cannot simply be initialized with zero, but must be sign-extended - i.e. must be 0x00 for nonnegative integers, but 0xff for negative.

[X] :hankey: Bugfix

Checklist

[X] Tests

[X] Regression tests
[X] C++ Unit tests

[X] :book: CHANGELOG entry made TODO
[X] Backports

[ ] Backport for 3.11: TODO
[ ] Backport for 3.10: TODO
[ ] Backport for 3.9: TODO

Related Information

Jira ticket: https://arangodb.atlassian.net/browse/BTS-1511
Introduced in: https://github.com/arangodb/arangodb/pull/13569
Related bugfix: https://github.com/arangodb/arangodb/pull/13579

D:\win02-colo2\oskar\work\ArangoDB\arangod\Aql\AqlValue.cpp(1694,1): error C2220: the following warning is treated as an error [D:\win02-colo2\oskar\work\ArangoDB\build\arangod\Aql\arango_aql.vcxproj]
D:\win02-colo2\oskar\work\ArangoDB\arangod\Aql\AqlValue.cpp(1694,1): warning C4018: '>': signed/unsigned mismatch [D:\win02-colo2\oskar\work\ArangoDB\build\arangod\Aql\arango_aql.vcxproj]


Fix Quote Tweet display bugs

Problem

Twitter have updated their display guidelines to allow displaying Tweet media and Quote tweets at the same time.
Twitter Kit has a bug where the border outline for the Quote Tweet can still be hairline visible when there is no Quote Tweet.

Solution

Remove restriction on rendering Quote when media is present.
Explicitly render clear borders on attachment region when Quote is missing.

Result

No visual glitches.
Quotes and media can be rendered.

Not addressed

Delegate handling for media handling assumes a single Tweet. There might be more work to do to enable interaction with quoted video + a reaction GIF, for example.

Apologies — I accidentally opened this pull request on your branch rather than mine. (By all means take it though!)


chore: update docs deps

Description
This updates the docs to use docusarus 3.6, typedoc 0.27 and other minor updates.
From Docusarus 3.6 we can now use a faster flag which improves build time. This has been enabled.
Testing
Rebuilding and re-running the docs showed no errors and clicking through the docs page appeared the same as previously.

LGTM!


Publish Pipeline Artifacts erroneously reporting "max quantity exceeded" and failing

Required Information
Question, Bug, or Feature?
Type: Bug, I think
Enter Task Name: Publish Pipeline Artifacts version 1.2.3
https://github.com/microsoft/azure-pipelines-tasks/blob/master/Tasks/PublishPipelineArtifactV1/task.json
Environment

Server - Azure Pipelines

If using Azure Pipelines, provide the account name, team project name, build definition name/build number:

Debug run: https://dev.azure.com/powershell/PowerShellEditorServices/_build/results?buildId=83241&view=results
Task failure: https://dev.azure.com/powershell/PowerShellEditorServices/_build/results?buildId=83241&view=logs&j=4a71b71a-2122-57c3-951b-d39ad969ab87&t=3a30d8b6-df5a-5bab-f4d7-89aa82eafb18&l=137

Agent - Hosted or Private:

If using Hosted agent, provide agent queue name:

Pool: Azure Pipelines
Image: vs2017-win2016
Agent: Azure Pipelines 4
Issue Description
My CI is failing because the publish task says I'm hitting some quota:

This is the only pipeline in this project. There are no feeds, no packages are published. I am only publishing pipeline artifacts. Furthermore, I deleted every other run of the pipeline to clear out any used storage, yet over 4 GB is still reported in total as used, and the task is still failing, but note that 0 and -- are reported in the breakdown:

The linked documentation from the error plainly states:

You don't get billed for the storage of Pipeline Artifacts, Build Artifacts, and Pipeline Caching.
Since I am only using pipeline artifacts (and was previously only using build artifacts, but those runs are since deleted over 12 hours ago), this shouldn't be an issue whatsoever.

Perhaps it's complaining about not having payment setup, but this is the free dev.azure.com instance for public CI builds, and I've never before yesterday had an issue not having a payment account attached (including when uploading build and pipeline artifacts).

Task logs
DebugLogOfFailingRun.txt.zip
Troubleshooting
Checkout how to troubleshoot failures and collect debug logs: https://docs.microsoft.com/en-us/vsts/build-release/actions/troubleshooting
Error logs
##[debug]Processed: ##vso[telemetry.publish area=AzurePipelinesAgent;feature=PipelineArtifact]{"FileCount":"1","PlanId":"c830968e-dbd0-4ce7-9727-47374ecfde0f","JobId":"4a71b71a-2122-57c3-951b-d39ad969ab87","TaskInstanceId":"3a30d8b6-df5a-5bab-f4d7-89aa82eafb18","ActionDurationMs":"2856","ActionName":"PipelineArtifact.UploadAsync","ActionResult":"Success","AttemptNumber":"1","ItemCount":"0","Level":"ThirdParty","CreatedUtcNow":"2021-07-27T19:29:04.3004044Z","SentUtcNow":"2021-07-27T19:29:07.1593708Z","BaseAddress":"https://vsblobprodcus3.vsblob.visualstudio.com/A8fe51ba5-a538-48e0-9fed-5e27d4a56df4/","X_TFS_Session":"94b130d3-c26d-45da-ba32-e6cf9be74dbc","DeploymentEnvironment":"PRODUCTION","DeploymentEnvironmentIsProduction":"True","VSOAccount":"vsblobprodcus3","OSName":"Linux","OSVersion":"2021","FrameworkDescription":".NET Core ","ProcessName":"Agent.PluginHost","DotNetReleaseDword":"-1","Version":"18.189.31425.0","ExceptionCount":"0"}
Verbose, ApplicationInsightsTelemetrySender sent PipelineArtifact.UploadAsync telemetry
Verbose, ApplicationInsightsTelemetrySender sent DedupUpload.UploadAsync telemetry
Verbose, [] Try 1/3, non-retryable exception caught. Throwing. Details:
No LastRequestResponse on exception ArtifactBillingException: Artifact cannot be uploaded because max quantity has been exceeded or the payment instrument is invalid. https://aka.ms/artbilling for details. Microsoft.VisualStudio.Services.Content.Common.ArtifactBillingException: Artifact cannot be uploaded because max quantity has been exceeded or the payment instrument is invalid.
   at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.HandleResponseAsync(HttpResponseMessage response, CancellationToken cancellationToken)
   at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.SendAsync(HttpRequestMessage message, HttpCompletionOption completionOption, Object userState, CancellationToken cancellationToken)
   at Microsoft.TeamFoundation.Build.WebApi.BuildHttpClientCompatBase.SendAsync[T](HttpRequestMessage message, Object userState, CancellationToken cancellationToken, Func`3 processResponse)
   at Microsoft.TeamFoundation.Build.WebApi.BuildHttpClientCompatBase.SendAsync[T](HttpMethod method, IEnumerable`1 additionalHeaders, Guid locationId, Object routeValues, ApiResourceVersion version, HttpContent content, IEnumerable`1 queryParameters, Object userState, CancellationToken cancellationToken, Func`3 processResponse)
   at Agent.Plugins.BuildServer.AssociateArtifactAsync(Guid projectId, Int32 pipelineId, String name, String jobId, String type, String data, Dictionary`2 propertiesDictionary, CancellationToken cancellationToken)
   at Agent.Plugins.PipelineArtifactServer.<>c__DisplayClass2_1.<<UploadAsync>b__5>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.VisualStudio.Services.Content.Common.AsyncHttpRetryHelper`1.InvokeAsync(CancellationToken cancellationToken)
Verbose, ApplicationInsightsTelemetrySender waiting for 0 of 2 TrackEvent operations to complete...
Verbose, ApplicationInsightsTelemetrySender operations completed in 0 ms
Information, ApplicationInsightsTelemetrySender correlated 2 events with X-TFS-Session 94b130d3-c26d-45da-ba32-e6cf9be74dbc
Verbose, Stopped ITelemetrySender BlobStoreApplicationInsightsTelemetrySender.
##[error]Artifact cannot be uploaded because max quantity has been exceeded or the payment instrument is invalid. https://aka.ms/artbilling for details.

Uhh in the debug logs my friend just noticed that it's the auto-inserted telemetry upload that's failing!

Resolved internally (the FAQ answer does not apply to Microsoft owned projects and so was misleading).


neon-cli/neon-desktop: powershell integration doesn't support single-file apps

neon-cli and neon-desktop are currently being published as single-file ready-to-run and unfortunately Powershell doesn't support being published as single-file:
https://github.com/PowerShell/PowerShell/issues/18419
More info:
https://github.com/PowerShell/PowerShell/issues/13540
https://github.com/PowerShell/PowerShell/issues/13540#issuecomment-1111842418

The Hyper-V PowerShell code is working now with: IncludeAllContentForSelfExtract=true
...and I fixed the trimming problem by constructing the hosting manager instances within each manager's Load() method within code that should never be called.


Add global-job-replicas label/annotation

/kind feature
Fixes #676

/ok-to-test
@GiuseppeTT
can you fix the EasyCLA? :)

/ok-to-test @GiuseppeTT can you fix the EasyCLA? :)

Done : )

/lgtm
@GiuseppeTT is this going to be used to set TPU_NUM_SLICES (or similar) env var?

@GiuseppeTT is this going to be used to set TPU_NUM_SLICES (or similar) env var?

Yes! It is going to be used to set the env variable MEGASCALE_NUM_SLICES.

/approve
/lgtm


How to decrypt user name

User name in session.java in method loginRequest is retrieved as<PHONE_NUMBER>922546208.
But my actual user name in conf file is parity.
How do we retrieve use name

Hi @anujnetwork! Internally, the trading system packs the ASCII string as long. You can either unpack it later using e.g. ASCII#unpackLong() or grab the byte array in loginRequest before it gets packed.


Microk8s failed to enable kubeflow on GCP Ubuntu 20.04 VM

I launched a VM instance in GCP using ubuntu 20.04 with 8vCPU, 32G memory, 150G disk space.
I followed this web link to install kubeflow using microk8s: https://www.kubeflow.org/docs/started/workstation/getting-started-multipass/
The process failed with following msgs:

Inspected tarball file is attached here:
inspection-report-20201021_202733.tar.gz
Also provide details on how to access kubeflow on GCP instance if succeed.
Thanks

@brightlee6 could you please try the 1.19/candidate branch?
sudo snap install microk8s --classic --channel=1.19/candidate

@knkski might have a better understanding what might be wrong.

I have the same problem.This is due to this line in
if bundle_type == 'full':
run(
'microk8s-kubectl.wrapper',
'delete',
'mutatingwebhookconfigurations/katib-mutating-webhook-config',
'validatingwebhookconfigurations/katib-validating-webhook-config',
)
in enable.kubeflow.sh
It seems this command returns errors because resource that need to be deleted are not available.

I remove the lines above created a temp snap with snapcraft and everything worked fine.


V4 images on DockerHub

Edit by: @derrickmehaffy
We have delayed docker image building until further notice due to higher priority tasks
Currently we are promoting/recommending the following community article: https://blog.dehlin.dev/docker-with-strapi-v4
Of if you are wanting to use docker with Heroku this one: https://blog.dehlin.dev/strapi-v4-with-docker-and-heroku
(Thank you @Eventyret)

When will the images be officially pushed to V4 on DockerHub?

I was a bit confused when I followed the Docker installation on documentation page for Strapi v4 and got v3.6.8 in the end. Docs should point out that it's not yet an v4 image, otherwise people waste their time ;)

Same issue here.

Same here.

Waiting for this to migrate

same issue here

same here

Same here

Same here

Please use the 👍 reaction on the initial message to share your interest. Posting the same message over and over creates noise by notifying everyone following this thread for no added value.

Same here
There is a workaround though to get it running relatively easy in the meanwhile. Create a local copy of the Dockerfile and entrypoint script. Then adjust this line in the Dockerfile to reference a different package: RUN yarn global add @strapi/strapi@${STRAPI_VERSION}.
Here is the updated Dockerfile

Nope. In the background it tries to install the needed version from the yarn repository, but the latest version of strapi in yarn is:
yarn info strapi
...
    '3.6.8': '2021-08-24T09:01:20.840Z'

Nope. In the background it tries to install the needed version from the yarn repository, but the latest version of strapi in yarn is:
yarn info strapi
...
    '3.6.8': '2021-08-24T09:01:20.840Z'

They changed the npm package name from strapi to @strapi/strapi

Is there any way to upgrade current Strapi v3 with docker to v4?

Here's my 2 cents
Docker-compose.yml
version: "3"

services:
  strapi:
    # image: strapi/strapi
    build:
      context: .
      args:
        BASE_VERSION: latest
        STRAPI_VERSION: 4.0.0
    container_name: strapi
    restart: unless-stopped
    env_file: .env
    environment:
      DATABASE_PORT_PROD: ${DATABASE_PORT_PROD}
      DATABASE_USERNAME_PROD: ${DATABASE_USERNAME_PROD}
      DATABASE_PASSWORD_PROD: ${DATABASE_PASSWORD_PROD}
      DATABASE_HOST_PROD: ${DATABASE_HOST_PROD}
      DATABASE_NAME_PROD: ${DATABASE_NAME_PROD}
      NODE_ENV: ${NODE_ENV}
      HOST: ${HOST}
      PORT: ${PORT}
    volumes:
      - .:/srv/app
    ports:
      - "1337:1337"

Dockerfile
ARG BASE_VERSION
FROM strapi/base:${BASE_VERSION}

ARG STRAPI_VERSION
RUN yarn global add @strapi/strapi@${STRAPI_VERSION}

RUN mkdir /srv/app && chown 1000:1000 -R /srv/app

WORKDIR /srv/app

VOLUME /srv/app

COPY docker-entrypoint.sh /usr/local/bin/
RUN chmod 777 /usr/local/bin/docker-entrypoint.sh
ENTRYPOINT ["docker-entrypoint.sh"]

CMD ["strapi", "develop"]

and finally the docker-entrypoint.sh is exactly the same as in this repo.

Wouldn't it better to just have a Github Action in the main repo that creates and publishes a new Docker image for every version that gets released?
An extra repo looks like manual maintenance overhead at the cost of outdated Docker images

Is anyone even maintaining this?

Hey all.
I'm using Strapi hosted on AWS Fargate in production at a startup I CTO for, so the lack of maintenance of this repo has been somewhat frustrating since I want to upgrade to Strapi 4. Buoyed by @benjaminpreiss's comment above, I decided to fork the repo and have a go at generating my own base images:
https://github.com/grafaio/strapi-docker
This may be useful to others. My changes are:

I've limited the base box build to Node 16 only. If you want more, update the constants file.
I duplicated the change @benjaminpreiss recommended to ensure the Strapi 4 npm package is installed as latest.
I'm building on an M1 Mac and had some issues during build with sharp requiring a higher version of libvips, so I ensured both the Debian and Alpine builds install a higher version in the base box.
I'm using Yarn 3 locally, so I updated to include a .yarnrc that forces use of node_modules. I also updated the .gitignore to include new stuff generated by yarn.

At this point, I was able to build both the Debian and Alpine base boxes locally, and the subsequent Strapi derivatives using the somewhat old school build script as referenced at the bottom of the README:
yarn install
./bin/build.js

From here I've been able to docker run a new project using MySQL. One note: I had an issue here when I initially attempted to create my project using SQLite. There's an issue with the Node SQLite driver which you'll need to update once the docker run command has created your files but fails on building the project.
Hopefully my changes help someone else who finds this issue. If the maintainers want me to open a PR, just let me know.

I have made an updated version here egahmad/strapi-docker:latest
It's working in my end, the update was by this fork https://github.com/egahmad/strapi-docker

If you want to install the graphql plugin, you can encounter a compatibility error.
yarn run v1.22.5
$ strapi install graphql
Command failed with exit code 1: yarn add<EMAIL_ADDRESS>error<EMAIL_ADDRESS>The engine "node" is incompatible with this module. Expected version "^12.22.0 || ^14.17.0 || >= 16.0.0". Got "14.16.0"
error Found incompatible module.

You must update the Dockerfile provided by @ziudeso (see comment) to use node 14.17.0 (and not 14.16.0) as base image.

Please note I delete the RUN chmod 777 /usr/local/bin/docker-entrypoint.sh line because I set execution permission to local file.

ARG NODE_VERSION
FROM node:${NODE_VERSION} AS base
EXPOSE 1337

ARG BASE_VERSION
#FROM strapi/base:${BASE_VERSION}
FROM base

ARG STRAPI_VERSION
RUN yarn global add @strapi/strapi@${STRAPI_VERSION}

RUN mkdir /srv/app && chown 1000:1000 -R /srv/app

WORKDIR /srv/app

VOLUME /srv/app

COPY docker-entrypoint.sh /usr/local/bin/
ENTRYPOINT ["docker-entrypoint.sh"]

CMD ["strapi", "develop"]

You can now add the NODE_VERSION in your docker compose file and build.
...
  build:
    docker/issues/321
      context: ./services/strapi
      args:
        NODE_VERSION: 14.17.0
        BASE_VERSION: latest
        STRAPI_VERSION: 4.0.2
...

You should just be able to pull the repo and build the images on your own and override the versions without using docker compose, etc. There is a single change needed to be made into the strapi Dockerfile now, though, given the npm package is namespaced.
# ... stuff
ARG STRAPI_VERSION
# this needs to change to @strapi/strapi rather than just strapi
RUN yarn global add @strapi/strapi@${STRAPI_VERSION}
# ... more stuff

$ cd base
$ docker build --build-arg NODE_VERSION=lts-bullseye . -t strapi/base:4.0.3
$ cd ../strapi
$ docker build --build-arg BASE_VERSION=4.0.3 --build-arg STRAPI_VERSION=4.0.3 . -t strapi/strapi:4.0.3
$ docker run -p 1337:1337 strapi/strapi:4.0.3 strapi start

If anyone else is currently struggling with the Docker build of V4. There is currently a strapi third lib problem, which caused in my case a heap error each time when trying to create the docker build, even though I tried to increase the memory to the moon. 🌕
https://github.com/strapi/strapi/issues/12160
Solution add to your package.json and rebuild the node_modules
"resolutions": {
    "**/colors": "1.4.0"
  }

Cheers
Hannes

Is there any plan for that ? I would like to use this docker image with the version >4 of Strapi.
Thanks

I have found f90mora/strapi-4.0.3 image to work perfectly well for me (just needed to update to 4.0.4). Hope the official release is coming soon!

Hi,
Any news on this?
Thanks

Hi,
Any news on this?
Thanks guys

Hi
Any updates ?
Thanks

See the update edit in the original post.
Going to lock this for now as we are well aware everyone wants docker images but at this time it's a low priority on our side as we never recommend using our images for production usage.


Fix up readme.

Looks like stale links!

Thanks! But closing this because serde::json became serde_json :) I've fixed the docs though.


helmfiles include and charts in same repo

Is it intended to ignore charts if you have a helmfiles include
helmfiles:
- helmfiles_blah.yaml

charts:
- blah

With the above helmfiles_blah.yaml will run and anything under charts will not be processed.

helmfile.yaml could support loading the includes and then loading the charts after the includes

I prefer this, the option 3, which has been implemented in #522 😃


Add full config validation on change

To prevent move-ls from failing when incorrect HEX data passed in sender_address I need to add config validation and send null when config.defaultAccount can't be parsed.

No need. Due to v0.3.0 of move-language-server.


Cannot stream depth and disparity together on gen2 pipleline.

disparity stream is collapsed if depth is streamed. on gen2.
This can be reproduced by setting outputDepth flag of the stereo example.
https://github.com/luxonis/depthai-core/blob/gen2_develop/examples/src/stereo_example.cpp
This is so regardless of lrcheck, extended, and, subpixel flags.

Yes, this is a current limitation for the standard mode (lrcheck, extended and subpixel all disabled), and for subpixel mode. However, both disparity and depth should work for lrcheck and/or extended.
For the standard mode we have a fix, I will open a PR soon.
For the subpixel mode, an optimization is enabled on device side that combines subpixel processing with the conversion to depth, so if the depth output is enabled, disparity won't be available. We'll look later if possible to separate them.


Add GPIO (Raspberry Pi) support.

First push for testing on different devices.

Tested with Raspberry Pi KOB HAT interface.


Create _posts 21-07-2020-mannan

layout: slide
title: “Welcome to our second slide!”
Your test
Use the left arrow to go back!

sdsdsa

safsafsaf


Generic Type not working

I m trying to register a generic type
Container.bind(Repository<Entity>)
repository is an abstract class and holds multiple implementations for each entity.
I got an error

Value of type 'typeof Repository' is not callable. Did you mean to include 'new'?

I tried factory but still cant do it
or there a way to do that ?

I think the problem is, that the generic information does not exist at runtime, so in your js the entity information is missing and only repository part remains. What you need is a unique repository only for one entity that exists in JS and can therefore be injected anywhere.
We also struggle with integrating typeorm with typescript-ioc but found no good solution yet.
What works is the approach explained above, to have unique repositories. Something like this (note DatabaseService is a wrapper we wrote around typeorm that handles the connection):
export class CustomerRepository extends Repository<Customer> {}

const customerFactory: ObjectFactory = () => Container.get(DatabaseService).connection.getRepository(Customer);

export function registerRepositores(): void {
  Container.bind(CustomerRepository).factory(customerFactory);
}

Of couse this takes away the advantage of having a repository for each entity because you have to write this for each repo you want to inject.


Multiple Select

Hi,
Does it support multiple files select or not? If not, please guide me how to patch.
Regards,
Mike

https://github.com/Elyx0/react-native-document-picker/issues/69 Might be in for v3


Prometheus and grafana port should not be accessible from any address, only myip

https://github.com/redpanda-data/openmessaging-benchmark/blob/8411e4a17f9fe190591389bf9b17c515f144a393/driver-redpanda/deploy/provision-redpanda-aws.tf#L176-L188
This should probably be locked down to same address as used for general access to the security group from the tester's home node.
 cidr_blocks = ["${chomp(data.http.myip.body)}/32"]

#67 for pr.


Tests fail in recent eclipse

need to use gradle plugin
    id 'org.unbroken-dome.test-sets' version '2.2.1'
to properly support tests and e2e tests

pull request #147 created


Add additional racer photos.

24

77

166

343

810

ooh me too!

This should work

913 Dawson Hart

39

94

Closed as all images here are included. If you have an image, please create a new issue :)


Kiwi browser on android - popup displays in separate tab

chrome.tabs.onActivated handler sets the active tab to the popup and shows it as not web monetized
should handle the same as Firefox/android and just route to the settings page ?

This should actually already be working:
https://github.com/coilhq/web-monetization-projects/blob/96f8937200a8fb3ecb6cc7803eb3600df3a4eafb/packages/coil-extension/src/background/services/PopupBrowserAction.ts#L31-L34
Perhaps getPlatformInfo is missing on kiwi ?


added counting sort in python

solved issue #58
added counting sort in python

@lilmistake  i have updated the code can you please review it

@lilmistake @Chitresh-code please review my PR #63


split clockset.sh into oref0-set-device-clocks.sh and oref0-set-system-clock.sh

does not work
edison@Bender1061:~/johnopenaps1$ ~/src/oref0/bin/oref0-set-system-clock.sh     Waiting for ntpd to synchronize... No! ntpd did not synchronize. Restarting ntp (via systemctl): ntp.service. Waiting for ntpd to synchronize... No! ntpd did not synchronize. Fri Dec 31 19:25:05 EST 1999 edison@Bender1061:~/johnopenaps1$

I think the issue has to do with the sort, I tried last night from using the tail -1, to a head -1 and it worked correctly. I believe it's because it's seeing the two number of seconds (since beginning of time) as a string with the first number being the one that it will sort with.
in C I would do a StrtoNum and then just pick the greater of the two numbers and use that. but I know you are more familiar with the bash scripting.

Interesting. What were the two epoch time strings, and how did it sort them lexically?
The bash equivalent of that numeric sort would be sort -g - might be worth a try.

edison@Bender1061:~/johnopenaps3$ (date +%s; date -d ( cat $CLOCK; echo ) | sed 's/"//g' +%s) | sort
1475550880
946684887
edison@Bender1061:~/johnopenaps3$

edison@Bender1061:~/johnopenaps3$ (date +%s; date -d ( cat $CLOCK; echo ) | sed 's/"//g' +%s) | sort -g
946685364
1475550880
edison@Bender1061:~/johnopenaps3$ (date +%s; date -d ( cat $CLOCK; echo ) | sed 's/"//g' +%s) | sort
1475550880
946685372
edison@Bender1061:~/johnopenaps3$
Yeah it looks like the sort -g works

Ah, so y2k is just under 1 billion.  Thanks: I'll update the sort to use -g.

so the command oref0-set-system-clock works perfectly now, but if the command is never called automatically when the enact alias is called.

I made a fix for that in the oref0-setup branch.  Just cherry-picked it over: https://github.com/openaps/oref0/pull/234/commits/5fa9d937bf729eb740ae9500377c58a94c56975b - you'll need to re-run oref0-setup to update your loop accordingly.

So this is good to merge now, right?


Write a full README

Shivam Chopra said:

So it works be great if you add a Readme there and maybe if you compare it with truffle projects.

Fixed in edb5ed.


Update timezone description to include windows

Signed-off-by: Corey Hemminger<EMAIL_ADDRESS>Description
add reference to windows to description and link to list of windows timezones.
Check List

[x] New functionality includes tests
[ ] All tests pass
[ ] RELEASE_NOTES.md has been updated if required (not required for bugfixes, required for API changes)
[x] All commits have been signed-off for the Developer Certificate of Origin. See https://github.com/chef/chef/blob/master/CONTRIBUTING.md#developer-certification-of-origin-dco

One more thing: can you fix the DCO sign-off?


fix(deps): update dependencies

@Yelinz Fixed by adding<EMAIL_ADDRESS>to the dependencies of ember < 4.12 scenarios.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


ERS-14527 Adding lastModifiedDate to ReportEntrydetail

Adding lastModifiedDate to ReportEntrydetail

@I508348 The email you used to create the commit  is not associated with your GitHub account. Make sure to add (and verify) your email to your GitHub account.
Afterwards you can trigger a recheck via https://cla-assistant.io/check/SAP-docs/preview.developer.concur.com?pullRequest=


Blazor dynamically added root components

https://github.com/dotnet/aspnetcore/issues/27574
https://devblogs.microsoft.com/dotnet/asp-net-core-updates-in-net-6-rc-1/#render-blazor-components-from-javascript

Cool beans! This was done last September on https://github.com/dotnet/AspNetCore.Docs/pull/23313 and has been live at ...
https://docs.microsoft.com/aspnet/core/blazor/components/#render-razor-components-from-javascript


Resource ID is incorrect

The Resource URI (https://discovery.crmreplication.azure.net/crm/exporter/aad/challenge) used in the sample code is incorrect. It should instead be the Application Id of the Data Export Service SPN ("Data Export Service for Microsoft Dynamics 365") created during the installation of the Data Export Service App

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

ID: 6b78e7a4-a539-c230-0a8c-454f1f69201a
Version Independent ID: 777f3fea-cd80-9233-715f-4947cb1077f9
Content: Data export service (Common Data Service) - Power Apps
Content Source: powerapps-docs/developer/common-data-service/data-export-service.md
Service: powerapps
GitHub Login: @sabinn-msft
Microsoft Alias: jdaly

Need to change the authentication code to use MSAL instead of ADAL.

@ananthagithub The Data Export Service has reached end-of-support and end-of-life in November 2022. The topic will not be updated. Thanks for your feedback.


Hardcoded accesstoken in app.js

Unless you're rich enough to pay for someone else's mapbox views, i'de remove that if i was you and make it configurable.

We'll see how it goes... I'd really like to keep it available without forcing an access token. Ideally folks will fork the repo and swap in their own maps, but if it becomes an issue or exceeds my quota, I'll either force users to provide a token or see if the nice folks at Mapbox might be willing to work with us :)


Add Papago extension

Description
Papago Extension
Raycast Extension to connect with Papago, translation service specialized for Korean-English Translation.
Papago is built by Naver Corporation.
I'll expand the language support later.
Screencast

Checklist

[O] I read the extension guidelines
[O] I read the documentation about publishing
[O] I ran npm run build and tested this distribution build in Raycast

Hey guys, I'm closing this because of inactivity. Feel free to reopen later again and address the feedback.


Merge setting i_folder_id into the INSERT statements.

Part of a series of changes removing redundant inserts and updates.

LGTM


[BUG] !emojistats counts reactions multiple times, and counts the command when checking.

Regardless of how many people react, it should only increase by one per message.
So if 20 people react :this: to one message, it should only increase by one reaction.
Also if someone removes/re-adds their reaction to a message, it adds another to the counter without decreasing it.

and running !emojistats :this: increases the counter, which sounds a tad unintuitive and imo would misrepresent the usage.

Regardless of how many people react, it should only increase by one per message.
So if 20 people react :this: to one message, it should only increase by one reaction.
Also if someone removes/re-adds their reaction to a message, it adds another to the counter without decreasing it.
and running !emojistats :this: increases the counter, which sounds a tad unintuitive and imo would misrepresent the usage.

Why only one per reaction?

Why only one per reaction?

When one person reacts something, other people are significantly
more likely to press the button, even if they'd never add the reaction
themself.
In other words, non-first reactions are ""worth"" [for lack of a
better word] significantly less.  Especially (but not exclusively)
in showcase/rules/announcements and other slow-moving channels.

Why only one per reaction?
When one person reacts something, other people are significantly more likely to press the button, even if they'd never add the reaction themself. In other words, non-first reactions are ""worth"" [for lack of a better word] significantly less. Especially (but not exclusively) in showcase/rules/announcements and other slow-moving channels.

To add a counter argument, how about only doing it once for showcase/rules/announcments but for every other one it matters?, because otherwise its a bit of a performance hit

because otherwise its a bit of a performance hit

tbh i didn't even consider performance.  Yeah I dunno then.

Also if someone removes/re-adds their reaction to a message, it adds another to the counter without decreasing it.

context-ish: https://discord.com/channels/635612648934735892/655947537538088962/864300080084942869
[for reference, guyman was spam clicking the nixos react after I did
the initial react - it went up for every one I did]

because otherwise its a bit of a performance hit
tbh i didn't even consider performance. Yeah I dunno then. ------
actually, it should hopefully be all good, you just have to search through all reactions which could be a hassle, but i hope it shouldn't be
Also if someone removes/re-adds their reaction to a message, it adds another to the counter without decreasing it.
Doing that right now
context-ish: https://discord.com/channels/635612648934735892/655947537538088962/864300080084942869 [for reference, guyman was spam clicking the nixos react after I did the initial react - it went up for every one guyman did]

y

Okay essentially all done with this one

Okay essentially all done with this one

@6gk art you happ. With the fixes? If so, feel free to close this 👍

already gave approval, forgot to close issue


Route layout

This is an initial implementation of a _layout file implementation that allows for applying layouts to routes. It supports cascading _layout files in route sub directories and treats them all as optional.
There are a good number of tests that were broken when I forked, so could use some pointers on where to add additional tests for this.

I was able to make some additions to the fixture.  So if you run deno task fixture, you should be able to navigate to the following paths to see it in action:
/route-layout
/route-layout/sub
/route-layout/skip
/route-layout/skip/sub
Those were some of the use cases i was checking out. You can see that it has no impact on existing pages:
/
/islands
/books

My bad on that, forgot to rerun deno fmt after adding the fixture tests. Hopefully that resolves what i saw in the workflow error.

I haven't looked at this in detail yet, but just noting that we have a similar PR: https://github.com/denoland/fresh/pull/870. If we go with this one, then we should close 870.

@bendik Can you please open a new issue instead of commenting on merged PRs?


Fix: Single Hotel Details - Location strip with correct gradient and …

…clearer logo

I will leave the tests failing for now to remember that DropMarker component should probably be revisited a bit more.

I believe the DopMarker component can be improved in a different PR. Will create an issue
@tbergq 🚀


Game Page Content: Info Section

For the tiles just add the title and put Coming Soon for the content

For the tiles just add the title and put Coming Soon for the content


Create vscode.css

Visual Studio Code Syntax highlighting styles by Steven Dao

+1
Visual Studio Code introduced a great color scheme for syntax highlighting.
@iamstevendao: I think you pull request might be in the wrong place. This repository hosts themes generated by pygments, so it doesn’t make much sense to accept PR to it, since the next pygments build would most likely delete your file.
I suggest submitting it to the main pygments repository.


gst-launch-1.0 pylonsrc cam::TriggerSource-FrameStart=Line1 cam::TriggerMode-FrameStart=On

When I use this command to specify trigger source as hardware trigger from Line3, the pipeline can be controlled to start playing by Line3 signal, however the frame rate won't change according to hardware trigger signal frequency. Could developer confirm whether frame rate can change according to hardware trigger signal from GPIO or not?

Hi @lynnqiulin,
to set the framerate, you don't have to recompile. Framerate is part of normal gstreamer caps negotiation process.
See e.g. https://github.com/basler/gst-plugin-pylon/blob/2fba87f9b329d90adc70e4cac4c6e075a37d2027/README.md?plain=1#L88
The position in the code is the fallback for the case that no framerate is given. ( neither as capsfilter nor by one of the downstream sinks)
--
Gstreamer normally assumes a fixed framerate video stream. In your case of changing the fps by changing the trigger frequency will work, but downstream plugins might 'complain' about framerate issues.
In your setup with a triggered camera, you should set a framerate, that is above your trigger frequency.
As the framerate you give will be the maximum framerate the camera can handle.

Hi @thiesmoeller
Thank you for the help.
In my user case, I will first start gstreamer and initial camera with setting saved in user-set, set the camera to hardware trigger, waiting for outside signal to start hardware trigger. So the gstreamer will first start with a framerate but at that time pineline is not set to PLAYING. After that there will be hardware trigger signal. Will this confuse the downstream plugins, or will the downstream plugin's framerate been set to some freqency  like 30Hz as  'no framerate is given' and then won't change?
I follow the guide to set framerate on command line as 60Hz which is higher than hardware trigger setting to rate less than 60Hz. However the output file frame rate is still 60Hz. Is there anything not correct with my command or flow?

c. result frame rate of mp4 file is 60Hz.

c. result frame rate of mp4 file is 30Hz
(guess due to setting in ext/pylon/gstpylonsrc.cpp:614  static const gint preferred_framerate_num = 30;)

I set the frame rate same as trigger frequency, now result frame rate of output file matches. Thank you.


2022-05-16 18:57:33 --> [    0.200675] rk_gmac-dwmac fe300000.ethernet: PTP uses main clock
2022-05-16 18:57:33 --> [    0.201227] rk_gmac-dwmac fe300000.ethernet: phy regulator is not availabl
2022-05-16 18:57:33 --> [    0.213836] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
2022-05-16 18:57:33 --> [    0.214414] ehci-pci: EHCI PCI platform driver
2022-05-16 18:57:33 --> [    0.214840] ehci-platform: EHCI generic platform driver
2022-05-16 18:57:33 --> [    0.217477] ehci-platform fe380000.usb: EHCI Host Controller
2022-05-16 18:57:33 --> [    0.217993] ehci-platform fe380000.usb: new USB bus registered, assigned bus number 1
2022-05-16 18:57:33 --> [    0.218767] ehci-platform fe380000.usb: irq 29, io mem 0xfe380000
2022-05-16 18:57:33 --> [    0.232048] ehci-platform fe380000.usb: USB 2.0 started, EHCI 1.00
2022-05-16 18:57:33 --> [    0.233010] hub 1-0:1.0: USB hub found
2022-05-16 18:57:33 --> [    0.233369] hub 1-0:1.0: 1 port detected
2022-05-16 18:57:33 --> [    0.234091] rockchip-usb2phy ff770000.syscon:usb2-phy@e460: Requested PHY is disabled
2022-05-16 18:57:33 --> [    0.234781] ehci-platform fe3c0000.usb: EHCI Host Controller
2022-05-16 18:57:33 --> [    0.235292] ehci-platform fe3c0000.usb: new USB bus registered, assigned bus number 2
2022-05-16 18:57:33 --> [    0.236085] ehci-platform fe3c0000.usb: irq 31, io mem 0xfe3c0000
2022-05-16 18:57:33 --> [    0.252042] ehci-platform fe3c0000.usb: USB 2.0 started, EHCI 1.00
2022-05-16 18:57:33 --> [    0.252972] hub 2-0:1.0: USB hub found
2022-05-16 18:57:33 --> [    0.253330] hub 2-0:1.0: 1 port detected
2022-05-16 18:57:33 --> [    0.254095] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
2022-05-16 18:57:33 --> [    0.254653] ohci-platform: OHCI generic platform driver
2022-05-16 18:57:33 --> [    0.255253] ohci-platform fe3a0000.usb: Generic Platform OHCI controller
2022-05-16 18:57:33 --> [    0.255859] ohci-platform fe3a0000.usb: new USB bus registered, assigned bus number 3
2022-05-16 18:57:33 --> [    0.256664] ohci-platform fe3a0000.usb: irq 30, io mem 0xfe3a0000
2022-05-16 18:57:33 --> [    0.320420] hub 3-0:1.0: USB hub found
2022-05-16 18:57:33 --> [    0.320781] hub 3-0:1.0: 1 port detected
2022-05-16 18:57:33 --> [    0.321489] rockchip-usb2phy ff770000.syscon:usb2-phy@e460: Requested PHY is disabled
2022-05-16 18:57:33 --> [    0.322180] ohci-platform fe3e0000.usb: Generic Platform OHCI controller
2022-05-16 18:57:33 --> [    0.322778] ohci-platform fe3e0000.usb: new USB bus registered, assigned bus number 4
2022-05-16 18:57:33 --> [    0.323544] ohci-platform fe3e0000.usb: irq 32, io mem 0xfe3e0000
2022-05-16 18:57:33 --> [    0.388412] hub 4-0:1.0: USB hub found
2022-05-16 18:57:33 --> [    0.388770] hub 4-0:1.0: 1 port detected
2022-05-16 18:57:33 --> [    0.389942] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
2022-05-16 18:57:33 --> [    0.390439] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 5
2022-05-16 18:57:33 --> [    0.391236] xhci-hcd xhci-hcd.0.auto: hcc params 0x0220fe64 hci version 0x11
2022-05-16 18:57:33 --> [    0.392113] xhci-hcd xhci-hcd.0.auto: irq 219, io mem 0xfeto: new USB bus registered, assigned bus number 6
2022-05-16 18:57:33 --> [    0.395277] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
2022-05-16 18:57:33 --> [    0.398054] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
2022-05-16 18:57:33 --> [    0.398551] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 7
2022-05-16 18:57:33 --> [    0.399341] xhci-hcd xhci-hcd.1
2022-05-16 18:57:33 --> [    0.401261] hub 7-0:1.0: USB hub found
2022-05-16 18:57:33 --> [    0.401618] hub 7-0:1.0: 1 port detected
2022-05-16 18:57:33 --> [    0.402192] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
2022-05-16 18:57:33 --> [    0.402684] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 8
2022-05-16 18:57:33 --> [    0.403364] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed
2022-05-16 18:57:33 --> [    0.403997] usb usb8: We don't know the algorithms for LPM for this host, disabling LPM.
2022-05-16 18:57:33 --> [    0.405063] hub 8-0:1.0: USB hub found
2022-05-16 18:57:33 --> [    0.405418] hub 8-0:1.0: 1 port detected
2022-05-16 18:57:33 --> [    0.406132] usbcore: registered new interface driver usb-storage
2022-05-16 18:57:33 --> [    0.406801] i2c /dev entries driver
2022-05-16 18:57:33 --> [    0.408753] at24 2-0051: 256 byte 24c02 EEPROM, writable, 16 bytes/write
2022-05-16 18:57:33 --> [    0.410677] fan53555-regulator 0-0040: FAN53555 Option[8] Rev[1] Detected!
2022-05-16 18:57:33 --> [    0.411958] fan53555-regulator 0-0040: Failed to register regulator!
2022-05-16 18:57:33 --> [    0.413119] fan53555-regulator 0-0041: FAN53555 Option[8] Rev[1] Detected!
2022-05-16 18:57:33 --> [    0.414376] fan53555-regulator 0-0041: Failed to register regulator!
2022-05-16 18:57:33 --> [    0.415446] rk808 0-001b: chip id: 0x0
2022-05-16 18:57:33 --> [    0.419895] rk808-regulator rk808-regulator: there is no dvs0 gpio
2022-05-16 18:57:33 --> [    0.420486] rk808-regulator rk808-regulator: there is no dvs1 gpio
2022-05-16 18:57:33 --> [    0.421501] rk808 0-001b: failed to register 0 regulator
2022-05-16 18:57:33 --> [    0.425062] rk808-rtc rk808-rtc: registered as rtc0
2022-05-16 18:57:33 --> [    0.429213] sdhci: Secure Digital Host Controller Interface driver
2022-05-16 18:57:33 --> [    0.429758] sdhci: Copyright(c) Pierre Ossman
2022-05-16 18:57:33 --> [    0.430144] Synopsys Designware Multimedia Card Interface Driver
2022-05-16 18:57:33 --> [    0.431341] dwmmc_rockchip fe320000.dwmmc: IDMAC supports 32-bit address mode.
2022-05-16 18:57:33 --> [    0.431998] dwmmc_rockchip fe320000.dwmmc: Using internal DMA controller.
2022-05-16 18:57:33 --> [    0.432642] dwmmc_rockchip fe320000.dwmmc: Version ID is 270a
2022-05-16 18:57:33 --> [    0.433188] dwmmc_rockchip fe320000.dwmmc: DW MMC controller at irq 28,32 bit host data width,256 deep fifo
2022-05-16 18:57:33 --> [    0.434333] sdhci-pltfm: SDHCI platform and OF driver helper
2022-05-16 18:57:33 --> [    0.436138] ledtrig-cpu: registered to indicate activity on CPUs
2022-05-16 18:57:33 --> [    0.437079] usbcore: registere
2022-05-16 18:57:33 --> [    0.439571] NET: Registered protocol family 10
2022-05-16 18:57:33 --> [    0.440e filtering via arp/ip/ip6tables is no longer available by def
2022-05-16 18:57:33 --> [    0.474500] reg-fixed-voltage vcc3v3-sys: Failed to register regulator: -517
2022-05-16 18:57:33 --> [    0.475371] vcc5v0_sys: supplied by vdd_5v
2022-05-16 18:57:33 --> [    0.476094] reg-fixed-voltage vcc1v8-s3: Failed to register regulator: -517
2022-05-16 18:57:33 --> [    0.477022] reg-fixed-voltage vcc3v0-sd: Failed to register regulator: -517
2022-05-16 18:57:33 --> [    0.478179] rockchip-pcie f8000000.pcie: no vpcie12v regulator found
2022-05-16 18:57:33 --> [    0.479592] rk_gmac-dwmac fe300000.ethernet: IRQ eth_wake_irq not found
2022-05-16 18:57:33 --> [    0.480204] rk_gmac-dwmac fe300000.ethernet: IRQ eth_lpi not fou.480853] rk_gmac-dwmac fe300000.ethernet: PTP uses main clock
2022-05-16 18:57:33 --> 0040: FAN53555 Option[8] Rev[1] Detected!
2022-05-16 18:57:33 --> [    0.485960] fan5
2022-05-16 18:57:33 --> [    0.487575] fan53555-regulator 0-0041: FAN53555 Option[8] Rev[1] Detected!
2022-05-16 18:57:33 --> [    0.489559] fan53555-regulator 0-0041: Failed to register regulator!
2022-05-16 18:57:33 --> [    0.490352] rk808-regulator rk808-regulator: there is no dvs0 gpio
2022-05-16 18:57:33 --> [    0.490913] rk808-regulator rk808-regulator: there is no dvs1 gpio
2022-05-16 18:57:33 --> [    0.491523] rk808 0-001b: failed to register 0 regulator
2022-05-16 18:57:33 --> [    0.493182] dwmmc_rockchip fe320000.dwmmc: IDMAC supports 32-bit address mode.
2022-05-16 18:57:33 --> [    0.493837] dwmmc_rockchip fe320000.dwmmc: Using internal DMA controller.
2022-05-16 18:57:33 --> [    0.494442] dwmmc_rockchip fe320000.dwmmc: Version ID is 270a
2022-05-16 18:57:33 --> [    0.494973] dwmmc_rockchip fe320000.dwmmc: DW MMC controller at irq 28,32 bit host data width,25lied by vcc3v3_sys
2022-05-16 18:57:33 --> [    0.498619] rockchip-pcie f8000000.pcie: no vpcie12v regulator found
2022-05-16 18:57:33 --> [    0.499237] rockchip-pcie f8000000.pcie: no vpcie1v8 regulator found
2022-05-16 18:57:33 --> [    0.499809] rockchip-pcie f8000000.pcie: no vpcie0v9 regulator found
2022-05-16 18:57:33 --> [    0.540986] rockchip-pcie f8000000.pcie: host bridge /pcie@f8000000 ranges:
2022-05-16 18:57:33 --> [    0.541629] rockchip-pcie f8000000.pcie:   MEM 0xfa000000..0xfbdfffff -> 0xfa000000
2022-05-16 18:57:33 --> [    0.542321] rockchip-pcie f8000000.pcie:    IO 0xfbe00000..0xfbefffff -> 0xfbe00000
2022-05-16 18:57:33 --> [    0.543296] rockchip-pcie f8000000.pcie: PCI host bridge to bus 0000:00
2022-05-16 18:57:33 --> [    0.543882] pci_bus 0000:00: root bus resource [bus 00-1f]
2022-05-16 18:57:33 --> [    0.544391] pci_bus 0000:00: root bus resource [mem 0xfa000000-0xfbdfffff]
2022-05-16 18:57:33 --> [    0.545000] pci_bus 0000:00: root bus resource [io  0x0000-0xfffff] (bus address [0xfbe00000-0xfbefffff])
2022-05-16 18:57:33 --> [    0.545868] pci 0000:00:00.0: [1d87:0100] type 01 class 0x060400
2022-05-16 18:57:33 --> [    0.546517] pci 0000:00:00.0: supports D1
2022-05-16 18:57:33 --> [    0.546875] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
2022-05-16 18:57:33 --> [    0.551294] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
2022-05-16 18:57:33 --> [    0.552174] pci 0000:01:00.0: [10ec:8168] type 00 class 0x020000
2022-05-16 18:57:33 --> [    0.552810] pci 0000:01:00.0: reg 0x10: initial BAR value 0x00000000 invalid
2022-05-16 18:57:33 --> [    0.553431] pci 0000:01:00.0: reg 0x10: [io  size 0x0100]
2022-05-16 18:57:33 --> [    0.553983] pci 0000:01:00.0: reg 0x18: [mem 0x00000000-0x00000fff 64bit]
2022-05-16 18:57:33 --> [    0.554629] pci 0000:01:00.0: reg 0x20: [mem 0x00000000-0x00003fff 64bit]
2022-05-16 18:57:33 --> [    0.555275] pci 0000:01:00.0: Upstream bridge's Max Payload Size set to 128 (was 256, max 256)
2022-05-16 18:57:33 --> [    0.556057] pci 0000:01:00.0: Max Payload Size set to 128 (was 128, max 128)
2022-05-16 18:57:33 --> [    0.557009] pci 0000:01:00.0: supports D1 D2
2022-05-16 18:57:33 --> [    0.557389] pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold
2022-05-16 18:57:33 --> [    0.571729] pci_bus 0000:01: busn_res: [bus 01-1f] end is updated to 01
2022-05-16 18:57:33 --> [    0.572348] pci 0000:00:00.0: BAR 8: assigned [mem 0xfa000000-0xfa0fffff]
2022-05-16 18:57:33 --> [    0.572953] pci 0000:01:00.0: BAR 4: assigned [mem 0xfa000000-0xfa003fff 64bit]
2022-05-16 18:57:33 --> [    0.573636] pci 0000:01:00.0: BAR 2: assigned [mem 0xfa004000-0xfa004fff 64bit]
2022-05-16 18:57:33 --> [    0.574316] pci 0000:01:00.0: BAR 0: no space for [io  size 0x0100]
2022-05-16 18:57:33 --> [    0.574869] pci 0000:01:00.0: BAR 0: failed to assign [io  size 0x0100]
2022-05-16 18:57:33 --> [    0.575452] pci 0000:00:00.0: PCI bridge to [bus 01]
2022-05-16 18:57:33 --> [    0.575896] pci 0000:00:00.0:   bridge window [mem 0xfa000000-0xfa0fffff]
2022-05-16 18:57:33 --> [    0.576654] pcieport 0000:00:00.0: enabling device (0000 -> 0002)
2022-05-16 18:57:33 --> [    0.577421] pcieport 0000:00:00.0: PME: Signaling with IRQ 231
2022-05-16 18:57:33 --> [    0.578609] pcieport 0000:00:00.0: AER: enabled with IRQ 231
2022-05-16 18:57:33 --> [    0.580085] rk_gmac-dwmac fe300000.ethernet: IRQ eth_wake_irq not found
2022-05-16 18:57:33 --> [    0.580672] rk_gmac-dwmac fe300000.ethernet: IRQ eth_lpi not found
2022-05-16 18:57:33 --> [    0.581309] rk_gmac-dwmac fe300000.ethernet: PTP uses main clock
2022-05-16 18:57:33 --> [    0.581867] rk_gmac-dwmac fe300000.ethernet: phy regulator is not available yet, deferred probing
2022-05-16 18:57:33 --> [    0.584056] fan53555-regulator 0-0040: FAN53555 Option[8] Rev[1] Detected!
2022-05-16 18:57:33 --> [    0.586469] vdd_cpu_b: supplied by vcc3v3_sys
2022-05-16 18:57:33 --> [    0.591591] fan53555-regulator 0-0041: FAN53555 Option[8] Rev[1] Detected!
2022-05-16 18:57:33 --> [    0.594399] vdd_gpu: supplied by vcc3v3_sys
2022-05-16 18:57:33 --> [    0.598343] rk808-regulator rk808-regulator: there is no dvs0 gpio
2022-05-16 18:57:33 --> [    0.598909] rk808-regulator rk808-regulator: there is no dvs1 gpio
2022-05-16 18:57:33 --> [    0.599521] vdd_center: supplied by vcc3v3_sys
2022-05-16 18:57:33 --> [    0.601636] vdd_cpu_l: supplied by vcc3v3_sys
2022-05-16 18:57:33 --> [    0.602321] vcc_ddr: supplied by vcc3v3_sys
2022-05-16 18:57:33 --> [    0.603873] vcc_1v8: supplied by vcc3v3_sys
2022-05-16 18:57:33 --> [    0.605596] vcc1v8_cam: supplied by vcc3v3_sys
2022-05-16 18:57:33 --> [    0.608076] vcc3v0_touch: supplied by vcc3v3_sys
2022-05-16 18:57:33 --> [    0.610654] vcc1v8_pmupll: supplied by vcc3v3_sys
2022-05-16 18:57:33 --> [    0.613274] vcc_sdio: supplied by vcc3v3_sys
2022-05-16 18:57:33 --> [    0.615349] vcca3v0_codec: supplied by vcc3v3_sys
2022-05-16 18:57:33 --> [    0.617863] vcc_1v5: supplied by vcc3v3_sys
2022-05-16 18:57:33 --> [    0.619954] vcca1v8_codec: supplied by vcc3v3_sys
2022-05-16 18:57:33 --> [    0.622613] vcc_3v0: supplied by vcc3v3_sys
2022-05-16 18:57:33 --> [    0.623825] vcc3v3_s3: supplied by vcc3v3_sys
2022-05-16 18:57:33 --> [    0.624483] vcc3v3_s0: supplied by vcc3v3_sys
2022-05-16 18:57:33 --> [    0.626565] energy_model: pd0: hertz/watts ratio non-monotonically decreasing: em_cap_state 1 >= em_cap_state0
2022-05-16 18:57:33 --> [    0.632214] dwmmc_rockchip fe320000.dwmmc: IDMAC supports 32-bit address mode.
2022-05-16 18:57:33 --> [    0.632902] dwmmc_rockchip fe320000.dwmmc: Using internal DMA controller.
2022-05-16 18:57:33 --> [    0.633533] dwmmc_rockchip fe320000.dwmmc: Version ID is 270a
2022-05-16 18:57:33 --> [    0.634088] dwmmc_rockchip fe320000.dwmmc: DW MMC controller at irq 28,32 bit host data width,256 deep fifo
2022-05-16 18:57:33 --> [    0.635176] dwmmc_rockchip fe320000.dwmmc: Got CD GPIO
2022-05-16 18:57:33 --> [    0.648269] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
2022-05-16 18:57:33 --> [    0.660626] vcc1v8_s3: supplied by vcc_1v8
2022-05-16 18:57:33 --> [    0.661395] rk_gmac-dwmac fe300000.ethernet: IRQ eth_wake_irq not found
2022-05-16 18:57:33 --> [    0.661973] rk_gmac-dwmac fe300000.ethernet: IRQ eth_lpi not found
2022-05-16 18:57:33 --> [    0.662555] rk_gmac-dwmac fe300000.ethernet: PTP uses main clock
2022-05-16 18:57:33 --> [    0.663116] rk_gmac-dwmac fe300000.ethernet: clock input or output? (input).
2022-05-16 18:57:33 --> [    0.663732] rk_gmac-dwmac fe300000.ethernet: TX delay(0x28).
2022-05-16 18:57:33 --> [    0.664236] rk_gmac-dwmac fe300000.ethernet: RX delay(0x11).
2022-05-16 18:57:33 --> [    0.664733] rk_gmac-dwmac fe300000.ethernet: integrated PHY? (no).
2022-05-16 18:57:33 --> [    0.665289] rk_gmac-dwmac fe300000.ethernet: cannot get clock clk_mac_speed
2022-05-16 18:57:33 --> [    0.665895] rk_gmac-dwmac fe300000.ethernet: clock input from PHY
2022-05-16 18:57:33 --> [    0.671431] rk_gmac-dwmac fe300000.ethernet: init for RGMII
2022-05-16 18:57:33 --> [    0.672414] rk_gmac-dwmac fe300000.ethernet: User ID: 0x10, Synopsys ID: 0x35
2022-05-16 18:57:33 --> [    0.673088] rk_gmac-dwmac fe300000.ethernet: .DWMAC1000
2022-05-16 18:57:33 --> [    0.673575] rk_gmac-dwmac fe300000.ethernet: DMA HW capability register supported
2022-05-16 18:57:33 --> [    0.674239] rk_gmac-dwmac fe3000oad Engine supported
2022-05-16 18:57:33 --> [    0.675065] rk_gmac-dwmac fe300000.etd
2022-05-16 18:57:33 --> [    0.677741] rk_gmac-dwmac fe300000.ethernet: Enable RX M
2022-05-16 18:57:33 --> [    0.742442] rk808-rtc rk808-rtc: setting system clock to 2013-01-18T08:50:10 UTC<PHONE_NUMBER>)
2022-05-16 18:57:33 --> [    0.744053] ttyS2 - failed to request DMA
2022-05-16 18:57:33 --> [    0.744478] Waiting for root device PARTUUID=5452574f-02...
2022-05-16 18:57:33 --> [    0.949583] mmc_host mmc0: Bus speed (slot 0) = 148500000Hz (slot req 150000000Hz, actual 148500000HZ div = 0)
2022-05-16 18:57:34 --> [    1.456493] dwmmc_rockchip fe320000.dwmmc: Successfully tuned phase to 178
2022-05-16 18:57:34 --> [    1.457136] mmc0: new ultra high speed SDR104 SDXC card at address aaaa
2022-05-16 18:57:34 --> [    1.459297] mmcblk0: mmc0:aaaa SN400 367 GiB
2022-05-16 18:57:34 --> [    1.464147]  mmcblk0: p1 p2
2022-05-16 18:57:34 --> [    1.474015] VFS: Mounted root (squashfs filesystem) readonly on device 179:2.
2022-05-16 18:57:34 --> [    1.475264] Freeing unused kernel memory: 1664K
2022-05-16 18:57:34 --> [    1.488237] Run /sbin/init as init process
2022-05-16 18:57:34 --> [    1.594857] SQUASHFS error: xz decompression failed, data probably corrupt
2022-05-16 18:57:34 --> [    1.595458] SQUASHFS error: squashfs_read_data failed to read block 0x49e3d02
2022-05-16 18:57:34 --> [    1.596094] SQUASHFS error: Unable to read metadata cache entry [49e3d02]
2022-05-16 18:57:34 --> [    1.596685] SQUASHFS error: Unable to read inode 0x1cb8002e
2022-05-16 18:57:34 --> [    1.597252] SQUASHFS error: Unable to read metadata cache entry [49e3d02]
2022-05-16 18:57:34 --> [    1.597843] SQUASHFS error: Unable to read inode 0x1cb8004e
2022-05-16 18:57:34 --> Error loading shared library libubox.so.20210516: I/O error (needed by /sbin/init)
2022-05-16 18:57:34 --> Error loading shared library libubus.so.20210630: I/O error (needed by /sbin/init)
2022-05-16 18:57:34 --> [    1.640358] SQUASHFS error: xz decompression failed, data probably corrupt
2022-05-16 18:57:34 --> [    1.640963] SQUASHFS error: squashfs_read_data failed to read block 0x49e3d02
2022-05-16 18:57:34 --> [    1.641585] SQUASHFS error: Unable to read metadata cache entry [49e3d02]
2022-05-16 18:57:34 --> [    1.642176] SQUASHFS error: Unable to read inode 0x14ba1fee
2022-05-16 18:57:34 --> Error loading shared library libjson_script.so.20210516: I/O error (needed by /sbin/init)
2022-05-16 18:57:34 --> [    1.659804] SQUASHFS error: Unable to read metadata cache entry [49e3d02]
2022-05-16 18:57:34 --> [    1.660422] SQUASHFS error: Unable to read inode 0x1cb8002e
2022-05-16 18:57:34 --> Error loading shared library libubox.so.20210516: I/O error (nee[    1.661200] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00
2022-05-16 18:57:34 --> ded by /lib/libblobmsg_json.so.20210516)
2022-05-16 18:57:34 --> Error relocating /lib/[    1.662170] CPU: 4 PID: 1 Comm: init Tainted: G    B             5.4.188 #0
2022-05-16 18:57:34 --> [    1.663253] Hardware name: FriendlyElec N0516: blobmsg_add_field: symbol not found[    1.663709] Call tx60/0x110
2022-05-16 18:57:34 --> [    1.666942]  el0_svc_handler+0x20/0x80
2022-05-16 18:57:34 --> [    1.6

Ok I'll build friendlwrt soon. I'm surprised to see no such reports on mainline or AO in the forums or projects.

Ok I'll build friendlwrt soon. I'm surprised to see no such reports on mainline or AO in the forums or projects.

most people i see dont plugin serial console, they dont see these problems unless there is something serious going on and they start to debug.
the AO build wont even let me login GUI, it keeps crashing over again and rebooting itself

Does it happen with the older versions like : https://github.com/anaelorlinski/OpenWrt-NanoPi-R2S-R4S-Builds/releases/download/OpenWrtAO-21.02-20220328/OpenWrt-AO-NanoPiR4S-mini-21.02-20220328-ext4.zip

Does it happen with the older versions like : https://github.com/anaelorlinski/OpenWrt-NanoPi-R2S-R4S-Builds/releases/download/OpenWrtAO-21.02-20220328/OpenWrt-AO-NanoPiR4S-mini-21.02-20220328-ext4.zip

i can try, one second

booting with no problem, since it has no GUI so we cant test whats going on on GUI causing crash or not but i run stress and as soon i hit stress, CPU/Memory crash again like smoothwan built. After running through many version, the only stable one with out single crash or problem is a friendlywrt built, not a problem on booting, lan/wan, or cpu/memory...
Here is video with AO built 20220328 mini
https://share.getcloudapp.com/OAu6pXb0

My best advise is build smoothwan and run on friendlywrt instead as they are meant to build for rk3399, another versions is not stable at all and we have been waiting time to do this over again, whereas we should be able to run the stable version and focus on the hardware, which is RK3399 to run speedify. Im very happy with friendlywrt built, doesn't give me a headache.

Does it happen with the older versions like : https://github.com/anaelorlinski/OpenWrt-NanoPi-R2S-R4S-Builds/releases/download/OpenWrtAO-21.02-20220328/OpenWrt-AO-NanoPiR4S-mini-21.02-20220328-ext4.zip

well i run a stress test few times and it crashed, can not login to the box and boot me off and i guess frozen.

FriendlyWRT sources are dated compared to the releases, and few things are missing, I'll send the installer script instead soon. I'll remove rockchip official support due to numerous inconsistencies other than this issue, DietPi dropped support for similar reasons (out-of-tree) and were similar to my findings.

From: hle5128 @.>
Sent: Tuesday, May 17, 2022 2:24:07 AM
To: TalalMash/SmoothWAN @.>
Cc: Talal @.>; Author @.>
Subject: Re: [TalalMash/SmoothWAN] [Testing needed] Rockchip RK3399 SBC support (Issue #35)
My best advise is build smoothwan and run on friendlywrt instead as they are meant to build for rk3399, another versions is not stable at all and we have been waiting time to do this over again, whereas we should be able to run the stable version and focus on the hardware, which is RK3399 to run speedify. Im very happy with friendlywrt built, doesn't give me a headache.
—
Reply to this email directly, view it on GitHubhttps://github.com/TalalMash/SmoothWAN/issues/35#issuecomment-1128233550, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AXAFHDXYTONHSNJ4PC5I3SLVKLKJPANCNFSM5VKMN5NA.
You are receiving this because you authored the thread.Message ID: @.***>

So I guess the RK3399 chip is not stable and does not support it in the long run?
So are we back to Flint hardware? If you could build a script to run, we can test on any unsupported hardware and report it back, which is stable and performance, and you can update the list.

On May 16, 2022, at 7:32 PM, Talal @.***> wrote:
FriendlyWRT sources are dated compared to the releases, and few things are missing, I'll send the installer script instead soon. I'll remove rockchip official support due to numerous inconsistencies other than this issue, DietPi dropped support for similar reasons (out-of-tree) and were similar to my findings.

From: hle5128 @.>
Sent: Tuesday, May 17, 2022 2:24:07 AM
To: TalalMash/SmoothWAN @.>
Cc: Talal @.>; Author @.>
Subject: Re: [TalalMash/SmoothWAN] [Testing needed] Rockchip RK3399 SBC support (Issue #35)
My best advise is build smoothwan and run on friendlywrt instead as they are meant to build for rk3399, another versions is not stable at all and we have been waiting time to do this over again, whereas we should be able to run the stable version and focus on the hardware, which is RK3399 to run speedify. Im very happy with friendlywrt built, doesn't give me a headache.
—
Reply to this email directly, view it on GitHubhttps://github.com/TalalMash/SmoothWAN/issues/35#issuecomment-1128233550, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AXAFHDXYTONHSNJ4PC5I3SLVKLKJPANCNFSM5VKMN5NA.
You are receiving this because you authored the thread.Message ID: @.***>
—
Reply to this email directly, view it on GitHub https://github.com/TalalMash/SmoothWAN/issues/35#issuecomment-1128238765, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACDDGWGOBOCVRJU2VPEYD5TVKLLHHANCNFSM5VKMN5NA.
You are receiving this because you were mentioned.

I'm testing it now, I'll open a new issue once ready.
RK3399 build will definitely be supported in the future once the mainline is stable, blob-less devices are already on mainline but are pretty rare to find with multi NICs (e.g Odroid, AMlogic/Allwinner etc). The only reason the Pi is doing well (with blobs) is due to large community.
The Flint is slower than the Pi, but the script should work for FriendlyWRT and Flint.
I'd recommend jumping to x86 over 300Mbit of total aggregation.
For 500Mbit+, I don't think Speedify is an optimal solution, would you be interested in pre-configured multi-Wireguard load balancer? It will provide seamless failover with small PL loss and aggressive network monitoring but ofc no single socket bonding or FEC (pointless at this speed).

Closed until stable mainline kernel is released (month and up)

Yes, usually boot disk could be mount after flash. But in this case entire disk unreadable and forcing me to reformat. doesn't allow me to do anything...

On May 10, 2022, at 3:36 AM, Talal @.***> wrote:

Thanks for the video, I couldn't see the error. Is it the Mac pop up? That's normal as it's a Linux filesystem, unreadable by Mac.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.

Uploaded wrong photo in my download folder.
Yes i tried few sd cards, the one im trying is the one working with friendlywrt

On May 11, 2022, at 5:18 PM, Talal @.***> wrote:

i tried the snapshot both files ex4 and squashfs wont boot, SYS light not on, tried power off/on many times on both files.
What is that photo?
Have you tried a different SD card brand? Non-mainline kernel seems to use different voltage for sdio and disable UHS mode.
Official OWRT without mainline: OpenWrt-AO-NanoPiR4S-full-21.02-20220501-squashfs.zip
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.

Good news!
Best Regards,
Greg Fletcher
On May 16, 2022, at 5:22 AM, Talal @.***> wrote:

The max bonded speed on an RPi is 150 mbps? Best Regards, Greg Fletcher
@Nachobizniz It's around 250-300Mbit without overclocking for total aggregation, tested with 2 connections.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.

The r4s recognized then chip right? Im not sure its the same or not but the chip is recommended in openwrt in community and gl inet firmware.

On May 10, 2022, at 1:05 PM, Talal @.***> wrote:

Wi-Fi USB? Is it the same as in the Wiki? Other Wi-Fi hardware may not work or require experimentation in Interfaces->Wireless , it's not recommended. I added a note for R4S having no hardware Wi-Fi, you can skip this step as it's irrelevant.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.

@hle5128 does the latest vanilla OpenWRT 22.03 work?


Write tests for boss api and utils

Write tests for:

Modules and functions under boss.api
Code under boss.util
Any other code that requires tests

Several tests have been written on this already.


docs(guides): fixes to the Production guide

In the Production guide,

Replaced the confusing clause "We'll use the development one for our webpack-dev-server, npm start, script" with "We'll use the development one for our npm start script", which is consistent with the next clause "and the production one for our npm run build script" (notice, it does not say "and the production one for our webpack, npm run build, script"). The sentence about using the new configuration files was rewritten. See https://github.com/webpack/webpack.js.org/pull/3256#discussion_r314993891.
Improved a sentence about minimizing CSS.

Thanks!


Auth screens the codeur

lets give a more descriptive name here button1 and button2

@CodesByBaafogAyo please refactor this accordingly; the best approach would be to have one style for all buttons since they are similar. Unless if they are accomplishing different purposes then we can have them take on descriptive names

All the latest changes are already merged into development; I will be closing this PR @BenCodeurr
subsequent changes will be pushed into Dev and not main directly.


Plot items should have default initialization for data

Plot items should by default have empty lists for x and y. This is convenient if one wants to first create plot item and then fill it. Also there should be convenience methods to plot functions and points with errors, but it probably better to separate them from plot items implementation.

hi, thanks for the suggestion.  can you provide the code that you think should work, so i can understand exactly?

I mean that this line should be like this:
private List<Number> xs = new ArrayList<>();

In this case I can do something like that:
Line = new Line();
for(d in data){
  line.x << d.x;
  line.y << d.y;
}

For now this code throws error since x and y are not initialized. Of course one can always write new Line(x: [], y: []), but it is not obvious.

yea this is a good idea, thx.


Shorten the serial numbers

Motivation
A few PRs ago we discovered that the transaction sizes increase by 64. This happens because we use to_bytes_le to serialize the serial numbers, instead of serialize previously. These two APIs behave differently:

serialize, from CanonicalSerialize, will keep minimal information, and therefore the final results is about 32 bytes, for the x coordinate of a point and a flag bit.
to_bytes_le, from ToBytes, will keep both x and y of the point.

In this PR, we change how ToBytes works for the account signature public key, so that it also only keeps the x coordinate. Note that it is not always okay to strip away y and only keep x: commonly this is only okay in the twisted Edwards curve.
This PR, therefore, makes the following changes:

propose a variant of Schnorr, called Schnorr compressed, that uses the observation above.
keep the original variant as an option

The reason we keep the original variant is for compatibility, as the way how account signature public key is serialized, actually affects how viewing keys are generated (!), so changing the account signature public key serialization rule can cause a lot of keys to be invalid. It is a big breaking change that one should do with cautions.
So, basically, there are two versions:

Schnorr, everything unchanged, with a small overhead in the transaction size.
SchnorrCompressed, everything is changed, overhead is smaller.

Test Plan
After resampling the parameterrrs, the tests should pass.
Related PRs
This is related to an old issue mentioned by Pratyush: https://github.com/AleoHQ/snarkVM/issues/277

LGTM

Follow up on the previous comment:

upon merging with the upstream, it seems that the inner SNARK VK is the short one (updated one). Can you take a look and check it is right?

the Tx size is even smaller: now 1278 bytes, while the upstream testnet2 has 1342 bytes. So it is 64 bytes down (as expected, since we have two serial numbers, and each one is now one element shorter)

the genesis block is smaller: 2230  -> 2166, which is also a gap of 64 bytes.

Suggested changes from Lukasz have been applied.

@howardwu This one is ready for parameter sampling.
This is better to put this in and then put the other one (#358), which I would clean it up after this one is merged.

Thanks! Got it, I will do this now.

On Aug 21, 2021, at 08:55, Weikeng Chen @.***> wrote:

@howardwu This one is ready for parameter sampling.
This is better to put this in and then put the other one (#358), which I would clean it up after this one is merged.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.


Why do you do the thing when you do the the asking when perpetuation defecation tax evasion dog is asian got a gayson

Exactly

Sus


🐞 Cannot close account provider select window

Description
I created a new account but cannot close the window where I can select the type of account I want to add, even after successfully adding an account.
Furthermore, the window where I can add account details is greyed out on the first attempt.
To Reproduce

Go to "Preferences > Accounts"
Click "+"
Select "GitHub"
Observe the account details window being greyed out
Click "Cancel" (continuing to create the account should also work)
Click "Cancel" (on the account select window)
Observe the account select window not going away

Expected behavior
The account select window should go away when clicking "Cancel".
Also the account details window should not be greyed out.
Version information
CodeEdit: 0.0.1
macOS: 13.1
Xcode: 14.2
Additional context
Reporting because I feel like these two issues belong together.
https://user-images.githubusercontent.com/9931588/212044628-03452a9a-33dc-4502-8253-4e37c8fdb1a3.mov

I can confirm, I’ve experienced this one as well.

Hi, I'd like to take this issue :)

@neilZon assigned it to you!


Added NavBar component and the JoinButton component

Lead i have made the corrections you asked me to make  and i will be waiting to get feedback from you.
https://github.com/WTMBamenda/wtm-bamenda-website-frontend/assets/97815665/dd334f5f-61ef-4a7b-8659-d9900dbc9bdc

This tackles #2


Move linear-partitioning package out of this repository

It's not slate-related.

Done with d95c4f8


Update top nav - Closes #1351

Closes #1351

@shuse2 thanks for your comments! I tried to address them as follows:

The header height is slightely lower, but imho it is high enough, I wouldn't increase the height further unless the space would be really required for the top nav.

I increased the padding to 32px now. As padding CSS values are defined relative (em & rem) it is a little difficult to stick to exact pixels, but I think it looks good like this. Tell me if you would like the padding to be bigger, then I will update it again.

top/bottom padding are now 32px as well, imho it looks good symmetrically, let me know if I should change it.

What exactly looks wrong for you in the hover style? Color, or something else?

Removed white space between Lisk and Docs logos.

Added now round border for the search bar, let me know if there is anything else to adjust.

I would like release the new UI together with the dark mode, to have a bigger wow effect :) So for now we can keep it like this, it will be updated with the dark mode as a last step of the design before releasing it.

As you can already see on gh-pages, where I already include the PR for updating toolbar, I moved the product and version selection to the toolbar. Imho, this is a much better solution, I would really like to keep it this way. That's why I removed the product links from the top nav, felt too redundant for me, and leaves more space for other links in the top nav.

For the design, please discuss with @ann-vashchenko , and adjust the design first since figma is source of truth.
For hover specifically, there is docs design library, so please refer to that style.
If the search bar is included in the PR, then the style should follow the design. ie) icon, font, placeholders, size etc
Product link was on the top right because it's important and we wanted to put it on the visible place. I think it was good on design as well

Let's try to keep the design as it is designed, and if we want to change, let's discuss and apply on the design first


Faster overlap mode scheduler

This PR improves the order of kernel launch and result fetching. Now the overlap scheduler can bring 10% throughput improvement even when radix cache is turned off. When the radix cache is turned on, we can expect more speedup.
Benchmark results
Overlap mode:  51.03 req/s
python -m sglang.launch_server --model meta-llama/Llama-3.1-8B-Instruct --disable-radix --enable-overlap
python -m sglang.bench_serving --model meta-llama/Llama-3.1-8B-Instruct --num-prompt 3000

============ Serving Benchmark Result ============
Backend:                                 sglang
Traffic request rate:                    inf
Successful requests:                     3000
Benchmark duration (s):                  58.79
Total input tokens:                      673672
Total generated tokens:                  581627
Total generated tokens (retokenized):    581405
Request throughput (req/s):              51.03
Input token throughput (tok/s):          11459.26
Output token throughput (tok/s):         9893.56
----------------End-to-End Latency----------------
Mean E2E Latency (ms):                   28986.97
Median E2E Latency (ms):                 29088.28
---------------Time to First Token----------------
Mean TTFT (ms):                          14495.13
Median TTFT (ms):                        11312.61
P99 TTFT (ms):                           36408.59
-----Time per Output Token (excl. 1st token)------
Mean TPOT (ms):                          144.25
Median TPOT (ms):                        86.74
P99 TPOT (ms):                           1081.64
---------------Inter-token Latency----------------
Mean ITL (ms):                           78.78
Median ITL (ms):                         32.48
P99 ITL (ms):                            529.30
==================================================

Normal mode: 46.06 req/s
python -m sglang.launch_server --model meta-llama/Llama-3.1-8B-Instruct --disable-radix
python -m sglang.bench_serving --model meta-llama/Llama-3.1-8B-Instruct --num-prompt 3000

============ Serving Benchmark Result ============
Backend:                                 sglang
Traffic request rate:                    inf
Successful requests:                     3000
Benchmark duration (s):                  65.14
Total input tokens:                      673672
Total generated tokens:                  581627
Total generated tokens (retokenized):    581402
Request throughput (req/s):              46.06
Input token throughput (tok/s):          10342.28
Output token throughput (tok/s):         8929.19
----------------End-to-End Latency----------------
Mean E2E Latency (ms):                   31574.46
Median E2E Latency (ms):                 31581.12
---------------Time to First Token----------------
Mean TTFT (ms):                          15352.12
Median TTFT (ms):                        11615.68
P99 TTFT (ms):                           39444.51
-----Time per Output Token (excl. 1st token)------
Mean TPOT (ms):                          157.51
Median TPOT (ms):                        96.38
P99 TPOT (ms):                           1131.20
---------------Inter-token Latency----------------
Mean ITL (ms):                           87.11
Median ITL (ms):                         37.10
P99 ITL (ms):                            554.28
==================================================

Notes

We still only use multi-threading under the limitation of GIL. We can expect a larger improvement if we move to multi-processing or we can turn off GIL.
The overlap scheduler is an experimental feature. I verified its accuracy on GSM-8k, and it matches that of the normal scheduler. It works for standard decoding, but it does not support sampling penalizers (e.g., frequency and repetition penalties) or constrained decoding (e.g., regex, JSON).

@merrymercy  Has this been tested on larger models? I tried the deepseek-v2.5 fp8 version, but it doesn't seem to show much improvement.

@merrymercy Have you ever tested overlap mode scheduler when receiving requests at a certain request rate rather than sending all the requests at the beginning?
When I test it without specifying request rate, everthing goes all right.
python -m sglang.bench_serving --backend sglang --num-prompt 10
But when i tried specifying request, letting requests sent in Possion distribution:
python -m sglang.bench_serving --backend sglang --num-prompt 10 --request-rate 2
I have encountered a mysterious bugs:
CUDA Error: device-side assert triggered (710) /tmp/build-via-sdist-d34cpfe8/flashinfer-0.1.6+cu121torch2.4/include/flashinfer/attention/decode.cuh: line 749 at function cudaFuncSetAttribute(kernel, cudaFuncAttributeMaxDynamicSharedMemorySize, smem_size) Exception in thread Thread-3 (forward_thread_func): Traceback (most recent call last):   File "/state/partition/ykchen/conda/envs/sglang/lib/python3.10/threading.py", line 1016, in _bootstrap_inner     self.run()   File "/state/partition/ykchen/conda/envs/sglang/lib/python3.10/threading.py", line 953, in run     self._target(*self._args, **self._kwargs)   File "/home/ykchen/sglang/python/sglang/srt/managers/tp_worker_overlap_thread.py", line 99, in forward_thread_func     self.forward_thread_func_()   File "/state/partition/ykchen/conda/envs/sglang/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 116, in decorate_context     return func(*args, **kwargs)   File "/home/ykchen/sglang/python/sglang/srt/managers/tp_worker_overlap_thread.py", line 116, in forward_thread_func_     logits_output, next_token_ids = self.worker.forward_batch_generation(   File "/home/ykchen/sglang/python/sglang/srt/managers/tp_worker.py", line 139, in forward_batch_generation     logits_output = self.model_runner.forward(forward_batch)   File "/home/ykchen/sglang/python/sglang/srt/model_executor/model_runner.py", line 594, in forward     return self.forward_decode(forward_batch)   File "/home/ykchen/sglang/python/sglang/srt/model_executor/model_runner.py", line 565, in forward_decode     return self.model.forward(   File "/state/partition/ykchen/conda/envs/sglang/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 116, in decorate_context     return func(*args, **kwargs)   File "/home/ykchen/sglang/python/sglang/srt/models/llama.py", line 371, in forward     hidden_states = self.model(input_ids, positions, forward_batch, input_embeds)   File "/state/partition/ykchen/conda/envs/sglang/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1553, in _wrapped_call_impl     return self._call_impl(*args, **kwargs)   File "/state/partition/ykchen/conda/envs/sglang/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1562, in _call_impl     return forward_call(*args, **kwargs)   File "/home/ykchen/sglang/python/sglang/srt/models/llama.py", line 284, in forward     hidden_states, residual = layer(   File "/state/partition/ykchen/conda/envs/sglang/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1553, in _wrapped_call_impl     return self._call_impl(*args, **kwargs)   File "/state/partition/ykchen/conda/envs/sglang/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1562, in _call_impl     return forward_call(*args, **kwargs)   File "/home/ykchen/sglang/python/sglang/srt/models/llama.py", line 234, in forward     hidden_states = self.self_attn(   File "/state/partition/ykchen/conda/envs/sglang/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1553, in _wrapped_call_impl     return self._call_impl(*args, **kwargs)   File "/state/partition/ykchen/conda/envs/sglang/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1562, in _call_impl     return forward_call(*args, **kwargs)   File "/home/ykchen/sglang/python/sglang/srt/models/llama.py", line 171, in forward     attn_output = self.attn(q, k, v, forward_batch)   File "/state/partition/ykchen/conda/envs/sglang/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1553, in _wrapped_call_impl     return self._call_impl(*args, **kwargs)   File "/state/partition/ykchen/conda/envs/sglang/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1562, in _call_impl     return forward_call(*args, **kwargs)   File "/home/ykchen/sglang/python/sglang/srt/layers/radix_attention.py", line 60, in forward     return forward_batch.attn_backend.forward(q, k, v, self, forward_batch)   File "/home/ykchen/sglang/python/sglang/srt/layers/attention/__init__.py", line 58, in forward     return self.forward_decode(q, k, v, layer, forward_batch)   File "/home/ykchen/sglang/python/sglang/srt/layers/attention/flashinfer_backend.py", line 284, in forward_decode     o = decode_wrapper.forward(   File "/state/partition/ykchen/conda/envs/sglang/lib/python3.10/site-packages/flashinfer/decode.py", line 589, in forward     return self.run(   File "/state/partition/ykchen/conda/envs/sglang/lib/python3.10/site-packages/flashinfer/decode.py", line 673, in run     out = self._wrapper.run( RuntimeError: BatchDecodeWithPagedKVCache failed with error device-side assert triggered
This script works with normal scheduler.
Did I make any mistakes or it's a bug for overlap mode scheduler?

@ykcombat Did you try it with the latest main branch? If the error is still there, please open a new issue with reproducible instructions. We will fix it very soon if we can reproduce that.

@ykcombat Did you try it with the latest main branch? If the error is still there, please open a new issue with reproducible instructions. We will fix it very soon if we can reproduce that.

@merrymercy Thanks for your quick reply! I tried it with the latest main branch but it seems that the error is still there. I have opened a new issue at https://github.com/sgl-project/sglang/issues/2312.


Failed to connect Dreame D10 Plus

Describe the bug
I have HomeAssistant and the Robot on the same network (<IP_ADDRESS> and <IP_ADDRESS>) i can login, and the the setup stops in the prompt for the IP and Token, and gives me a error that it failed to connect.
The token is correct acording to the "token_extractor.py" script. The Ip is also correct.
The robot is at the latest version: 4.3.3_1303
Additional Information (please complete the following information)

Model Name: dreame.vacuum.r2205
Firmware Version: 4.3.3_1303
Home Assistant Version: 2023.11.2
Configuration Type [With or without map support]: the same with both

Installed the beta and its working. Sorry for the trouble


Serverpod 1.2 can't create a project

Discussed in https://github.com/serverpod/serverpod/discussions/1691

Originally posted by Disregard-Therest December 25, 2023
Hi, the initial script can't finish
Last line still in progress after 20 minutes. I think it is not real and there must be some error.

This issue is solved on main already as it was related to the old volumes still being there from an old project.


Improve XML documentation for API reference

Need to improve XML comments for the autogenerated API reference. For example, none of the things are documented in the series module.
There’s nice documentation of stuff in index.fsx. So it should mostly be a matter of copying that info from index.fsx into XML comments so that both index.fsx and API reference have good docs.

Fixed by removing usemarkdowndocs from the fsproj in commit https://github.com/nhirschey/FSharp.Data.Fred/commit/4701faca1f84e5b103652f37eea88ae5199ce056