Publishing fails because ../custom/BannerAlert is missing

Please select the area your bug applies to. (Multiple selections are Possible. You can leave blank if you're not sure.)

[ ] Workspace.  VSCode workspace, vaults, Intellisense/autocomplete, Dendron settings
[ ] Lookup.  Dendron's Lookup Command
[ ] Views.  Dendron Preview, Tree View, Side Panels in the UI
[ ] Schema.  Dendron Schemas
[ ] Pod.  Data import from / export to Dendron
[X] Publish.  External Site Publish
[ ] Markdown.  Markdown features, such as syntax support and features

Describe the bug
Publishing crashes during type validation with this error:  Type error: Cannot find module '../custom/BannerAlert' or its corresponding type declarations.
To Reproduce
Steps to reproduce the behavior:

Install Dendron CLI.
Run npx dendron publish init.
Run npx dendron publish export.
Observe crash.

Expected behavior
Publishing does not crash.
Desktop (please complete the following information)

Dendron version: v0.100.0

Build log

Click to expand
Running with gitlab-runner 15.1.0~beta.20.g62206bb2 (62206bb2)
  on green-2.shared.runners-manager.gitlab.com/default ns46NMmJ
section_start:1655820080:prepare_executor
Preparing the "docker+machine" executor
Using Docker executor with image node:14.16.0 ...
Pulling docker image node:14.16.0 ...
Using docker image sha256:abea835c0b3b0ef244d92a1076602ed0891a35b1b77fd73cd200a32860f822d5 for node:14.16.0 with digest node@sha256:f6b9ff4caca9d4f0a331a882e560df242eb332b7bbbed2f426784de208fcd7bd ...
section_end:1655820112:prepare_executor
section_start:1655820112:prepare_script
Preparing environment
Running on runner-ns46nmmj-project-34406112-concurrent-0 via runner-ns46nmmj-shared-1655820033-35107df5...
section_end:1655820115:prepare_script
section_start:1655820115:get_sources
Getting source from Git repository
$ eval "$CI_PRE_CLONE_SCRIPT"
Fetching changes with git depth set to 20...
Initialized empty Git repository in /builds/dagriefaa/publishing-with-nextjs/.git/
Created fresh repository.
Checking out 4052c676 as main...

Skipping Git submodules setup
section_end:1655820116:get_sources
section_start:1655820116:step_script
Executing "step_script" stage of the job script
Using docker image sha256:abea835c0b3b0ef244d92a1076602ed0891a35b1b77fd73cd200a32860f822d5 for node:14.16.0 with digest node@sha256:f6b9ff4caca9d4f0a331a882e560df242eb332b7bbbed2f426784de208fcd7bd ...
$ npm init -y
Wrote to /builds/dagriefaa/publishing-with-nextjs/package.json:

{
  "name": "publishing-with-nextjs",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "repository": {
    "type": "git",
    "url"<EMAIL_ADDRESS>  },
  "keywords": [],
  "author": "",
  "license": "ISC",
  "bugs": {
    "url": "https://gitlab.com/dagriefaa/publishing-with-nextjs/issues"
  },
  "homepage": "https://gitlab.com/dagriefaa/publishing-with-nextjs#readme"
}

$ npm install @dendronhq/dendron-cli
npm WARN deprecated<EMAIL_ADDRESS>The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
npm WARN deprecated<EMAIL_ADDRESS>`mdast` was renamed to `remark`
npm WARN deprecated<EMAIL_ADDRESS>Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
npm WARN deprecated<EMAIL_ADDRESS>This module is not used anymore. npm config is parsed by npm itself and by @npmcli/config
npm WARN deprecated<EMAIL_ADDRESS>This is a stub types definition. airtable provides its own type definitions, so you do not need this installed.
npm WARN deprecated<EMAIL_ADDRESS>Please use @tryfabric/martian instead
npm WARN deprecated<EMAIL_ADDRESS>This is a stub types definition. node-fetch provides its own type definitions, so you do not need this installed.
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN<EMAIL_ADDRESS>No description

+<EMAIL_ADDRESS>added 626 packages from 469 contributors and audited 627 packages in 44.94s

149 packages are looking for funding
  run `npm fund` for details

found 3 high severity vulnerabilities
  run `npm audit fix` to fix them, or `npm audit` for details
$ npx dendron publish init

===================
Telemetry notice ðŸŒ±
===================
Dendron collects limited usage data to help improve the quality of our software.

You can learn everything about our telemetry policies by visiting the following link:
https://wiki.dendron.so/notes/84df871b-9442-42fd-b4c3-0024e35b5f3c.html

If you would like to opt out, follow the instructions below:
https://wiki.dendron.so/notes/84df871b-9442-42fd-b4c3-0024e35b5f3c.html#how-to-opt-out-of-data-collection
ðŸŒ± checking if .next directory exists.
ðŸŒ± .next directory does not exist
ðŸŒ± Initializing NextJS template.
- Cloning NextJS template...
ðŸŒ± Successfully cloned.
- Cloning NextJS template...
- Installing dependencies... This may take a while.
ðŸŒ± All dependencies installed.
- Installing dependencies... This may take a while.
$ npx dendron publish export
ðŸŒ± checking if NextJS template is initialized
ðŸŒ± NextJS template is already initialized.
generating metadata for publishing...

><EMAIL_ADDRESS>export /builds/dagriefaa/publishing-with-nextjs/.next
> next build && next export

info  - Loaded env from /builds/dagriefaa/publishing-with-nextjs/.next/.env.production
warn  - No build cache found. Please configure build caching for faster rebuilds. Read more: https://nextjs.org/docs/messages/no-cache
Attention: Next.js now collects completely anonymous telemetry regarding usage.
This information is used to shape Next.js' roadmap and prioritize features.
You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
https://nextjs.org/telemetry

info  - Checking validity of types...
{"level":50,"time":1655820259713,"pid":71,"hostname":"runner-ns46nmmj-project-34406112-concurrent-0","name":"publish <cmd>","shortMessage":"Command failed with exit code 1: npm run export","command":"npm run export","exitCode":1,"stdout":"\n><EMAIL_ADDRESS>export /builds/dagriefaa/publishing-with-nextjs/.next\n> next build && next export\n\ninfo  - Loaded env from /builds/dagriefaa/publishing-with-nextjs/.next/.env.production\nwarn  - No build cache found. Please configure build caching for faster rebuilds. Read more: https://nextjs.org/docs/messages/no-cache\nAttention: Next.js now collects completely anonymous telemetry regarding usage.\nThis information is used to shape Next.js' roadmap and prioritize features.\nYou can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:\nhttps://nextjs.org/telemetry\n\ninfo  - Checking validity of types...","stderr":"Failed to compile.\n\n./components/DendronNotePage.tsx:62:44\nType error: Cannot find module '../custom/BannerAlert' or its corresponding type declarations.\n\n\u001b[0m \u001b[90m 60 | \u001b[39m      \u001b[36mtry\u001b[39m {\u001b[0m\n\u001b[0m \u001b[90m 61 | \u001b[39m        \u001b[90m// eslint-disable-next-line global-require\u001b[39m\u001b[0m\n\u001b[0m\u001b[31m\u001b[1m>\u001b[22m\u001b[39m\u001b[90m 62 | \u001b[39m        \u001b[33mBannerAlert\u001b[39m \u001b[33m=\u001b[39m dynamic(() \u001b[33m=>\u001b[39m \u001b[36mimport\u001b[39m(\u001b[32m\"../custom/BannerAlert\"\u001b[39m)\u001b[33m,\u001b[39m {\u001b[0m\n\u001b[0m \u001b[90m    | \u001b[39m                                           \u001b[31m\u001b[1m^\u001b[22m\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 63 | \u001b[39m          loading\u001b[33m:\u001b[39m () \u001b[33m=>\u001b[39m \u001b[36mnull\u001b[39m\u001b[33m,\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 64 | \u001b[39m        })\u001b[33m;\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 65 | \u001b[39m        \u001b[90m// eslint-disable-next-line no-empty\u001b[39m\u001b[0m\nnpm ERR! code ELIFECYCLE\nnpm ERR! errno 1\nnpm ERR<EMAIL_ADDRESS>export: `next build && next export`\nnpm ERR! Exit status 1\nnpm ERR! \nnpm ERR! Failed at the<EMAIL_ADDRESS>export script.\nnpm ERR! This is probably not a problem with npm. There is likely additional logging output above.\n\nnpm ERR! A complete log of this run can be found in:\nnpm ERR!     /root/.npm/_logs/2022-06-21T14_04_19_692Z-debug.log","failed":true,"timedOut":false,"isCanceled":false,"killed":false,"stack":"Error: Command failed with exit code 1: npm run export\nFailed to compile.\n\n./components/DendronNotePage.tsx:62:44\nType error: Cannot find module '../custom/BannerAlert' or its corresponding type declarations.\n\n\u001b[0m \u001b[90m 60 | \u001b[39m      \u001b[36mtry\u001b[39m {\u001b[0m\n\u001b[0m \u001b[90m 61 | \u001b[39m        \u001b[90m// eslint-disable-next-line global-require\u001b[39m\u001b[0m\n\u001b[0m\u001b[31m\u001b[1m>\u001b[22m\u001b[39m\u001b[90m 62 | \u001b[39m        \u001b[33mBannerAlert\u001b[39m \u001b[33m=\u001b[39m dynamic(() \u001b[33m=>\u001b[39m \u001b[36mimport\u001b[39m(\u001b[32m\"../custom/BannerAlert\"\u001b[39m)\u001b[33m,\u001b[39m {\u001b[0m\n\u001b[0m \u001b[90m    | \u001b[39m                                           \u001b[31m\u001b[1m^\u001b[22m\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 63 | \u001b[39m          loading\u001b[33m:\u001b[39m () \u001b[33m=>\u001b[39m \u001b[36mnull\u001b[39m\u001b[33m,\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 64 | \u001b[39m        })\u001b[33m;\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 65 | \u001b[39m        \u001b[90m// eslint-disable-next-line no-empty\u001b[39m\u001b[0m\nnpm ERR! code ELIFECYCLE\nnpm ERR! errno 1\nnpm ERR<EMAIL_ADDRESS>export: `next build && next export`\nnpm ERR! Exit status 1\nnpm ERR! \nnpm ERR! Failed at the<EMAIL_ADDRESS>export script.\nnpm ERR! This is probably not a problem with npm. There is likely additional logging output above.\n\nnpm ERR! A complete log of this run can be found in:\nnpm ERR!     /root/.npm/_logs/2022-06-21T14_04_19_692Z-debug.log\n\n><EMAIL_ADDRESS>export /builds/dagriefaa/publishing-with-nextjs/.next\n> next build && next export\n\ninfo  - Loaded env from /builds/dagriefaa/publishing-with-nextjs/.next/.env.production\nwarn  - No build cache found. Please configure build caching for faster rebuilds. Read more: https://nextjs.org/docs/messages/no-cache\nAttention: Next.js now collects completely anonymous telemetry regarding usage.\nThis information is used to shape Next.js' roadmap and prioritize features.\nYou can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:\nhttps://nextjs.org/telemetry\n\ninfo  - Checking validity of types...\n    at makeError (/builds/dagriefaa/publishing-with-nextjs/node_modules/@dendronhq/engine-server/node_modules/execa/lib/error.js:59:11)\n    at handlePromise (/builds/dagriefaa/publishing-with-nextjs/node_modules/@dendronhq/engine-server/node_modules/execa/index.js:114:26)\n    at processTicksAndRejections (internal/process/task_queues.js:93:5)\n    at async PublishCLICommand.export (/builds/dagriefaa/publishing-with-nextjs/node_modules/@dendronhq/dendron-cli/lib/src/commands/publishCLICommand.js:396:9)\n    at async PublishCLICommand.execute (/builds/dagriefaa/publishing-with-nextjs/node_modules/@dendronhq/dendron-cli/lib/src/commands/publishCLICommand.js:159:21)\n    at async Object.CLICommand.eval [as handler] (/builds/dagriefaa/publishing-with-nextjs/node_modules/@dendronhq/dendron-cli/lib/src/commands/base.js:58:25)","type":"Error","msg":"Command failed with exit code 1: npm run export\nFailed to compile.\n\n./components/DendronNotePage.tsx:62:44\nType error: Cannot find module '../custom/BannerAlert' or its corresponding type declarations.\n\n\u001b[0m \u001b[90m 60 | \u001b[39m      \u001b[36mtry\u001b[39m {\u001b[0m\n\u001b[0m \u001b[90m 61 | \u001b[39m        \u001b[90m// eslint-disable-next-line global-require\u001b[39m\u001b[0m\n\u001b[0m\u001b[31m\u001b[1m>\u001b[22m\u001b[39m\u001b[90m 62 | \u001b[39m        \u001b[33mBannerAlert\u001b[39m \u001b[33m=\u001b[39m dynamic(() \u001b[33m=>\u001b[39m \u001b[36mimport\u001b[39m(\u001b[32m\"../custom/BannerAlert\"\u001b[39m)\u001b[33m,\u001b[39m {\u001b[0m\n\u001b[0m \u001b[90m    | \u001b[39m                                           \u001b[31m\u001b[1m^\u001b[22m\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 63 | \u001b[39m          loading\u001b[33m:\u001b[39m () \u001b[33m=>\u001b[39m \u001b[36mnull\u001b[39m\u001b[33m,\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 64 | \u001b[39m        })\u001b[33m;\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 65 | \u001b[39m        \u001b[90m// eslint-disable-next-line no-empty\u001b[39m\u001b[0m\nnpm ERR! code ELIFECYCLE\nnpm ERR! errno 1\nnpm ERR<EMAIL_ADDRESS>export: `next build && next export`\nnpm ERR! Exit status 1\nnpm ERR! \nnpm ERR! Failed at the<EMAIL_ADDRESS>export script.\nnpm ERR! This is probably not a problem with npm. There is likely additional logging output above.\n\nnpm ERR! A complete log of this run can be found in:\nnpm ERR!     /root/.npm/_logs/2022-06-21T14_04_19_692Z-debug.log\n\n><EMAIL_ADDRESS>export /builds/dagriefaa/publishing-with-nextjs/.next\n> next build && next export\n\ninfo  - Loaded env from /builds/dagriefaa/publishing-with-nextjs/.next/.env.production\nwarn  - No build cache found. Please configure build caching for faster rebuilds. Read more: https://nextjs.org/docs/messages/no-cache\nAttention: Next.js now collects completely anonymous telemetry regarding usage.\nThis information is used to shape Next.js' roadmap and prioritize features.\nYou can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:\nhttps://nextjs.org/telemetry\n\ninfo  - Checking validity of types..."}
unknown error [object Object]
$ mv .next/out public
mv: cannot stat '.next/out': No such file or directory
section_end:1655820270:step_script
section_start:1655820270:cleanup_file_variables
Cleaning up project directory and file based variables
section_end:1655820271:cleanup_file_variables
ERROR: Job failed: exit code 1

Additional context

Github example repo
Gitlab example repo

Thanks for the report @dagriefaa - it looks like we broke something with the v100 of the nextjs template.  We've just reverted it - can you try again now?  If you run the same command sequence, it should pick up the reverted version.


Sorting by fields in the table

@jmeline has implemented a custom sort function by right clicking in the table. This action is not typical table behavior, however. Preferred would be to implement functionality to sort by clicking column header/names.

This is awesome sauce. You're right, it would be better if there were arrows to indicate ascending/descending, but it'll do.


Hotfix for Release 2.0.4

Discussion - https://github.com/SceneView/sceneview-android/issues/435
Issues:

lifecycle?.coroutineScope can be isActive == false and destroy() will not be called
destroyARCore was calling twice. It produced NDK crash from ARCore

The second call of destroy() was removed to prevent crash
Coroutines were replaced to ExecutorService

looks good to me


Upgrade router

This PR upgrades react-redux-router from 3.x to 4.x.
Thanks for your great work with integrating passport to the boilerplate!

closing this PR


Installation question

Hi, I'm wondering if you can help me.
I am trying to install grimer as a conda environment on my local university cluster using mamba.
Initially I had a problem with the version of R, so created an environment first with the required R=4.0
However, I am still getting this message:
The following package could not be installed └─ grimer   is uninstallable because it requires    └─ biom-format >=2.1.10 , which conflicts with any installable versions previously reported.
I'm not sure how to resolve this issue, as I have biom-format installed, and all dependencies such as h5py are installed and up to date.

Looking forward to trying this tool out, and would be grateful for any pointers on how to resolve this issue.
Kind regards,
Richard

Not sure how you are trying to install it but I'd suggest to create a different environment to avoid dependency issues, for example: mamba create -n grimer grimer and then source activate grimer to enter the env. and use the tool.

Thanks very much for taking the time to answer and solve a newbie question. Everything worked great.


[Collection panel]: Error getTranslatedLabel

Getting the following error when trying to expand an entity kind in the collection panel in the VAS:

The error occurred with a collection that contained all Klimts, Ludwig van Beethoven, Ego Schiele, and Adalbert Stifter when I tried to expand the "persons" accordion.

this happens because some related events don't return a label field, e.g.:

Is this a backend issue or do we need to be able to handle this?

definitely a backend/data issue - for now i did https://github.com/InTaVia/web/blob/dev/src/lib/get-translated-label.ts#L10-L12

i guess we can close this.


Makefile Trace Generation and Parsing

@rvighne @yashlala My code is not ready for actual review, but could you help me structure my code? Namely src/Controller/MakefileToJobTree.ts and src/Controller/MakefileTraceToJobTree.ts.
I initially tried to put my code in an object since that's what I've been doing up to now for this project. However, that doesn't really make sense because my code is pretty functional.
Currently, I've just stuffed the code into two files, but it just seems poorly organized to me. Any recommendations?

In my code, I went ahead with the "class full of static methods" approach; it was the closest thing TS had to a namespace.

I initially tried to put my code in an object since that's what I've been doing up to now for this project. However, that doesn't really make sense because my code is pretty functional.

I agree, and the way you've structured it is fine. Just export the functions from your module that should be publicly accessible (of course, the less the better). You don't need to use OOP when it's not helpful.
Re. @yashlala about namespaces: a module only exports names that are explicitly marked as export, so you don't need to create a class in order to get that functionality. Make as many top-level functions as you want since they're hidden, and export the ones that make up your module's public API. It's the same system as Haskell and many other FP languages.

test/supplementary files/makefile test 1/Makefile kind of seems like bad file organization.

@Rohanator9000 I noticed a potential bug in bin/controller.ts, so I made some changes to this branch (resolving my former suggestion while I was at it).


#3123 handle browser refresh for the glossary author

Signed-off-by: David Radley<EMAIL_ADDRESS>

This change has pick up some json files that should have been ignored using the .gitignore - looking into it.


Feat: Vectorized orient function

Expected behavior and actual behavior.
It looks like the shapely.geometry.polygon.orient function is not yet vectorized and only works with a single polygon object
Steps to reproduce the problem.
import shapely
xmin = [0, 1]
ymin = [3, 4]
xmax = [5, 6]
ymax = [7, 8]
geoms = shapely.box(xmin, ymin, xmax, ymax, ccw=False)
shapely.geometry.polygon.orient(geoms)
# AttributeError: 'numpy.ndarray' object has no attribute 'exterior'

Operating system
MacOS
Shapely version and provenance
2.0.0 from pip

Hi @kylebarron
Please use the new vectorized function shaply.ops.orient added in https://github.com/shapely/shapely/pull/1690

It looks like shapely.ops.orient is already vectorized as of 2.0, and additionally is already much faster than a python for loop (as we'd expect, so not sure if #1690 is necessary?):
import shapely
xmin = [0, 1]
ymin = [3, 4]
xmax = [5, 6]
ymax = [7, 8]
geoms = shapely.box(xmin, ymin, xmax, ymax, ccw=False)
big_geoms = list(geoms) * 1000

%timeit shapely.ops.orient(big_geoms)
# 313 ns ± 7.58 ns per loop (mean ± std. dev. of 7 runs, 1,000,000 loops each)

%timeit [shapely.ops.orient(geom) for geom in big_geoms]
# 244 ms ± 4.66 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)

I didn't know shapely.ops.orient existed; I'll move this to a doc request instead of a feature request. When I search for orient in the doc website, the only API doc result is for shapely.geometry.polygon.orient. Is there an API doc page in the website for everything in shapely.ops? Or is it laid out by intention, not by python module

It looks like shapely.ops.orient is already vectorized as of 2.0

Nope. It's just returns the original geom since it's not supported. just try your original test on it.

Is there an API doc page in the website for everything in shapely.ops? Or is it laid out by intention

There are many duplicated functions from in shapely 2 with fragmented documentation.
I'm working on improving the docs https://github.com/shapely/shapely/issues/1688

It's just returns the original geom since it's not supported

Oh that seems really bad: it's silently returning results with no indication that the orient didn't happen

It's just returns the original geom since it's not supported

Oh that seems really bad: it's silently returning results with no indication that the orient didn't happen

I think that the idea was that if the input is not BaseMultipartGeometry and not Polygon then it's a geometry that is oriented (not sure if that's true).
Now if you pass something that's not a Geometry, like a geometry array, it could be considered as an invalid input thus the output is unexpected.
With this PR it works also for geometry array.

Yes, the existing shapely.ops.orient was indeed assuming you always pass a single geometry (and passing through anything that has no polygonal parts). But it is certainly unfortunate that it didn't at least check that it receives a geometry, to avoid such confusion.
Existing issue about providing a vectorized version of this: https://github.com/shapely/shapely/issues/1366

Duplicate of https://github.com/shapely/shapely/issues/1366

@kylebarron
Please see new implementation for ``force_polygon_ccwin https://github.com/shapely/shapely/pull/1690 I didn't time it, but it is probably a bit faster than oldorient`.


Update scikits.cuda version

We require scikits.cuda 0.5.0b2 to support Py3. It seems some of recent updates also depend on scikits.cuda 0.5.0b2 (e.g. #116).

Please update README too.

Fixed

LGTM!


jQuery object on navbars addon.

i am trying to add some html (which is already on page somewhere), to navbars addon.
navbars: [{
   position	: 'top',
	content : [
		// here
	]
}]

You can simply create a jQuery object.
Like this:
navbars: [{
    content: [ $("#my-html-element") ]
}]

You can also use a clone if you want to keep the original elements:
navbars: [{
    content: [ $("#my-html-element").clone() ]
}]

Thank you so much :)


GH-3807 code cleanup

GitHub issue resolved: #3807
Briefly describe the changes proposed in this PR:
See: #3807

PR Author Checklist (see the contributor guidelines for more details):

[ ] my pull request is self-contained
[ ] I've added tests for the changes I made
[ ] I've applied code formatting (you can use mvn process-resources to format from the command line)
[ ] I've squashed my commits where necessary
[ ] every commit message starts with the issue number (GH-xxxx) followed by a meaningful description of the change

No need to merge this before 4.0.0.


Compilation under Ubuntu Docker

I've followed all the dependencies and successfully compiled the C++ REST SDK under cmake and gcc (quite a few warnings however).
I've now got to compiling the nmos-cpp and successfully ran cmake but under make I get the following error at approx 50%

/home/nmos-cpp/Development/cpprest/ws_listener_impl.cpp:17:47: fatal error: websocketpp/config/boost_config.hpp: No such file or directory
compilation terminated.
CMakeFiles/nmos-cpp-registry.dir/build.make:127: recipe for target 'CMakeFiles/nmos-cpp-registry.dir/cpprest/ws_listener_impl.cpp.o' failed
make[2]: *** [CMakeFiles/nmos-cpp-registry.dir/cpprest/ws_listener_impl.cpp.o] Error 1
CMakeFiles/Makefile2:141: recipe for target 'CMakeFiles/nmos-cpp-registry.dir/all' failed
make[1]: *** [CMakeFiles/nmos-cpp-registry.dir/all] Error 2
Makefile:94: recipe for target 'all' failed
make: *** [all] Error 2
root@ubuntu:/home/nmos-cpp/Development/build#

My cmake file is:

cmake
-G "Unix Makefiles"
-DCMAKE_CONFIGURATION_TYPES:STRING="Debug;Release"
-DBoost_USE_STATIC_LIBS:BOOL="1"
-DBOOST_INCLUDEDIR:PATH="/home/boost_1_67_0"
-DBOOST_LIBRARYDIR:PATH="./home/boost_1_67_0/x64/lib"
-DWEBSOCKETPP_INCLUDE_DIR:PATH="/home/nmos-cpp/Release/libs/websocketpp"
-DCPPREST_INCLUDE_DIR:PATH="/home/cpprestsdk-2.10.2-nmos-cpp/"
-build /home/nmos-cpp/Development/build ..

I believe I'm correctly referencing the boost directories but any assistance on this compilation would be gratefully received

Resolved. I was incorrectly pointing to the incorrect Websocket Include Dir. Correct cmake command below:

cmake
-G "Unix Makefiles"
-DCMAKE_CONFIGURATION_TYPES:STRING="Debug;Release"
-DBoost_USE_STATIC_LIBS:BOOL="1"
-DBOOST_INCLUDEDIR:PATH="/home/boost_1_67_0"
-DBOOST_LIBRARYDIR:PATH="./home/boost_1_67_0/x64/lib"
-DWEBSOCKETPP_INCLUDE_DIR:PATH="/home/cpprestsdk-2.10.2-nmos-cpp/Release/libs/websocketpp"
-DCPPREST_INCLUDE_DIR:PATH="/home/cpprestsdk-2.10.2-nmos-cpp/"
-build /home/nmos-cpp/Development/build ..

Thanks for the clear report.
I hope the problem is just these two variables:

-DWEBSOCKETPP_INCLUDE_DIR:PATH="/home/nmos-cpp/Release/libs/websocketpp"
-DCPPREST_INCLUDE_DIR:PATH="/home/cpprestsdk-2.10.2-nmos-cpp/"

The CPPREST_INCLUDE_DIR needs to point at the location of the C++ REST SDK include root, which I imagine is "/home/cpprestsdk-2.10.2-nmos-cpp/Release/include" for you.
The WEBSOCKETPP_INCLUDE_DIR needs to be the include root for WebSocket++, which I imagine is "/home/cpprestsdk-2.10.2-nmos-cpp/Release/libs/websocketpp" for you.
Please let me know if that solves your issue.
One other potential issue (unrelated to the problem you are seeing):

-DCMAKE_CONFIGURATION_TYPES:STRING="Debug;Release"

The CMake CMAKE_CONFIGURATION_TYPES variable only applies to what CMake calls "multi-configuration generators". For the "Unix Makefiles" generator I think you have to use the CMAKE_BUILD_TYPE variable instead, to specify a single build type, e.g. "Release".


Delete unnecessary spaces

When copying from the web page, there is an unnecessary space after the code.

@changeworld : Thanks for your contribution! The author, @HeidiSteen, has been notified to review your proposed change.

Verified the updates.


bubblewrap build: he project name must not be empty.

Describe the bug
FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project ''.
> The project name must not be empty. Set the 'rootProject.name' or adjust the 'include' statement (see https://docs.gradle.org/6.5/dsl/org.gradle.api.initialization.Settings.html#org.gradle.api.initialization.Settings:include(java.lang.String[]) for more details).

To Reproduce

Follow guide here https://github.com/GoogleChromeLabs/bubblewrap/tree/main/packages/cli
Execute bubblewrap build
Get error

Expected behavior
No error
Screenshots

Desktop (please complete the following information):

OS: Linux
Version 22.04

Fixed by using centos instead of ubuntu


Add background prop to RadioItem

Describe the feature in detail (code, mocks, or screenshots encouraged)
Currently, the <RadioItem /> component cannot have a background color separate from the classes applied via the active prop. It would be nice to be able to provide a color for radio items that are not selected (active).
For example, I have this markup:
<RadioGroup active="bg-primary-700" >
	<RadioItem bind:group={selection} value={0} class="bg-surface-500">Item 1</RadioItem>
	<RadioItem bind:group={selection} value={1} class="bg-surface-500">Item 2</RadioItem>
	<RadioItem bind:group={selection} value={2} class="bg-surface-500">Item 3</RadioItem>
</RadioGroup>

Due to not being handled separately, an active radio item will get both background classes applied to it.
What type of pull request would this be?
Enhancement
Provide relevant links or additional information.
No response

@kylclrk not sure we can provide this. The RadioItem components don't have a background color normally, they're transparent to show the RadioGroup background, then when in the active state the background is set to the Item to indicate selection. Are you sure you don't mean to change be Group instead? That is already supported.
Here's a quick illustration of what I mean:

Blue - the background of the Group element
Gray - the transparent background of each Item
Yellow - the active item's color

If each default state color per item has a color I really worry about the accessibility and understanding which Item is highlighted.

I would say as long as there are more than 2 radio buttons, it would be fairly obvious which color represents the selected and which color represents the unselected items. I guess it would be up to the developer to make sure they're doing it in an accessible way.
That said, what I should actually be using is the Tab Control. I'm not sure why I was reaching for radio groups.
Thanks for this awesome project! I might try to contribute in the future. And I'll try to get my employer to sponsor (no promises)


Deploying the Portfolio

- Use GitHub Pages to deploy web pages.

Demonstrate ability to ask clarifying questions about ambiguous requirements.

Project requirements

Deploy your website using GitHub Pages.
Check the online version of your portfolio and make sure that the page works properly.
Update the README of your repository to include a link to the online version.

My Portfolio URL
You can open my portfolio website and here is the link: Ali-Safari

I need your support, can you give me a link for zoom?
@PinkMoon25

@PinkMoon25  I can't push the commits again.


PR for #75 (Support for Solidity Events)

Branch 75-events contains an initial implementation of Solidity events in general. Some things remain to be done, but I believe things are solid enough to be merged right now (just in time for Christmas even, hopefully it'll serve as a nice gift for those who waited so long :eyes:).
What was implemented

Initial support for emitting Solidity events and generating their ABI:

src/contract/event.{h,cpp} has the base Event class, responsible for abstracting the event itself and its data (including whether the event is anonymous, has argument indexing and topics), and the EventManager class, responsible for maintaining emitted events in memory and the database (including built-in commit/revert logic with a temporary buffer)
ContractManager is now responsible for committing/reverting events depending on whether a contract call is successful or not
eth_getLogs was implemented in the net/http/jsonrpc submodule, reponsible for querying and retrieving events in the same way as it is done on Solidity (same inputs, same outputs)
DB has a new prefix: 0x0008 = events, where all of the emitted events are stored upon calling the destructor of EventManager (in the same fashion as the Storage class)
ContractReflectionInterface now has a map for storing a contract's event data (eventsMap) and two functions for generating event ABI: registerContractEvents() (used by the contracts as an extra step for registering said events) and getEventDataStructure() (used by JsonAbi to write the JSON ABI itself)
SimpleContract was updated to include an example of how to declare, register and emit events (see below for more info)

General optimizations to code and formatting:

blockHeight_ and blockTimestamp_ in ContractGlobals were changed from uint256_tto uint64_t (this was done before in the orderbook branch but it wasn't merged (yet) so this could require a bit of attention later)
DB::getKeys() was implemented (get only the keys from a database prefix, it helps a bit)
The entirety of TxBlock and ContractReflectionInterface had their code indentations fixed
ABI::getABIEnumFromBaseTypes was renamed to ABI::BaseTypesToEnum and squished into 4 lines (that's a win to me)

Flux of how events work in OrbiterSDK

On the contract side (check SimpleContract for a practical example):

Declare an event like this: protected void eventName(args...) { this->emitEvent(__func__, { {arg1, indexed}, {arg2, indexed}, ... }, anonymous); }, where __func__ is the event name, indexed is a flag that indicates whether the argument is indexed or not, and anonymous is a flag that indicates whether the event is anonymous or not (defaults to false so you can omit it if you want)
Emit an event by simply calling it inside a non-view/non-pure function (due to const correctness, view/pure functions shouldn't be emitting events), like this: this->eventName(args...);
Generate the event ABI by registering it inside registerContract(), using the registerContractEvent() from ContractReflectionInterface, giving it the required parameters as tuples with the event's name, whether it is anonymous or not, and sub-tuples with each of the arguments' names, types (written as if they were in Solidity, so "uint256" instead of "uint256_t" for example), and whether they're indexed or not
Event declaration/emission and ABI generation are completely independent from each other (as in, you don't have to register events for them to work inside the contract), but it is recommended to always generate the ABI anyways so things work more seamlessly

On the backend side (regarding event emission):

When an event is emitted via DynamicContract::emitEvent(), an Event object is created on the spot and sent directly to ContractManagerInterface::emitContractEvent() (please note that at this specific moment the Event object lacks State data - this is on purpose, as events can be reverted if a transaction fails)
ContractManagerInterface::emitContractEvent() checks if the event was emitted during a contract call - if not, throws, otherwise the event is sent directly to EventManager::registerEvent()
EventManager::registerEvent() adds the event to the temporary buffer so it can be properly committed or reverted later
State::processNextBlock() provides the rest of the data required by the event, passing them through State::processTransaction(), then ContractManager::callContract(), and finally EventManager::commitEvents()
EventManager::commitEvents() inserts the required State data on all emitted events so far in that block (by calling each event's setStateData() function) and effectively commits them all by moving them to the permanent event list so they can be queried and/or saved into the database later
If a transaction fails, EventManager::revertEvents() is called instead, discarding all events emitted so far in that block

On the backend side (regarding ABI generation):

When an event is registered via ContractReflectionInterface::registerContractEvents(), each event tuple is registered inside the eventsMap map
ContractReflectionInterface::getEventDataStructure() retrieves said event data and puts it into a struct that JsonAbi can parse when ./contractabigenerator is run
JsonAbi::registerContractAndGetData() calls the previous function and writes the event data to JSON, effectively generating each registered event's ABI alongside the rest of the contract's ABI

Implementation details

Event: topics_ is a vector with tecnically no limits in and of itself, but the class constructor actually limits how many topics can exist (3 or 4 for anonymous events)

This means that indexing order matters - if an event is emitted with e.g. 10 indexed arguments, only the first 3-4 will actually be indexed/registered as topics, and the rest will be encoded in the data_ field

EventManager: registerEvent() and commitEvents() MOVE the event objects around instead of copying them (push_back(std::move(event)) instead of push_back(event))
eth_getLogs has hardcoded sane limits for querying (you can query up to a range of 2000 blocks and a total of 10000 events at once)

What is missing

Proper documentation on sparq-docs (I'm working on this as we speak)
Tests (for pretty much everything - e.g. emitting events, committing, reverting, saving, loading, querying via eth_getLogs, etc., also checking if topic parameters are encoded correctly as per official Solidity specification)

Tests that call ContractManager::callContract() should be revised, as there are extra parameters required now due to EventManager existing in Blockchain as a pointer (nullptr was passed to those calls as a temporary fix, this is only a placeholder value and should be removed later)

Periodic saving (would be better to implement this alongside #27 since the Storage class still lacks this functionality, both would have pretty much the same logic anyway)
If required, a limit of 1000 events in memory (there's no limits right now, logic would be pretty much the same as Storage where we only keep the 1000 most recent blocks in memory)
Parameter encoding for structs (waiting on @itamarcps for that)

Docs have been updated on sparq-docs, under a new branch called events. Once this is merged I'll do the merge there accordingly. Would also appreciate some feedback there, it should be pretty easy to follow.

Included merges for the SDKTestSuite, global parameters in Options and other minor fixes developed on separate branches. All that's left is to merge this into development and we should be good to go. Would appreciate a final look into it before merging. @itamarcps @jcarraror


Autoinstall modules when running the build

I created builds for various platforms using the builder but the file size is close to 200MB.
Is it possible to create a build that downloads the required dependencies from the internet when run by the user.

This is not a problem with nw-builder so I'll close this.
What I think you can do is create an installer for your app (which doesn't contain your app and therefore will be really lightweight) which when ran, goes and downloads the required files. I haven't done this myself but I know it's possible, but not with nw-builder.


ci: Remove cargo audit ignore for RUSTSEC-2020-0159

The RUSTSEC-2020-0159 advisory identifies a vulnerability in the chrono crate due to a call to localtime_r.
Time to resolution is indefinite.
More information:

https://github.com/chronotope/chrono/issues/499

Can we please leave this open as a reminder to remove the deny check when it's no longer needed? :-)

My bad, it got auto-closed.

I'm unsure ignoring this one is appropriate, since its a vulnerability that in (real world) multithreaded use can cause memory corruption (in an often crashy way).

Just a quick reference for why we managed to get away with it this time:

https://github.com/ockam-network/ockam/pull/2542#issuecomment-1055630787

We no more have this in cargo deny


Remove redundant dependency on .NET Standard 2.0

Your PR caused UnityNuGet registry to fail.

Of course, you can check it yourself.

Appreciated the PR. I have other changes I wanted to make for this package and made my own commit. Version 1.2.0 of this package is now live on NuGet. You can close this PR yourself if you find no further issue.


Support for kitty terminal

Description
First of all, I'm not sure where i should create this issue, so i created it here.
If it doesn't belong here, let me know where to move it.
Do you plan to add a support for Kitty terminal? I'm already using custom colors that i added below, but i would like to have official support for it.
Benefits
Using the colors from original creator instead of using custom configuraiton.
Possible Drawbacks
None.
Alternative Solutions
Using custom colors like i'm doing now.
Potential Solution
Currently i'm using this, which looks perfectly fine to me:
# Nord Colorscheme for Kitty
# Based on:
# - https://gist.github.com/marcusramberg/64010234c95a93d953e8c79fdaf94192
# - https://github.com/arcticicestudio/nord-hyper

foreground            #D8DEE9
background            #2E3440
selection_foreground  #000000
selection_background  #FFFACD
url_color             #0087BD
cursor                #81A1C1

# black
color0   #3B4252
color8   #4C566A

# red
color1   #BF616A
color9   #BF616A

# green
color2   #A3BE8C
color10  #A3BE8C

# yellow
color3   #EBCB8B
color11  #EBCB8B

# blue
color4  #81A1C1
color12 #81A1C1

# magenta
color5   #B48EAD
color13  #B48EAD

# cyan
color6   #88C0D0
color14  #8FBCBB

# white
color7   #E5E9F0
color15  #B48EAD

Hi @kristijanhusak :wave:, thanks for your contribution and filling out the issue template :+1:
I've moved this issue to the main repository of Nord, the Nord Docs repository is the website of Nord and all of its port projects.
Support for kitty has already been request in #104 also including an proposal implementation, maybe you might take a look into this too. An official project will be available as soon as I've finally finished most of the tasks for Nord Docs like the documentation transition.
I'll notify you as soon as the project is available and use your and @lokesh-krishna implementations as a reference for the official port project, but in the meantime please use a custom theme.

I guess we can close this in favor of #104 , since i wouldn't open this if i found existing ticket. I'll leave that decision to you.
Thanks.

Related to and duplicate of #104

I'll leave it open in order to use your proposal implementation as a reference or as complete code base. It's linked to #104 so it'll be closed simultaneously.

bump

bump

bump

Hey,
Not sure if you're new to GitHub, and this also goes to the people who commented above you, so I hope you don't take offense but bumping issues is poor etiquette. It sends notifications to everybody who's participated or is watching and serves little purpose unless it's a serious or security bug that's somehow slipped the developer's attention.
The dev has mentioned how strapped for time they are on nearly every new issue opened and has also reassured that community that they'll get around to working on these ports when they do find the time.
In the meantime you can use the implementation presented in this issue or at #104 .


Fixed key parsing for press automation (closes #658)

\cc @inikulin, @AndreyBelym

According to the old (docs)[http://testcafe.devexpress.com/Documentation/API_Reference/Test_Fixture_API/User_Actions/#actpress], the argument of act.press must be a sting. So it violates our API, and likely we need to fix the test but not the  testcafe. \cc @inikulin @AlexanderMoskovkin

In private discussion with @inikulin we decided to notify test owners. Thanks @AndreyBelym.


Add PySide2 to setup.py under view key

PySide2 is on PyPi as of a week ago.
This adds the PySide2 dependency underneath the 'view' key in extra_requires, as discussed in https://github.com/PixarAnimationStudios/OpenTimelineIO/pull/269#issuecomment-398248375
Updated the README with instructions as well.

Codecov Report

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

@@           Coverage Diff           @@
##           master     #293   +/-   ##
=======================================
  Coverage   90.92%   90.92%
=======================================
  Files          49       49
  Lines        4352     4352
=======================================
  Hits         3957     3957
  Misses        395      395

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 aae64de...3a85871. Read the comment docs.

(otio) C:\dev\OpenTimelineIO>pip install -e .[view]
Obtaining file:///C:/dev/OpenTimelineIO
Collecting PySide2==5.11 (from OpenTimelineIO==0.8.0.dev1)
  Downloading https://files.pythonhosted.org/packages/fe/4e/06a26bb928fabb6374d85532c8bdeee1c17a64e683f5104d9698fa84c98e/PySide2-5.11.0-5.11.0-cp35.cp36-none-win_amd64.whl (129.5MB)
    100% |████████████████████████████████| 129.5MB 218kB/s
Installing collected packages: PySide2, OpenTimelineIO
  Running setup.py develop for OpenTimelineIO
Successfully installed OpenTimelineIO PySide2-5.11.0


use latest STS version

bring in the fix for https://github.com/microsoft/azuredatastudio/issues/22280

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.005%) to 41.956%

Totals

Change from base Build<PHONE_NUMBER>:
0.005%

Covered Lines:
28809

Relevant Lines:
63751

💛  - Coveralls


 content is active even if not opened

Bug, feature request, or proposal:
Bug
What is the expected behavior?
So long as the menu is not opened I would expect the mat-menu content to not be active (similar to *ngIf="false" directive).
What is the current behavior?
Even if ng-template matMenuContent is used after the menu was opened once and the menu is currently not opened, mat-menu content seems to be active i.e. the components therein seem to be rendered as far as Angular is concerned according to e.g. property getter breakpoints.
What are the steps to reproduce?
Providing a StackBlitz reproduction is the best way to share your issue. https://stackblitz.com/edit/angular-material2-issue-9dp31o
Couldn't use ng-template matMenuContent here, but even with it in the newer version after opening and closing once content stays active.
What is the use-case or motivation for changing an existing behavior?
Motivation is reducing of unnecessary performance hits (in fact I found that out looking at the Chrome performance devtools).
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular 5.2.0, Material 5.2.0, Windows, TS 2.5.3, Chrome.
Is there anything else we should know?

BTW same problem with mat-select's mat-option elements i.e. are active even though select popup is not opened (maybe even the same issue if is using same menu popup code?).


Return of wrong formatting

#90 is back
new string[32];
new Float:medusa = -0.44;
printf("%.2f", medusa);
mysql_format(dbhandle, string, sizeof string, "%.2f", medusa);
print(string);

(I've seen you used different format method for R40, sorry for those issues)

Argh, mysql_format is killing me.
Thanks for reporting though, the fewer bugs the better!

@maddinat0r You could say that it is making you madd.


feat(ui-docs): new home and search

This is dope. What work is remaining?

This is dope. What work is remaining?

Have to finish writing content for:

https://pr-564.ui.stacks.engineering/design-graph/what-is-it
https://pr-564.ui.stacks.engineering/design-graph/space
https://pr-564.ui.stacks.engineering/design-graph/typography

and bring over some improvements from the main docs site (typography, etc)


Cache images in the explore screen

What is the user problem or growth opportunity you want to see solved?
Right now we cache images loaded in the Contributions screen. As a consequence, it is possible for the user to view them even after they've gone offline until the app is retained in memory.
The same behaviour does not happen for the "Explore" screen. When a user loads images in "Explore" screen; go offline; then switch to a different tab such as "Contributions / Bookmarks" and come back to the "Explore" screen, they would be shown an empty screen again. It would be better if we make sure the images are cached and rendered from the cache in this scenario.
How do you know that this problem exists today? Why is this important?
This behaviour is repeatedly reproducible and was reported via a user feedback in Google Play Store. This is good improvement since it would help conservation of resources as we just loaded the images a few moments ago. If we cache them we could render the images from the same without the user needing to connect to the network again to load them.
Who will benefit from it?
Any user who has limited access to network / prefers to browse images offline would benefit from this.
Anything else you would like to add?
We should ensure the memory taken up by the cache is limited, though. This would ensure we don't hog up resources on low-memory devices.

Hey Can you assign me this??

@muskan2622 Any progress on this? :-)

Let me pick this, first I will fix this #6043 and then this one.


Don't remove color information from rendered string in --message-format=json output

Describe the problem you are trying to solve
I'm trying to support new build tool window for IntelliJ Rust:

I use --message-format=json option, but unfortunately the rendered string doesn't contain color information.
Describe the solution you'd like
I would like to use --color=always option (or some new one) to include color information.
Notes
I think this is the place where it can be fixed:
https://github.com/rust-lang/cargo/blob/9be45944b14c51f5f2c2ed31d73bb1f7a7f1b4e9/src/cargo/core/compiler/mod.rs#L1222-L1238

This is gated on https://github.com/rust-lang/rust/issues/60987

Thanks!


Avoid bad practice in --safariONLY example

Considering the example for --safariONLY:
https://github.com/argyleink/open-props/blob/e1cf0c512ddec0aff56b41ba6cf4c694bdf57b7b/docsite/index.html#L2661-L2665
Although we all know that this is just an example, it's still not the best one, since in the end this custom property is still a hack that might break in the future when CSS already has a native way of checking this specific case with @supports (color: color(display-p3 1 1 1))
Right now I don't have a suggestion interesting enough to give you, but will do as soon as I remember one.

Also, safariONLY is a not a @media at-rule but a @supports rule. The example above doesn't even works.

Also, shouldn't be @supports (--safariONLY) instead of @media (--safariONLY)?


zod: add validator for ShvMap of Record<string, T>

Validator for ShvMap where keys are any strings and values have a specific structure.

@syyyr


Remove setting default pythonhome and pythonthreehome

It's enough to set pythondll/pythonthreedll if you want defaults as per vim/vim@0424958. Before it was a requirement to set both.
Probably, closes #562 forever.
@ychin please verify if  compile flags doesn't specify pythonhome/pythonthreehome explicitly

I looked and I don't see anything MacVim is doing that is specific to python home, so your change should be good. Thanks for the change. I do think the MacVim-provided vimrc should set as little as possible to avoid stomping user settings so in this case I think this is a good change, especially given that it's fixed in Vim per your link. If users care enough about setting their python home, they can do that, but we shouldn't impose that on them when the default case of leaving pythonhome unset works most of the time.

Just tagging #760 for backlinking as that's the main issue tracking Python compat issues.


Warning running pytest when importing jsonschema

/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/jsonschema/compat.py:6: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
from collections import MutableMapping, Sequence  # noqa
I'm wondering if jsonschema just needs to update it's reference.

What version of jsonschema
On Thu, Nov 21, 2019, 16:29 michaelschmit<EMAIL_ADDRESS>wrote:

/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/jsonschema/compat.py:6:
DeprecationWarning: Using or importing the ABCs from 'collections' instead
of from 'collections.abc' is deprecated, and in 3.8 it will stop working
from collections import MutableMapping, Sequence # noqa
I'm wondering if jsonschema just needs to update it's reference.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Julian/jsonschema/issues/630?email_source=notifications&email_token=AACQQXWWK6GNIOT2Q3XRI3DQU34SJA5CNFSM4JQINEFKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4H3HDZGA,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACQQXTLIE2BWRPQAXLXKKLQU34SJANCNFSM4JQINEFA
.

My bad ... I had some constraints that was keeping me at 2.6.  Upgraded to 3.2 and that fixed it.


who rule

The Bill, as it was drawn up, gave to every criminal who did not like his conviction the power to move to set it aside in a court of law.
Bill gave to criminal
who not like conviction -> criminal not like conviction
who not like power -> criminal not like power

I have a letter from a gentleman named Bouker, who has also been forty years in the corn trade, and he writes that, in 1826, he purchased large quantities, to the extent of several thousand quarters of red wheat, as fine as any that could be grown, at prices varying from 18 to 21 and that then freight to London amounted to 3

Then there came Lord Mansfield, who, in addition to the highest name as a lawyer, was himself a Scotchman, and long employed as an advocate in Scotch appeals.


IServiceProvider of the IoC service not mentioned.

[Enter feedback here]

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

ID: 5786402e-9d88-5de0-607a-1c2a143af006
Version Independent ID: 15368d1c-b22e-7eb2-413f-cc0d41d2b909
Content: Use dependency injection in .NET Azure Functions
Content Source: articles/azure-functions/functions-dotnet-dependency-injection.md
Service: azure-functions
GitHub Login: @craigshoemaker
Microsoft Alias: cshoe

@wjohnson2250 Could you provide specific section in the documentation that your feedback is applicable to?

@wjohnson2250 Since we have not heard back from you we will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.

I replied to your last email on 01/06/2020, 14:44. I got no response.
On 05/06/2020 13:51, DixitArora-MSFT wrote:

@wjohnson2250 https://github.com/wjohnson2250 Since we have not
heard back from you we will now proceed to close this thread. If there
are further questions regarding this matter, please tag me in your
reply. We will gladly continue the discussion and we will reopen the
issue.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/56086#issuecomment-639461047,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACKGFT46LZ4TCDRZ3ZREHBLRVDS5DANCNFSM4NPWYPJQ.

I replied to your last email on 01/06/2020, 14:44. I got no response.
On 05/06/2020 13:51, DixitArora-MSFT wrote:

Closed #56086 https://github.com/MicrosoftDocs/azure-docs/issues/56086.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/56086#event-3411160873,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACKGFT46LZ4TCDRZ3ZREHBLRVDS5DANCNFSM4NPWYPJQ.


Navigation: Tabs hidden on subpages are shown after reloading (v3.5.0)

Ionic version:  (check one with "x")
[ ] 1.x (For Ionic 1.x issues, please use https://github.com/ionic-team/ionic-v1)
[ ] 2.x
[x] 3.x
I'm submitting a ...  (check one with "x")
[x] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:
Our app is using v3.5.0, lazy loading and tab navigation for both mobile/PWA. When a subpage is reloaded, the back button is missing and the tabs are shown even though tabsHideOnSubPages was set to true. Check the steps for more info.
Expected behavior:
Tabs should be hidden and the back button present.
Steps to reproduce:
We have a TabsPage defined in the root nav, with tabs hidden on subpages in the template with [tabsHideOnSubPages]="hideOnSubPages". This property is set to true in the page constructor if the platform is core (desktop).

We navigate to a subpage from one of the tabs and it's pushed correctly: back button is present, tabs are hidden.

When the page is reloaded, the back button is missing and the tabs are shown. This page has a defaultHistory that goes back down to the tabs: defaultHistory: ['TabsPage', 'ListsPage'], as well as its parent.

Related code:
N/A
Other information:
N/A
Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):
global packages:

    @ionic/cli-utils : 1.4.0
    Cordova CLI      : 7.0.1
    Ionic CLI        : 3.4.0

local packages:

    @ionic/app-scripts              : 1.3.9
    @ionic/cli-plugin-cordova       : 1.4.0
    @ionic/cli-plugin-ionic-angular : 1.3.1
    Cordova Platforms               : android 6.2.3 ios 4.4.0
    Ionic Framework                 : ionic-angular 3.5.0

System:

    Node       : v6.10.3
    OS         : macOS Sierra
    Xcode      : Xcode 8.3.3 Build version 8E3004b
    ios-deploy : 1.9.1
    ios-sim    : 6.0.0
    npm        : 5.0.4

Could someone explain why there is a nav/n4 and a lot of prefixes on the navigator url? Is this even documented?

Yes, it's documented in the changelog notes for v3.5.0 😊

Really @FdezRomero? We should be reading different things. It only says:

As a result, if you're using deep linking, the urls of the application will be different.

Allright, different how? Why nav piece? Why n4 piece?
Sorry about using your issue to ask this, but it makes no sense to me.

@iget-master He should have linked you to here:  #12178

No problem. It's due to the huge refactor that has been done in the navigation to better support nested navigation and tabs. It also says that URLs will be improved in the next round.
My understanding is that they are starting with a full, robust deeplink URL that works in all use cases (nav/n4 and tabs/t0 are internal ids) and will start cleaning from there. But yeah, I totally get this is not ideal but keep in kind that is an ongoing effort.
I'm sure @danbucholtz can give a better explanation 😅

Hello, all! Thanks for using Ionic. So first on the longer URL's. Because of how flexible our nav system is, especially the ability to have multiple navs, there is a lot of tracking of state in the URL's that has to happen for things to work correctly. This is what your seeing when you see n4 etc. These are not the final URL's by any means and in fact locally on @danbucholtz 's machine, we already have nicer url's. Our end goal is to have much shorter/cleaner url's and that is a focus for the upcoming ionci releases, especially as we start to double down on PWA's. Second, @FdezRomero , dan is aware of this tabs issue and it is something that we are looking to fix in upcoming releases. Thanks for opening an issue with us!

Adding that I was able to reproduce the issue in the simple-tabs test from the Ionic repo, running gulp e2e.watch --folder nav/simple-tabs and adding tabsHideOnSubPages="true" to the first tab. If you go to "Page Two" tabs are hidden. Reload and tabs are shown again.
Opening a separate issue for the back button disappearing (#12212), since it's happening independently.

While I appreciate the new URL nav support it just killed my SEO big time. I use prerender.io to crawl and cache my sites, Is there anyway to roll this back to a previous version and if so what version until its resolved? Thanks!

For now you can rollback:
npm install<EMAIL_ADDRESS>--save --save-exact
then make sure to rollback angular to 4.0.0 and rxjs to 5.1.1
{   "name": "judsondesigns2017",   "version": "0.0.1",   "author": "Ionic Framework",   "homepage": "http://ionicframework.com/",   "private": true,   "scripts": {     "clean": "ionic-app-scripts clean",     "build": "ionic-app-scripts build",     "lint": "ionic-app-scripts lint",     "ionic:build": "ionic-app-scripts build",     "ionic:serve": "ionic-app-scripts serve"   },   "dependencies": {     "@angular/common": "4.0.0",     "@angular/compiler": "4.0.0",     "@angular/compiler-cli": "4.0.0",     "@angular/core": "4.0.0",     "@angular/forms": "4.0.0",     "@angular/http": "4.0.0",     "@angular/platform-browser": "4.0.0",     "@angular/platform-browser-dynamic": "4.0.0",     "@ionic-native/core": "3.12.1",     "@ionic-native/splash-screen": "3.12.1",     "@ionic-native/status-bar": "3.12.1",     "@ionic/storage": "2.0.1",     "cordova-browser": "^4.1.0",     "cordova-plugin-console": "^1.0.5",     "cordova-plugin-device": "^1.1.4",     "cordova-plugin-splashscreen": "^4.0.3",     "cordova-plugin-statusbar": "^2.2.2",     "cordova-plugin-whitelist": "^1.3.1",     "ionic-angular": "3.0.1",     "ionic-plugin-keyboard": "^2.2.1",     "ionicons": "3.0.0",     "rxjs": "5.1.1",     "sw-toolbox": "3.6.0",     "zone.js": "0.8.12"   },   "devDependencies": {     "@ionic/app-scripts": "1.3.12",     "@ionic/cli-plugin-cordova": "1.4.0",     "@ionic/cli-plugin-ionic-angular": "1.3.1",     "typescript": "2.3.4"   },   "description": "An Ionic project",   "cordova": {     "plugins": {       "cordova-plugin-console": {},       "cordova-plugin-device": {},       "cordova-plugin-splashscreen": {},       "cordova-plugin-statusbar": {},       "cordova-plugin-whitelist": {},       "ionic-plugin-keyboard": {}     },     "platforms": [       "browser"     ]   } }

Excuse me, has this problem been solved yet?

@dahuahe No, it hasn't been fixed yet (even using defaultHistory).

The same for me.
Develop ionic software with tabs i have the same issue, after reloading the page only show the tab page, without the tabs navigation. I need to change the URL again to back.
Is any way to solve this problem, even if temporarily for development environment?


A custom keyboard with Diffrent keyboard types, suggestionbar and long popups with alphabet options — Edit

A custom keyboard with Diffrent keyboard types, suggestionbar and long popups with alphabet options — Edit
Rebased current archagon/tasty-imitation-keyboard on July 13 and applied AmitBhavsarIphone/Custom-keyboard features .
Resolved all the latest swift errors and warning + changes for all new depreciated iOS APIs.

https://github.com/Ankish/Custom-keyboard

Thank you for posting this Ankish.
As I tried your version, I had some issues with the Suggestion Bar. I found that it stops working after I manually enter anything. Strangely, if I pressed and held a button, like "a" to view the long popup, I could use the Suggestion Bar again. (For reference, I am only doing this in the simulator and not on a  physical device).
Also, do you have plans to make the suggestion bar dynamic (that is, change when the user types)? This is a technology I am interested in implementing in my own keyboard.


New GPTs Submit: AbletonGPT

🎧 AbletonGPT

I'm AbletonGPT, your go-to source for practical tips and troubleshooting advice on Ableton Live 11, dedicated to helping both beginners and intermediate users with their music production queries.
Chat now
Submit by @HeyitsRadinn

Merged


fix: need to pass skip_prepare_dataset for pretokenized dataset due to breaking change in HF SFTTrainer

Description of the change
Fix test failure
Related issue number
Fixes https://github.com/foundation-model-stack/fms-hf-tuning/pull/324#issuecomment-2322823510
How to verify the PR
make test
Was the PR tested

[x] I have added >=1 unit test(s) for every new method I have added.
[x] I have ensured all unit tests pass

This seems to be the line in the SFTTrainer code that caused the error on our side:
https://github.com/huggingface/trl/compare/v0.9.6...v0.10.1#diff-29597a530a3b595f2140e524e585a0e1458983b8c1c382e3fca48b314892dcf8L204

The issue is that trl created a release 5 days ago that our PRs are now picking up. v0.10.1 includes this line change https://github.com/huggingface/trl/blob/d57e4b726561e5ae58fdc335f34029052944a4a3/trl/trainer/sft_trainer.py#L348 where if packing=False (set by default in our code) then it expects that data preparation must be completed. For pretokenized datasets, data preparation is not needed, thus we need to set skip_prepare_dataset=False. For the other dataset formats we accept, dataset_text_field is set and thus data processing is run in SFTTrainer.
Angel had the idea that we could only add skip_prepare_dataset=False in our pretokenized dataset tests. Although this is true and would resolve the issue, this is something we need to pass into SFTTrainer for all pretokenized datasets, that the user wouldn't be able to set on their own.


Added NetLytics

Hello,
Is it possible to add my network analytics project on this list?
It's called NetLytics and is available on GitHub.
P.S. I added a section called networking

My $.02

I am not that fond of separate section, and if we add one, I'd prefer something around Log processing.
Let's give it some time, and see if library shows consistent activity.


*: update etcd to v3.2.2 and fix a stream related issue.

About the issue:
because the streams are long-term existence in our usage scenario, stream will not be shut down if the server loses leadership and no new message is received on the stream. Here Recv with timeout is introduced to solve this problem.
cc @nolouch @siddontang

LGTM.
Btw, I see etcd also fix graceful close problem in 3.2.4. maybe we can update to it.

seem this should be two PR, one for the vendor, one for the stream?

@nolouch @siddontang I'll try 3.2.4, seems we don't need to use the timeout Recv anymore.

See #686


DepsolveError in container blueprint of edge-8to9-9.2

In compose RHEL-9.2.0-20221221.0, Container depsolve is failing after the update of following packages:
rpm-4.14.3-25.el8.x86_64 --> rpm-4.14.3-26.el8.x86_64
rpm-libs-4.14.3-25.el8.x86_64 --> rpm-libs-4.14.3-26.el8.x86_64
osbuild-composer packages:
osbuild-composer-dnf-json-70-1.el9.x86_64
osbuild-composer-core-70-1.el9.x86_64
python3-osbuild-73-1.el9.noarch
osbuild-selinux-73-1.el9.noarch
osbuild-73-1.el9.noarch
osbuild-luks2-73-1.el9.noarch
osbuild-lvm2-73-1.el9.noarch
osbuild-ostree-73-1.el9.noarch
osbuild-composer-worker-70-1.el9.x86_64
osbuild-composer-70-1.el9.x86_64
The problem is following:
Problem: package ModemManager-1.20.2-1.el8.x86_64 requires libmbim-glib.so.4()(64bit), but none of the providers can be installed\n  - package ModemManager-1.20.2-1.el8.x86_64 conflicts with libmbim(x86-64) \u003c 1.28.2 provided by libmbim-1.26.0-2.el8.x86_64\n  - package NetworkManager-wwan-1:1.40.8-1.el8.x86_64 requires ModemManager, but none of the providers can be installed\n  - conflicting requests"

RHEL 8.8 also has this issue in edge-commit from compose RHEL-8.8.0-20221221.0 https://github.com/virt-s1/rhel-edge/actions/runs/3750016505/jobs/6369204671

Filed bug https://bugzilla.redhat.com/show_bug.cgi?id=2155611

Compose RHEL-8.8.0-20221222.0 doesn't have this issue anymore.


MACOS  M2  Docker Compose Failing with  GPU  Selection Step

What is the issue?
MACOS  M2  Docker Compose Failing with  GPU  Selection Step
(LLAMA_CPP_ENV) akram_personal@AKRAMs-MacBook-Pro packet_raptor % docker-compose up
Attaching to packet_raptor, ollama-1, ollama-webui-1
Gracefully stopping... (press Ctrl+C again to force)
Error response from daemon: could not select device driver "nvidia" with capabilities: [[gpu]]
(LLAMA_CPP_ENV) akram_personal@AKRAMs-MacBook-Pro packet_raptor %
What did you expect to see?
No response
Steps to reproduce
No response
Are there any recent changes that introduced the issue?
No response
OS
macOS
Architecture
arm64
Platform
Docker
Ollama version
0.1.30
GPU
Apple
GPU info
(base) akram_personal@AKRAMs-MacBook-Pro ~ % ioreg -l | grep num_cores
| |   |   |   "GPUConfigurationVariable" = {"num_gps"=8,"gpu_gen"=14,"usc_gen"=2,"num_cores"=20,"num_mgpus"=2,"core_mask_list"=(1023,511),"num_frags"=20}
(base) akram_personal@AKRAMs-MacBook-Pro ~ %
(base) akram_personal@AKRAMs-MacBook-Pro ~ %
(base) akram_personal@AKRAMs-MacBook-Pro ~ % system_profiler SPDisplaysDataType
Graphics/Displays:
Apple M2 Pro:

  Chipset Model: Apple M2 Pro
  Type: GPU
  Bus: Built-In
  Total Number of Cores: 19
  Vendor: Apple (0x106b)
  Metal Support: Metal 3
  Displays:
    Color LCD:
      Display Type: Built-in Liquid Retina XDR Display
      Resolution: 3456 x 2234 Retina
      Main Display: Yes
      Mirror: Off
      Online: Yes
      Automatically Adjust Brightness: Yes
      Connection Type: Internal
    VX2757:
      Resolution: 1920 x 1080 (1080p FHD - Full High Definition)
      UI Looks like: 1920 x 1080 @ 75.00Hz
      Mirror: Off
      Online: Yes
      Rotation: Supported

(base) akram_personal@AKRAMs-MacBook-Pro ~ %
root:xnu-10002.81.5~7/RELEASE_ARM64_T6020 arm64
CPU
Apple
Other software
No response

Docker  Compose YAML  File:
Version: '3.6'
networks:
ollama:
services:
ollama:
image: ollama/ollama
networks:
- ollama
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities: [gpu]
volumes:
- ./data/ollama:/root/.ollama
ports:
- 11434:11434
ollama-webui:
image: ghcr.io/ollama-webui/ollama-webui:main
volumes:
- ./data/ollama-webui:/app/backend/data
depends_on:
- ollama
ports:
- 3002:8080
environment:
- 'OLLAMA_API_BASE_URL=http://ollama:11434/api'
extra_hosts:
- host.docker.internal:host-gateway
networks:
- ollama
packet_raptor:
build:
context: ./
dockerfile: ./docker/Dockerfile  # Specify the path to your existing Dockerfile
container_name: packet_raptor
restart: always
ports:
- "8585:8585"
volumes:
- ./config.toml:/root/.streamlit/config.toml
environment:
- OLLAMA_URL=http://ollama:11434
depends_on:
- ollama
networks:
- ollama
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities: [ gpu ]
volumes:
ollama: {}

If I understand correctly, you're trying to use Docker Desktop on an ARM Mac system to run Ollama.  This will only work with CPU mode.  Apple systems do not have NVIDIA GPUs, they have Apple GPUs, and Docker Desktop does not expose the GPU to the container.  If you remove the GPU settings so it runs CPU only, then it should work, but you'll be getting ARM CPU based execution.  You'll see much better performance if you stick with running on the native Mac where the mac binary of Ollama can leverage the GPU.


Cleanup after truncate packages

This pull request includes a cleanup after truncating packages.
Enables FK with ON DELETE CASCADE.

Enables FK with ON DELETE CASCADE.

I don't see that change :thinking:

Reminder: after the migration let’s check if the FK does exist.


Blazor WebAssembly - Refresh Token Flow

I was wondering whether Blazor WebAssembly backed by IdentityServer (as in the "individual accounts" option of the Blazor WebAssembly Visual Studio template) supports the refresh token flow.
That is when it authenticates and receives a token, does it have an access token that expires after a small amount of time and a refresh token that lasts significantly longer and can be used to get new access tokens?
The reason for this question is based on my hunch that using the AuthorizeAttribute on Razor pages likely doesn't support the Policy property and only evaluates the access token to authorize a page.  So, changing a user's claims wouldn't require a log-out and in if the refresh token flow with a small expiry for the access token was supported.

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

ID: c9942b0a-a7fb-0d34-9201-af0963affa9e
Version Independent ID: 19770710-5225-a1ea-e082-65da6ba4a49a
Content: ASP.NET Core Blazor authentication and authorization
Content Source: aspnetcore/security/blazor/index.md
Product: aspnet-core
Technology: aspnetcore-security
GitHub Login: @guardrex
Microsoft Alias: riande

supports the refresh token flow

It doesn't client-side for Blazor WASM (Razor components in the Client app). The scenario would be a security risk for exactly the reason that you mentioned ... they can't be secured. You can use refresh tokens server-side. We have some info on that pertaining to 3rd party APIs, where you wouldn't want to send the refresh token down to the client but still permit the client to make 3rd party calls ... that's covered at :point_right: https://docs.microsoft.com/en-us/aspnet/core/security/blazor/webassembly/additional-scenarios?view=aspnetcore-3.1#options-for-hosted-apps-and-third-party-login-providers
As with your last question, I don't understand the mix of "page" in the question. There are no pages (Razor Pages) in a Blazor WASM app client-side. I think you must be asking about a Server app of a hosted solution, where you could have Razor Pages. In that case, yes, Identity should work as it normally does.
Policies are supported in Razor components as I linked on the other issue, and the [Authorize] attribute can be applied with a policy. Like I said before tho, we can't handle support requests, so I recommend that you consult with devs on a support channel for help with a specific use case scenario ...

Stack Overflow
ASP.NET Core Slack
ASP.NET Gitter

Actually ...... I like the idea of being more explicit about refresh tokens client-side. We have a section ...
https://docs.microsoft.com/en-us/aspnet/core/security/blazor/?view=aspnetcore-3.1#authorization-in-blazor-webassembly-apps
... where I think an explicit statement can live that basically says that refresh tokens shouldn't be sent to Blazor WASM apps.

I'm going to move that existing section to the Blazor WASM Overview and add a new section there. That makes more sense. I think this section is leftover here from when we didn't have a Blazor WASM security node and overview.

Yes, it appears I have asked a question about the wrong doc page.  Yes, it would be good if there was more info about the refresh-token flow on the page you mentioned (https://docs.microsoft.com/en-us/aspnet/core/security/blazor/webassembly/?view=aspnetcore-3.1)

The way we have things set up right now, both the Overview and the Additional scenarios topics are sort of required reading. The reason we don't want all of those additional scenarios covered in the overview is that it bogs the reader down in a lot of implementation guidance. I'm trying to keep the overview topics focused on high-level concepts.

So, I've got a question outside of the docs, does Blazor WebAssembly support the refresh-token flow (for IdentityServer, Azure B2C etc)?

Perhaps I should have asked this question as a normal issue instead of via the docs page

Oh, just saw the docs change in #18604
Thanks.

Yes ... thanks for calling it out for more coverage.
WRT maintaining and using refresh tokens in the Server app of a Hosted WASM solution so that the Client app doesn't lose access to 3rd party APIs, it's true that we don't have a Blazor sample/example of this. However, I think if you look in the ASP.NET Core security topics for normal ASP.NET Core apps (non-Blazor), the same guidance will apply for the Server app.
The server-side app can keep and use refresh tokens for third-party APIs, and the client-side Blazor WASM app can continue to function transparently obtaining access tokens for as long as it needs to do so when it accesses the server-side app via an API endpoint and the server-side app is what is accessing the third-party API. That's my understanding today per https://docs.microsoft.com/en-us/aspnet/core/security/blazor/webassembly/additional-scenarios?view=aspnetcore-3.1#make-api-calls-from-the-client-to-the-server-api-in-order-to-call-third-party-apis. We don't have a sample for it ... we may one day ... but for now, you'd need to build it out. Talk to devs on support channels if you need a tip or want to discuss your scenario ...

Stack Overflow
ASP.NET Core Slack
ASP.NET Gitter

Thanks for pointing me in the right direction


[ENHANCEMENT] Add /clean cmd to clean download directory

Add /clean cmd to clean download directory to avoid same images, more stuff get uploaded again.

Sure I will work on it


extract the attachment of soap message

I am new to use soap module and the version I am using should be the latest.
I use the following code to get the image binary data(base64) from server.
soap.createClient(url, function(err, client) {
var args = [...]; //some properties
client.get_image_data(args , function(err,result, raw){
console.log(result);
console.log(raw);
});
});
The return value of get_image_data() function is defined as base64 binary data on server.
For the result, I get the content ID, such as {href:"cid:http//whatever"} For the raw, I get the entire soap envelope but no attachmemt.
I search on the web, it said the binary data should somewhere after the envelope, is that right? If so, how can I get the binary data for the image?
Thanks for helps.

I encounter the same problem.
In my case, the web service return a PDF in base64 format at the end of the raw message. With SoapUI, I receive the full raw message and I can get the PDF from attachments.
But with node-soap, the PDF stream is truncated. And I don't know how to get the full raw message with node-soap.
Could you help me with the problem. Thanks for helps.

Still, I have not got the attachment yet. But now I am trying the WS.Js,
hope it can help.
Node soap seems not work on attachment.
Regards
On 21/03/2015 11:40 PM, "longweiquan"<EMAIL_ADDRESS>wrote:

I encounter the same problem.
In my case, the web service return a PDF in base64 format at the end of
the raw message. With SoapUI, I receive the full raw message and I can get
the PDF from attachments.
But with node-soap, the PDF stream is truncated. And I don't know how to
get the full raw message with node-soap.
Could you help me with the problem. Thanks for helps.
—
Reply to this email directly or view it on GitHub
https://github.com/vpulim/node-soap/issues/576#issuecomment-84330561.

@minyixie Did you get WS.Js to work with attachments?

Yes, i did get the attachment by adding following line in the code:
encodeURIComponent = function(s) {return s}
Hope it is helpful.
Regards
Minyi
On 21 Oct 2015 6:45 pm, "stenersenberg"<EMAIL_ADDRESS>wrote:

@minyixie https://github.com/minyixie Did you get WS.Js to work with
attachments?
—
Reply to this email directly or view it on GitHub
https://github.com/vpulim/node-soap/issues/576#issuecomment-149806979.


Adding details for nmap command

Added more details about nmap and also command line examples.

@all-contributors please add @kawaiipantsu  for doc


Issue when getting string from edittextand display that as md

I have markdown text written by user in edittext. But converting to string and loading in mdView.setMDText(context), it doesnt show the render of the written text
@mittsuu

I cannot reproduce it with my project, for me it works.
Are you check difference in grammar? If not, can you explain how.

This result screenshot.

Would you mind if you send the source of the below app you sent me with
the screenshot?
Thanks.
Ian
------ Original Message ------
From: "mittsu"<EMAIL_ADDRESS>To: "mittsuu/MarkedView-for-Android"
<EMAIL_ADDRESS>Cc: "cozyplanes"<EMAIL_ADDRESS>"Author"
<EMAIL_ADDRESS>Sent: 7/8/2017 2:18:43 AM
Subject: Re: [mittsuu/MarkedView-for-Android] Issue when getting string
from edittextand display that as md (#4)

I cannot reproduce it with my project, for me it works.
Are you check difference in grammar? If not, can you explain how.

This result screenshot.
https://user-images.githubusercontent.com/5404354/27968806-852fcdf8-6383-11e7-866b-43c321c85e8a.png
https://user-images.githubusercontent.com/5404354/27968807-883a755c-6383-11e7-9f36-3c742bf6dba9.png
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mittsuu/MarkedView-for-Android/issues/4#issuecomment-313741933,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AYxJfuiOVxn5RGwnJ7_ug3Cuo8s0SHBsks5sLmhzgaJpZM4OQobQ.

@cozyplanes
I found some bugs related to this problem and I will fix it.
Samples are also added when updating, please give me some time.
I will plan to respond by the weekend.

Hi, @cozyplanes
Fixed bug and added sample code, so please look it.
Release Note v1.0.5


Errant "Failed to restart dns-clean.service" errors in NetworkMode: MultiHost

Needs a more explanatory message or better per-distro handling.

Also may want to explicitly let the user know that the following error indicates that the local machine may use cached DNS resolution results as a consequence.
08/03/17 09:12:52 AM [          Diverter] Failed to flush DNS cache.


Adjustments on the base configuration files

Joint Limits
HW mode
mode_adapter now optional
dcf_overlay
Homing speed parameters

Should come after https://github.com/ipa320/cob_robots/pull/266 and https://github.com/ipa320/cob_robots/pull/267

Is it correct, that the commits related to cob4-6 only introduce the driver part (402) for the real hardware? I can't see any base_controller in the cob_bringup/robots/cob4-6.xml.
Simulation also doesn't seem to be set up for cob4-6, right?
I would like to review this PR in more detail in order to see whether it's working in simulation, too...

update: corrected suffixes


[Android]HTML5 video can't play blob url (base64)

Blob/Base64` data is received from Android Java via JavascriptInterface.
Below is my js source:
_function b64toBlob(b64Data, contentType, sliceSize) {
contentType = contentType || '';
sliceSize = sliceSize || 512;
var byteCharacters = atob(b64Data);
var byteArrays = [];
for (var offset = 0; offset < byteCharacters.length; offset += sliceSize) {
	var slice = byteCharacters.slice(offset, offset + sliceSize);
	var byteNumbers = new Array(slice.length);
	for (var i = 0; i < slice.length; i++) {
		byteNumbers[i] = slice.charCodeAt(i);
	}
	var byteArray = new Uint8Array(byteNumbers);
	byteArrays.push(byteArray);
}
var blob = new Blob(byteArrays, {type: contentType});
return blob;

}
function attachMediaStream(element, base64) {
var contentType = 'video/mp4';
var URL = window.URL || window.webkitURL || window.mozURL || window.msURL;
var blob = b64toBlob(base64, contentType);
element.src = URL.createObjectURL(blob);
}
var base64 = android_app.getStreamFile("video_0.mp4");
var video = document.getElementById("localVideo");
attachMediaStream(video, base64);_
This source can play on Webview but Crosswalk can't play.
My Crosswalk version is 24.53.595.0 download from "https://download.01.org/crosswalk/releases/crosswalk/android/canary/24.53.595.0/"
Please help me, thanks.

Sending a bogus pull request is not the way to report bugs. Please use our issue tracker: https://crosswalk-project.org/jira


Write academic paper

Select the first target milestone to publish a technical paper:

Comparing certain EAMI routines to  currently the state-of-the-art.
Discuss algorithm fitness.
Techarxiv toward IEEE.

Bring this into focus, now. considering the revitalization of the ISLP and Sydrandria.


feat: add syscalls for aarch64 target

Previously got undefined: syscall_keyctl errors when building project-machine/trust on an aarch64 platform. Adding aarch64 specific syscalls fixes this. Fix obtained from this PR on jsipprell's keyctl repo.
Signed-off-by: Ashwin Gopalan<EMAIL_ADDRESS>

Merged into this branch.  Note that this is kind of a throwaway branch.  Projects like mos which are importing it are doing so by shasum, so you'll need to update the date+shasum in go.mod replace line to get this patch.


Make local keys visible in global progress

Is your feature related to a specific framework or general for this extension
First, thanks a lot for the awesome work on the extension, it saved us a lot of time for implementing i18n in our app. I'm using the extension with vue-i18n but maybe the issue is the same with other frameworks.
Is your feature request related to a problem? Please describe.
When I'm on one file, the local translations are included in the global progress:

But then if I go to another file, the previous local translations are removed from the global progress and are replaced by the current ones:

Describe the solution you'd like
It would be great if all the local translations in single file components using the <i18n> tag were included in the global progress tracking so that we could see at a glance if we have missing translations.

This is reasonable to have. However, supporting this does require a certain amount of refactoring, which I don't have bandwidth for it atm.
This request is exclusive to Vue SFC usages.
Listing the things need to be resolved in order to get this work, for someone interested in making some PR.

Glob search analysis for .vue, or treat them as a part of locale sources. Currently, SFC is supported via activeDocument which will only work when you are opening the file. Supporting global usage reports (or even modification) requires i18n-ally to be able to find all the .vue files in your workspace. Thinking some configs like i18n-ally.frameworks.vue.includes.

Some refactor for LocaleLoader and VueSfcLoader to get the previous point supported.

The sidebar tree should do some changed to be able to show the same keys in different Vue SFCs.

Let me know if anyone wants to work on it and feels free to ask questions about the code. Thanks.


Add model date casts for Laravel 10

Laravel 8 deprecated use of the $dates property on Eloquent models and Laravel 10 removed use of it entirely in favor of $casts. Add these casts to work with Laravel 10 and leave the existing $dates property in place to allow compatibility with older Laravel versions.
Closes #111

why is this not getting merged?

Also waiting the merge

Can't merge this as it's out of date, will PR in separate branch now.


Adding gateway type to apim deployment.toml

Purpose
Adding gateway type to apim deployment.toml

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

Project coverage is 80.21%. Comparing base (a0e6f15) to head (cbd7256).
Report is 9 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #2160       +/-   ##
===========================================
+ Coverage   27.93%   80.21%   +52.28%
===========================================
  Files         124        9      -115
  Lines       14597      551    -14046
  Branches     2681      246     -2435
===========================================
- Hits         4078      442     -3636
+ Misses      10388      109    -10279
+ Partials      131        0      -131

Flag
Coverage Δ

adapter
?

common-controller
?

config-deployer-service
?

idp-domain-service
80.21% <ø> (ø)

router
?

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

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


fix: pkg config ignored when package.json exists

🐛 The bug
I have a package.json file but was looking to override it for the siroc build. I tried copying the entire file, changing just the "typings" property but siroc still appears to use the original
🛠 To reproduce
Use a ts config like:
import { defineSirocConfig } from 'siroc'

export default defineSirocConfig({
  pkg: {
    types: "./dist/index.d.ts",
    typings: "./dist/index.d.ts",
  }
})

or
import { defineSirocConfig } from 'siroc'

export default defineSirocConfig({
  pkg: require('./package.siroc.json')
})

🌈 Expected behaviour
Ideally I'd like to override individual parameters without having to define a completely new package.json - however it would be acceptable to be able to have any way to override these options.
ℹ Additional context
Originally, I just wanted to disable siroc from creating the index.d.ts definitions. This file already exists and siroc is overwriting it. There is then another command run to create a type definition in a ./dist directory, which the main ./index.d.ts imports. So.. I either wanted to disable it, as I have another command which will create it, or be able to set the location of the definitions file to the dist folder, which my next script can then override.
For now, I've added types property in my package.json alongside the typings property.
Related: https://github.com/nuxt-community/auth-module/pull/1400

A couple of options:

We've been working on porting the convenience features of siroc to https://github.com/unjs/unbuild - which does allow more granular configuration. That may be a better option for you in this case.
You can use siroc hooks to interact with the generated rollup config:

import { defineSirocConfig } from 'siroc'
export default defineSirocConfig({
  hooks: {
    'build:extendRollup'(pkg, { rollupConfig }) {
      const declaration = rollupConfig.findIndex(i => i.output.file?.endsWith('.d.ts'))
      rollupConfig.splice(declaration, 1)
    },
  },
})


cannot import name 'cache_ops' from 'vllm'

System Info
$ text-generation-launcher --env
Runtime environment:
Target: x86_64-unknown-linux-gnu
Cargo version: 1.70.0
Commit sha: 3238c49121b02432bf2938c6ebfd44f06c5adc2f
Docker label: N/A
nvidia-smi:
Mon Dec 11 00:12:49 2023
   +---------------------------------------------------------------------------------------+
   | NVIDIA-SMI 535.104.12             Driver Version: 535.104.12   CUDA Version: 12.2     |
   |-----------------------------------------+----------------------+----------------------+
   | GPU  Name                 Persistence-M | Bus-Id        Disp.A | Volatile Uncorr. ECC |
   | Fan  Temp   Perf          Pwr:Usage/Cap |         Memory-Usage | GPU-Util  Compute M. |
   |                                         |                      |               MIG M. |
   |=========================================+======================+======================|
   |   0  NVIDIA GeForce RTX 4090        On  | 00000000:01:00.0 Off |                  Off |
   |  0%   40C    P8              32W / 450W |   8488MiB / 24564MiB |      0%      Default |
   |                                         |                      |                  N/A |
   +-----------------------------------------+----------------------+----------------------+

   +---------------------------------------------------------------------------------------+
   | Processes:                                                                            |
   |  GPU   GI   CI        PID   Type   Process name                            GPU Memory |
   |        ID   ID                                                             Usage      |
   |=======================================================================================|
   |    0   N/A  N/A      1053      G   /usr/lib/xorg/Xorg                           18MiB |
   |    0   N/A  N/A      3068      C   ...vateGPT/conda_privateGPT/bin/python     8454MiB |
   +---------------------------------------------------------------------------------------+

$ cargo version
cargo 1.69.0 (6e9a83356 2023-04-12)
model: https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.1
Information

[ ] Docker
[X] The CLI directly

Tasks

[X] An officially supported command
[ ] My own modifications

Reproduction
$ text-generation-launcher --model-id mistralai/Mistral-7B-Instruct-v0.1 --port 8080
2023-12-10T15:11:36.466940Z  INFO text_generation_launcher: Args { model_id: "mistralai/Mistral-7B-Instruct-v0.1", revision: None, validation_workers: 2, sharded: None, num_shard: None, quantize: None, dtype: None, trust_remote_code: false, max_concurrent_requests: 128, max_best_of: 2, max_stop_sequences: 4, max_top_n_tokens: 5, max_input_length: 1024, max_total_tokens: 2048, waiting_served_ratio: 1.2, max_batch_prefill_tokens: 4096, max_batch_total_tokens: None, max_waiting_tokens: 20, hostname: "<IP_ADDRESS>", port: 8080, shard_uds_path: "/tmp/text-generation-server", master_addr: "localhost", master_port: 29500, huggingface_hub_cache: None, weights_cache_override: None, disable_custom_kernels: false, cuda_memory_fraction: 1.0, rope_scaling: None, rope_factor: None, json_output: false, otlp_endpoint: None, cors_allow_origin: [], watermark_gamma: None, watermark_delta: None, ngrok: false, ngrok_authtoken: None, ngrok_edge: None, env: false }
2023-12-10T15:11:36.467204Z  INFO download: text_generation_launcher: Starting download process.
2023-12-10T15:11:41.156867Z  INFO text_generation_launcher: Files are already present on the host. Skipping download.
2023-12-10T15:11:41.776149Z  INFO download: text_generation_launcher: Successfully downloaded weights.
2023-12-10T15:11:41.776560Z  INFO shard-manager: text_generation_launcher: Starting shard rank=0
2023-12-10T15:11:46.207192Z  WARN text_generation_launcher: Could not import Flash Attention enabled models: cannot import name 'cache_ops' from 'vllm' (/mnt/models/text-generation-inference/conda_tgi/lib/python3.9/site-packages/vllm/init.py)
2023-12-10T15:11:46.209404Z  WARN text_generation_launcher: Could not import Mistral model: cannot import name 'cache_ops' from 'vllm' (/mnt/models/text-generation-inference/conda_tgi/lib/python3.9/site-packages/vllm/init.py)
2023-12-10T15:11:46.652524Z ERROR text_generation_launcher: Error when initializing model
Traceback (most recent call last):
File "/mnt/models/text-generation-inference/conda_tgi/bin/text-generation-server", line 8, in
sys.exit(app())
File "/mnt/models/text-generation-inference/conda_tgi/lib/python3.9/site-packages/typer/main.py", line 311, in call
return get_command(self)(*args, **kwargs)
File "/mnt/models/text-generation-inference/conda_tgi/lib/python3.9/site-packages/click/core.py", line 1157, in call
return self.main(*args, **kwargs)
File "/mnt/models/text-generation-inference/conda_tgi/lib/python3.9/site-packages/typer/core.py", line 778, in main
return _main(
File "/mnt/models/text-generation-inference/conda_tgi/lib/python3.9/site-packages/typer/core.py", line 216, in _main
rv = self.invoke(ctx)
File "/mnt/models/text-generation-inference/conda_tgi/lib/python3.9/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/mnt/models/text-generation-inference/conda_tgi/lib/python3.9/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/mnt/models/text-generation-inference/conda_tgi/lib/python3.9/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
File "/mnt/models/text-generation-inference/conda_tgi/lib/python3.9/site-packages/typer/main.py", line 683, in wrapper
return callback(**use_params)  # type: ignore
File "/mnt/models/text-generation-inference/server/text_generation_server/cli.py", line 83, in serve
server.serve(
File "/mnt/models/text-generation-inference/server/text_generation_server/server.py", line 207, in serve
asyncio.run(
File "/mnt/models/text-generation-inference/conda_tgi/lib/python3.9/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/mnt/models/text-generation-inference/conda_tgi/lib/python3.9/asyncio/base_events.py", line 634, in run_until_complete
self.run_forever()
File "/mnt/models/text-generation-inference/conda_tgi/lib/python3.9/asyncio/base_events.py", line 601, in run_forever
self._run_once()
File "/mnt/models/text-generation-inference/conda_tgi/lib/python3.9/asyncio/base_events.py", line 1905, in _run_once
handle._run()
File "/mnt/models/text-generation-inference/conda_tgi/lib/python3.9/asyncio/events.py", line 80, in _run
self._context.run(self._callback, *self._args)

File "/mnt/models/text-generation-inference/server/text_generation_server/server.py", line 159, in serve_inner
model = get_model(
File "/mnt/models/text-generation-inference/server/text_generation_server/models/init.py", line 261, in get_model
raise NotImplementedError("Mistral model requires flash attention v2")
NotImplementedError: Mistral model requires flash attention v2

2023-12-10T15:11:47.286995Z ERROR shard-manager: text_generation_launcher: Shard complete standard error output:
Traceback (most recent call last):
File "/mnt/models/text-generation-inference/conda_tgi/bin/text-generation-server", line 8, in
sys.exit(app())
File "/mnt/models/text-generation-inference/server/text_generation_server/cli.py", line 83, in serve
server.serve(
File "/mnt/models/text-generation-inference/server/text_generation_server/server.py", line 207, in serve
asyncio.run(
File "/mnt/models/text-generation-inference/conda_tgi/lib/python3.9/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/mnt/models/text-generation-inference/conda_tgi/lib/python3.9/asyncio/base_events.py", line 647, in run_until_complete
return future.result()
File "/mnt/models/text-generation-inference/server/text_generation_server/server.py", line 159, in serve_inner
model = get_model(
File "/mnt/models/text-generation-inference/server/text_generation_server/models/init.py", line 261, in get_model
raise NotImplementedError("Mistral model requires flash attention v2")
NotImplementedError: Mistral model requires flash attention v2
rank=0
2023-12-10T15:11:47.381222Z ERROR text_generation_launcher: Shard 0 failed to start
2023-12-10T15:11:47.381265Z  INFO text_generation_launcher: Shutting down shards
Error: ShardCannotStart
Expected behavior
I expect the server to start.
Instead, these are the two main error messages I get:
2023-12-10T15:11:46.207192Z  WARN text_generation_launcher: Could not import Flash Attention enabled models: cannot import name 'cache_ops' from 'vllm' (/mnt/models/text-generation-inference/conda_tgi/lib/python3.9/site-packages/vllm/init.py)
2023-12-10T15:11:46.209404Z  WARN text_generation_launcher: Could not import Mistral model: cannot import name 'cache_ops' from 'vllm' (/mnt/models/text-generation-inference/conda_tgi/lib/python3.9/site-packages/vllm/init.py)
I've gone into the server/ directory and installed each make file.

It might be that the version of vllm is incorrect. You can try installing vllm version 0.2.0.

It might be that the version of vllm is incorrect. You can try installing vllm version 0.2.0.

My experience is similar, both when attempting to build local version (v1.3.4/main branch) from CLI and after building Docker image locally and attempting to run it. After updating to v0.2.0 of vllm, the import error is resolved for both contexts.

Hello, I encounter the same problem. But when I try to use vllm=0.2.0, I find it seems not to support cuda 12. So how can I solve it?