Flutter run crashes on missing gradlew

When i am trying to run flutter project in linux os (ubuntu 16.04) which is previously working in windows laptop iam getting an error that
Oops; flutter has exited unexpectedly.
Steps to Reproduce
This error is getting when i am trying to run command flutter run.
Attaching log file with this issue.
when i am running flutter doctor -v am getting
[✓] Flutter (Channel stable, v1.0.0, on Linux, locale en_IN)
• Flutter version 1.0.0 at /home/vkchlt0099/Development/flutter
• Framework revision 5391447fae (4 months ago), 2018-11-29 19:41:26 -0800
• Engine revision 7375a0f414
• Dart version 2.1.0 (build 2.1.0-dev.9.4 f9ebf21297)
[✓] Android toolchain - develop for Android devices (Android SDK 28.0.3)
• Android SDK at /home/vkchlt0099/Android/Sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-28, build-tools 28.0.3
• Java binary at: /home/vkchlt0099/Development/android-studio/jre/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)
• All Android licenses accepted.
[✓] Android Studio (version 3.3)
• Android Studio at /home/vkchlt0099/Development/android-studio
• Flutter plugin version 34.0.1
• Dart plugin version 182.5215
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)
[✓] Connected device (1 available)
• Le X509 • Z9USOFZ5QGOV8LLV • android-arm64 • Android 6.0 (API 23)
• No issues found!
flutter_01.log

Hi @vineethmohanvvdn
This looks like a tool crash issue, flutter run doesn't crash anymore when gradlew is missing
Closing, as fixed. If you disagree, please write in the comments and I will reopen it.
Thank you


FW-1851

Dashboard Detail > Selected item panel:

Task summary:  updated text to: {ITEMTYPE} review requested by {FIRST} {LAST}, drop email
"Above the visibility drop down, add text that says: Currently {VISIBILITY} can see this {ITEMTYPE}.
Updated the Who can see this text: Now displays {FIRST} {LAST} requested a change to: or Change to: if no visibility change requested
Drop down autoselects the requested visibility if one requested, if not selects the current visibility
Date in format MM/DD/YYYY (matching designs)

Dashboard Detail > Sidebar:

Removed visibility text
Dropped email
Date in format MM/DD/YYYY (matching designs)
Styling updates after task has been approved/rejected
General styling updates to sidebar to better match designs

Also:

Improved jsDocs

Thanks for the review @gmcauliffe


:arrow_up: git-utils

Description of the Change
Update git-utils dependency to 5.3.0 to make use of updated libgit2 0.26.0.  (https://github.com/atom/git-utils/pull/77)
Submitting this as a PR to make sure that we don't run into any CI issues with the change.

Looks like there's a problem with the Windows build of git-utils, will investigate.

Time to pull and rebuild :). thanks so much.

And thank you too! Happy to get this merged :)


feat: core readme 수정

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


cipher warnings in server logs

I see a few warnings in the log of the vpn server when a client connects:
Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
WARNING: INSECURE cipher with block size less than 128 bit (64 bit).  This allows attacks like SWEET32.  Mitigate by using a --cipher with a larger block size (e.g. AES-256-CBC).
Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
WARNING: INSECURE cipher with block size less than 128 bit (64 bit).  This allows attacks like SWEET32.  Mitigate by using a --cipher with a larger block size (e.g. AES-256-CBC).
Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
WARNING: cipher with small block size in use, reducing reneg-bytes to 64MB to mitigate SWEET32 attacks.
Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 2048 bit RSA

from reading docs/paranoid.md, those should be fixable using -C 'AES-256-CBC'  -a 'SHA384'. Any reason those are not defaults?

Duplicate of #163

This is most likely caused by your OpenVPN client.  Upgrade it and it'll negotiate a strong cipher.


[incubator/jaeger]  FIX - Set elasticsearch password only if used

Signed-off-by: Naseem<EMAIL_ADDRESS>
What this PR does / why we need it:
Please see https://github.com/helm/charts/issues/15122#issuecomment-509728009
Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

fixes #

Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/chart])

/LGTM

I just realized this is broken because the eq function is not given a second argument.

AFK now but will do in a bit

Sorry about that guys, here is the fix: https://github.com/helm/charts/pull/15413


Mapping of the eHN element Reporter

(1) the element conveys different participants, attester, interpreter/author. which of them is expected to be represented
(2) How much is this relevant ? (never seen at the level of single test...) are not these kinds of data inferred from the perfomer ?
(1) In any case I'm not able to find a direct mapping in the Observation resource: should we map them at the level of Composition /DR (but we loose the link with the single observation) ? Could be enough to have this at the level of section ?
@danka74 , @kruzikh thoughts ?

Lab observation could have several participants according to my experience:

on the observation level:

performer: a person, organiztion or both, that performed the test, element should be optional
a person that interpretes and/or validates the result: it is being called reporter in the EHN dataset, element should be optional

on document (report) level:

author (of the report): person or information system who assembled the report or its part. Author could be the same as performer of all or some observations. Each report must have at least one author
attester: (optional) a person and organization who validated lab report before submission
legal authenticator: person legally responsible for the report and its content, usually head of lab department. Each report should have at least 1 legal authenticator (untill we decide to make it optional :-))
I would think of making an extension of the observation to allow use of reporter. I dont think that we can move it to the composition level.

a person that interpretes and/or validates the result: it is being called reporter in the EHN dataset, element should be optional

as I wrote above  intepreter and attester are two distinct participants, which of them are you looking for ?
If both it would be better to make them explicit in the model

At the implementation level the only solution I see is that of mapping all of them in the perfomer function, taking advantage of the extension performer function (see https://build.fhir.org/ig/HL7/fhir-extensions/StructureDefinition-event-performerFunction.html)
My question is if this worth ....

After a discussion (me, Gunnar, Daniel), we agreed that use of the http://hl7.org/fhir/StructureDefinition/event-performerFunction extension might be useful for complex situations. If there will be more then oně performer, we might make this extension mandatory in order to distinguish between different performer roles.

Added optional extension http://hl7.org/fhir/StructureDefinition/event-performerFunction
set as default value v3-ParticipationType#RESP // Responsible party


KVStore: Reduce lock contention in RegionPersister::doPersist (release-6.5)

cherry-pick of https://github.com/pingcap/tiflash/pull/8584
What problem does this PR solve?
Issue Number: close https://github.com/pingcap/tiflash/issues/8583
Problem Summary:
https://github.com/pingcap/tiflash/blob/5980908e68629f40c2191ae2d100f41d554dce44/dbms/src/Storages/KVStore/MultiRaft/RegionPersister.cpp#L99-L125
RegionPersister::doPersist acquires a lock and calls PageStorage::write with the lock. This means when we're persisting Region meta, all other threads can not do the persistence for other Region meta. Which is not reasonable.
What is changed and how it works?
There is a region_task_lock to ensure that only one thread could call RegionPersister::doPersist at the same time. And PageStorage support multi-thread reading and writing for different page_id. There is no need to acquire another lock in RegionPersister::doPersist that could slowdown the raft apply process
And also remove calling KVStore::persistRegion with a null region_task_lock. So we can simplify codes and remove the member RegionPersister:: RegionManager
Check List
Tests

[x] Unit test
[ ] Integration test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

Reduce the impact of disk performance jitter on write throughput

/run-all-tests


Regional endpoints

Lower latency for local stuff and gets CF out of the way for custom CF etc

Awesome!

Can I request a bump in this,  maybe as a Pro feature? I’m setting up an app with custom CF.

@sudhirj I'll take another look today, I have a branch going but I forget what I was stuck on haha

Should have this in a release tomorrow, it's just a bit slow to QA with how long it takes to test the various settings / deploys

v1.0.0 Pro has lambda.type: "regional" now 🎉
https://up.docs.apex.sh/#configuration.lambda_settings

Thanks a ton :)


Allow Custom Folder Names for Run Set Report Folder

Is your feature request related to a problem? Please describe.
When executing a run set in Ginger, the post execution action Generate Report will create a folder with a unique string appended to the name of the run set BBTR_REGRESSION_XXXXXXXXXX. Instead of a random unique string, it would be nice to allow a variable to be passed here to be used as the folder name.

In my specific case, I work on automation as part of Amdocs' QE automation development team and we often use run sets to generate reports for progression and regression testing. Unfortunately, when the time comes to view the reports it's very difficult to identify which folder contains the execution report that we need so we end up having to open the folders one-by-one to see the report contents.
Describe the solution you'd like
When configuring the post execution run set action, add another input field to allow the user to edit the name that will be used to create the folder. Bonus: Allow this input field to have the Value Expression editor so variables can be passed in. Once the run set finishes execution, the folder containing the execution report will be the name defined in the Design settings.

Describe alternatives you've considered
We've tried to use python to edit the folder with a custom name after each run set execution but this solution feels disjointed and could possibly be better handled by the Ginger UI itself as a setting in the post execution Details tab.
Additional context
None.

Even if we provide some variable to be used as folder name, it will have to contain some separate characters to be differentiated from each runs of the same executions otherwise, it will fail to create folder with exactly the same name all the times.
You can use option of having same folder always to be updated for every run of the runset and have only single report at any given time, by Selecting the option of "Keep single report folder for all Run Set executions" given in the screenshot you have attached.

@digvijayAMDX Please close this ticket - thanks.


Rebound changes: add support for softening and for setting boundary types (only for some integrators)

do you know what the end_time_accuracy_factor in the test_rebound.py is??

Not sure - could it be related to exact_finish_time ("set to 1 to finish the integration exactly at model_time. Set to 0 to finish at the next dt")? That one is currently hard-set to 1, but I changed it in my working branch to a proper parameter.

I think if it is possible to finish at the exact time this is preferable (spec of AMUSE is to finish at end_time or later), so I don't think this parameter is necessary..but then the paramter exact_finish_time should always be 1 (and end_time_accuracy_factor removed from the test)...

Well, I added it for testing purposes (was getting weird timestep problems, but I think Arjen solved that problem now). It's an optional parameter in Rebound itself. I agree, end_time_accuracy_factor seems to have purpose to me and should be removed if that is indeed so.

ok, i have removed end_time_accuracy_factor from the test (just to double check: it was not defined in interface.py of master)

It's a parameter in Hermite (the test may have come from that), it is used to stop the simulation just before, exactly on or just after the given time in evolve_model. (it is now only in Hermite, as an "experimental" feature).


refactor: use parent class for tests when appropriate and move using * to the top

This is the stuff you can do when you're on a flight without internet XD


[google_sign_in] Bump minimum Flutter version and iOS deployment target

