[webview_flutter] add events: onPageStarted, onReceivedError (with some simple error handling) and action: stopLoading.

Description

Adds new events to WebView for onPageStarted and onReceivedError

Tries to combine error handling between iOS/Android

add stopLoading of webview.

Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] My PR includes unit or integration tests for all changed/updated/fixed behaviors (See Contributor Guide).
[ ] All existing and new tests are passing.
[x] I updated/added relevant documentation (doc comments with ///).
[x] The analyzer (flutter analyze) does not report any problems on my PR.
[x] I read and followed the Flutter Style Guide.
[x] The title of the PR starts with the name of the plugin surrounded by square brackets, e.g. [shared_preferences]
[x] I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy.
[ ] I updated CHANGELOG.md to add a description of the change.
[x] I signed the CLA.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change (please indicate a breaking change in CHANGELOG.md and increment major revision).
[x] No, this is not a breaking change.

@hpoul please remove WIP label when the PR is ready for review.

@amirh there are just two things I am unsure before it's ready imo:

unifying android/iOS - WKWebView and android's WebView present errors quite differently (and the iOS documentation is pretty sparse about which error callback is called when) - I have tried my best to unify the logic. The question is if that is preferable to just passing iOS and Android specifics back to flutter (like e.g. device_info would pass an iosInfo and androidInfo depending on platform.. I hope I chose a useful subset of errors which can occur, but there might be edge cases where it could be useful to have specific errors.. (although I guess it should be easy to add more error cases later in a backward compatible way)
tests: I have added a simple test for onPageStarted .. maybe you could give me a hint on how to add e2e tests? will take a look tomorrow if there are any examples..

@amirh maybe you could give a short comment if this implementation could fit into the project, then i could start working on basing basic http auth support based on this PR.. (because supporting authentication requires error handling callbacks and I wouldn't want to completely refactor it again..) thanks. :)
(note: ups, had that comment posted in the wrong PR previously, sorry about that)

@collinjackson thanks for the feedback 👍 i've bumped minor version number and added basic CHANGELOG and hopefully implemented your comments waiting for tests

Did you want to split this up into 2 pull requests? I guess the second one would then be for handling authorization requests? I am especially interested in that one from https://github.com/flutter/plugins/pull/1283
So my question is: Are you still working on this or not? If not I would need the callback for the authorization challenge anyways now for a project and could also help out to open a pull request and push it through.

@hpoul opened another PR for auth requests. Thanks a lot for your work, I just added some additional tests and could mostly re-use your stuff.


please add a func to set basepath

Hi @tech-xiwi I'm not sure what problems you're having with basepath, can you describe the detail scenario for setting data's file path?

Will close the issue

fix in https://github.com/AfterShip/email-verifier/issues/7


ncdu_2: v2.2.1 -> v2.2.2

Waiting for https://github.com/NixOS/nixpkgs/pull/210324
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

ncdu_2? Do we package ncdu_1?

yes.
ncdu is an alias for ncdu_2:
https://github.com/NixOS/nixpkgs/blob/fcc4a1cbfb62874d2d79745781dfeb4227bfd3b8/pkgs/top-level/aliases.nix#L1010
ncdu_1 exists:
https://github.com/NixOS/nixpkgs/blob/216fbe09999764469066b1ccf05dcff45cf078e7/pkgs/tools/misc/ncdu/1.nix#L5

Is there any reason for this? It is a bit strange...

Is there any reason for this? It is a bit strange...

ncdu_1 is the C version that is still being maintained. More info: https://dev.yorhel.nl/ncdu

ncdu is an alias for ncdu_2:

ncdu_2 is an alias for ncdu.
CI didn't build this, the commit should have been ncdu: 2.2.1 -> 2.2.2,


whammyInWebWorker failed

In edge, the ondataavailable was not fired, after checking into the source code, I found that in the whammyInWebWorker, the frame.image is processed and then passed into parseWebP , however, since the frame.image is png in my case, the id in parseRIFF cannot match in if (id === 'RIFF' || id === 'LIST') , then when the chunck is passed into parseWebP, the code crash at this line
var VP8 = riff.RIFF[0].WEBP[0];
riff.RIFF is undefined.
Actually I already changed the int 23 in frame.image.slice(23) into 22 in order to get PNG content decoded correctly by atob. It seems that it is not expected that the format would be png?
The environment is windows 10, edge 14. the stream object is obtained through calling getUserMedia.

Microsoft Edge supports only StereoAudioRecorder (WebAudio) based recording solution; i.e. you can record only microphone. You can NOT record video tracks.
WhammyRecorder (i.e. WebP + WebM) based solution currently supported only on Chrome. No other browser (including Firefox) supports WebP encoders.


Update changelog for 5.5.1

Retrieved from: https://docs.amd.com/bundle/ROCm-Release-Notes-v5.5.1/page/What’s_New_in_This_Release.html

Please add continuity with previous versions of ROCm

@saadrahim Done! ^^


bump swift version to 5

lgtm (but I can't merge). You probably need to bump the osx_image version in .travis.yml to get travis to pass, but not 100% sure about that

Codecov Report

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

@@           Coverage Diff           @@
##           master      #53   +/-   ##
=======================================
  Coverage   93.11%   93.11%
=======================================
  Files          44       44
  Lines        2557     2557
=======================================
  Hits         2381     2381
  Misses        176      176

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 084054b...ad88273. Read the comment docs.


Use out.as_raw_fd() to get size in unix_term

Fixes #185. Tested as a resolution to https://github.com/pantsbuild/pants/pull/19931#issuecomment-1732652244 where the line is always truncated at 80 chars.

Ping, any updates on this? We would like to rely on this change for a downstream crate


Can I create only one index when I select storage medium as elasticsearch?

Please answer these questions before submitting your issue.

Why do you submit this issue?
[x] Question or discussion
[ ] Bug
[ ] Requirement
[ ] Feature or performance improvement

Question

What do you want to know?

When I use es as a storage medium, it builds a lot of indexs.
Can I create only one index when I select storage medium as elasticsearch?

Bug

Which version of SkyWalking, OS and JRE?

Which company or project?

What happen?
If possible, provide a way for reproducing the error. e.g. demo application, component version.

Requirement or improvement

Please describe about your requirements or improvement suggestions.

No, you can't. There are many types of metrics there.


Fancy Zones Settings/Slider issue

ℹ Computer information

PowerToys version: v0.31.2
PowerToy Utility: FancyZones
Running PowerToys as Admin: Yes
Windows build number: 21301

📝 Provide detailed reproduction steps:
Changing the state of any option on the FancyZones settings causes the PowerToys Settings window to briefly lose focus. For most settings this is a negligible curiosity but for the Zone Highlight Opacity slider, it causes the window to continuously cycle between focus and active dozens of times, and continues cycling even after the user stops dragging the slider (presumably once for every change event that fired while dragging).
✔ Expected result
The window should not lose focus upon changing the configuration.
❌ Actual result
Window loses focus.
📷 Screenshots
Not easy to show in screenshot, here's a video: https://youtu.be/J7u0Lgtmonk

@LtCmdrKeene
is this happening only for the FancyZones settings or for other settings as well?
For example the Shortcut Guide has a slider too.

I had originally tried a few other Settings panes and had narrowed it down to just Fancy Zones with the issue. But this morning the issue can no longer be reproduced, even though I haven't rebooted or even logged off since finding the issue and subsequently recording a video of it. I'm not sure how it resolved itself but it no longer occurs in Fancy Zones or any other area.

@LtCmdrKeene
I guess this is something external. The Settings application doesn't have the ability to lose and regain the focus by itself.
Let's close the issue for now as no-repro and reopen it if it will happen again.


Detected Trojan:Win32/Wacatac.H!ml

I've been downloading your updates for quite some time now (maybe a year?) and never had any issues. But the newest update 1.72.10b is coming back blocked on my system with a positive trojan detection. I tried the download multiple times. Came back the same each time.
Im currently using Beta 1.72.9b

Malwarebytes has also marked the revoicedecoder as malware.

@Ganji89420 @thcporfavor
Thanks for report, if possible please send files to malwarebytes/microsoft av report email.
I can try fix false detects in next update.


Improved model management

Here are the tasks required:

[x] #43
[x] #201
[x] https://github.com/projectatomic/ai-studio/issues/211
[x] https://github.com/projectatomic/ai-studio/issues/332
[x] https://github.com/projectatomic/ai-studio/issues/337
[ ] #386
[x] https://github.com/projectatomic/ai-studio/issues/384

Closing this epic, as the remaining issue #386 is its own epic.


Where is the official "how to install" documentation?

See title.
I was directed to this extension by a helpful but somewhat random youtube video I found by searching (FinePointCGI).
https://www.youtube.com/watch?v=lOjOb4Lv_ww
I then also found another seemingly unofficial gist describing the process along with useful comments from people with issue.
https://gist.github.com/31/302bab2630ddf8d90ab4aec0d358b538
Why is this ESSENTIAL information not documented clearly here in the MD doc?
Required steps such the need to manually copy a "magical" csproj contents into the Stub project csproj file is utterly dubious / stupidly brittle.  I detest "magical" "don't ask why, just do it"  steps as it leaves us without the ability or knowledge to help ourselves.  We need to have at least some details on what this csproj is actually doing.  Why is it even needed?
Case in point, as of this week the "Play in editor" currently works (starts the app in the Godot editor with debugging) for VS 2019  but not VS2022 (see comments on Gist).
If the information in the above video and Gist are correct, please document those steps clearly here.   This is possibly the  messiest and somewhat amatuerish install I've had to fight my way through for a long time.
NB: the extension VSIX doesn't even install cleanly first time (fails with a file already exists error).  I eventually found another thread here saying to install the Mobile dev tools for .NET first.   https://github.com/godotengine/godot-csharp-visualstudio/issues/24
Just painful all round at the moment.

Suggesting that "it's an open source project, you have some info now, document it yourself" is the WRONG answer.  The knowledge I have is cobbled together second-hand information that has simply allowed me to get it working (for now) in VS2019 only.  I don't even know if that is the officially recommended way to install it.
This install process simply needs to be documented by either the creator of the extension or someone who has deeper knowledge about how it works and what it does.


Include response code in error objects

Context
Currently, all of the methods in /lib return new errors with the response body as the error message. As an end user, it would be helpful to have access to the status code, instead of having to parse the response body to try to get to it. For example, we would like to catch 502 errors so we can try those requests later.
For a 502 error, the response body looks like this:
<title>502 Bad Gateway</title>

502 Bad Gateway

Proposed change
Currently, errors are returned like this:
request({ ... }, (err, res) => {
    if (err) return cb(err);
    if (res.statusCode !== 200) return cb(new Error(res.body));
    ...
});

It would be great if they were returned like this:
request({ ... }, (err, res) => {
    if (err) return cb(err);
    if (res.statusCode !== 200) {
        const error = new Error(res.body);
        error.status = res.statusCode;
        return cb(error);
    }
    ...
});

cc @ingalls

@Nmargolis are you working on this in the branch error-status-codes?

@ingalls yes it's in the WIP PR #16. Would love your thoughts on the approach!


Fix log order and persisting log lines that exceed Deno's KV limit

KV has a limit of 64KiB per value. When logging lines larger than that, Pup would error and not log into KV. This PR makes Pup split long lines and log them all by adding 1 to the timestamp of each chunk. The timestamp cannot be the same for every chunk because it's used as key. Please let me know what you think of this approach.
Also, this PR guaratees that log messages are stored in order of arrival, per process.
If everything is fine, I can update the CHANGELOG.

The error that happened in the tests is because newer Deno versions implement the new TypeScript feature [Symbol.dispose]. It's not related to the changes I made. I didn't want to add too many changes in the same PR.

Looking good 👍

It's ok to merge this when you're ready👍

Released in 1.0.0-rc.12


update use-persisted-conda

AFAICT https://github.com/aws-samples/amazon-sagemaker-notebook-instance-lifecycle-config-samples/tree/master/scripts/persistent-conda-ebs is now included a dropdown option when creating a notebook instance
start notebook script
#!/usr/bin/env bash

set -e

PERSISTED_CONDA_DIR="${PERSISTED_CONDA_DIR:-/home/ec2-user/SageMaker/.persisted_conda}"

echo "Setting up persisted conda environments..."
mkdir -p ${PERSISTED_CONDA_DIR} && chown ec2-user:ec2-user ${PERSISTED_CONDA_DIR}

envdirs_clean=$(grep "envs_dirs:" /home/ec2-user/.condarc || echo "clean")
if [[ "${envdirs_clean}" != "clean" ]]; then
    echo 'envs_dirs config already exists in /home/ec2-user/.condarc. No idea what to do. Exiting!'
    exit 1
fi

echo "Adding ${PERSISTED_CONDA_DIR} to list of conda env locations"
cat << EOF >> /home/ec2-user/.condarc
envs_dirs:
  - ${PERSISTED_CONDA_DIR}
  - /home/ec2-user/anaconda3/envs
EOF

Hi @raybellwaves - what precisely is the issue you are facing here? If I do not hear back soon, I will close this issue for inactivity, thank you.

Hi @raybellwaves - what precisely is the issue you are facing here? If I do not hear back soon, I will close this issue for inactivity, thank you.

the persisted-conda script is still working?, i was training to use it , but i got an error always i init the notebook instance


Feature request: brew cask info should show remote file size

Description of feature/enhancement
brew cask info (maybe a verbose info) should show file size
Justification
i would like to see how big would be the app
Example use case
$ brew cask info atom -verbose

atom: 1.11.2
https://atom.io/
Not installed
From: https://github.com/caskroom/homebrew-cask/blob/master/Casks/atom.rb
==> Name
Github Atom
==> Artifacts
Atom.app (app)
/Applications/Atom.app/Contents/Resources/app/apm/node_modules/.bin/apm (binary)
/Applications/Atom.app/Contents/Resources/app/atom.sh (binary)
==> Check Remote Binaries
https://github.com/atom/atom/releases/download/v1.11.2/atom-mac.zip
binary available: yes
File Size: 86.5 MB

That would require network connectivity and pinging the app server every time info is run. It would also be imperfect and likely not work with some server. It also means that suddenly a fast command becomes slow, since it’s checking external stuff.
Will leave open for other maintainers to chime in, but I’m a “no” on this.

 Seems finicky and a bit gimmicky, imo.

ok - then the only moment when we have the current file size is when we calculate the checksum for a cask. then it would go in the workflow to add a filesize to the cask which could be printed out for info.

We’re not going to add size information to casks. That would serve only to bloat them. This is definitely not a popular request (in all this years, I don’t recall it having been made before) and even so it wouldn’t work and be wrong in :latest casks.


Package Setup & Scaffolding

Describe the Feature

As the SKALE Network is very flexible, a core package set should be as well
The packages should be modular
This can happen by creating a core package system that is then inherited by a central package
Packages can be called individually or by the "central" package

Code Example
N/A

Additional Notes
/packages -> Top Level Folder
/packages/skale -> Central Package
/packages/etherbase -> Singular Module (Callable via SKALE)
All packages are NodeJs Packages


Question: Batch updates & transactions

Hi,
We are looking for a migration tool that would allow us to also perform data migrations (like a bulk update on a table). Of course the best way to run these types of updates is through batches so as not to lock the table for a significant amount of time. I was wondering if this is something that is possible with this tool? Specifically, I'm wondering if each migration is automatically wrapped into a transaction and if we have control over this at all? Its my understanding if the entire thing will be wrapped into a transaction, no matter the batches the table will still be locked until the transaction is committed, correct?
Additionally, is it possible to maintain two instances of this on a single DB? the use case is that we would have one set of migrations that are required schema changes that would run on start up of the app and would block the app until they are complete, and a second set of migrations that are non blocking (like data changes) and can be kicked off separately after the app has started. However both of these would be on the same database.
Any insight would be really appreciated!

Not yet, see spec https://github.com/db-migrate/node-db-migrate/issues/687 for rough overview of how the future design will look like. And yes every migration is wrapped in a transaction, that is troublesome for big updates of course, but you can deactivate the transactions per migration and pretty much do the batching yourself right now, but there will be support for that with the upcoming version.

Additionally, is it possible to maintain two instances of this on a single DB? the use case is that we would have one set of migrations that are required schema changes that would run on start up of the app and would block the app until they are complete, and a second set of migrations that are non blocking (like data changes) and can be kicked off separately after the app has started. However both of these would be on the same database.

Sure just adjust the migration folder and the migration table and you're good to go.

Awesome, makes sense. Thank you for the clarification!


Inbox not loading

Don't know if there was an apo change recently but my inbox stopped loading.
Can anyone else confirm this?

Update v2.0.0 was just released. Could you confirm whether or not the bug still occurs there?

Thanks for the confirmation. I believe this is the result of this page trying to request too much data at once, causing Algolia to generate an internal server error. Will limit the amount of IDs this page queries replies for.

c9aa0db41dbb4d377239e6be8f2c93fde0b94181 should fix this, released as part of v2.1.0.


HSDS - Tabular data package validation tool

Tool that will interactively scan the contents of an HSDS resource bundle - serialized as a Tabular data package - validate the resources and visualize the results.

cc @neilmckechnie is this the kind of validation functionality you were hoping for?

Thanks Greg, if it is validating against the formal HSDS specification, and in particular checking for the presence of good data in required fields and objects, and conformance to data types, it sounds like what I have been suggesting!


NPM SSL Advanced - Ghost CMS stuck in infinite HTTPS redirect loop

I'm running NPM and Ghost CMS on two separate docker containers (Ubuntu) via Portainer UI. The Ghost URL is accessible via NPM using HTTP, but runs into infinite redirects when turning on SSL (Let's Encrypt). Below is Ghost documentation to help resolve this issue, however, I tried using this under the 'Advanced Setup' and it doesn't see to recognize this customization at all.
My setup is

VMware - Ubuntu
Docker
Portainer

npm
mysql
ghost
wordpress

https://ghost.org/docs/faq/proxying-https-infinite-loops/
If you run into an infinite redirect loop when trying to configure your own proxy with nginx, apache, cloudfront or any other proxy and serving Ghost over HTTPS, this is due to the x-forwarded-proto header being set incorrectly. Your proxy will handle SSL termination and proxy to Ghost using http. To tell Ghost that the requests coming into the proxy are secure, set the x-forwarded-proto header to https. Without this, Ghost will think the requests are insecure, attempt to redirect to the https version of a URL and cause an infinite redirect loop.
location / {
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header X-Forwarded-Proto $scheme;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header Host $http_host;
    proxy_pass http://<IP_ADDRESS>:2368;
}

client_max_body_size 50m;

Any suggestions?

It was resolved by reinstalling npm. The /letsencrypt directory didn't have appropriate storage permissions.

Ghost's docker configuration is actually quite straightforward. However, if you use nginxproxymanager like I do, you will find that ghost's interface is not linked correctly. So all assets point to the localhost path.
Only this hint helped me to finally get ghost up and running, so THANK YOU VERY MUCH!


Dataset Usage

Hello, much bother, can I use the nuscenes-mini data set for debugging?  I have tried to compile the data set with mini, but there will be a file missing error,  whether to modify part of the code, please kindly advise me

Yes, you can use the nuscenes-mini for debugging. May I know what command / file you are trying to run?

I want to run the following command：python tools/create_data.py nuscenes --root-path ../nuscenes --out-dir ../processed/maptr --extra-tag nuscenes --version v1.0 --canbus ../nuscenes
But a missing file error will be reported.I want to change this "--version v1.0"
Looking forward to your reply, thank you

Run the following script to compile the data set normally in 'MapTR_modified'：python /home/hb/project/MapUncertaintyPrediction/MapTR_modified/tools/create_data.py nuscenes --root-path /home/hb/project/MapUncertaintyPrediction/nuscenes --out-dir /home/hb/project/MapUncertaintyPrediction/processed/maptr --extra-tag nuscenes --version v1.0-mini --canbus /home/hb/project/MapUncertaintyPrediction/nuscenes
But run the following script ' python /home/hb/project/MapUncertaintyPrediction/MapTR_modified/tools/create_data.py nuscenes --root-path /home/hb/project/MapUncertaintyPrediction/nuscenes --out-dir /home/hb/project/MapUncertaintyPrediction/processed/maptr --extra-tag nuscenes --version v1.0-mini --canbus /home/hb/project/MapUncertaintyPrediction/nuscenes' in' MapTRv2_modified 'and get an error' Traceback (most recent call last):
File "/home/hb/project/MapUncertaintyPrediction/MapTRv2_modified/tools/maptrv2/custom_nusc_map_converter.py", line 928, in
nuscenes_data_prep(
File "/home/hb/project/MapUncertaintyPrediction/MapTRv2_modified/tools/maptrv2/custom_nusc_map_converter.py", line 869, in nuscenes_data_prep
create_nuscenes_infos(
File "/home/hb/project/MapUncertaintyPrediction/MapTRv2_modified/tools/maptrv2/custom_nusc_map_converter.py", line 777, in create_nuscenes_infos
nusc = NuScenes(version=version, dataroot=root_path, verbose=True)
File "/home/hb/Anaconda3/envs/map/lib/python3.8/site-packages/nuscenes/nuscenes.py", line 62, in init
assert osp.exists(self.table_root), 'Database version not found: {}'.format(self.table_root)
AssertionError: Database version not found: /home/hb/project/MapUncertaintyPrediction/nuscenes/v1.0-mini-trainval
'Please answer, looking forward to your reply

The problem has been resolved
Refer to methods if necessary
MapUncertaintyPrediction/MapTR_modified/tools/create_data.pyThe directory '/ home/hb/project/MapUncertaintyPrediction/MapTR_modified/tools/create_data. Line 927 p y' file '- trainval and delete line 936 "- the test"Thanks


I keep getting type error whenever i use my own traits in input.

This is my config file:
const fs = require("fs");
const width = 1000;
const height = 1000;
const dir = __dirname;
const description = "This is an NFT made by the coolest generative code.";
const baseImageUri = "https://hashlips/nft";
const startEditionFrom = 1;
const endEditionAt = 1;
const editionSize = 1;
const raceWeights = [
{
value: "moonboy",
from: 1,
to: editionSize,
},
];
const races = {
moonboy: {
name: "moonboy",
layers: [
{
name: "Background",
elements: [
{
id: 0,
name: "BACKGROUND01",
path: ${dir}/01background/BACKGROUND01.png,
weight: 100,
},
],
},
],
},
};
module.exports = {
width,
height,
description,
baseImageUri,
editionSize,
startEditionFrom,
endEditionAt,
races,
raceWeights,
};
this is the error:
(node:3852) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'x' of undefined
appreciate any advice on this, thanks in advance.

Okay i found the mistake lol, i just forgot to copy this line:
    position: { x: 0, y: 0 },
    size: { width: width, height: height },


Automate publishing of docs to https://code-ready.github.io/crc

Push to gh_pages when master branch successfully built.

We need a dummy Github account/bot that can push on our behalf. Will create a new identity (email) for him.


statedb: Fix revision indexing

Revision index was marked unique, but encoded the key as <revision> <primary key>. This was an accidental leftover from when revision was per-transaction rather than per insert/delete. The key can now be simplified to just <revision>.
This issue combined with "statedb: Allow non-terminated keys" broke revision queries via the statedb REST API handler as the lowerbound iteration terminated when the key length did not match. Fix the REST API handler as well to not check result keys when doing lowerbound search.
Fixes: aa15ba7ad8 ("statedb: Allow non-terminated keys")

/test


Find DB record from Notion URL

Description
Fixes https://github.com/dust-tt/tasks/issues/907
Add tooling to find NotionPage or NotionDatabase records from a Notion URL in poke

Risk
N/A
Deploy Plan

deploy connectors
deploy front

PMRR


How to only do ESLint linting of script sections where lang is ts?

I'd like to only lint <script> sections in .vue files - whether in VS Code with Volar or on the commandline with npm run lint - when it has lang="ts" set.  Otherwise I just think of the code as JavaScript, not TypeScript, and do not wish to lint it.  How can I configure this?  Is there a way?

You should ask to ESLint not here. :p

@johnsoncodehk But doesn't this rely on Volar's special handling of .vue files?  ESLint obviously doesn't concern itself with which files / blocks of files it lints, it expects to be passed the TypeScript to lint.  Volar does something that parses .vue files and pulls out the TypeScript to pass to ESLint.

No we don't have cooperation with ESLine, ESLine use https://github.com/vuejs/eslint-plugin-vue to parsing SFC.

OK thanks, guess I'll file an issue there.

@johnsoncodehk That issue I opened there got no response.  Out of interest, how do you develop .vue files?  Do you have lang="ts" and do you configure ESLint linting to only apply for Typescript and not Javascript?

@jez9999 I barely use ESLint, Volar's built-in Linting is enough for me.

Does it give warnings about unsafe assignments of any typed values?

Do you have a code sample?


HWPV-214: Remove Zendesk integration

Note that this PR does not change the help page itself, that is a separate ticket I believe.

Added the change to the HTML for the help page


ERROR TypeError: EverCookie_1.default is not a constructor

application compiles without issue but I am getting following error while opening url(http://localhost:4200/) in browser.

ERROR TypeError: EverCookie_1.default is not a constructor
at AppComponent.ngOnInit (app.component.ts:19)
at checkAndUpdateDirectiveInline (core.js:12411)
at checkAndUpdateNodeInline (core.js:13935)
at checkAndUpdateNode (core.js:13878)
at debugCheckAndUpdateNode (core.js:14771)
at debugCheckDirectivesFn (core.js:14712)
at Object.eval [as updateDirectives] (AppComponent_Host.ngfactory.js? [sm]:1)
at Object.debugUpdateDirectives [as updateDirectives] (core.js:14697)
at checkAndUpdateView (core.js:13844)
at callWithDebugContext (core.js:15098)

Following is my code:
import { Component, OnInit } from '@angular/core';
import EverCookie from 'EverCookie';

@Component({
  selector: 'app-root',
  templateUrl: './app.component.html',
  styleUrls: ['./app.component.css']
})
export class AppComponent implements OnInit {
  title = 'app';

  ngOnInit() {
    const objEverCookie = new EverCookie("device");
  }
}

I'll check it later, but If you using Angular make sure that you import/require EverCookie.ts and that your webpack doesn't exclude node_modules/EverCookie. Also try to assemble it with source maps to get more informative error.

Thanks, working for more error details.

Hi Sergei Iastrebov,
The issue is resolved. By default, the project was created with angular/CLI version 1..   I updated it to latest 6.0.8 and it is working now.
Here is output:
Cookie value found only in Local Storage, Session Storage.   Cookie value was not found in normal website cookie storage.
Can you guide me why it is not storing in website Cookies storage?
Following is my code:
"use strict";
import { Component, OnInit } from "@angular/core";
import EverCookie from "EverCookie";

let checkSupport:boolean = true;
let key:string = "key";
let value:string = "test cookie value";

const LocalEverCookie = new EverCookie("test");
//LocalEverCookie.setItem(checkSupport, key, value);
const v = LocalEverCookie.getItem(checkSupport, key);
console.info(v);
const t = LocalEverCookie.getKeys(checkSupport);
console.info(t);

Try to call document.cookie from console at the same browser tab, where you execute your code, you might see data there. Or try to select right domain and update cookie list in development panel.
Also you can execute
(
        typeof document === "object" &&
        typeof document.cookie === "string"
)

to check is cookie storage supported in current environment.

Hi,
I checked but it simply returns "" (blank string).
Following is output with cookie key name "test":

Following is output with domain:

@jatpat Hi, I found an error, cookies only worked for subdomains. I've fixed that.


New feature: auth method and syncronism to different equipments

Hi...
One featurethat I'm interested in is synchronization with different equipments. I have three desktops and laptops and I find an account and task sync to be a nice feature.
I can help with that too. Let me know if you need some help.
Good work guys.

The current scope of please does not allow for such complexity as it would only increase code size and the startup time.
A good idea for synchronization is to use symlinks for the config.json stored in ~/.config/please.
Another idea is to use a GitHub repository to sync the config.json file easily.
I know these are not ideal and you would like please to have an inbuilt support for sync, but the main aim for please is to be simple. The real problem with adding new features is the increased startup time, which we cannot compromise with at any cost.


Mixed-width hashing and comparison of WideUInt

Fixes #1179.
But I'm not sure this is the right fix.
@kyouko-taiga: do you want the bit width of these things to be salient or not?  Because if it is supposed to be salient, you might need to change how you're comparing and hashing them (and the types in which they are embedded).  And if it's not supposed to be salient, well, what's our excuse for having them behave differently based on their bit widths?

YepSent from my iPhoneOn Dec 2, 2023, at 6:32 PM, Dimi Racordon @.***> wrote:
@kyouko-taiga requested changes on this pull request.
I don't think I really understood the problem reported by #1179 but I don't think this patch is the solution. The bit width is not an incidental property of this type, otherwise we could simply use BigUInt.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

I don't know what made the original problem happen and I agree this isn't the answer


Fix Report Template Reference

Related to

https://github.com/GSA/data.gov/issues/3964

Fixed upstream

https://github.com/ckan/ckanext-qa/pull/75


Angular feature branch: Storybook Deployer fails

I've been playing around with the Angular support branch contributed here.
After building this in a fork and consuming it in a sample Angular CLI app, it looks the Storybook Deployer/ compiled static assets break when deploying to gh-pages.
Test repo:
https://github.com/priley86/storybook-ng-wc-demo
Error thrown here upon compilation w/ Storybook deployer inside Webpack module/static output:
https://github.com/priley86/storybook-ng-wc-demo/blob/master/storybook-static/static/preview.30bc209875689e205495.bundle.js#L28972
throw new Error("Module parse failed<EMAIL_ADDRESS>Unexpected character '@' (24:2)\nYou may need an appropriate loader to handle this file type.\n| \n| const getAnnotatedComponent = (meta, component) => {\n|   @Component(meta)\n|   class NewComponent extends component {}\n| ");

Deployed ng storybook w/ error:
https://rawgit.com/priley86/storybook-ng-wc-demo/view-storybook/index.html
Appears the Angular preview source here is getting referenced in the static build incorrectly (should be only be used in local/node js runs I'm guessing).
Great job with this and look forward to having this formally released w/ the Storybook family. I'll be doing some research w/ Web Components/Skate.js alongside Angular & React implementations inside Storybook, and hopefully I'll be able to share some of this after!

cc @alterx

@alterx, another observation here after playing some more w/ Custom Elements & ng in my fork...we'll need a way to provide schemas to the NgModule being used to render the stories. Given the current examples/documentation, I didn't see a good way to do this. I've changed the default module in my fork to include CUSTOM_ELEMENTS_SCHEMA, but I'm sure we can find a more flexible way to do this...
https://github.com/priley86/storybook-angular/blob/master/dist/client/preview/angular/index.ts#L42

@alterx @ndelangen @shilman  any ideas? I'm happy to take a stab at this if given direction... would especially like to have the Storybook Deployer working for ng in my fork...

@priley86, yeah, this is the kind of feedback we need. This is still a WIP (currently finishing the last part of it) and I like to stabilize the features a bit before starting to play around with new things (such as Web Components). There's also a big effort to refactor out the core parts of the app that are currently duplicated for each supported framework.
If I were you, I'd wait a bit before digging a lot into this :)

How experienced are you @priley86? Any chance to get you to help @alterx to get the angular feature out faster?
Sounds like you already got things running and are a fantastic help testing the feature!
I'm not trying to pressure either of you btw!

@alterx I will be monitoring your feature branch closely and providing the best feedback I can. If you're making significant refactors, I will happily hold off for now 😉
@ndelangen I work on Red Hat's User Experience Design team (we do all of the designs for Red Hat's core products along with maintaining the open source library used in these products, Patternfly). We've already adopted Storybooks in our Patternfly React repo and are looking to expand this to our Patternfly Ng/Angular and Patternfly Web Components repos in the future. I will definitely be staying tuned and trying to submit feedback as best I can! I'll also be interested in enhancing addons where possible. Look forward to your progress on this one w/ @alterx and please keep us posted. 😸

hi @alterx @ndelangen just following up here...
I've continued testing #1474 and shared this with our Angular team @ RedHat. I'm happy to report the following:

Knobs working as expected 👍
Custom Elements working alongside Skate.js 👍
Storybook deployer working as expected 👍

I've deployed a sample Storybook from my testbed here:
https://rawgit.com/priley86/patternfly-webcomponents-next/ng-storybook/index.html
https://github.com/priley86/patternfly-webcomponents-next
Our team is very excited about the progress here, but would like a few more features before we can officially adopt Storybook for Ng.

Better ng module support

it would ideal if we could provide some mechanism to pass in each component's module dependencies. Declarations, imports, providers, schemas, bootstrap could all be overridable (that way you could flexibly support CUSTOM_ELEMENTS_SCHEMA if one desires). That logic currently lives here.

Typescript docs

Ng teams will need some mechanism for visualizing docs (similar to the way you've done with react-docgen). Our Ng team currently uses typedoc to visualize component Typescript, HTML, and any API doc information. You can see examples of this here (source).

Thanks for all the great work here! I'm OK with closing this issue if we'd like to repurpose it (as my original requests were met) ...

Glad to hear that @priley86. Modules are definitely something in my list but we wanted to focus on getting it to work first 😄
There are some implications about letting it (potentially) render a full application, for example: how do we handle the case in which we send a module with several components? How do we decide which props apply to which component. We need to define an API for that and we would love your feedback.

@alterx I think our use case is possibly more simple that what you have in mind. We develop example components/modules which import the component's module (like the one here). This just basically ensures that downstream consumers can import the same module which defines this component (and that we are emulating this).
@alterx so i agree that those complications can arise if trying to target multiple components/multiple modules, but I think as a short term suggestion, I'd just ensure  that imports and schemas can be extended for the current component/current module being displayed, possibly as arguments to the stories function?
 storiesOf('Welcome', module, imports, schemas)
This would get us there I am thinking...but any flexible way you can come with, I am happy :)

i.e the current code supports single component with no dependent modules...so i've just used simple inheritance on my example component (inheriting from the actual component) as a short term workaround.
It would be ideal for us though to be able to define an additional imports on the module being demo'd (and leave any concerns arising from that to the consumer...
Story now:
story -> example component -> (inherits) consumable component
Story proposed:
story -> example module -> example component module (renders consumable component) -> (imports) consumable module -> (imports) consumable component
Hope this describes our use case better...

Hey @priley86 Can you tell us if things have changed now that the angular work has been merged into the release/3.3 branch?
You can expect an official alpha release real soon! /cc @shilman

@ndelangen apologies for the late response... it's been a hectic few weeks. I don't think we will be exploring custom elements/web components for a while (it's a bit too early for us and we are currently progressing w/ React & Ng only).
Last I checked, the storybook-deployer was working fine w/ 3.3 branch and Ng. The main issue w/ Web Components was the current WC polyfills have some es6  in their distribution which breaks when included w/ the current version of uglify.
I had proposed one other feature recently in Storybook Deployer. Not sure if you are filtering these ;)
Will report back as we progress...

I'mm going to close this one as it seems the original bug is no longer happening and it's been stale for more than a month.


Add testing against Python 3.9

I'm trying this library on Python 3.9, and specifically interested in the issubtype() call - I haven't found a good alternative anywhere.
It's failing on a call to issubclass() with typing.Optional - so I wanted to see if the tests would pass here on Python 3.9 before digging deeper.

Turns out these don't perform any tests at all, the result is always 0 tests pass.

Turns out these don't perform any tests at all, the result is always 0 tests pass.

Fixed

I rebased, and am able to show a failure on Python 3.9, specific to ForwardRefs.

This function needs an update for Python 3.9.


onHTTP and onHTTPError return different types

Hi Chris,
The onHTTP event returns an object and onHTTPError returns JSON.
If there is no particular reason for this, could they both return the same type? An object would be preferable to me.
Not urgent.

Fix coming soon.

Try out the branch setOdometer

Hi Chris,
Using master, a 403 status triggers the onHTTPError but using the setOdometer branch a 403 triggers onHTTP. Was this intentional? onHTTPError would seem more logical to me for anything other than 20x.
Or is onHTTPError intended for network issue?
Thanks

Good catch
private static createHttpCallback(success:Function, failure?:Function) {
    failure = failure || emptyFn;
    return new Callback({
      success: function(response) {
        success(JSON.parse(response.toString()));
      },
      error: function(response) {
        failure(JSON.parse(response.toString()));  // <-- Should have called the `failure` callback.
      }
    });
  }

Pushed to setOdometer branch.

Perfect. Thanks


PR: Fix kernel restarts after a crash for external interpreters

I discovered this problem while trying to understand why PR #12236 was generating test failures.

Closing as superseded by PR #21540.


Transitions should use computed value for end, too?

When transition 'left' or 'right' style from negative % to positive % sets wrong values. When do the same for 'top' or 'bottom' it sets she same value all the animation frames.
Code to reproduce:

var div = d3.select("div");
div
    .style("left", "-50%")
    .transition().duration(1000)
    .style("left", "50%")
    .tween("log", function () {
        return function (t) {
            console.log(div.style("left")); // will be something like -5470.53px to 523px
            console.log(div.node().style.left); // will be something like -522.996% to 50%
        };
    });

I used https://d3js.org/d3.v4.js for testing.

Reproduction: http://bl.ocks.org/curran/cbd4695616e8128049e2614464c4140c

Bug reproduces in Chrome 51 and Firefox 47 but not in Safary.

This is the expected behavior because transition.style uses the computed value as the starting value (hence converting percentage to pixels), then followed by d3.interpolateString.
You can avoid this by using transition.attrTween and specifying the start value explicitly by returning an interpolator that both starts and ends with percentages.
I suppose an alternative solution would be for D3 to set the target value temporarily, compute the resulting computed value, and then use that for the interpolator. But that is a fairly significant change and also means that the resulting assigned style property value will be different than what was passed to transition.attr when the transition ends. So I am inclined to close this as designed.

I'm not sure, note that -480px div.style("left") is -4597.61px, but window.getComputedStyle(document.querySelector("div")).left is -480px

Yes. That is because div.style("left") is again returning the computed
value.

We already set the target value temporarily in the case of transition.style(name, null) so that we know how to transition when removing a style. I suppose it wouldn’t be too much of a stretch to temporarily set the style in all cases, so that transition.style uses the computed value for both the start and end.
I’m a little worried that this will be detrimental to performance, especially since a naïve implementation would tend to interleave reading and writing to the DOM, which could cause a lot of wasted effort. But perhaps there’s a simple multi-pass approach where, on all starting elements, we first read the starting computing values, then temporarily set the style to the target value, then read the ending computed values, and then finally restore to the starting value.

I don't think I get it, why not just interpolate value from node.style.left if it's presented to the end value without computing and converting to px? I think it's common situation when inline style is already set or set just before the transition.

Because often the style is not inlined: it is inherited or cascaded.

I think it would be reasonable for style transitions to use the inline value, if present, and only if the inline value is not present fallback to the computed style value. That way it’s a lot easier to control the starting value of a transition, and by extension the interpolator. Also, it’s more consistent with how attribute transitions work.


vNext hosted on Ubuntu can't fetch data from SQL database on Azure

My vNext app works on both, Windows and Ubuntu. The difference is when I host it on Ubuntu, it doesn't get any data from SQL database in Azure, actually when database is clean, migration does nothing, no table gets created.
Can this actually be done at the moment or  am I trying to do (currently) impossible thing?
I think it's SQL server 2012 on Azure, Ubuntu 14.10 and I installed mono and nginx.
So, I thought if it works on Windows, it'll work on Ubuntu too. If this is not possible at the moment, will it be in the future? Also, what could be an obstacle for this to work?

I solved this by setting Encrypt=False and added Trusted_Connection=False in my connectionString. But beside Reading from database, it's not possible to Update, Create or Delete in database while hosting on Ubuntu. Again, same code works while hosting with IIS. I allowed access to all IPs so that's not the problem, also Ubuntu firewall also doesn't make a difference wether it's on or off.
Any idea if there is a workaround for this?


In case that I decline the split, the bill should not be added to my billing section

Earlier commit that worked on this issue: baef2b255239474ab37a35afd3a4c14990c29463


Updated the versions in readme

The latest version is 0.3. But we opted for not locking the minor version in the examples for now. Thanks for the contribution nonetheless!


SAK-46973 Improve information displayed about the used content review provider

https://sakaiproject.atlassian.net/browse/SAK-46973

Nice changes! Well done Jose

There's a complementary PR here https://github.com/sakaiproject/sakai/pull/10294 providing more text updates.


Update Pages “home”

Automatically generated by Netlify CMS

👷 Deploy Preview for singular-moonbeam-50eeea processing.

Name
Link

🔨 Latest commit
163db8a9660989446b21012b8e376ef255b03509

🔍 Latest deploy log
https://app.netlify.com/sites/singular-moonbeam-50eeea/deploys/63e385208b9a44000788bb38


Add tvOS Support

Would love to see tvOS Support. Getting '[!] The platform of the target Trivia Pop tvOS (tvOS 9.0) is not compatible with SVProgressHUD (1.1.3), which does not support tvos.' from pods

Please use 2.0-beta1 on cocoapods.


Connectionstring fix

Last week I installed the lastest version, with the verbose setting fixed, and after a few tests, I found out why the connectionstring was not working.
In the file pynonymizer_env\Lib\site-packages\pynonymizer\database\mssql_init_.py around line 77, the variable db_host is hardcoded as local.

After commenting this line, the package worked with command below
pynonymizer --strategy "C:\Temp\strategy_MISC.json" --db-type mssql --only-step ANONYMIZE_DB  --db-host 'xxxxxserverxxxx.xxx.xxx.xx' --db-name 'xxx_xxx_Anonymous' --db-user 'pynon' --db-password 'pynon' --verbose
Would it possible to remove the line from the package ?

It's there because the dump db options dont work when the server is remote. I think this could be replaced with a warning, rather than an override. I will schedule this for the next version.

Released a fix for this in v2.4.0 today!


Make "assertVisible" find part of a text

Is your feature request related to a problem? Please describe.
In my React Native application the test should open an article and check it's content being visible afterwards. I can't make it work yet, since it seems to only succeed when the string of assertVisible is the complete content of a screen element.
Describe the solution you'd like
My understanding of something being visible is fullfilled, if it is visible as part of a bigger text:
assertVisible: "World"
This should be true if an element containing "Hello World!" is visible. Would be great to make this the standard behaviour. If necessary you can possibly add an option to use the current behaviour.
Describe alternatives you've considered
I am not able to provide the whole article text in the yaml file. Also pasting the whole article in the test yaml makes it unreadable and the content can contain text styling, line breaks and more.
Additional context
none
Best Regards!

What I'm understand is,
There's a text Hello World in the app,
and you want to assertVisible: World?
if so, you can use regex:
assertVisible: .*World.
or you can use or:
assertVisible: World|Hello World

Thanks @rasyid7 for answering here! Yeah, regex seems like the way to go here.

Thx @rasyid7! i wasn't aware i am able to use regex here.
That solves the problem for my use case. ❤


Bring test coverage to 100%

... I think. Running npm cover doesn't work on my end.
But, I went over all of these < 100% files: https://coveralls.io/builds/3590802 and covered up the holes.
Along the way, I also caught some places we were inconsistent with our setMetadata method. The signature is supposed to be:
object.setMetadata({}, function(err, apiResponse) {});

But some places, it was:
object.setMetadata({}, function(err, metadata, apiResponse) {});

Coincidentally, apiResponse and metadata would have been the same thing-- the apiResponse is what becomes the metadata. Now, however, it's only function(err, apiResponse) {} so that if an error occurs, the handler still gets the benefit of receiving the API response.

Now we have to work to keep it at 100% forever!

Woo!


ControlFlowStorage without var parent node

ControlFlowStorage produces the following:
var myFunction() {
var ak = {
'cqEBl': function(al, am) {
return al == am;
}
Is there any option to create it without parent var, as the following:
var myFunction() {
function cqEBl(al, am) {
return al == am;
}

@devtest1990 I can't understand your issue. If you still have this issue, could you provide more detailed description or re-phrase it?

@devtest1990 Hi. Here is no way to do this.


Fix url scheme: bootswatch.com/3/superhero/bootstrap.min.css

@charlesreid1 thank you for the fix. This project has been a long time. I am really surprised that you are still interested in it. Hope it doesn't cause a lot troubles to you ;)


Support drag and drop  Listview or child View's  elements

Hi
I'm using your library.Everything  working perfect,but i have one question.Is it a possible to use this librare in Listview,I mean BaseAdapter, or if i add childView programmatically?
I tried SimpleAdapter and BaseAdapter,but   i still can't drag and drop in listviews.
thanks

No, it was not designed for this use case.
I'd suggest to consider using a RecyclerView with ItemTouchHelper to provide drag and drop support. You can find a good overview and tutorial here.

Thanks Justas your attention


Error: kubelogin is not installed

Describe the bug
I deployed the template, but when it got done provisioning the resources I got the following error:
ERROR: error executing step command 'provision': deployment failed: failed invoking event handlers for 'postprovision', required external tools are missing:
 - kubelogin is not installed, see https://aka.ms/azure-dev/kubelogin-install to install

To Reproduce
Steps to reproduce the behavior:

Don't have kubelogin installed
Run azd up
See error

Expected behavior
I expect the template to install any dependencies that it needs, or to inform me before provisioning that a dependency is missing.
Screenshots

Desktop (please complete the following information):

OS: Windows 11
Browser Na
Version [e.g. 22]

Additional context
Add any other context about the problem here.

I could not get around the error in VS Code even after restarting. But when I ran azd up from the terminal, I got past that error and ran into another:
Deploying services (azd deploy)

  (x) Failed: Deploying service demo

ERROR: error executing step command 'deploy --all': failed deploying service 'demo': helm deployment failed: Helm support is not enabled. Run 'azd config set alpha.aks.helm on' to enable it.


Implement update workflow for ev3dev

Users of the ev3dev system need to reflash their sdcards to get new features. They also needs to figure by themself that an update is required.
In order to improve this we should do the following:

[ ] implement server side logic to check the version of the connecting robot against expected version.
[ ] implement a notification in the web frontend. The implementation will tell that a new version is available and will inform for how long the currently used version will be supported. The notification will link to a webpage with install/upgrade instructions.
[ ] Implement update serving for ev3dev in the server, see lejos example, we will claim /update/ev3dev as a root path
[ ] add update.dir and menu.version in ev3dev.properties
[ ] implement the update handler on ev3dev side. See steps outlined in robertalab-ev3dev.
[ ] document the process of releasing an connector update (lejeos jar or ev3dev python)
[ ] release a new ev3dev image with the above features and the enable the notification on the frontend, asking people to reflash

Links:

Frontend wise the version checks are handled in the handleFirmwareConflict in robot.controller.js.
Backend wise version comparison is done in ClientAdmin.
Server side robot communication with firmware update in RobotCommunicationData.java

Frontend wise it is handled in the handleFirmwareConflict in robot.controller.js. Version comparison is done in ClientAdmin.
The "protocol" is pretty weird right now as the robot requests the exact files through one REST call each.
I think it would be nice to revise it while handling this (for now only ev3dev).
The server could tell the robot which files are necessary, instead. This would decouple the actual robot files from the protocol and the robot firmware.

I was actually considering to alway fetch a zip with the python files (2 py files with code and one with the version info). This way the protocol would stay simple - just one file (zip) and the set of files downloaded is atomic.

Sounds nice as well, that way its very simple and variable files are allowed.

I've got the server side parts working:
https://gist.github.com/ensonic/b19ee4229185f8923a0e6001fdc786bd
Also on the ev3dev the download is received and updated. I need to do some code cleanups, the restarts of the connector and then making a release.

PR ready. This can be safely merged (won't do anything yet). What we need to discuss is how to add an extra check so that if the ev3dev menuVersion is <1.7.5 we prompt people to reflash the image (with url to image) and only if menuVersion is >=1.7.5 we do the normal updates.


x/website: tutorial package version reference out of date

What is the URL of the page with the issue?
https://go.dev/doc/tutorial/getting-started
What is your user agent?

N/A
Screenshot

N/A
What did you do?

Read the page.
What did you expect to see?
I don't know.  But the message below in section 1.2 says "if you see rsc.io/quote/v3, ignore it for now" which... technically remains a possibly valid order, but given that there's a v4, I'm wondering if this needs updating.  At least to "ignore v3 and v4 for now" if those are the correct instructions.
What did you see instead?
This is the segment of the page (section 1.2 under "Call code in an external package") that led to my question.
1.) Make your printed message a little more interesting with a function from an external module.

    1.) Visit pkg.go.dev and [search for a "quote" package](https://pkg.go.dev/search?q=quote).
    2.) Locate and click the rsc.io/quote package in search results (if you see rsc.io/quote/v3, ignore it for now).
    3.) In the Documentation section, under Index, note the list of functions you can call from your code. You'll use the Go function.
    4.) At the top of this page, note that package quote is included in the rsc.io/quote module.

Duplicate of #51188


Add requester user account to ebay-account object

I was wondering if it is worth to add another field to ebay-account model. It would be good to have also the 'owner' ow created ebay-account. So, many users can have many ebay-accounts.
What do you think?

Nice idea.
I had wanted to do something like this for a while, so each user or group could have ebay accounts associated with them.
You could do that now by creating a new app with a Model with a OneToOneField for the ebay account and a ForeignKey to the user model or group model.
I'm not sure whether it is a good idea or not to include those models here or just perhaps document them somewhere. Perhaps I'll take a look at some other Django apps and see if any do anything similar.
Even if we don't include the models, it would be nice to make sure the views can be easily extended to support this.

I've done it not in best way, but maybe someone will have use of it.
in models.py:
from django.contrib.auth.models import User
and in class Account(models.Model):  i added:
account =  models.ForeignKey(User)
then in views.py in class AccountFinishCreateView i put: in     def get(self, request, *args, **kwargs):
account.account = request.user
account.save()


Create Dot's Journey

Project Abstract
Dot's Journey is a qualitative data tracker and user-friendly onboarding tool designed for non-crypto users within the Polkadot & Kusama ecosystems. Aimed primarily at Spanish speakers, but also accessible to English users, it simplifies understanding by providing intuitive categorization/subcategorization, vision cards, and step-by-step guides to help users quickly engage with the ecosystem. For projects, Dot's Journey acts as a visibility and onboarding platform, offering frictionless listings and streamlined processes in both languages. In its next phase, it will also serve as a source of qualitative data accessible via API.
Grant level

[ ] Level 1:  Up to $10,000, 2 approvals
[x] Level 2:  Up to $30,000, 3 approvals
[ ] Level 3:  Unlimited, 5 approvals (for >$100k: Web3 Foundation Council approval)

Application Checklist

[x] The application template has been copied and aptly renamed (project_name.md).
[x] I have read the application guidelines.
[x] Payment details have been provided (Polkadot AssetHub (USDC & DOT) address in the application and bank details via email, if applicable).
[x] I understand that an agreed upon percentage of each milestone will be paid in vested DOT, to the Polkadot address listed in the application.
[x] I am aware that, in order to receive a grant, I (and the entity I represent) have to successfully complete a KYC/KYB check.
[x] The software delivered for this grant will be released under an open-source license specified in the application.
[x] The initial PR contains only one commit (squash and force-push if needed).
[x] The grant will only be announced once the first milestone has been accepted (see the announcement guidelines).
[ ] I prefer the discussion of this application to take place in a private Element/Matrix channel. My username is: @_______:matrix.org (change the homeserver if you use a different one)

I have read and hereby sign the Contributor License Agreement.

Thank you, @semuelle. I fully understand that other projects may have tackled similar challenges, but we believe Dot’s Journey has some unique features that could make a real difference.
We see it as an effective solution in both Spanish and English to bring Polkadot and Kusama to underrepresented communities, which currently lack web apps in their native languages. This improves understanding and onboarding with relay chains, parachains, and dapps.
Instead of being just another informational platform, Dot’s Journey aims to be a direct action tool: it combines a categorized project visibility environment with no use of routes (something we haven’t found in our research within the Polkadot ecosystem - if you’re aware of any, please let us know), a dynamic step-by-step interaction guide in a single interface (which we also haven’t seen), and the ability to actively track projects.
Furthermore, we aim to reduce the significant friction that Spanish-speaking users face, while also recognizing areas for improvement in the English-speaking space. Looking ahead, we see potential in expanding Dot’s Journey by developing a qualitative data API for projects (which we haven’t found in Polkadot either), supporting additional languages, among other enhancements.
Our concept tests for the Vision section have yielded very positive results. We’d love the opportunity to demonstrate how this web dapp truly offers something different.

Hi all,
I hope you’re doing well! I appreciate that the committee is reviewing our proposal, and I understand that this process takes time. However, any updates or feedback you could provide would be greatly appreciated.
Thank you for your efforts! If you need anything else, just let me know.

Hey @giankbo , I struggle to understand what the overall benefit of this project will be. I mean it all sounds and looks good, don't get me wrong. Yet how will this improve the onboarding of people into the Polkadot ecosystem? If a person is  interested in anything about Polkadot he would already find all necessary information by searching the web. At the same time you will have to do a lot of maintenance work to keep up with any changes within the ecosystem only do duplicate existing content. At the same time I think you are asking for a reasonable amount of money for the estimated 3 FTEs for 4 Months. I'll side with @semuelle and also abstain from voting. I hope that other committee members will shortly follow up with their feedback. Thanks for all the effort you put into this application. Best wishes.

Hi @PieWol, thanks for the feedback. Working collaboratively with projects reduces the maintenance workload, which can be achieved through the Vision section once the initial ecosystem data and listings (as outlined in the proposal) are fully loaded. For onboarding, it’s about setting up clear step-by-step processes, and handling data in the Cloud would minimize issues. The main maintenance issues arise with static data, which isn’t our case. The only potential bottleneck might be translating support guides.
I believe this project offers unique value as a discovery and direct-action tool. Rather than simply replicating existing information, it organizes and contextualizes resources in a streamlined, accessible hub that helps users easily access and act on key resources within the ecosystem.
Our proposal outlines a web app with minimal risk to production, with potential to attract users to the ecosystem (not only for DOT but for the entire ecosystem) and that it’s maintainable.
Additionally, I have a different perspective. I don’t think it’s that simple to find what one wants to do within Polkadot. (Here I’m not including buying DOT or storing it in a CEX or a wallet, which is easy). Rather, I’m referring to identifying the ecosystem, understanding it, knowing which dapps belong to which parachains, and learning the processes needed to engage. In my opinion (and I could be wrong), this isn’t straightforward in English and is very challenging in Spanish.
Thanks again for the feedback!

Thanks @giankbo for taking the time to answer all questions and for your efforts in submitting the application. I do agree with you that it can be hard to navigate the Polkadot ecosystem in terms of finding resources. I also agree that there is probably a great need for Spanish documentation. But the issue I have here is that the deliverables are mainly for a dashboard/website that doesn't have much to do with Polkadot tech. A project like this would be much better supported by treasury funding, if the community has a demand for it. Feel free to submit a OpenGov proposal.
Also, I think a better alternative might be translating existing docs to Spanish, rather than create a Spanish-language portal and then attempt to maintain it and keep everything up to date, as my colleague @PieWol mentioned above. I also agree that adding features like price feeds are nice, but not really necessary when aggregator sites like CoinGecko already support multiple languages. Additionally, we typically don't fund design components such as the vision cards.
Since that makes three of us abstaining, I will go ahead and close the application. I wish you the best of luck with funding, and let us know if you have any questions.


Remove the indenting options on an RTE if listLevelMax = 0

Remove the indenting options on an RTE if listLevelMax = 0

Screenshots/Videos:

I would prefer if you would use storybook for developing and showcasing @comet/admin features, especially for such specific ones.

You could base this PR on https://github.com/vivid-planet/comet/pull/1121 and use the dev story added there, which is more flexible


Use ImPlot zooming feature

We want to use the facilities provided by ImPlot to navigate into the chromatograms and the spectrograms.

The only complications I can think of would be keeping the sliders that determine the ranges of x axis values in sync. Perhaps even allowing the user to reset to the original view with some sort of "reset" layout button would also be a good combo?

Yes, actually we can remove the sliders at all. with the Calibration curve improvement that is WIP, we can see that using the mouse wheel to zoom out/in, and have the box selection is very convenient.
And as for the Calibration curve (the WIP), and as you suggest, we can have a reset button indeed to reset the view.

That sounds good on my end 👍


Can't run UFW command, Issue with iptables.

Can't run the ufw commands, it says iptables of kernel needs to be upgraded.

Hi @mawadhwa I recommend you to report this issue at https://github.com/Microsoft/BashOnWindows


Request for syntax highlighting support for named arguments in PHP 8

Please support syntax highlighting for named arguments in PHP 8. Currently, the feature/token is detected as constant.other.php, making it difficult to distinguish named arguments from constants.

Code to reproduce
<?php declare(strict_types=1);

#[Attribute(name:'attribute')]
function foobar()
{
    throw new RuntimeException(message:'Exception', code:1);
}

The folks in https://github.com/KapitanOczywisty/language-php have recently taken on the task of maintaining the PHP syntax highlighting grammar that we use in VS Code 👏 I've moved your issue into that repo: https://github.com/KapitanOczywisty/language-php/issues/7


Alias labels for mixed bases loaded from IDT are wrong

Steps to Reproduce

Toggle to Macro - Flex mode
Load IDT from paste from clipboard way: (B4:00653005)

Actual behavior
System loads nucleoside successfully, but base name is wrong - (B4)

Expected behavior
Base name is % since it is Mixture

Versions

Ketcher Version 2.25.0-rc.2 Build at 2024-09-14; 10:47:47
Indigo Toolkit Version 1.24.0-rc.2.0-g5f2751d70-wasm32-wasm-clang-19.0.0
Chrome Version 128.0.6613.138 (Official Build) (64-bit)
Win10

Reference issues: https://github.com/epam/Indigo/issues/1619

Verified.

Versions

Ketcher Version 2.25.0-rc.3 Build at 2024-09-18; 16:24:03
Indigo Toolkit Version 1.24.0-rc.3.0-g692080c62-wasm32-wasm-clang-19.0.0
Chrome Version 129.0.6668.59 (Official Build) (64-bit)
Win10


daemon: Create RuntimePath if not equal to StateDir

With this change, state-dir can be set to anything and code makes sure that /var/run/cilium is always present with correct rights since /var/run is clean after reboot.
PidfilePath is set here https://github.com/cilium/cilium/blob/master/daemon/cmd/daemon_main.go#L1143
always set to RuntimePath + "/cilium.pid". By default StateDir is set to defaults.RuntimePath == /var/run/cilium but when changed to something else, /var/run/cilium won't be created as in here:
https://github.com/cilium/cilium/blob/master/daemon/cmd/daemon_main.go#L1119 because https://github.com/cilium/cilium/blob/master/pkg/option/config.go#L2449.

test-me-please

test-me-please

hit https://github.com/cilium/cilium/issues/15620, merging


Add support for 'federate enable' to be configured from a file

This is intended to simplify the encoding of configuration for the types whose propagation will be enabled be default.

@irfanurrehman I've added a fixup commit.  Please don't merge before squash.  Given the lack of movement on reviewable I think the fixup workflow is the best option to make life easier on reviewers.

/lgtm


All attacks show up as "Internal Attack"

In the attack records information screen, all attacks are categorized as "Internal Attacks" although the attacks are from an External IP.

Ok I will look up to it!

@sastry17 Also in which pull request was this bug discovered?

Tested. External attacks are now shown as external attacks.


sometimes error since 0.10.6 MPC

Hi,
Using the EMHASS addon and since version 0.10.6 with MPC I receive this error:
'''
2024-07-26 16:59:56,653 - web_server - INFO - Passed runtime parameters: {'prod_price_forecast': [0.239, 0.26, 0.268, 0.286, 0.33, 0.32, 0.282, 0.271, 0.279, 0.277, 0.27, 0.268, 0.265, 0.262, 0.258, 0.253, 0.255, 0.233, 0.225, 0.201, 0.187, 0.174, 0.175, 0.192], 'load_cost_forecast': [0.239, 0.26, 0.268, 0.286, 0.33, 0.32, 0.282, 0.271, 0.279, 0.277, 0.27, 0.268, 0.265, 0.262, 0.258, 0.253, 0.255, 0.233, 0.225, 0.201, 0.187, 0.174, 0.175, 0.192], 'pv_power_forecast': [6168, 4606, 2825, 1196, 251, 15, 0, 0, 0, 0, 0, 0, 0, 2, 182, 373, 465, 1159, 2920, 4226, 5117, 5438, 5021, 4270, 2997, 1766, 995, 413, 124, 7, 0, 0], 'prediction_horizon': 24, 'def_start_timestep': [0, 0, 0], 'def_end_timestep': [0, 0, 0], 'alpha': 0.25, 'beta': 0.75, 'num_def_loads': 3, 'weight_battery_charge': 0.0, 'weight_battery_discharge': 0.03, 'def_total_hours': [0.0, 0.0, 0.0], 'treat_def_as_semi_cont': [1, 0, 0], 'set_def_constant': [0, 0, 0], 'soc_init': 0.95}
2024-07-26 16:59:56,653 - web_server - INFO -  >> Setting input data dict
2024-07-26 16:59:56,654 - web_server - INFO - Setting up needed data
2024-07-26 16:59:56,656 - web_server - INFO - Retrieve hass get data method initiated...
2024-07-26 16:59:58,402 - web_server - INFO - Retrieving weather forecast data using method = list
2024-07-26 16:59:58,402 - web_server - INFO - Retrieving data from hass for load forecast using method = naive
2024-07-26 16:59:58,403 - web_server - INFO - Retrieve hass get data method initiated...
2024-07-26 17:00:00,688 - web_server - INFO -  >> Performing naive MPC optimization...
2024-07-26 17:00:00,688 - web_server - INFO - Performing naive MPC optimization
2024-07-26 17:00:00,699 - web_server - INFO - Perform an iteration of a naive MPC controller
2024-07-26 17:00:00,700 - web_server - ERROR - Exception on /action/naive-mpc-optim [POST]
Traceback (most recent call last):
File "/usr/local/lib/python3.11/dist-packages/flask/app.py", line 1473, in wsgi_app
response = self.full_dispatch_request()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/flask/app.py", line 882, in full_dispatch_request
rv = self.handle_user_exception(e)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/flask/app.py", line 880, in full_dispatch_request
rv = self.dispatch_request()
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/flask/app.py", line 865, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(*view_args)  # type: ignore[no-any-return]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/emhass/web_server.py", line 168, in action_call
opt_res = naive_mpc_optim(input_data_dict, app.logger)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/emhass/command_line.py", line 446, in naive_mpc_optim
opt_res_naive_mpc = input_data_dict["opt"].perform_naive_mpc_optim(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/emhass/optimization.py", line 853, in perform_naive_mpc_optim
self.opt_res = self.perform_optimization(df_input_data, P_PV.values.ravel(), P_load.values.ravel(),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/emhass/optimization.py", line 230, in perform_optimization
objective = plp.lpSum(-0.001self.timeStep(unit_load_cost[i]P_grid_pos[i] +
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/pulp/pulp.py", line 2233, in lpSum
return LpAffineExpression().addInPlace(vector)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/pulp/pulp.py", line 867, in addInPlace
for e in other:
File "/usr/local/lib/python3.11/dist-packages/emhass/optimization.py", line 230, in
objective = plp.lpSum(-0.001self.timeStep(unit_load_cost[i]*P_grid_pos[i] +
~~~~~^~
File "/usr/local/lib/python3.11/dist-packages/pulp/pulp.py", line 209, in rmul
return LpAffineExpression(self) * other
~~~~~~~~~~~~~~~~~~~^
File "/usr/local/lib/python3.11/dist-packages/pulp/pulp.py", line 930, in mul
raise const.PulpError("Cannot multiply variables with NaN/inf values")
pulp.constants.PulpError: Cannot multiply variables with NaN/inf values
2024-07-26 17:00:00,746 - web_server - INFO - Passed runtime parameters: {}
2024-07-26 17:00:00,746 - web_server - INFO -  >> Setting input data dict
2024-07-26 17:00:00,746 - web_server - INFO - Setting up needed data
2024-07-26 17:00:00,748 - web_server - INFO -  >> Publishing data...
2024-07-26 17:00:00,748 - web_server - INFO - Publishing data to HASS instance
2024-07-26 17:00:00,763 - web_server - INFO - Successfully posted to sensor.p_pv_forecast = 4606.0
2024-07-26 17:00:00,773 - web_server - INFO - Successfully posted to sensor.p_load_forecast = 801.08
2024-07-26 17:00:00,785 - web_server - INFO - Successfully posted to sensor.p_pv_curtailment = 0.0
2024-07-26 17:00:00,796 - web_server - INFO - Successfully posted to sensor.p_deferrable0 = 0.0
2024-07-26 17:00:00,807 - web_server - INFO - Successfully posted to sensor.p_deferrable1 = 0.0
2024-07-26 17:00:00,817 - web_server - INFO - Successfully posted to sensor.p_deferrable2 = 0.0
2024-07-26 17:00:00,827 - web_server - INFO - Successfully posted to sensor.p_batt_forecast = 0.0
2024-07-26 17:00:00,839 - web_server - INFO - Successfully posted to sensor.soc_batt_forecast = 100.0
2024-07-26 17:00:00,852 - web_server - INFO - Successfully posted to sensor.p_grid_forecast = -3804.92
2024-07-26 17:00:00,866 - web_server - INFO - Successfully posted to sensor.total_cost_fun_value = 9.24
2024-07-26 17:00:00,876 - web_server - INFO - Successfully posted to sensor.optim_status = Optimal
2024-07-26 17:00:00,888 - web_server - INFO - Successfully posted to sensor.unit_load_cost = 0.26
2024-07-26 17:00:00,908 - web_server - INFO - Successfully posted to sensor.unit_prod_price = 0.26
'''
If I push the MPC again it will work. Any idea how to resolve this?

no issue anymore after a couple of days. will close the case


initSES failing for Chrome Beta 44

On Mac OSX 10.10.4
trying to initialize caja with the following configuration:
  'cajaServer': this.server_.toString(),
  'debug': true,
  'maxAcceptableSeverity': 'NOT_OCAP_SAFE',
  'mitigateGotchas': false

but SES instantiation fails and returns the attached report in the console:

value of this.server_ is pointing to a hosted version of caja on our servers. The server is the Git hashed version v6000-23-gff10d92

This is a duplicate of issue #1966. It is fixed in release v6002.


The Window.Activated event fires twice after maximizing a minimized window

Describe the bug
If you minimize a window and then maximize it you will get two symmetrical Activated events
// Minimize window
OnActivated. WindowActivationState: Deactivated Handled: False Microsoft.UI.Xaml.WindowActivatedEventArgs

// Maximize Window
OnActivated. WindowActivationState: CodeActivated Handled: False Microsoft.UI.Xaml.WindowActivatedEventArgs
OnActivated. WindowActivationState: CodeActivated Handled: False Microsoft.UI.Xaml.WindowActivatedEventArgs

I tested this behavior on UWP and on UWP it only fires one event when maximizing the window.
Steps to reproduce the bug
App86.zip
I've added an activated event to the window

Minimize the window
Maximize the window

You'll see two messages logged during the Maximize phase.
Expected behavior
Only one CodeActivated event should fire when maximizing the window.
Screenshots
No response
NuGet package version
1.1.0
Packaging type
Packaged (MSIX)
Windows version
Windows 11 version 21H2 (22000)
IDE
No response
Additional context
No response

Thanks for reporting this. this is indeed an issue. I have debugged it and found the root cause. Will be working on fixing ti

@mattleibow  thanks. you can use task.ms to track internal issues on public repos.

Windows version
Windows 11 version 21H2 (22000)

fwiw I can affirm that this issue appears to affect Android as well.

Ok, finally was able to get this in. I think it will be part of 1.6. It took a while because it was a breaking change and we needed to time it.


add samples for some more forbidden type annotation locations

Couldn't find these elsewhere but may have missed it in all these samples.

Thanks! I put it in another file (with a kind of ugly name, since I couldn't think of a good one -- maybe I should have just split it into multiple files?).


Getting Issue of classList undefined in older and latest version of flatpicker.

Getting Issue of classList undefined in older(4.1.2) and latest() version of flatpicker.

Uncaught TypeError: Cannot read property 'classList' of undefined
at Object.close (flatpickr.js:1193)
at focusAndClose (flatpickr.js:1734)
at selectDate (flatpickr.js:1818)
at HTMLDivElement. (flatpickr.js:649)

Reproduction Link
https://moms.babydestination.com/blog/8-home-remedies-to-increase-breastmilk-production
Click on Dob in right widget.

https://jsfiddle.net/tj2Lo4z7/
Your Environment

flatpickr version used: 4.2.4
Browser name and version: Chrome - latest
OS and version: 10.12.4

Hello,
Try upgrading to 4.3.0.
That should fix the issue.

Closing this as I couldn't reproduce it with the latest version (v4.5.7). Please reopen if necessary with another reproduction link


add devops task to repo

Adding the Azure Devops extension with the install azd task to the mono-repo.
Adding documentation and test pipeline

VSCode Extension Installation Instructions

Download the extension at https://azuresdkreleasepreview.blob.core.windows.net/azd/vscode/pr/2623/azure-dev-0.8.0-alpha.1.vsix
Extract the extension from the compressed file
In vscode
a. Open "Extensions" (Ctrl+Shift+X)
b. Click the ...\ menu at top of Extensions sidebar
c. Click "Install from VSIX"
d. Select location of downloaded file

VSCode Extension Installation Instructions

Download the extension at https://azuresdkreleasepreview.blob.core.windows.net/azd/vscode/pr/2623/azure-dev-0.8.0-alpha.1.vsix
Extract the extension from the compressed file
In vscode
a. Open "Extensions" (Ctrl+Shift+X)
b. Click the ...\ menu at top of Extensions sidebar
c. Click "Install from VSIX"
d. Select location of downloaded file

VSCode Extension Installation Instructions

Download the extension at https://azuresdkreleasepreview.blob.core.windows.net/azd/vscode/pr/2623/azure-dev-0.8.0-alpha.1.vsix
Extract the extension from the compressed file
In vscode
a. Open "Extensions" (Ctrl+Shift+X)
b. Click the ...\ menu at top of Extensions sidebar
c. Click "Install from VSIX"
d. Select location of downloaded file

VSCode Extension Installation Instructions

Download the extension at https://azuresdkreleasepreview.blob.core.windows.net/azd/vscode/pr/2623/azure-dev-0.8.0-alpha.1.vsix
Extract the extension from the compressed file
In vscode
a. Open "Extensions" (Ctrl+Shift+X)
b. Click the ...\ menu at top of Extensions sidebar
c. Click "Install from VSIX"
d. Select location of downloaded file


Add support for DeviceOrientation API to VR Sensor info

To be able to support eg. Cardboard mobile VR (on devices without WebVR API support like iPhone), use the DeviceOrientation API to give VR Sensor information a la https://github.com/vizorvr/vizor-create/blob/master/browser/plugins/vr_sensor_info_generator.plugin.js
see also http://smus.com/responsive-vr/

done


Weather App

Created a weather App
Check Weather of any place!!
you can see Current temperature, feels like, sunny ,cloudy or rain, humidity, pressure, wind speed,etc.
Tech Stack:
React
OpenWeather API
HTML
CSS

Pls merge my PR under hacktoberfest-accepted label


lapack/gonum, mat: add Dpotrs and use it in Cholesky

Not really a necessary addition but I felt like adding something new to our lapack implementation and this looked easy enough to do within my free time constrains. Apart from that, I do think it is good to move as much of the computational stuff to lapack as possible and let mat only do the matrix handling around it.
Please take a look.

Oh, I knew there was something I wanted to do before creating a PR.

Doc comments added. Please take a look.

Thanks.


Video embedded in a  HTML tag

Since the video URL is a YouTube video i've to embed It using iframe.
Is possibile to use <video> so can customize my video player?

Since the video URL is a YouTube video i've to embed It using iframe.

here‘s what I do (PHP) to either embed YT or Vimeo players for media_type=video correctly; might be helpful to you: https://github.com/zorgch/zorg-code/blob/b4772a0611de37608927f77507c47259e06a28f3/www/includes/apod.inc.php#L172

Good morning, I don't understand what the code does, could it link to a visitable version? In essence, does it recover the content of the iframe? Being my goal to style the player I could try to simply enrich YouTube URLs with these APIs. https://developers.google.com/youtube/player_parameters This is for YouTube. I do not exclude proposing an extension of these APIs to obtain enriched URLs. Alternatively, you could retrieve the HTML of the iframe, modify it and add it to the document via JavaScript if necessary. Thanks for the contribution.


make firmware mqttsn_client_publisher failes

to run make on mqttsn_client_publisher firmware example failes with:
Makefile:239: /components/toolchain/gcc/Makefile.common: No such file or directory
make: *** No rule to make target '/components/toolchain/gcc/Makefile.common'.  Stop.

setting environment variable THREAD_SDK_ROOT to the thread SDK fixed the issue

right mentioned on the doc
https://www.homesmartmesh.com/docs/microcontrollers/nrf52/thread_sensortag/#firmware


Changing File Structure

We are adopting a new file-structure for our codebase. We are gonna migrate old components to the new file-structure.
TODO
Pages

[x] Home - @imabp
[x] Event - @Souvikns
[x] Team - @imabp
[x] Project - @Souvikns

I guess all is done.

I guess this issue is fixed

I am still fixing the navbar stuff, will send PR then

and some proptypes for navbar also there thats why


Add test dataset for trec tip of the tongue dataset

The test queries for the trec tot task are now available, and this pull request adds them in a similar way to how they are added for dev and train (no qrels are available yet, we can also wait to merge this until the qrels are available).

Thanks! A few points:

Can we rename it to trec-tot/2023/test? This is more aligned with the typical naming convention.
Are the sentence_annotations of a standard structure? If so, they should be represented as NamedTuples instead of dicts.
Can you add a metadata record and documentation for this dataset? (This is why the tests failed.)


Update single-focus extension

Description

Screencast

Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

I have added a confirm to quit, modified my command icon and adapted my changelog.


The MASK_HOST {host.here} is not TLS 1.3 host, this is not recommended

What does it mean?
I see MASK_HOST is taken as TLS_DOMAIN, do I really need it?
Also a quick example how to set proxy behind nginx along with real website is highly appreciated!

The proxy will be work with any MASK_HOST, but it will be detectable. The more detailed description is on https://github.com/alexbers/mtprotoproxy/issues/130.
Here are some examples how to set the proxy behind nginx: https://github.com/alexbers/mtprotoproxy/pull/119
Something like this:
stream {
        map $ssl_preread_server_name $name {
                google.com mtproxy;
                default https;
        }
        upstream mtproxy {
                server <IP_ADDRESS>:3256;
        }
        upstream https {
                server <IP_ADDRESS>:8443;
        }
        upstream e1 {
                server e1.ru:443;
        }
        server {
                listen 443 reuseport;
                listen [::]:443 reuseport;
                proxy_pass $name;
                proxy_protocol on;
                ssl_preread on;
        }

        server {
                listen 8443 reuseport proxy_protocol;
                proxy_pass e1;
        }
}

With HAProxy it looks a bit simpler.

@alexbers Pardon my dumbness, but I still don't understand what I should change to fix this "problem". The best thing which comes to my mind is putting an nginx with a real website with TLS v1.3 support and somehow making mtproxy accessible on the same port [how?]
Is disabling MASK at all a good solution? If yes, why MASK_HOST defaults to TLS_DOMAIN?

You should change the TLS_DOMAIN, for random site with tls 1.3 support, for example alexbers.com.
The proxy-server will be proxying "bad" clients to this host. This is needed to protect the proxy against active attacks, for example if scanner will try to distinguish a real TLS server from the fake TLS server by sending sophisticated TLS packets and look on the answers.
If the MASK is disabled, the proxy will be more detectable, but it will work though.

But if I set a "random" site, it will be more detectable, won't it?
Imagine my proxy is located on <IP_ADDRESS> IP. When scanner tries to establish connection to that server and gets "example.com" as MASK_HOST, a simple DNS query will reveal that there is no "example.com" on <IP_ADDRESS>.

The active scanner doesn't know the server name to put in SNI field in the TLS client hello packet to
make a server provide a proper certificate. To get the server name, the active scanner should be integrated with the passive one to get a set of server names.
In general this is possible to block with the method you describe but many things will break:

The DNS servers can resolve single host name to different IP addresses, for example, depending on client location like CDNs or for load balancing/fallback purposes
The companies often have private DNS servers which doesn't accessible from the outside. They can resolve some hostnames to public ips also (e.g. in DMZ)
The hosts can have more than one IP addresses with a webserver listening on all interfaces

Also you can set the TLS_DOMAIN to some name (e.g. google.com) and MASK_HOST to some different server (e.g. ya.ru). It will be very impractical to block those hosts because in this case it became possible to block any host in the internet just by sending requests to it with wrong hostnames.

So I don't have to put my real domain (whics resolves to the IP of myproxy), but use any domain with proper TLS v1.3 instead?

Yes, you can put any domain in TLS_DOMAIN and any valid tls 1.3 host in the MASK_HOST. By default the MASK_HOST is equal to TLS_DOMAIN

Sorry, but...

I put some (non-existed) domain in TLS_DOMAIN
I use correct (another) TLS 1.3 domain in MASK_HOST
mtprotoproxy still prints warning for me:  The MASK_HOST ... is not TLS 1.3 host, this is not recommended

At the same time, https://www.ssllabs.com/ssltest/analyze.html?d=MASK_HOST says that everything is fine:

What am I doing wrong?

May be the server sees the non-existing domain and fails to give a proper certificate.
If you tell your TLS_DOMAIN and MASK_HOST I can try to debug an issue. I am @bay3255 in tg

@Allineer As far as I understand, nginx itself might be the culprit, quoth this article:

NGINX is capable of forwarding PROXY protocol via stream module. <...> However, nginx SSL stream + Varnish listening on PROXY protocol won’t support HTTP/2 because nginx SSL stream does not know how to negotiate ALPN proto.

Using ip-address instead of domain in MASK_HOST, though, does allow to get the certificate from the nginx server at that address. Some additional investigation in the similar vein (in regards to haproxy, though) - over there #119


Error building bazel "gcc: unrecognized option '-no-canonical-prefixes'"

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):No
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):Description:	SUSE Linux Enterprise Server 11 (x86_64)
TensorFlow installed from (source or binary):source
TensorFlow version (use command below):master branch
Bazel version (if compiling from source):0.5.1
CUDA/cuDNN version:7.5
GPU model and memory:Tesla K20Xm
Exact command to reproduce:bazel build --config=opt --config=cuda //tensorflow/tools/pip_package:build_pip_package --verbose_failures

Describe the problem
Can't build bazel
Source code / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached. Try to provide a reproducible test case that is the bare minimum necessary to generate the problem.

It looks like you need a newer version of gcc. Unfortunately you're not building on an officially-supported OS, so most likely you'll have to figure out how to upgrade gcc or use Ubuntu. I'm going to close this issue since it's not a TensorFlow bug or feature request.


ESP as Controller

Why not use an ESP8266 like Wemos D1 mini. It has a faster CPU and also Bluetooth build in.

@fharni wrote

Why not use an ESP8266 like Wemos D1 mini. It has a faster CPU and also Bluetooth build in.

Hi,
ESP8266 based controllers have only one Analog input pin:

Most hardware Joysticks have a need of 2 Analog-pins for axis input (x and y)
Fingers use currently for each finger one analog input  that would mean additional 5 Analog-pins if a resistor based sensor is used.
If u think you would be able to use analog to digital converters then u get a bulkier device more wiring and its less beginner DIY friendly.

If an esp then i would suggest to buy one with enough analog pins like ESP32.
Wemos D1 mini do not have Bluetooth as far as i know, Could u provide the specs where u have seen one with ?
For myself i think i might give Arduino Nano 33 at later stages a try, at some point, not sure what is gonna be needed for later haptic feedback device.
Kind Regards

Ok, you are right. I mixed it up with the ESP32. Then my question will change to? Why not use the ESP32 as a controller? It has 18 ADCs and a lot more pins. Also it has bluetooth and wifi. The processor can operate between 80 and 240 MHz and has enough memory on it. On AliExpress I will get one for 6 €. Maybe one controller can handle both hands.
https://microcontrollerslab.com/esp32-pinout-use-gpio-pins/
The Arduino nano 33 IOT costs 20 €. It has 8 ADCs, a clock speed of 48 MHz and 256 KB flash memory.
https://store.arduino.cc/arduino-nano-33-iot

Going to close this now that we are finalising use of the ESP32 for bluetooth.


[WIP] use bitset in if-else category

@guolinke is my current approach right? should I use one bitset for each tree or each node?

@wxchan
I think both are okay.
For each node, the problem is need to use different variate name.

@guolinke I use Common::FindInBitset(cat_threshold_.data() + cat_boundaries_[cat_idx], cat_boundaries_[cat_idx + 1] - cat_boundaries_[cat_idx], int_fval) instead of bitset now. You can check if it's ok.


Consider grok and/or morphlines module for processing source files

Handy for (reasonably) arbitrary streams of text input, typically used for server log data.  Available in the Cloudera Dev Kit, Apache 2.0 licensed.
Morphlines is an ETL library; in this case, it's mostly the extraction we'd be looking at.
http://cloudera.github.io/cdk/docs/current/cdk-morphlines/index.html
http://cloudera.github.io/cdk/docs/current/cdk-morphlines/morphlinesReferenceGuide.html
There's some cruft that's not as desirable, as the lib was designed for the full ETL, whereas we're mostly looking at extraction and basic transformation.

I also fail to understand the suggestion. Given that this issue is already quite old, let's close it.


Seed Config within schema file

Problem

No place to set prisma seed command in environments without package.json (Deno, Rust, Dart, or others)
Suggested solution

Allow seed settings to be written in prisma files
seed development {
  command = "ts-node prisma/seed-dev.ts"
}

seed production {
  command = "ts-node prisma/seed.ts"
}

Alternatives

Allow setting of the seed command by environment variables
Additional context

prisma/prisma-client-go
Brendonovich/prisma-client-rust
odroe/prisma-dart

Yes, you can do whatever you want in your seed script. If your production and dev have differnet environment variables, just react to these in your script.

Cool, thx