Flutter apps run on 2.4.0-0.0.pre and later will be upgraded to a minimum of iOS 9.0.  Now that Flutter 2.5 has hit stable and iOS 8 support has been dropped, change the plugin minimum iOS version to 9.0.
Bump the Flutter and dart version constraints to 2.5 and 2.14 respectively to enforce that the iOS 9.0 migration has happened on the app side, because an older 8.0 app won't build with a 9.0 plugin.  I believe the last time this was done was a few months ago for null safety adoption https://github.com/flutter/plugins/pull/3324 (there's recent precedent).
Users on Flutter versions lower than the current stable 2.5 will not be able to upgrade this plugin past this version.
google_sign_in part of https://github.com/flutter/flutter/issues/84198
Pre-launch Checklist

[x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
[x] I read the [Tree Hygiene] wiki page, which explains my responsibilities.
[x] I read and followed the [relevant style guides] and ran [the auto-formatter]. (Note that unlike the flutter/flutter repo, the flutter/plugins repo does use dart format.)
[x] I signed the [CLA].
[x] The title of the PR starts with the name of the plugin surrounded by square brackets, e.g. [shared_preferences]
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated pubspec.yaml with an appropriate new version according to the [pub versioning philosophy].
[x] I updated CHANGELOG.md to add a description of the change.
[x] I updated/added relevant documentation (doc comments with ///).
[ ] I added new tests to check the change I am making or feature I am adding, or Hixie said the PR is test exempt.
[x] All existing and new tests are passing.

Hmm, publishable is complaining about secret keys in the example project.  I guess it just hasn't run on this package since that check was turned on @stuartmorgan?
ERROR: Package validation found the following errors:
ERROR: * line 16, column 17 of example/lib/main.dart: Potential leak of Google OAuth ID detected.
     â·
  16 â   // clientId: '479882132969-9i9aqik3jfjd7qhci1nqf0bm2g71rm1u.apps.googleusercontent.com',
     â                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     âµ
* line 24, column 26 of example/android/app/google-services.json: Potential leak of Google API Key detected.
     â·
  24 â           "current_key": "AIzaSyCrZz9T0Pg0rDnpxfNuPBrOxGhXskfebXs"
     â                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     âµ
* 28 potential leaks detected in 5 files:
  - /example/android/app/google-services.json
  - /example/ios/Runner/GoogleService-Info.plist
  - /example/ios/RunnerTests/GoogleSignInTests.m
  - /example/lib/main.dart
  - /example/web/index.html

  Add git-ignore style patterns to `false_secrets` in `pubspec.yaml`
  to ignore this. See https://dart.dev/go/false-secrets

I guess it just hasn't run on this package since that check was turned on @stuartmorgan?

Yep, looks like a new server-side check. We should just add the whitelist, since the keys are both checked in publicly and also previously published.


Change your README

well thanks its just that this is like my first proper project so I was kinda lost


bump opennlp version (from 1.9.1 to 1.9.2)

Codecov Report

Merging #44 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #44   +/-   ##
=========================================
  Coverage     54.23%   54.23%
  Complexity      281      281
=========================================
  Files            58       58
  Lines          1451     1451
  Branches        210      210
=========================================
  Hits            787      787
  Misses          611      611
  Partials         53       53

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 75eb2fa...2a554b6. Read the comment docs.


CircleCI status badge - Readme.me

Hi,
i've got an issue with loading the CircleCI badge status

the link seems to be compliant according to their doc
About DevDependency, i'm not sure.
Regards
Amaury

Without the tutorial name, I am unable to assist.  I am happy to reopen if more information is provided.


feat(utils): add named http codes and phrases

Author should do the followings, if applicable

[x] Add tests
[x] Run tests
[ ] bun denoify to generate files for Deno

In my personal opinion, this does not seem very necessary. The reason-phrase has been ignored since HTTP/2 and would only increase the size.

I agree the phrases do not add a lot of value, however still I think the named status adds a lot of readability.

Hi @qoomon
Thank you for the PR.
We had the same feature but removed it in this PR: https://github.com/honojs/hono/pull/1037.
I'm still thinking it's unnecessary for the same reason.

Eventually I agree and understand.

Thanks!


npm init behaves different than node src/bin

Manually running from cloned repo in marko-js/cli/packages/create:
❯ node src/bin --template tags-api
✔ Type your project name · my-app
✔ Project created! To get started, run:

    cd my-app
    npm run dev

❯ cd my-app

❯ cat package.json
{
  "name": "my-app",
  "description": "The Marko starter app with the tags api preview enabled",
  "version": "1.0.0",
  "dependencies": {
    "@marko/tags-api-preview": "^0",
    "marko": "^5"
  },
  "devDependencies": {
    "@marko/build": "^4",
    "@marko/serve": "^4"
  },
  "private": true,
  "scripts": {
    "build": "marko-build ./src/pages",
    "dev": "marko-serve ./src/pages",
    "start": "NODE_ENV=production node ./build/index.js"
  }

Works as expected.
However, when using npm init:
❯ npm init marko --template tags-api
? Choose a template …  Use ↑ and ↓. Return ⏎ to submit.
❯ Default starter app
  Example from marko-js/examples

...
❯ npm init marko --template tags-api
✔ Choose a template · Default starter app
✔ Project created! To get started, run:

    cd tags-api
    npm run dev

❯ cd tags-api

❯ cat package.json
{
  "name": "tags-api",
  "description": "The default Marko starter app",
  "version": "1.0.0",
  "dependencies": {
    "marko": "^5"
  },
  "devDependencies": {
    "@marko/build": "^4",
    "@marko/serve": "^4"
  },
  "private": true,
  "scripts": {
    "build": "marko-build ./src/pages",
    "dev": "marko-serve ./src/pages",
    "start": "NODE_ENV=production node ./build/index.js"
  }

See above it looks as though tags-api is being used as name of app and not take as template option.
❯ npm init marko tagapiapp --template tags-api
✔ Choose a template · Default starter app
✖ The "path" argument must be of type string. Received an instance of Array

TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received an instance of Array
    at new NodeError (node:internal/errors:371:5)
    at validateString (node:internal/validators:120:11)
    at Object.resolve (node:path:1098:7)
    at create (~/.npm/_npx/0a9fd74b321b4319/node_modules/@marko/create/dist/index.js:50:28)
    at createProject (~/.npm/_npx/0a9fd74b321b4319/node_modules/@marko/create/dist/index.js:37:18)
    at run (~/.npm/_npx/0a9fd74b321b4319/node_modules/@marko/create/dist/cli.js:141:20)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_INVALID_ARG_TYPE'
}

Trying to add name on cli command results in array error for path argument.
❯ cat<EMAIL_ADDRESS>| grep version
  "version": "6.1.0",

Not sure if anyone can reproduce or if it is only me?

The following seems to fix the issue with CLI flags not being read correctly on my machine:
❯ npm init -- marko --template tags-api
✔ Type your project name · heyhey
✔ Project created! To get started, run:

    cd heyhey
    npm run dev

❯ cd heyhey

❯ cat package.json
{
  "name": "heyhey",
  "description": "The Marko starter app with the tags api preview enabled",
  "version": "1.0.0",
  "dependencies": {
    "@marko/tags-api-preview": "^0",
    "marko": "^5"
  },
  "devDependencies": {
    "@marko/build": "^4",
    "@marko/serve": "^4"
  },
  "private": true,
  "scripts": {
    "build": "marko-build ./src/pages",
    "dev": "marko-serve ./src/pages",
    "start": "NODE_ENV=production node ./build/index.js"
  }

Notice the -- separator in npm init -- marko --template tags-api
I have encountered the issue on a long running heavily customized macOS dev machine as well as a mostly stock and newer macOS machine so not sure if it's just me but it seems to be an issue everywhere I've tried.
Perhaps update the suggested command across the docs and twitter post to make it more robust regadless?

See #214 for PR fix


pip install support

test with
python -m pip install git+https://github.com/hannesdelbeke/usd-qtpy.git@main

includes automated pip install build with github action when you make release.

to setup. add a secret to your project with your PYPI auth token
name the token on github PYPI_API_TOKEN
then create a release with a version tag on github, it will auto package and upload to PYPI

if that all looks good, can you give it a test with pip installing it? see if that works for you
python -m pip install git+https://github.com/hannesdelbeke/usd-qtpy.git@main

actually nvm that wont work, i didnt merge in main, use this
python -m pip install git+https://github.com/hannesdelbeke/usd-qtpy.git@py-package

Haha, was just about to comment on that line. Will give it a go - wait a sec.

anything remaining before merging this?

anything remaining before merging this?

Yes, just me and the PyPi setup with the repository secrets.
With this merged - could you walk me through the steps I need to take to push a (first version) update to PyPi?

create a PYPI account
go to https://pypi.org/manage/account/ and scroll down to API tokens
create an API token with access to all projects, i name mine github, copy and save it somewhere. (i use password manager)
create a secret for your project in the github repo settings , copy the API token value in here. and name it PYPI_API_TOKEN
then create a release on github, it should auto upload to PYPI. check your project's actions to see the progress


External network: watch Connections instead of TunnelEndpoints

Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes #(issue)
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Please also note any relevant details for your test configuration.

[ ] Test A
[ ] Test B

/build

/build

/build

/build


[ETHOSN] Update driver stack version to 22.08

Updates the driver stack used by the NPU to the latest released version (semantic version 3.1.0), while maintaining backwards compatibility for the previous version 22.05 (semantic 3.0.1) during the migration period. In addition, support for split is re introduced as this is now supported in 22.08.
cc @leandron @NicolaLancellotti

Blocked on https://github.com/apache/tvm/issues/12703


WIP: Implemented a new linux kernel

The virutal linux kernel should isolate the process from the host. There are many system calls that are very similar to the original linux kernel, but I decided to just copy the syscalls for now.
This commit adds the following:

Beeing able to pass a "os-hint" by cli, this is done because there are now 2 linux kernels.
An initial version of the virtual linux kernel.

I have to figure out how to map files into the process. The goal would be to do this with the Lua bindings.
What do you think about the approach?
Note: The goal of this kernel (for now) is to run simple CTF challenges, not to be feature complete.

Awesome! Have you seen gvisor? We should really port their linux kernel. It's way more complete than even the usercorn passthrough kernel.
My long term plan for isolation isn't to use separate kernels, it's to build abstractions like virtual filesystem, virtual networking, virtual process space, and implement both fully virtual and native implementations of these.
I'll take a look at this PR soon!

No, I did not really look into gvisor.
 I will extend the syscalls over time as I try to execute more CTF binaries.

Thank you very much for the hints! This will definitely help! Just to be sure, the VFS does not yet exist? Because this is one of the main reasons I am doing this :)

usercorn does not have a vfs yet. You should really look at gvisor. They have a vfs subsystem that handles a bunch of syscalls, I bet you could port it.

some relevant parts of gvisor code:
https://github.com/google/gvisor/blob/master/pkg/sentry/syscalls/linux/sys_file.go
https://github.com/google/gvisor/tree/master/pkg/sentry/fs/ramfs

I fear that porting the kernel might be too much effort, as it everything seems to be interconnected and not intended to be used in our way.
Porting the ramfs could be easier, but I think we should offer an API similar to the original os API.

I'm okay aiming for closer to the os api, or even the syscall api. we'd need to add some methods (like we ideally need to be able to mmap files efficiently)

gvisor is absolutely intended to be used in the exact same way as usercorn's kernel emulator: it can run completely isolated from the host (so it mostly doesn't depend on a specific host kernel), and has its own network stack and fully virtual filesystem layer. It does seem like a fair bit of work, but it's worth mentioning as the best available reference besides usercorn for "how do I pretend to be a linux kernel, but not on a linux host, in Go".

I would not be concerned about efficiently for now
How do you want to make it efficient? Not read the whole file but only the pages accessed?

I completely agree that their kernel is awesome. Maybe we should create an issue there to ask whether they think something like this can be done.

"proper" mmap for a fully virtual file means:

mmu / page table (we actually have this!)
leave the memory unmapped on the cpu
when the memory is accessed by the cpu and faults, invoke a page fault handler that walks the page table, finds the virtual-file-backed-page, and uses uc_mem_map_ptr to map that page memory into the vm as zero-copy
potentially copy-on-write / PRIVATE page support (pages that fault on write, and the page fault handler just makes a copy of the data and remaps the region to point at the copy) - a variant on this is EXTREMELY nice for usercorn's fuzzing harness, and I think could make usercorn's afl forkserver way faster than a real OS fork!

I spent some time digging through their code when it was released, and it can definitely be done, it's just a matter of how much work it is and how much needs to be adapted on each side (and how much can be deleted)

I have troubles getting the Lua part to work:
us:Kernels()

and
on sys 'brk' do
  us:Kernels()
end

give me errors like <string>:2: attempt to call a non-function object. Do I need to create the Lua bindings first?

Ok, I made some progress! I had some troubles running running the ld-linux-x86-64.so.2 binary because the was a bug in the Auxv passing, but now my sample binary works.


shinyproxy 2.4.1 deployed on docker swarm is unresponsive even under very moderate load

@fmichielssen : disabling HTTP/2 at the load balancer indeed solves the 503 issue, the resources are properly returned then.
The load balancer itself does http1.1 requests towards the Shinyproxy in both cases, it seems as if HTTP/2 is active, then the requests from the load balancer towards Shinyproxy are "too fast" to be handled.
Maybe this is helpful, if HTTP/2 is active, then Shinyproxy reports the following error:
2019-04-16 14:08:52.303 ERROR 1 --- [   XNIO-2 I/O-2] org.xnio.nio                             : XNIO000011: Task io.undertow.server.handlers.proxy.ProxyHandler$ProxyClientHandler@60d73b7a failed with an exception

java.lang.IllegalStateException: UT000004: getResponseChannel() has already been called
	at io.undertow.server.HttpServerExchange.addResponseWrapper(HttpServerExchange.java:1463) ~[undertow-core-1.4.22.Final.jar!/:1.4.22.Final]
	at io.undertow.server.HttpServerExchange.addResponseCommitListener(HttpServerExchange.java:1834) ~[undertow-core-1.4.22.Final.jar!/:1.4.22.Final]
	at eu.openanalytics.containerproxy.util.ProxyMappingManager$1.getConnection(ProxyMappingManager.java:70) ~[containerproxy-0.6.0.jar!/:0.6.0]
	at io.undertow.server.handlers.proxy.ProxyHandler$ProxyClientHandler.failed(ProxyHandler.java:329) ~[undertow-core-1.4.22.Final.jar!/:1.4.22.Final]
	at io.undertow.server.handlers.proxy.ProxyHandler$ProxyClientHandler.queuedRequestFailed(ProxyHandler.java:341) ~[undertow-core-1.4.22.Final.jar!/:1.4.22.Final]
	at io.undertow.server.handlers.proxy.ProxyConnectionPool.connect(ProxyConnectionPool.java:531) ~[undertow-core-1.4.22.Final.jar!/:1.4.22.Final]
	at io.undertow.server.handlers.proxy.LoadBalancingProxyClient.getConnection(LoadBalancingProxyClient.java:301) ~[undertow-core-1.4.22.Final.jar!/:1.4.22.Final]
	at eu.openanalytics.containerproxy.util.ProxyMappingManager$1.getConnection(ProxyMappingManager.java:69) ~[containerproxy-0.6.0.jar!/:0.6.0]
	at io.undertow.server.handlers.proxy.ProxyHandler$ProxyClientHandler.run(ProxyHandler.java:310) ~[undertow-core-1.4.22.Final.jar!/:1.4.22.Final]
	at org.xnio.nio.WorkerThread.safeRun(WorkerThread.java:582) [xnio-nio-3.3.8.Final.jar!/:3.3.8.Final]
	at org.xnio.nio.WorkerThread.run(WorkerThread.java:466) [xnio-nio-3.3.8.Final.jar!/:3.3.8.Final]

@shrektan : Sticky session had no effect
Originally posted by @senfbrot in https://github.com/openanalytics/shinyproxy/issues/65#issuecomment-483686676

Hello all,
I have shinyproxy deployed on premise on a docker-swarm cluster. HAPROXY acts as a reverse proxy before shinyproxy.
HAPROXY has been deployed as described here: https://www.haproxy.com/blog/haproxy-on-docker-swarm-load-balancing-and-dns-service-discovery/ (third scenario)
WIth version 2.3.1 we are suffering the same problems reported in #65, we disabled the http2 support but it made no difference.
With version 2.4.{0,1} shinyproxy just stops answering. It gives no exception, it never recovers: I have to restart the container service to make it work again.
Our running application.yml follows.
Any hint on how to investigate the behaviour?
application.yml.txt
.

If you really want this to be resolved soon... I strongly suggest one of you take some time to make a reproducible example as I did here. It's only so that the author / maintainer of ShinyProxy can reproduce locally thus locate the root cause of issue...

If you really want this to be resolved soon... I strongly suggest one of you take some time to make a reproducible example as I did here. It's only so that the author / maintainer of ShinyProxy can reproduce locally thus locate the root cause of issue...

Thanks, yes, I'll provide a complete working configuration.

I removed haproxy from the equation, and it seems that a specific shiny app that we run make  the whole service hang after some activations. We'll try to debug it and eventually report what we found

Sorry, I forgot to update and close the issue!
The application I was talking about required a specific CPU feature that was not supported by the hypervisors that hosted the Docker Swarm cluster.
I started another cluster in a different infrastructure, and the hangs never happened there.
So it was a problem of our infrastructure.

Thanks for reporting back! It's good to know that these kind of issues exists.


Add net_bits_per_second_sent, net_bits_per_second_recv, net_packets_per_second_sent and net_packets_per_second_recv metrics to net plugin

Thank you @SokoloffA, but this qualifies as a "derived metric" so I'm not going to merge it. You can calculate these using the InfluxDB derivative() function: https://influxdb.com/docs/v0.9/query_language/functions.html#derivative

I understand, your want to reduce the amount of transfered and stored information.
But for many people utilization more sensible than the number of transfered bytes. For example, if I have a SQL server, first of all I'm interested how my network card is utilized, but not how many bytes server transfered since last reboot. In truth, I'm not interested in traffic since the last reboot, maybe I would like to see how many bytes was sent during the last month or some day but not since the last reboot.
Is it possible to receive traffic for the period using bytes_sent? Say, how would look a query which will return the number of bytes sent during month? Is this data will correct, if server was rebooted in this period and counter was reseted?
Seems that the query will be not simple. it's no good, the system should be user-friendly out of the box. As Alan Kay said, "Simple things should be simple, complex things should be possible." Btw, I was not able to use the DERIVATIVE function in Grafana. I get an error "Error Response InfluxDB: error parsing query: aggregate function required inside the call to derivative".
We can get transferd bytes from bits_per_second using the SUM function. And IMO is more clearer.
I have a suggestion which everybody can agree. Each section in the configuration file should contain a list of the counters that the user wants to save. For example.
[net]
    interfaces = ["eth0"]

    bytes_sent = Off
    bytes_recv = Off
    packets_sent = Off
    packets_recv = Off
    err_in = On
    err_out = On
    drop_in = On
    drop_out = On
    bits_per_second_sent = On
    bits_per_second_recv = On
    packets_per_second_sent = On
    packets_per_second_recv = On

Then we can add a lot of different counters, and the user chooses what he wants to keep. One will save bytes_, another bits_per_second_. In addition this will allow us to reduce traffic and the amount of data compared with the current situation. Let's say I'm not interested in the counters of packages, and I can turn them off.

That is a huge amount of configuration complication to add to every plugin. There are ways to query for everything you asked for. There is also a non_negative_derivative function which would ignore times when the server is rebooted.
I agree 100% that this needs to be documented better (welcome to open-source ;-)), I am working on a blog post on this exact subject of calculating "per-second" metrics from telegraf data.
For looking at historical data, of course this can also be queried using influxdb, I don't see how having the per_second measurements help you?

see https://github.com/influxdb/influxdb/pull/2569

Thanks for the advise about DERIVATIVE function. We can query this data, but it has restrictions:

As I understand influxdb 0.9 does not support HAVING, so I won't be able to get the number of seconds when my card was loaded more 90%.
It doesn't work in grafana. Yes it's a lack of grafana, not telegraf, and must be fixed. But in any case the user does not have one standard way to get base metrics of his system.
NON_NEGATIVE_DERIVATIVE can miss data after rebooting, or to return incorrect data (less than really).

It's perfect that influxdb allows to do complex queries, but complex queries should be used for complex analysis. I do not propose to abandon complex queries, and add all possible combinations of metrics. But there is a list of the metrics which are used everywhere and they should be available the easiest way. The standard workflow of administrators:

install the program
configure it
regularly use queries of data

You simplify the second point, but make third hardes. The configuration is done once, but the requests will be made every day.
You wrote "that is a huge amount of configuration complication". I don't agree with you, the number of lines in the config will increase, but the complication will increase slightly. This is a very simple concept, there are metrics and we can enable/disable each of it. IMHO this concept is easier that current. If we look at CPU plugin, it has 3 settings
# Whether to report per-cpu stats or not
  percpu = true
# Whether to report total system cpu stats or not
  totalcpu = true
# Comment this line if you want the raw CPU time metrics
  drop = ["cpu_time"]

The novice will have to understand what these 3 settings are doing and how they are interrelated. In my solution, we have more lines, but all they do some - on or off one metric.
Again, many people are not interested in the details such User, System, Nice, Iowait, Irq, etc., they need one simple counter - how processor is busy. But we can't add such metric because it's "derived metric". As resul such guys must to store 10 times more data and query data from 10 columns.

I don't disagree with you that it's a little more difficult to query for data via a derived metric. My problem is that it's bad database design to duplicate easily queryable data. For example, it would probably be easier to make a MySQL database without foreign keys but it sort of defeats the purpose of using a relational database in the first place.
Rate of change metrics are something I'll need to talk with other people here at Influx about, the general idea so far has been that people should use the DERIVATIVE function, but if there are compelling problems that the DERIVATIVE functions can't solve then we may need to revisit this.
Re: innacurate NON_NEGATIVE_DERIVATIVE, if that's true you should open an issue against influxdb, it shouldn't be inaccurate. I'm not sure what you mean by it dropping data on reboot, the whole point is that it drops the one point at which the derivative is negative, how else could a reboot of a counter be handled?
Re: HAVING, can you explain how derived metrics help with this problem?
Re: Having a config file parameter for every single metric. This is an absolute no, this is the whole point of the plugin drop/pass configuration options: https://github.com/influxdb/telegraf#plugin-options
Re: CPU plugin, there is no reason to sum all of those metrics, it's simple to get busy percentage: 100 - cpu_usage_idle

Having a config file parameter for every single metric. This is an absolute no, this is the whole point of the plugin drop/pass configuration options: https://github.com/influxdb/telegraf#plugin-options

I was confused, sample config for net plugin has no mention about drop/pass. OK, if we have a drop/pass configuration options that prevents us to add my metrics and disable them by default?
I do not propose to store all the metrics I propose to give the user a choice.

HAVING, can you explain how derived metrics help with this problem?

I have the following data:
> select value from net_bits_per_second_sent where time > '2015-10-04 06:10:00' and time < '2015-10-04 06:10:05'
name: net_bits_per_second_sent
------------------------------
time                    value
2015-10-04T06:10:01Z    226296
2015-10-04T06:10:02Z    227824
2015-10-04T06:10:03Z    227128
2015-10-04T06:10:04Z    233976

I can query bytes per second
> SELECT derivative(value , 1s) * 8 FROM "net_bytes_sent" WHERE time > '2015-10-04 06:10:00' - 1s and time < '2015-10-04 06:10:05'
name: net_bytes_sent
--------------------
time
2015-10-04T06:10:01Z    226112
2015-10-04T06:10:02Z    227840
2015-10-04T06:10:03Z    227304
2015-10-04T06:10:04Z    233904

But I can't filter it, say get rows where bytes per second more than 230000, I tried following without success
SELECT derivative(value , 1s) * 8 FROM "net_bytes_sent" WHERE value > 230000 and time > '2015-10-04 06:10:00' - 1s and time < '2015-10-04 06:10:05'
SELECT derivative(value , 1s) * 8 FROM "net_bytes_sent" WHERE value > 1840000 and time > '2015-10-04 06:10:00' - 1s and time < '2015-10-04 06:10:05'
SELECT derivative(value , 1s) * 8 as v FROM "net_bytes_sent" WHERE v > 230000 and time > '2015-10-04 06:10:00' - 1s and time < '2015-10-04 06:10:05'

HAVING not supported too.
With my metrics is trivial
> select value from net_bits_per_second_sent where value > 230000 and time > '2015-10-04 06:10:00' and time < '2015-10-04 06:10:05'
name: net_bits_per_second_sent
------------------------------
time                    value
2015-10-04T06:10:04Z    233976

@SokoloffA thanks that makes more sense now, let me talk to the other Influx people and see what they think

Seems that the query will be not simple. it's no good, the system should be user-friendly out of the box. As Alan Kay said, "Simple things should be simple, complex things should be possible." Btw, I was not able to use the DERIVATIVE function in Grafana. I get an error "Error Response InfluxDB: error parsing query: aggregate function required inside the call to derivative".

You can use custom query in graphana:
SELECT derivative(value) FROM "net_bytes_recv" WHERE "name" = 'dev-vm' AND "interface" = 'eth0'
instead of:
SELECT derivative(value) FROM "net_bytes_recv" WHERE "name" = 'dev-vm' AND "interface" = 'eth0' AND $timeFilter GROUP BY time($interval)

@SokoloffA I'm going to close this PR as we won't be merging it without more deliberation. You should be able to solve your issue using continuous queries: https://influxdb.com/docs/v0.9/query_language/continuous_queries.html, and there are also meta-queries coming that will allow something like SELECT {SELECT derivative(value) FROM net_bytes_recv} as result WHERE result > 90


Tmux-style Multiple Terminal Panels

What problem or use case are you trying to solve?
Context: https://opendevin.slack.com/archives/C06R25BT5B2/p1715415193481679
Describe the UX of the solution you'd like
Support displaying multiple tabs of shell - probably managed as a tmux session (cc @iFurySt).
Example from Devin:

https://opendevin.slack.com/archives/C06QT0AGY4W/p1715551733765189?thread_ts=1715007881.546429&cid=C06QT0AGY4W
On the backend, we probably also need to figure out how to expose different command shells to the model.
Do you have thoughts on the technical implementation?
Describe alternatives you've considered
Additional context

cool!


Add license-finder to CI workflows

Goal
Adds license finder and an auditing step to the Github actions for this repo.

Verified locally that license finder successfully checks all required package licenses, while omitting the development packages, and raises issues if the decisions file is missed.


Another network error

wandb: Script ended.
wandb: Run summary:
wandb:   epoch 7
wandb:     acc 0.9425042652743575
wandb: Run history:
wandb:   epoch ▁▂▃▃▄▅▆▆▇█
wandb:     acc ▃▇▄▇▅▁▇█▅▄
wandb: Waiting for final file modifications.
wandb: Syncing files in wandb/run-5z0byl:
wandb:   config.yaml
wandb:   diff.patch
wandb:   modify_file.txt
wandb:   wandb-history.jsonl
wandb:   events.out.tfevents.1485040358.gpu
wandb:   wandb-summary.json
wandb:   model.txt
Exception in thread Thread-9:000 of 53295.000 bytes uploaded
Traceback (most recent call last):
File "/Users/shawn/.pyenv/versions/wandb_cli-3.6/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 600, in urlopen
chunked=chunked)
File "/Users/shawn/.pyenv/versions/wandb_cli-3.6/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 386, in _make_request
six.raise_from(e, None)
File "", line 2, in raise_from
File "/Users/shawn/.pyenv/versions/wandb_cli-3.6/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 382, in _make_request
httplib_response = conn.getresponse()
File "/Users/shawn/.pyenv/versions/3.6.0/lib/python3.6/http/client.py", line 1331, in getresponse
response.begin()
File "/Users/shawn/.pyenv/versions/3.6.0/lib/python3.6/http/client.py", line 297, in begin
version, status, reason = self._read_status()
File "/Users/shawn/.pyenv/versions/3.6.0/lib/python3.6/http/client.py", line 266, in _read_status
raise RemoteDisconnected("Remote end closed connection without"
http.client.RemoteDisconnected: Remote end closed connection without response
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/shawn/.pyenv/versions/wandb_cli-3.6/lib/python3.6/site-packages/requests/adapters.py", line 423, in send
timeout=timeout
File "/Users/shawn/.pyenv/versions/wandb_cli-3.6/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 649, in urlopen
_stacktrace=sys.exc_info()[2])
File "/Users/shawn/.pyenv/versions/wandb_cli-3.6/lib/python3.6/site-packages/requests/packages/urllib3/util/retry.py", line 347, in increment
raise six.reraise(type(error), error, _stacktrace)
File "/Users/shawn/.pyenv/versions/wandb_cli-3.6/lib/python3.6/site-packages/requests/packages/urllib3/packages/six.py", line 685, in reraise
raise value.with_traceback(tb)
File "/Users/shawn/.pyenv/versions/wandb_cli-3.6/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 600, in urlopen
chunked=chunked)
File "/Users/shawn/.pyenv/versions/wandb_cli-3.6/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 386, in _make_request
six.raise_from(e, None)
File "", line 2, in raise_from
File "/Users/shawn/.pyenv/versions/wandb_cli-3.6/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 382, in _make_request
httplib_response = conn.getresponse()
File "/Users/shawn/.pyenv/versions/3.6.0/lib/python3.6/http/client.py", line 1331, in getresponse
response.begin()
File "/Users/shawn/.pyenv/versions/3.6.0/lib/python3.6/http/client.py", line 297, in begin
version, status, reason = self._read_status()
File "/Users/shawn/.pyenv/versions/3.6.0/lib/python3.6/http/client.py", line 266, in _read_status
raise RemoteDisconnected("Remote end closed connection without"
requests.packages.urllib3.exceptions.ProtocolError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response',))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/shawn/code/wandb/client/wandb/api.py", line 525, in upload_file
url, data=progress, headers=extra_headers)
File "/Users/shawn/.pyenv/versions/wandb_cli-3.6/lib/python3.6/site-packages/requests/api.py", line 124, in put
return request('put', url, data=data, **kwargs)
File "/Users/shawn/.pyenv/versions/wandb_cli-3.6/lib/python3.6/site-packages/requests/api.py", line 56, in request
return session.request(method=method, url=url, **kwargs)
File "/Users/shawn/.pyenv/versions/wandb_cli-3.6/lib/python3.6/site-packages/requests/sessions.py", line 488, in request
resp = self.send(prep, **send_kwargs)
File "/Users/shawn/.pyenv/versions/wandb_cli-3.6/lib/python3.6/site-packages/requests/sessions.py", line 609, in send
r = adapter.send(request, **kwargs)
File "/Users/shawn/.pyenv/versions/wandb_cli-3.6/lib/python3.6/site-packages/requests/adapters.py", line 473, in send
raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response',))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/shawn/code/wandb/client/wandb/api.py", line 73, in wrapper
return func(*args, **kwargs)
File "/Users/shawn/code/wandb/client/wandb/api.py", line 533, in upload_file
completed = int(status.headers['Range'].split("-")[-1])
File "/Users/shawn/.pyenv/versions/wandb_cli-3.6/lib/python3.6/site-packages/requests/structures.py", line 54, in getitem
return self._store[key.lower()][1]
KeyError: 'range'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/shawn/code/wandb/client/wandb/api.py", line 73, in wrapper
return func(*args, **kwargs)
File "/Users/shawn/code/wandb/client/wandb/api.py", line 608, in push
responses.append(self.upload_file(file_info['url'], open_file, progress))
File "/Users/shawn/code/wandb/client/wandb/api.py", line 93, in wrapper
raise CommError(message)
wandb.api.CommError: 'range'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/shawn/.pyenv/versions/3.6.0/lib/python3.6/threading.py", line 916, in _bootstrap_inner
self.run()
File "/Users/shawn/code/wandb/client/wandb/file_pusher.py", line 26, in run
self._push_function(self.save_name, self.path)
File "/Users/shawn/code/wandb/client/wandb/sync.py", line 266, in push_function
progress=lambda _, total: self._stats.update_progress(path, total))
File "/Users/shawn/code/wandb/client/wandb/api.py", line 93, in wrapper
raise CommError(message)
wandb.api.CommError: 'range'
wandb: File changed while uploading, restarting: wandb-summary.json
wandb: Synced https://app.wandb.ai/shawn/example-simple1/runs/5z0byl
wandb: job (python) Process exited with code: 0

After more investigation I believe this is only happening to wandb-summary.json. My guess is wandb-summary.json is being truncated during the upload, and the upload code / Google doesn't handle that well.
Current fix is to just delay uploading all files til the end of the run. A potentially decent fix is to copy non-deferred files to a temporary location before uploading them.

Closing as fixed for now since I haven't seen it since abee525bf580b953ef1db8a69a5a2297245b384b


Edited CONTRIBUTING.md file

Description
Edited CONTRIBUTING.md file and updated the path in README.md file
Type of change
Please delete options that are not relevant.

[x] Non-breaking change which adds infromation

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings

Can make it aligned

@harkiratsm done


Everypixel keywords and quality file upload proxy

This example adds quality and keywords to image uploads using the Everypixel API.

:tada:


+6588XXXXXX (Singapore) is a valid mobile number now

Currently the library only allows these as valid mobile numbers in Singapore:
65 8[1-7]XXXXXX
65 9[0-8]XXXXXX
But recently 65 88XXXXXX numbers have been added.

Hi,
I tried this in our demo http://libphonenumber.appspot.com/ and that prefix is already supported. Please make sure you're using an up to date version.


feat: Adds DPDK support

Description
This PR implements DPDK support in the machine charm.
DPDK mode can be enabled through the new charm config param - upf-mode. Using DPDK also requires supplying two additional parameters for each of the access and core interfaces - the MAC address and the device's PCI address.
DPDK requires HugePages to be available on the host machine (at least 2x1G). A driver for the access and core network interfaces should also be changed to vfio-pci. Both these requirements need to be ensured manually before deploying the charm.
NOTE:
In some environments Ubuntu 24.04 will be required to run UPF in DPDK mode, hence the base for the charm has been updated. GitHub workflow for building the charm has been changed to allow using the latest base. Once support for latest base lands in a stable version of charmcraft, the change should be reverted to use the shared workflow.
Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have made corresponding changes to the documentation
[x] I have added tests that validate the behaviour of the software
[x] I validated that new and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules
[x] I have bumped the version of the library

In README.md we can mention about DPDK support.

I thought about it, but it would be a lot of text. I'll add a reference to a how-to once it's ready. It will look cleaner.


Feat/Note App Markdown Editor

Fixes Issue
Related to #474

Changes proposed

[x] add markdown editor setup (after deciding which package to use for markdown editor)

Screenshots
https://github.com/thecyberworld/TheCyberHUB/assets/76536506/4dc25978-01eb-490f-884e-7f02ccdf3c9f

Note to reviewers
As you can see the "save" button only closes the editor.
For next pr, I am going to add 'notes' state management also in the Redux and then I will do the 'save' button for create/edit note.

[ ]  add option to create/edit note

Code of Conduct

[x] By submitting this pull request, I confirm I've read and complied with the CoC 🖖

Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[ ] My change requires changes to the documentation.
[ ] I have updated the documentation accordingly.
[x] All new and existing tests passed.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

You can also join our Discord community.
Feel free to check out other cool repositories of the Thecyberworld.
Join the Thecyberworld GitHub Organisation by raising an issue (you will be sent an invitation).

Done :)
https://github.com/thecyberworld/TheCyberHUB/assets/76536506/6d8c0760-3962-4a2c-81a7-073f08edde12


add getbit and type

Add GETBIT and TYPE command.
Tests added.
Adjust some comments format for better preview.

Thanks a lot.
But I am rebuilding the whole project and I will remove the Redis data structures from rosedb.
And I will create a new project for that, maybe you can contribute to the new project later.

okay


Multiple color/fill scales

Dear colleagues,
Is there any way to use multiple color/fill scales on the same plot like ggnewscale or relayer? I'm trying to implement a heat map with additional color key, like this one:

How can I make the left-most column use different pallet and add it to the legend?
Thank you in advance,
Stanislav

Hi, you can't create two 'fill' scales on one plot, but in the case of monochromatic heat map you can try to use the  'alpha' aesthetic to achieve similar effect. Then the second layer could use the 'fill' aesthetic.

Thank you, Igor, for the explanation!


Ability to manage currencies using admin panel

@yssavchuk Please, rebase PR.

@yssavchuk Readonly attributes should include: code, type.


Inactive maintainer

Hi, this theme is great, however comes with a few bugs (fixed via PRs). @byrnereese would you mind merging those PRs adding others as contributors so they can continue maintaining the theme?

I merged the PRs submitted and pushed the update. I will admit, I was a bad boy and did not test them before publishing them.

That"s the spirit! Thanks for merging


Can the broker be DNS based?

Hello, do you mean if it's possible to reach the broker hosted on a server behind a DNS domain instead of an IP address? Yes it possible but the setup is independent from the broker itself.

Sorry let me re-write the question.

Hello, do you mean if it's possible to reach the broker hosted on a server behind a DNS domain instead of an IP address? Yes it possible but the setup is independent from the broker itself.

Instead of using the IP address of the device in a network as host address, can it be set to something else like e.g: "kmqtt.test.mqtt" that points to <IP_ADDRESS> ? The Broker also takes a host as argument in its constructor. Therefore, I was wondering if that was possible.

Instead of using the IP address of the device in a network as host address, can it be set to something else like e.g: "kmqtt.test.mqtt" that points to <IP_ADDRESS> ? The Broker also takes a host as argument in its constructor. Therefore, I was wondering if that was possible.

Yes it is possible, but it is not something related to the broker, rather a configuration of the DNS server. You still have to bind to an interface, or to all of them (with <IP_ADDRESS>). But then if you need this on the local network, your DNS server is probably your router and you need to configure a mapping of desired hostname to device IP address. If you are on the Internet then you need to buy a domain and configure that to match the public IP address.
There is an alternative in the local network. If your device hosting the broker uses DHCP, you can specify the hostname and domain name to give it a local name, provided you have a DHCP and DNS server running, most likely in the router.
This is out of scope of the project though, I suggest doing additional research on the information I provided.


(role-menu) Audit log for Unicode emojis is broken due to wrong format being used

I looked into this and I don't want to bother fixing it. Golang weirdness with non UTF-8 is hell.


NuxtErrorBoundary not rendering the error on ssr:false

Environment

Operating System: Linux
Node Version:     v18.18.0
Nuxt Version:     3.8.0
CLI Version:      3.9.1
Nitro Version:    2.7.0
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      ssr
Runtime Modules:  -
Build Modules:    -

Reproduction
Here is the reproduction example on stackblitz
Describe the bug
When wrapping components in the NuxtErrorBoundary and one of the children throws an error (with createError but not fatal, or with a simple throw new Error() ) the error message is logged within the console but the error template does not take over the default slot.
This mostly when ssr:false is set in the config

Additional context
No response
Logs
No response

This could be an upstream issue with Vue because the onErrorCaptured lifecycle hook isn't being triggered in the NuxtErrorBoundary component
Seems like the error being thrown inside the settimeout function is causing the issue. Triggering the same error from a button click like in this stackblitz has everything working correctly

This could be an upstream issue with Vue because the onErrorCaptured lifecycle hook isn't being triggered in the NuxtErrorBoundary component
Seems like the error being thrown inside the settimeout function is causing the issue. Triggering the same error from a button click like in this stackblitz has everything working correctly

You're right, removing it works, that's strange because today i thought i experienced weird behaviors but seems i was dreaming. Im actually facing this problem on my project (without the setTimeout ofc) and i can't explain why this happens or what prevent it to populate the error slot while logging it to the console.
Any tips for debugging ? it's been hours 😆 .
Anyway, closing this issue, thanks a lot for your time

@DarioRega if you can share the repo with me or send me another stackblitz that resembles it without the settimeout, then I'd be more than happy to take a look for you. You can also message me on discord if you want, my username is the same one I have here


accelerate launch main.py     --concept_image_dir="./examples/concept_image"     --content_image_dir="./examples/content_image"     --output_image_path="./outputs"     --initializer_token="girl"     --max_train_steps=3     --concept_embedding_num=3     --cross_attention_injection_ratio=0.2     --self_attention_injection_ratio=0.9     --use_l1

{'prediction_type'} was not found in config. Values will be initialized to default values.
{'dual_cross_attention', 'only_cross_attention', 'use_linear_projection', 'upcast_attention', 'num_class_embeds'} was not found in config. Values will be initialized to default values.
/usr/local/data/miniconda3/envs/vct/lib/python3.8/site-packages/diffusers/configuration_utils.py:195: FutureWarning: It is deprecated to pass a pretrained model name or path to from_config.If you were trying to load a scheduler, please use <class 'diffusers.schedulers.scheduling_ddim.DDIMScheduler'>.from_pretrained(...) instead. Otherwise, please make sure to pass a configuration dictionary instead. This functionality will be removed in v1.0.0.
deprecate("config-passed-as-path", "1.0.0", deprecation_message, standard_warn=False)
Traceback (most recent call last):
File "/usr/local/data/miniconda3/envs/vct/lib/python3.8/site-packages/diffusers/configuration_utils.py", line 326, in load_config
config_file = hf_hub_download(
File "/usr/local/data/miniconda3/envs/vct/lib/python3.8/site-packages/huggingface_hub/utils/_validators.py", line 110, in _inner_fn
validate_repo_id(arg_value)
File "/usr/local/data/miniconda3/envs/vct/lib/python3.8/site-packages/huggingface_hub/utils/_validators.py", line 158, in validate_repo_id
raise HFValidationError(
huggingface_hub.utils._validators.HFValidationError: Repo id must be in the form 'repo_name' or 'namespace/repo_name': 'runwayml/stable-diffusion-v1-5/scheduler'. Use repo_type argument if needed.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "main.py", line 830, in
pivot_turning_inversion.inversion(args.output_dir, args.content_image_dir, args.output_image_path, args.concept_image_dir, args.max_train_steps, args.cross_attention_injection_ratio, args.self_attention_injection_ratio, args.pretrained_model_name_or_path)
File "/root/visual-concept-translator/pivot_turning_inversion.py", line 216, in inversion
main(model_id, input_img_path, step_list, prompt_name_backward, forward_prompt, backward_prompts, out_img_save_path, content_name_prefix, cross_attention_injection_ratio, self_attention_injection_ratio, pretrained_model_name_or_path)
File "/root/visual-concept-translator/pivot_turning_inversion.py", line 91, in main
pipe.scheduler = DDIMScheduler.from_config(os.path.join(pretrained_model_name_or_path, "scheduler"))
File "/usr/local/data/miniconda3/envs/vct/lib/python3.8/site-packages/diffusers/configuration_utils.py", line 196, in from_config
config, kwargs = cls.load_config(pretrained_model_name_or_path=config, return_unused_kwargs=True, **kwargs)
File "/usr/local/data/miniconda3/envs/vct/lib/python3.8/site-packages/diffusers/configuration_utils.py", line 363, in load_config
raise EnvironmentError(
OSError: We couldn't connect to 'https://huggingface.co' to load this model, couldn't find it in the cached files and it looks like runwayml/stable-diffusion-v1-5/scheduler is not the path to a directory containing a scheduler_config.json file.
Checkout your internet connection or see how to run the library in offline mode at 'https://huggingface.co/docs/diffusers/installation#offline-mode'.
Traceback (most recent call last):
File "/usr/local/data/miniconda3/envs/vct/bin/accelerate", line 8, in
sys.exit(main())
File "/usr/local/data/miniconda3/envs/vct/lib/python3.8/site-packages/accelerate/commands/accelerate_cli.py", line 45, in main
args.func(args)
File "/usr/local/data/miniconda3/envs/vct/lib/python3.8/site-packages/accelerate/commands/launch.py", line 1104, in launch_command
simple_launcher(args)
File "/usr/local/data/miniconda3/envs/vct/lib/python3.8/site-packages/accelerate/commands/launch.py", line 567, in simple_launcher
raise subprocess.CalledProcessError(returncode=process.returncode, cmd=cmd)
subprocess.CalledProcessError: Command '['/usr/local/data/miniconda3/envs/vct/bin/python', 'main.py', '--concept_image_dir=./examples/concept_image', '--content_image_dir=./examples/content_image', '--output_image_path=./outputs', '--initializer_token=girl', '--max_train_steps=3', '--concept_embedding_num=3', '--cross_attention_injection_ratio=0.2', '--self_attention_injection_ratio=0.9', '--use_l1']' returned non-zero exit status 1.

This loading error is caused by the use of the online huggingface model. You can download the pre-trained model locally and put that path to "pretrained_model_name_or_path" argument. Again, please make sure your specific path contains subfolders such as tokenizer and text_encoder, just as in the format of the online model.

@CrystalNeuro What are the pre-trained models to download?

@CrystalNeuro I'm new to this, and the github docs aren't specific about which models, so I'm working from the docs

@CrystalNeuro If I download the sd1.5 model to the local server, then he still reports an error OSError: Can't load tokenizer for '/root/visual-concept-translator/model'. If you were trying to load it from 'https://huggingface.co/models', make sure you don't have a local directory with the same name. Otherwise, make sure '/ root/visual-concept-translator/model' is the correct path to a directory containing all relevant files for a MultiTokenCLIPTokenizer tokenizer.
Traceback (most recent call last):, I see "To avoid the loading error or repeated downloads, it is recommended to download the pre-trained huggingface model such as stable-diffusion-v1-5 to local. Then put the downloaded path into pretrained_model_name_or_path." This sentence means This sentence means that the model for sd1.5 is uploaded to the server, it does not specify which model dependencies are downloaded, and there is no corresponding link in the code.
Translated with www.DeepL.com/Translator (free version)

@CrystalNeuro If I download the sd1.5 model to the local server, then he still reports an error OSError: Can't load tokenizer for '/root/visual-concept-translator/model'. If you were trying to load it from 'https://huggingface.co/models', make sure you don't have a local directory with the same name. Otherwise, make sure '/ root/visual-concept-translator/model' is the correct path to a directory containing all relevant files for a MultiTokenCLIPTokenizer tokenizer. Traceback (most recent call last):, I see "To avoid the loading error or repeated downloads, it is recommended to download the pre-trained huggingface model such as stable-diffusion-v1-5 to local. Then put the downloaded path into pretrained_model_name_or_path." This sentence means This sentence means that the model for sd1.5 is uploaded to the server, it does not specify which model dependencies are downloaded, and there is no corresponding link in the code.
Translated with www.DeepL.com/Translator (free version)

Have you solved this problem? I have the same problem as you.Thanks！

This loading error is caused by the use of the online huggingface model. You can download the pre-trained model locally and put that path to "pretrained_model_name_or_path" argument. Again, please make sure your specific path contains subfolders such as tokenizer and text_encoder, just as in the format of the online model.

I'm encounter to this problem too. i try to download v1-5-pruned-emaonly.ckpt from hugging face and try to use something like this "--pretrained_model_name_or_path="./model/v1-5-pruned-emaonly.ckpt" but it's look like i'm faceing another issue about subfolder="tokenizer". Because i'm really now here i'm so sorry. What should i do with subfloder name tokenizer?

@Chayanonjackal Did you solve the problem? I have the same issue.

Hello, can you run through this code? I have downloaded the pre-trained model, but I still seem to encounter some problems. Can you help me take a look? Really need your help, thank you very much!@xuboot@gustn9609@Chayanonjackal@CrystalNeuro

Hello, can you run through this code? I have downloaded the pre-trained model, but I still seem to encounter some problems. Can you help me take a look? Really need your help, thank you very much!@xuboot @gustn9609 @Chayanonjackal @CrystalNeuro

 Hello, can you run through this code? I have downloaded the pre-trained model, but I still seem to encounter some problems. Can you help me take a look? Really need your help, thank you very much!@xuboot @gustn9609 @Chayanonjackal @CrystalNeuro

解决了吗？ 我刚下载了离线模型，跑起来了

What should I do with the following warnings?
The tokenizer class you load from this checkpoint is not the same type as the class this function is called from. It may result in unexpected tokenization.
The tokenizer class you load from this checkpoint is 'CLIPTokenizer'.
The class this function is called from is 'MultiTokenCLIPTokenizer'.
I download stable-diffusion v1-5 on Huggingface


Can't get the content generated by ajax response

bellow is my code and the content is what I want  which was generated by ajax response,without the headless I can got it
require 'nokogiri'
require 'watir-webdriver'

browser = Watir::Browser.new
browser.goto 'http://www.tudou.com/albumplay/2Dk1-JIVpzo/yp927-uKGMs.html?FR=LIAN'
sleep(5)
doc = Nokogiri::HTML(browser.html)
content = doc.css(".dig_container .num")
puts '-------------------------------------'
puts content.inspect
puts '-------------------------------------'
browser.close

but on the server of ubuntu  I have to use headless ,so my code is
require 'nokogiri'
require 'watir-webdriver'
require 'headless'

headless = Headless.new
headless.start

browser = Watir::Browser.new
browser.goto 'http://www.tudou.com/albumplay/2Dk1-JIVpzo/yp927-uKGMs.html?FR=LIAN'

until browser.element(:css => "#digBury .dig_container").exists? do
	puts '********sleeping *************'
	sleep 1
end

doc = Nokogiri::HTML(browser.html)
content = doc.css("#digBury .dig_container")

puts '-------------------------------------'
puts content.inspect
puts '-------------------------------------'

browser.close

headless.destroy

Unlucky，I got an empty array  is there something wrong with my code?

Try browser.element(:css => "#digBury .dig_container").wait_until_present
Instead
In your first example
content = doc.css(".dig_container .num")
That would execute immediately ( before the AJAX process finishes and that
element is created in the DOM which is why you're seeing an empty array.
The wait_until_present will timeout at default - 30 seconds.
You can also do
Watir::Wait.until(15){ browser.element(selector) }
To adjust the time to wait or set the watir timeout globally in
configuration.
For confirmation modals or anything else you expect to disappear there is
wait_while_present
On Feb 25, 2015 6:38 PM, "gaoguoxin"<EMAIL_ADDRESS>wrote:

bellow is my code and the content is what I want which was generated by
ajax response,without the headless I can got it
require 'nokogiri'require 'watir-webdriver'
browser = Watir::Browser.new
browser.goto 'http://www.tudou.com/albumplay/2Dk1-JIVpzo/yp927-uKGMs.html?FR=LIAN'
sleep(5)
doc = Nokogiri::HTML(browser.html)
content = doc.css(".dig_container .num")
puts '-------------------------------------'
puts content.inspect
puts '-------------------------------------'
browser.close
but on the server of ubuntu I have to use headless ,so my code is
require 'nokogiri'require 'watir-webdriver'require 'headless'
headless = Headless.new
headless.start
browser = Watir::Browser.new
browser.goto 'http://www.tudou.com/albumplay/2Dk1-JIVpzo/yp927-uKGMs.html?FR=LIAN'
until browser.element(:css => "#digBury .dig_container").exists? do
puts '********sleeping *************'
sleep 1 end
doc = Nokogiri::HTML(browser.html)
content = doc.css("#digBury .dig_container")
puts '-------------------------------------'
puts content.inspect
puts '-------------------------------------'
browser.close
headless.destroy
Unlucky，I got an empty array is there something wrong with my code?
—
Reply to this email directly or view it on GitHub
https://github.com/watir/watir-webdriver/issues/320.

I would also double check the selector path not sure if you need to use an
ID and a class try just using ID and the specific ID if it is the only one
on the page or remove the space between the dot and the end of the ID name.
If dig container is nested in the outside dig Bury div:
dig_container = B.element (id: "digBury).element(css: ". dig-container")
Even better if you know the element
dig_container = B.div(id: "digBury).div(css: ". dig-container")
nums = dig_container. elements(css: ". nums)
On Feb 25, 2015 6:54 PM, "Alex Janckila"<EMAIL_ADDRESS>wrote:

Try browser.element(:css => "#digBury .dig_container").wait_until_present
Instead
In your first example
content = doc.css(".dig_container .num")
That would execute immediately ( before the AJAX process finishes and that
element is created in the DOM which is why you're seeing an empty array.
The wait_until_present will timeout at default - 30 seconds.
You can also do
Watir::Wait.until(15){ browser.element(selector) }
To adjust the time to wait or set the watir timeout globally in
configuration.
For confirmation modals or anything else you expect to disappear there is
wait_while_present
On Feb 25, 2015 6:38 PM, "gaoguoxin"<EMAIL_ADDRESS>wrote:

bellow is my code and the content is what I want which was generated by
ajax response,without the headless I can got it
require 'nokogiri'require 'watir-webdriver'
browser = Watir::Browser.new
browser.goto 'http://www.tudou.com/albumplay/2Dk1-JIVpzo/yp927-uKGMs.html?FR=LIAN'
sleep(5)
doc = Nokogiri::HTML(browser.html)
content = doc.css(".dig_container .num")
puts '-------------------------------------'
puts content.inspect
puts '-------------------------------------'
browser.close
but on the server of ubuntu I have to use headless ,so my code is
require 'nokogiri'require 'watir-webdriver'require 'headless'
headless = Headless.new
headless.start
browser = Watir::Browser.new
browser.goto 'http://www.tudou.com/albumplay/2Dk1-JIVpzo/yp927-uKGMs.html?FR=LIAN'
until browser.element(:css => "#digBury .dig_container").exists? do
puts '********sleeping *************'
sleep 1 end
doc = Nokogiri::HTML(browser.html)
content = doc.css("#digBury .dig_container")
puts '-------------------------------------'
puts content.inspect
puts '-------------------------------------'
browser.close
headless.destroy
Unlucky，I got an empty array is there something wrong with my code?
—
Reply to this email directly or view it on GitHub
https://github.com/watir/watir-webdriver/issues/320.

@ajanckila if the
content = doc.css(".dig_container .num")

would execute immediately ,I will not get the result but in fact  I got the result with the following code:
require 'nokogiri'
require 'watir-webdriver'

browser = Watir::Browser.new
browser.goto 'http://www.tudou.com/albumplay/2Dk1-JIVpzo/yp927-uKGMs.html?FR=LIAN'
browser.element(:css => "#digBury .dig_container").wait_until_present
doc = Nokogiri::HTML(browser.html)
content = doc.css(".dig_container .num")
puts '-------------------------------------'
puts content.inspect
puts '-------------------------------------'
browser.close

and the result is
[#<Nokogiri::XML::Element:0x3fdd3a69d9c4 name="span" attributes=[#<Nokogiri::XML::Attr:0x3fdd3a69d910 name="class" value="num">] children=[#<Nokogiri::XML::Text:0x3fdd3a69d2e4 "332">]>]

On the other hand ,when I use the headless on my ubuntu server,I failed
require 'nokogiri'
require 'watir-webdriver'
require 'headless'

headless = Headless.new
headless.start

browser = Watir::Browser.new
browser.goto 'http://www.tudou.com/albumplay/2Dk1-JIVpzo/yp927-uKGMs.html?FR=LIAN'
browser.element(:css => "#digBury .dig_container").wait_until_present
doc = Nokogiri::HTML(browser.html)
content = doc.css(".dig_container .num")
puts '-------------------------------------'
puts content.inspect
puts '-------------------------------------'
browser.close
headless.destroy

and I got an empty array . The diffrence between these codes is the headless on the server,it seems that when I use the headless the code
content = doc.css(".dig_container .num")

will be executed immediately,and I got an error
Watir::Wait::TimeoutError: timed out after 30 seconds, waiting for {:css=>"#digBury .dig_container"} to become present

Trying to print browser.html at first and see if it's any different with/without headless. It might show what the problem is.
Also, you can try to make a screenshot with browser.screenshot.save - that might help as well.
In any case, this is not a bug in watir so I'm closing this. You can get help at google group.


Major issues with Gboard - the Google Keyboard

When using Gboard with simpleMDE, random characters are inserted when users press "space". This can be reproduced on simpleMDE main demo page: https://simplemde.com/
Any ideas if a workaround exists?

Ran into the same issue


Can only log in using Google Oauth if on a Google domain

Checklist

[X] I have used the search function to see if someone else has already submitted the same bug report.
[X] I will describe the problem with as much detail as possible.

App version
Can't see because I can't log in...
Where did you get the app from?
F-Droid
Android version
Graphene OS 14
Device model
No response
Steps to reproduce

Try to log in with any email that is handled by Gmail but isn't explicitly a Google email.
See how you can't log in.

Expected behavior
IDK maybe have an option when manually configuring for loggin in with oauth?
Actual behavior
It only gave me the option to use POP/IMAP and I can't use that because it's a manage account...
Logs
No response

@benjistokman Coul you please try: How do I add a Google Workspace account

That worked, thank you. That's just... it's not that important but it should be changed or the instructions should be linked somewhere.

Your're welcome. I added your suggestion to our task backlog #7879


Not connecting to the database, not showing error either

need help

Send your data of connect, maybe some data to be wrong.

I have the same issue.
I'm connecting to an MSSQL database in Azure, over the internet. No proxy.
What data do you need? Where can I get the logs?
I looked up the file in the settings /Users/matthew/Library/Preferences/Sqlectron/sqlectron.log, it doesn't say much:
{
  "servers": [
    {
      "id": "b2dd5ff4-7351-469c-8b1b-59ac260d5be1",
      "name": "My Database",
      "client": "sqlserver",
      "ssl": false,
      "host": "redacted.database.windows.net",
      "port": 1433,
      "socketPath": null,
      "user": "ez2view",
      "password": "my password hash",
      "database": "mms",
      "schema": null,
      "encrypted": true
    }
  ],
  "zoomFactor": 1,
  "limitQueryDefaultSelectTop": 100,
  "enabledAutoComplete": false,
  "enabledLiveAutoComplete": false,
  "enabledDarkTheme": true,
  "disabledOpenAnimation": false,
  "csvDelimiter": ",",
  "log": {
    "console": true,
    "file": false,
    "level": "error",
    "path": "/Users/matthew/Library/Preferences/Sqlectron/sqlectron.log"
  }
}


Add  icons

Any idea of icon packages we can use?

Let's use font Aweome : https://fontawesome.com/


3.16.2: Chip side: BordeSide.none does not work via ChipThemeData

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce
Create a chip and try to remove the border using BorderSide.none or setting width to 0.0, it does not work. You must also specify the color as transparent.
Expected results
Chip with no border
Actual results
Chip with border
Code sample
Does not work sample
chipTheme: ChipThemeData(
                shape: StadiumBorder(
                    side: BorderSide.none)),

Does not work sample
chipTheme: ChipThemeData(
                shape: StadiumBorder(
                    side: BorderSide(
                        width: 0.0,
                        style: BorderStyle.none))),

Working sample
chipTheme: ChipThemeData(
                shape: StadiumBorder(
                    side: BorderSide(
                        width: 0.0,
                        color: Colors.transparent,
                        style: BorderStyle.none))),

Screenshots or Video
No response
Logs
No response
Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.16.2, on macOS 14.1.1 23B81
    darwin-arm64, locale en-GB)
    • Flutter version 3.16.2 on channel stable at
      /Users/jimmyff/sdks/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 9e1c857886 (5 days ago), 2023-11-30
      11:51:18 -0600
    • Engine revision cf7a9d0800
    • Dart version 3.2.2
    • DevTools version 2.28.3

[✓] Android toolchain - develop for Android devices (Android SDK
    version 33.0.0)
    • Android SDK at /Users/jimmyff/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0
    • Java binary at: /Applications/Android
      Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.0)
    • Xcode at
      /Users/jimmyff/Downloads/Xcode.app/Contents/Developer
    • Build 15A240d
    • CocoaPods version 1.14.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google
      Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build
      17.0.6+0-17.0.6b802.4-9586694)

[✓] VS Code (version 1.84.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.76.0

[✓] Connected device (3 available)
    • Pixel 5 (mobile) • 09021FDD40027X • android-arm64  •
      Android 14 (API 34)
    • macOS (desktop)  • macos          • darwin-arm64   • macOS
      14.1.1 23B81 darwin-arm64
    • Chrome (web)     • chrome         • web-javascript • Google
      Chrome 119.0.6045.199

[✓] Network resources
    • All expected network resources are available.

• No issues found!

as I see it still works with Chip.shape directly like this

Looks like BorderStyle.none also doesn't work in Chip.shape.
You're providing BorderSide(style: BorderStyle.none), which works

@TahaTesser
This issue is resolved by applying [BorderSide.none] to widget.side or chipTheme.side.
But it seems reasonable for developers to be confused.
The internal comment of chip.dart specifies the side shape attributes as follows:
"To omit the outline entirely, pass [BorderSide.none] to [side]."
However, it does not seem clear whether this refers to the side attribute or the shape.side attribute.
If it is applied only if BorderSide.none is specified in widget.side, it seems necessary to write a more clear comment.
Also, looking only at the properties provided by Chip, I expected that the priority that determines the side would be something like widget.side > widget.shape.side > chipTheme.side > chipTheme.shape.side > default value.
However, in reality, if (widget or chipTheme).shape.side was provided as the default BorderSide.none, it would be ignored, which was confusing.
If this is what the flutter team intended, it would be good if they wrote it down in more detail in the documentation. If not, I'd like to take on the task of editing the comments and editing the code. Could you please do that?

ah yes, that is confusing! 😵💫

I expected that the priority that determines the side would be something like widget.side > widget.shape.side > chipTheme.side > chipTheme.shape.side > default value.

Yes this is what I would have expected. I actually didn't even realise that there was a chipTheme.side -it's a little confusing that side can be specified there and in the shape although I imagine there are use-cases for both. Regardless it should really honour assigment based on the hierarchy in your comment.

@asci-00 Thanks for documentation, this is working as designed.  chipTheme.side existed for a while in the chip but it causes confusion with shape.side, the documentation should help. Closing as fixed.


[BUG] Manifest in 4.3 release pointing to 4.2.1 version

In the github release under 4.3 tag the manifest.json has line "version": "4.2.1",

@danieltomasz thank you for the feedback. fixed it :)


Using run_envoy_docker.sh to build envoy-filter-example

Title:  Using run_envoy_docker.sh to build envoy-filter-example
Description:
I was trying to build envoy-filter-example using envoy's ci/run_envoy_docker.sh using the following command line
~/envoy-filter-example$ envoy/ci/run_envoy_docker.sh './ci/do_ci.sh build'
However, this fails due to a couple of minor invalid folder references.
This works after I make the following minor changes. Let me know if I can raise a PR to submit these changes:
~/envoy-filter-example$ cd envoy
~/envoy-filter-example/envoy$ git diff
diff --git a/ci/envoy_build_sha.sh b/ci/envoy_build_sha.sh
index 709617afe..bd34b6d92 100644
--- a/ci/envoy_build_sha.sh
+++ b/ci/envoy_build_sha.sh
@@ -1,2 +1,4 @@
-ENVOY_BUILD_SHA=$(grep envoyproxy/envoy-build .circleci/config.yml | sed -e 's#.*envoyproxy/envoy-build:\(.*\)#\1#' | uniq)
+SCRIPT=`realpath $0`
+SCRIPTPATH=`dirname $SCRIPT`
+ENVOY_BUILD_SHA=$(grep envoyproxy/envoy-build ${SCRIPTPATH}/../.circleci/config.yml | sed -e 's#.*envoyproxy/envoy-build:\(.*\)#\1#' | uniq)
 [[ $(wc -l <<< "${ENVOY_BUILD_SHA}" | awk '{$1=$1};1') == 1 ]] || (echo ".circleci/config.yml hashes are inconsistent!" && exit 1)
diff --git a/ci/run_envoy_docker.sh b/ci/run_envoy_docker.sh
index a93802b26..df1882693 100755
--- a/ci/run_envoy_docker.sh
+++ b/ci/run_envoy_docker.sh
@@ -1,8 +1,11 @@
-#!/bin/bash
+#!/bin/bash -x

 set -e

-. ci/envoy_build_sha.sh
+SCRIPT=`realpath $0`
+SCRIPTPATH=`dirname $SCRIPT`
+. ${SCRIPTPATH}/envoy_build_sha.sh
+

 # We run as root and later drop permissions. This is required to setup the USER
 # in useradd below, which is need for correct Python execution in the Docker

The same has been suggested in https://github.com/envoyproxy/envoy/issues/3875 but looks like it is safe to make these changes in envoy.

This script is now being tested in CI, so feel free to open a PR and we can review from there.

This is merged.


Show Balance and orders not working

Hello
I have a problem there is nothing displayed in the yellow marked places and I do not get the email to send it is always blocked can someone please help me?

Charts updates every 2h or else you have to modify them.
Nothing is shown unless you have connected wallets and made a transaction.

Nothing is shown unless you have connected wallets and made a transaction.
Your ports are closed.

Wrong. My Ports Are Open And Still Don't Show Orders Etc


Remarks - to use ampersand (&) when  using echo, you also need caret (^) immediately before the ampersand

On last item of "Remarks" we should add ampersand (&) on the list of characters to escape with caret (^).
without ^
C:\>echo foo & bar
foo
'bar' is not recognized as an internal or external command,
operable program or batch file.

with ^
C:\>echo foo ^& bar
foo & bar

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

ID: b73a4605-c4b3-46a8-ec4e-493751fff82b
Version Independent ID: 2bcfea05-35c7-49cb-0570-a0d5a4957ca1
Content: echo
Content Source: WindowsServerDocs/administration/windows-commands/echo.md
Product: windows-server
Technology: windows-commands
GitHub Login: @JasonGerend
Microsoft Alias: jgerend

#assign:xelu86

Hey @rafamarrara,
Thanks again for contacting Microsoft. We value your feedback.
A documentation change has been made including the ampersand symbol (&) and will be live after the next business day. We will now be closing this thread. Thank you and have a most pleasant day.
#please-close


'WebSocket' object has no attribute 'url'

Expected behavior
We should be able to access the url on the WebSocket object, [as described in the docs].
Actual behavior
AttributeError: 'WebSocket' object has no attribute 'url'
To Reproduce
Create a WebSocket route and try to access ws.url.
Specs

OS: macOS 10.12
Python Version: 3.7.2
Bocadillo Version: 0.9.0

Possible solutions
This is because the url property on the underlying Starlette WebSocket object has not been exposed. 🤦♂ It should be fixed by adding:
@property
def url(self):
    return self._websocket.url

on our WebSocket class. We should also add some tests.

Done, committed to master directly.


[Feature] Provide a Firestore collection that propagates to custom claims

It would be convenient to be able to write permissions to Firestore that propagate to user's custom claims, similar to this experimental extension.
This would make it easier to log users out when permissions change (via an onSnapshot listener), rather than having to refresh a user's ID token manually. Additionally, it would provide more visibility into user's current claims.
Thanks!

Whoops - just realized this info does get propagated in the purchaser-info field


Android issue

In android studio when I try to convert my double array to INDArray using ND4j.create(double[] ) then app crashes giving above error . My gradle https://gist.github.com/pkarira/b3cdb219af31814ae773a80f5659082f and logcat https://gist.github.com/pkarira/cdb8b5a41e700a116b2aea40b7f4114c

Issue persist in both emulator and attached device running snapdragon 410.

Could you copy/paste the list of files in the APK?

Here's my complete project  https://drive.google.com/open?id=0B3OyLG30dXvybG5UelJVazNFZm8

I just want to know which files end up in your APK, not your whole project.

Sorry for so much delay , here is the apk ,
https://drive.google.com/open?id=0B3OyLG30dXvyc0N2RW9mNFVacHc

@pkarira Sorry for the delay. You'll need to remove lib/armeabi-v7a/libARM_ARCH.so and then it will work as expected. Or you could move the content of lib/armeabi into lib/armeabi-v7a/, which would work as well.


Allow finding matching duty stations and TOs

In the October slice, TTV is working on filtering the TOO and TIO
queues based on the GBLOC. When we demo this work, we have to make
sure that the Origin Duty Station chosen by the service member
corresponds to a transportation office with the same GBLOC as the
one the TOO and TIO are assigned to.
Similarly, to demo the scenario where the GBLOCs don't match, we need
to choose a transportation office for the TOO and TIO that is in a
different GBLOC than the one associated with the duty station.
To make it easier to find the names of matching transportation
offices or duty stations, I've created these two scripts.
The ds_for_gbloc script expects a transportation office name, and it
will show you all the duty stations with a matching GBLOC.
The to_for_gbloc script expects a duty station name, and it
will show you all the transportation offices with a matching GBLOC.
A usage example during demo prep would be:

A TOO/TIO already exists, and is assigned to transportation office
X
The person playing the role of the service member will run
ds_for_gbloc <name of transportation office from step 1>, and will
pick any of the results as their origin duty station

Alternatively:

The person playing the role of the service member will agree to
pick duty station X
The person playing the role of the TOO/TIO will run
to_for_gbloc <name of duty station from step 1> and update their
transportation office (via the admin interface) to any office in the
script results.

Description
Explain a little about the changes at a high level.
Reviewer Notes
Is there anything you would like reviewers to give additional scrutiny?
Setup
Add any steps or code to run in this section to help others prepare to run your code:
echo "Code goes here"

Code Review Verification Steps

[ ] If the change is risky, it has been tested in experimental before merging.
[ ] Code follows the guidelines for Logging
[ ] The requirements listed in
Querying the Database Safely
have been satisfied.
Any new migrations/schema changes:

[ ] Follow our guidelines for zero-downtime deploys (see Zero-Downtime Deploys)
[ ] Have been communicated to #g-database
[ ] Secure migrations have been tested following the instructions in our docs

[ ] There are no aXe warnings for UI.
[ ] This works in Supported Browsers and their phone views (Chrome, Firefox, IE, Edge).
[ ] Tested in the Experimental environment (for changes to containers, app startup, or connection to data stores)
[ ] User facing changes have been reviewed by design.
[ ] Request review from a member of a different team.
[ ] Have the Jira acceptance criteria been met for this change?

References

Jira story for this change
this article explains more about the approach used.

Screenshots
If this PR makes visible UI changes, an image of the finished UI can help reviewers and casual
observers understand the context of the changes. A before image is optional and
can be included at the submitter's discretion.
Consider using an animated image to show an entire workflow instead of using multiple images. You may want to use GIPHY CAPTURE for this! 📸
Please frame screenshots to show enough useful context but also highlight the affected regions.

Warnings

:warning:
Please add the JIRA issue key to the PR title (e.g. MB-123)

  Generated by :no_entry_sign: dangerJS against 05ae1c26ed3e819dba46cba74bcb707af8dc55cf


Quick FTP

Again about FTP.
I think we need decision, that:

main VSC developers want support this feature or not and leave this for:
external extensions which exist or can be developed other (maybe bether than exist)
external extensions as own support to solve basic problem what exist in point 2

[ ] We need FTP manager as global list of ftp accounts (should not be as dedicated config.json for main project, easy to disclose secret access data to the servers [login/pass])
[ ] should work similiar as FTP Explorer but on remote server
[ ] Search, Listing dirs and files
[ ] CHMOD edit options + automaticly add default CHMOD for some files/dir (if edit or created) if need (eg. execute for .py - very often issue on ftp clients - that after upload/changes we must manulay change CHMOD to set execute mode for file)
[ ] Can be as next icon "qFTP" (Quick FTP [ctr+shift+q]) under "Extensions" icon
[ ] some backup/tmp philosophy for files (including undo, redo) if saved files in live mode was was done with mistake
[ ] Sync (exist plugins but this is far from all Qucik FTP Explorer )

I know about
https://github.com/Microsoft/vscode/issues/18186
https://github.com/Microsoft/vscode/issues/13643

Main question - is exist some problem to create extensions as full explorer (clone for ftp), eg. no support from API?

Maybe this can more simple by offering possibility to use folders as shortcuts to ftp accounts?
The shortcuts
C:\Windows\explorer.exe ftp://username@localhost/

more info
http://superuser.com/questions/166469/how-to-make-shortcut-to-ftp-site-open-in-windows-explorer-not-ie
https://www.youtube.com/watch?v=FFyvehKG6u8 Mapping FTP Server Shortcut in Windows 7 Explorer by Britec

Working with folder as FTP account is slow and buggy, I think it would be better to implement remote explorer directly in VS code.

One more minor feature missed is concealing ftp account passwords, for those cases when you've left your workplace and don't want someone steal your ftp acc.

Editplus FTP is a good example for native FTP support;

Supports direct edit remote files,
Supports adding remote files to projects,
Saves file to remote path with CTRL + S,
Located in the file manager section,
"Locate file" command over file tab header opens remote directory of current file,
No need to create project or workspace. Just select ftp connection and open file

You may check editplus ftp if you planning to add direct FTP/SFTP support.

@hidonet

E*itplus FTP is a good example for native FTP support;

You mind other editor or some unknow plugin to VSC?
BTW last time I see that VSC going in way that VSC is some console tool as in linux etc in case that is GUI interface. This made some difrent philosophy than typical soft. Then.. why we need VSC? Back to to past times.. eg. dos

In my side I want to use VSC's advanced functions. But remote editing is a must for me at the moment. I've tested all vsc extensions for vsc. But none of them fits my needs. I think a lot of developer uses their editors/ides in that way.

@microsoft @billgates
CMON!! Give it for us!  : )
#microsoft

Not a single plugin for vscode or atom are close to what SFTP for sublime text does.
I think that this should be the lowest standard that a plugin for vscode has to aim for.
FTP support is a big deal for a lot of users

This feature has been raised for years, no progress at all. Disappointed.

We are finalising the file system provider api this milestone (April). See https://github.com/Microsoft/vscode/issues/47475. With that extensions authors can add support for ftp, sftp etc.

Hope that somebody can inform that any new good add-in is available.

I suggest looking at this one - https://marketplace.visualstudio.com/items?itemName=mkloubert.vscode-remote-workspace, however be aware of https://github.com/mkloubert/vscode-remote-workspace/issues/6

@ManPython @hajekj
Thanks for the suggestion!
Is implemented since version 0.24.0.

Just tried it with 0.24, I totally suggest @ManPython that you try it, an amazing extension we all have been waiting for!

@mkloubert good to see you in this thread. Let me know if you planing or opened to implement something from my list. Maybe I can join.


refactor assist

branch refactor-assist exists for this purpose

the goal is to have a standalone assist.js outside of routines.js

blocked by passing _ to codeCell functions with arguments

blocked by complexity of requestModelBuilders

blocked by complexity of flowCoffeescript