funnel compatibility

Describe the Bug
andesite funnel and brass funnel cannot import items into Cabinet Manager of Storage Cabinet
But minecraft's hopper can import
Reproduction Steps
There are screenshots
Expected Result
Can it be imported?
Screenshots and Videos

Crash Report or Log
No response
Operating System
windows10
Mod Version
0.4.0d
Minecraft Version
1.18.1
Other Mods
Storage Cabinet
Additional Context
https://github.com/AshIndigo/Storage_Cabinet

Storage Cabinet does not implement the Fabric Transfer API, this is not our issue. Report it to them.

Well, although the author doesn't seem to be around lately


Drop tracing enabling flags, enable tracing by default

Currently, Promscale requires additional flags to enable tracing. With tracing GA the tracing option should be enabled by default. This requires

OTLP endpoint enabled by default
Remove tracing from beta features flag

i.e. OTLP endpoint should be by default enabled with port :9202 and using this feature shouldn'trequire --enable-beta-feature=tracing option.
Open Question: Should we drop these drop flags or deprecate them?

I'd say deprecate the enable-feature flag with logging that tracing is enabled by default. The OTLP flag should remain and will be always on.

Done with https://github.com/timescale/promscale/pull/1213


add C#

add Pro C# 5.0 and the .NET 4.5 framework,sixth edition
add book

Can also be closed. I really need to learn these Closing-Commit-Messages. Makes it a lot easier


Option to wipe dsu system only without touching it's userdata

It would be great if there would be an option to wipe only the dsu system which would make dirty flashing gsis possible to update them. With gsi_tool (adb shell), there is the option to wipe the dsu's userdata and preserve the installed GSI. I wonder if it would be possible to wipe only the dsu's system image. If this would be possible, it would only work in root or system mode.

I didn't tried, but i think is possible, i may look on that once i get some time, because that is really useful, thanks!

but i think is possible

Then we can update gsi for installed DSU !(●'◡'●)


chore: Add py3.10 to compatibility matrix across all services

Description
Adding py3.10 to compatibility matrix across all services
Motivation and Context
We are going to be upgrading our services to py3.10, so want to make sure everything will work as expected
How Has This Been Tested?
Tests will run on py3.10 as part of this PR
Documentation

CheckList

[X] PR title addresses the issue accurately and concisely
[ ] Updates Documentation and Docstrings
[ ] Adds tests
[ ] Adds instrumentation (logs, or UI events)

Looks good! Please fix broken tests before merging in


⚠ Samsung has degraded performance

In 0a5cdc9, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2543 ms

Resolved: Samsung performance has improved in 42621bd.


UI: Links in certificates domain names are incorrect

In the Infrastructure/Certificates page, open any existing certificate.
In the Domain Names frame, the CN and other AltNames of the cert are listed, as links.
These should be linked to https://domainname/ but are instead linked to /domainname, which means that clicking will send you to https://rancherserver/domainname which is incorrect and results in a Jetty error page.

Version - master jan 07
Verified fixed


add support for deleting expired aggregates

Codecov Report

Merging #178 (5cc400c) into main (9e8e6f5) will increase coverage by 0.91%.
The diff coverage is 90.19%.

:exclamation: Current head 5cc400c differs from pull request most recent head c4cef02. Consider uploading reports for the commit c4cef02 to get more accurate results

@@            Coverage Diff             @@
##             main     #178      +/-   ##
==========================================
+ Coverage   58.05%   58.96%   +0.91%
==========================================
  Files          56       56
  Lines        3257     3300      +43
==========================================
+ Hits         1891     1946      +55
+ Misses       1238     1226      -12
  Partials      128      128

Flag
Coverage Δ

unittests
58.96% <90.19%> (+0.91%)
:arrow_up:

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

Impacted Files
Coverage Δ

pkg/pipeline/extract/aggregate/aggregate.go
93.95% <89.65%> (-1.13%)
:arrow_down:

pkg/pipeline/extract/aggregate/aggregates.go
90.19% <90.90%> (+15.91%)
:arrow_up:

pkg/pipeline/utils/exit.go
100.00% <0.00%> (+47.82%)
:arrow_up:

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 9e8e6f5...c4cef02. Read the comment docs.


Identities created from external source allow duplicate email addresses

Re: https://github.com/Azure-Samples/active-directory-b2c-advanced-policies/blob/51798b065ef524be87c0f41339708ab4159bd54a/B2CPolicies/Final/b2ccharm.onmicrosoft.com_B2C_1A_base.xml
I'm not sure what mechanism B2C is using to validate that the user registering is not already registered, but this policy does not seem to persist the "signInNames" value for the record, this means someone who registers as an external user with<EMAIL_ADDRESS>can also register the same email<EMAIL_ADDRESS>and create two records in the directory with the same email address but different identity providers.
@rojasja

@omer-iqbal can you help with this?

The signInNames property is reserved for local accounts. Any email addresses stored in this property can be used with a password to sign the user in, without having to go to the social IDP. Therefore, the email addresses of social IDP users are stored in another property (otherMails) that is currently exposed through AD Graph.
Depending on a user's setting, an app's permissions or the IDP, a user's email address may never be sent in the token by the IDP. These policies are designed to work with the user id provided by the social IDP as the primary identifier, and without email address being sent in the token. That is why email is not relied upon.
Another aspect is that some social IDPs permit unverified email addresses on accounts, which could be sent in the token. Therefore, even if available, the default policies do no rely on email addresses since a malicious user can create a social IDP account with another user's email without verification and use it to take over another account.
However, if business rules require, these policies can be modified to check whether an email is verified by IDP and then rely on it for the kind of scenarios you mention. But that could adversely impact the number of users that can successfully sign up and sign in.

However, if business rules require, these policies can be modified to check whether an email is verified by IDP and then rely on it for the kind of scenarios you mention. But that could adversely impact the number of users that can successfully sign up and sign in.

Thanks for the reply @omer-iqbal
Are there any examples/snippets on how we might accomplish this? We're not currently using any social logins, we're only using local accounts and an external (oracle) identity provider for employees.


🐛: Workorder : Code not minified?

Description

React devtools extension complaining that this app ships both a production and a development build of react. Seems to only be workorder that does this. Unsure why. Needs investigating🔎
Reproduce

Install the react devtools chromium extension
Load workorder application in production.
The extension turns red and a warning is issued when pressing it.

Expected behavior
Extensions should not indicate that the development version of react is present in production.
note: This may be a bug in the extension caused by our single spa architecture. But if it is its weird how inconsistently consistent it is.

Agreed to close


update README.md

Codecov Report

Merging #15 (d07f3b2) into master (656c789) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #15   +/-   ##
=======================================
  Coverage   78.80%   78.80%
=======================================
  Files           9        9
  Lines        1184     1184
=======================================
  Hits          933      933
  Misses        251      251

Flag
Coverage Δ

unittests
78.80% <ø> (ø)

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

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 656c789...d07f3b2. Read the comment docs.


Error: Chunk.entry was removed. Use hasRuntime()

I get this error when using last version of webpack "webpack": "2.1.0-beta.25"
my webpack configuration
 loaders: [
    {
      test: /\.css$/,
      exclude: /node_modules/,
      loader: ExtractTextPlugin.extract(
        'style-loader',
        'css-loader?modules&importLoaders=1!postcss-loader'
      ),
    }
  ]
  plugins: [
    new ExtractTextPlugin('[name].[contenthash].css')
  ]

Error: Chunk.entry was removed. Use hasRuntime()
    at Chunk.Object.defineProperty.get (/home/kareem/goodsense/marketplace/node_modules/webpack/lib/Chunk.js:34:9)
    at /home/kareem/goodsense/marketplace/node_modules/extract-text-webpack-plugin/index.js:201:13
    at Array.filter (native)
    at Compilation.<anonymous> (/home/kareem/goodsense/marketplace/node_modules/extract-text-webpack-plugin/index.js:200:37)
    at Compilation.applyPlugins (/home/kareem/goodsense/marketplace/node_modules/webpack/node_modules/tapable/lib/Tapable.js:25:14)
    at Compilation.seal (/home/kareem/goodsense/marketplace/node_modules/webpack/lib/Compilation.js:542:7)
    at Compiler.<anonymous> (/home/kareem/goodsense/marketplace/node_modules/webpack/lib/Compiler.js:468:16)
    at /home/kareem/goodsense/marketplace/node_modules/webpack/node_modules/tapable/lib/Tapable.js:152:11
    at Compilation.<anonymous> (/home/kareem/goodsense/marketplace/node_modules/webpack/lib/Compilation.js:452:10)
    at /home/kareem/goodsense/marketplace/node_modules/webpack/lib/Compilation.js:423:12
    at /home/kareem/goodsense/marketplace/node_modules/webpack/lib/Compilation.js:335:10
    at /home/kareem/goodsense/marketplace/node_modules/webpack/node_modules/async/lib/async.js:52:16
    at done (/home/kareem/goodsense/marketplace/node_modules/webpack/node_modules/async/lib/async.js:246:17)
    at /home/kareem/goodsense/marketplace/node_modules/webpack/node_modules/async/lib/async.js:44:16
    at /home/kareem/goodsense/marketplace/node_modules/webpack/lib/Compilation.js:335:10
    at /home/kareem/goodsense/marketplace/node_modules/webpack/node_modules/async/lib/async.js:52:16
    at done (/home/kareem/goodsense/marketplace/node_modules/webpack/node_modules/async/lib/async.js:246:17)
    at /home/kareem/goodsense/marketplace/node_modules/webpack/node_modules/async/lib/async.js:44:16
    at /home/kareem/goodsense/marketplace/node_modules/webpack/lib/Compilation.js:335:10
    at /home/kareem/goodsense/marketplace/node_modules/webpack/node_modules/async/lib/async.js:52:16
    at done (/home/kareem/goodsense/marketplace/node_modules/webpack/node_modules/async/lib/async.js:246:17)
    at /home/kareem/goodsense/marketplace/node_modules/webpack/node_modules/async/lib/async.js:44:16
    at /home/kareem/goodsense/marketplace/node_modules/webpack/lib/Compilation.js:335:10
    at /home/kareem/goodsense/marketplace/node_modules/webpack/node_modules/async/lib/async.js:52:16
    at done (/home/kareem/goodsense/marketplace/node_modules/webpack/node_modules/async/lib/async.js:246:17)
    at /home/kareem/goodsense/marketplace/node_modules/webpack/node_modules/async/lib/async.js:44:16
    at /home/kareem/goodsense/marketplace/node_modules/webpack/lib/Compilation.js:335:10
    at /home/kareem/goodsense/marketplace/node_modules/webpack/node_modules/async/lib/async.js:52:16
    at done (/home/kareem/goodsense/marketplace/node_modules/webpack/node_modules/async/lib/async.js:246:17)
    at /home/kareem/goodsense/marketplace/node_modules/webpack/node_modules/async/lib/async.js:44:16

Try using 2.0.0-beta.3 if you are using 2.0.0-beta.4 (we had the same issue and this fixed it). If even after that the bundle fails, try calling extract with an object containing a "fallbackLoader" and a "loader" property and assign them the property values you're passing now. Good luck!

I have the same issue, can not fixed by using 2.0.0-beta.3. Do you have any method else?

I got mine to work. It turned out the 1.x version was being loaded.
From package.json
  "devDependencies": {     "@types/node": "^6.0.52",     "angular2-template-loader": "^0.6.0",     "awesome-typescript-loader": "^2.2.4",     "clean-webpack-plugin": "^0.1.14",     "concurrently": "^3.1.0",     "copy-webpack-plugin": "^4.0.1",     "css-loader": "^0.26.1",     "extract-text-webpack-plugin": "^2.0.0-beta.4",     "file-loader": "^0.9.0",     "html-webpack-plugin": "^2.25.0",     "jquery": "^3.1.1",     "json-loader": "^0.5.4",     "node-sass": "^4.1.1",     "raw-loader": "^0.5.1",     "rimraf": "^2.5.4",     "sass-loader": "^4.1.1",     "source-map-loader": "^0.1.5",     "style-loader": "^0.13.0",     "to-string-loader": "^1.1.5",     "ts-helpers": "^1.1.1",     "typescript": "2.0.3",     "url-loader": "^0.5.6",     "webpack": "^2.2.0-rc.1",     "webpack-dev-server": "^1.16.2"   }
in my webpack
            {                 test: /\.scss$/,                 exclude: /node_modules/,                 loader: [                             ExtractTextPlugin.extract({ fallbackLoader: 'style-loader', loader: ['css-loader'] }),                             'to-string-loader',                             'css-loader',                             'sass-loader'                         ],             },

+1
@RolfVeinoeSorensen thank you. I had the exact same problem.


test against Julia 1.3 in appveyor

Looks like 1 is no longer linked to "latest stable release" anymore.

Codecov Report

Merging #15 into master will decrease coverage by 0.07%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master     #15      +/-   ##
=========================================
- Coverage   72.68%   72.6%   -0.08%
=========================================
  Files          11      11
  Lines         388     387       -1
=========================================
- Hits          282     281       -1
  Misses        106     106

Impacted Files
Coverage Δ

src/types/page.jl
96.22% <0%> (-0.07%)
:arrow_down:

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 dfb715d...212b5f1. Read the comment docs.


Stats about webp and jpg xr

Would like to see stats around new image formats

webp is done
Chrome doesn't do jpg xr so we can't get those stats.


Add dynamic progress bar to improve scanning feedback

I was thinking about how to address the feedback void between pressing Return and seeing the rendered file report(s). This void is especially long when scanning directories with large numbers of files.
Since rendering the file reports in a live manner such that they remain in a deterministic order is tricky due to concurrency, I instead landed on adding a progress bar which will update as a scan progresses.
This PR adds a simple, thread-safe progress bar that will update as each file or archive in a scan path is processed when running mal analyze or mal scan:
$ go run cmd/mal/mal.go analyze /usr/bin/
🔎 Scanning "/usr/bin/"
Processing discovered file(s)...  27% ▐▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒                    ▐ (441/1586) [6s:6s]

It's important to note that the bar will update across multiple lines if additional lines are written to stdout, so I moved several of our logger.Errorf statements in scan.go to .Warnf since we're returning the critical errors most of the time anyway. I also made this feature opt-out for use-cases where the progress bar will be rendered incorrectly (CI mostly).

I like this conceptually, but we should ensure that the solution doesn't impact our ability to address https://github.com/chainguard-dev/malcontent/issues/489 - which is a root cause for the long delay for results. The API was designed to stream results as soon as they were available -  I think we lost that in the move to parallelism.
That said, I do think the progress bar is a great idea.

This is at odds with the re-adding of streaming output in the terminal for analyze/scan in #617.
It's possible that we can use third-party UI library to store the scrolling output in one container and then the progress bar in another container but that seems like a lot of effort for a simple progress bar.


For long captions uitextview would be better instead of uilabel

If a photo has long caption, it goes over photo, an uitextview with maximum line option would be better for captions.

@turushanaktay. I'll fix it too :+1:  but priority is lower than others. pull request is always welcome:)

label's string goes over photo is worst, so I adapt .ByTruncatingTail for it now.
whether I should use adjustsFontSizeToFitWidth or not is next problem anyway.

ah you are right, I just edited label's line number to zero, that's why it went over photo, but edited into uitextview edition already but code is not well organized I must clean it before pull :)


support instrumentation scope

related to #177

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

Project coverage is 83.81%. Comparing base (cfe4020) to head (42493f5).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #202      +/-   ##
==========================================
+ Coverage   83.58%   83.81%   +0.22%
==========================================
  Files          19       19
  Lines         780      791      +11
==========================================
+ Hits          652      663      +11
  Misses        102      102
  Partials       26       26

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

🚨 Try these New Features:

Flaky Tests Detection - Detect and resolve failed and flaky tests


Post Readtime Blog Guide leads to errors in getPostsWithRT.ts

I've been struggling to implement the post readtime addition as explained in the blog post. I found this issue #74 and that helped me amend the code in that file to the below:
import type { MarkdownInstance } from "astro";
import type { CollectionEntry } from "astro:content";
import { slugifyStr } from "./slugify";
import type { BlogFrontmatter } from "@content/_schemas";

export const getReadingTime = async () => {
  // Get all posts using glob. This is to get the updated frontmatter
  const globPosts = import.meta.glob<MarkdownInstance<BlogFrontmatter>>(
    "../content/blog/*.md"
  );

  // Then, set those frontmatter value in a JS Map with key value pair
  const mapFrontmatter = new Map();
  const globPostsValues = Object.values(globPosts);
  await Promise.all(
    globPostsValues.map(async globPost => {
      const { frontmatter } = await globPost();
      mapFrontmatter.set(slugifyStr(frontmatter), frontmatter.readingTime);
    })
  );

  return mapFrontmatter;
};

const getPostsWithRT = async (posts: CollectionEntry<"blog">[]) => {
  const mapFrontmatter = await getReadingTime();
  return posts.map(post => {
    post.data.readingTime = mapFrontmatter.get(slugifyStr(post.data));
    return post;
  });
};

export default getPostsWithRT;

But I get compilation errors on lines 4 and 28:
import type { BlogFrontmatter } from "@content/_schemas";
I'm not familiar with this approach of importing schemas and I'm not sure what file it's supposed to be looking for that I might be missing.
post.data.readingTime = mapFrontmatter.get(slugifyStr(post.data));
I think this is to do with the slugify string import but again not super sure why. Sorry for asking some likely sill questions. Still new to Astro in general but love this template.

Scratch that, mostly got it working by changing:
const globPosts = import.meta.glob("../content/blog/*.md") as Promise<CollectionEntry<"blog">["data"][]>;
to
const globPosts = import.meta.glob("../content/blog/*.md");
But although I can see it getting the reading time if I breakpoint it, it comes through as undefined, wondering if that's an issue with the above amendment, probably is.

Sorted it I was being dim, will close. Thank you.


deploy-board should require boto

When I install deploy-board, I get an error about a missing module "boto".
Adding "boto==2.42.0" to the requirements.txt fixes the problem.

I can not reproduce the problem following this page: https://github.com/pinterest/teletraan/wiki/Installation-for-developers, which command in particular you run in the issue?

I see the error on the resulting webpage (on port 8888) after setting up deploy-board.  It's reproducable using the vagrant box (commit a4201f2a2f2e17b14ed8a552ceab2f0d2a788f4a)
cd vagrant
vagrant up
vagrant ssh
cd /tmp/
virtualenv venv
source venv/bin/activate
cd ~/teletraan/deploy-board/
pip install -r requirements.txt
./run.sh start

(open webbrowser to http://localhost:8888/)
Webpage shows:
ImportError at /

No module named boto

Request Method: 	GET
Request URL: 	http://localhost:8888/
Django Version: 	1.6.3
Exception Type: 	ImportError
Exception Value:

No module named boto

Exception Location: 	/home/vagrant/teletraan/deploy-board/deploy_board/webapp/helpers/s3_helper.py in <module>, line 19
Python Executable: 	/tmp/venv/bin/python
Python Version: 	2.7.6
Python Path:

['/home/vagrant/teletraan/deploy-board',
 '/home/vagrant/teletraan/deploy-board',
 '/tmp/venv/lib/python2.7',
 '/tmp/venv/lib/python2.7/plat-x86_64-linux-gnu',
 '/tmp/venv/lib/python2.7/lib-tk',
 '/tmp/venv/lib/python2.7/lib-old',
 '/tmp/venv/lib/python2.7/lib-dynload',
 '/usr/lib/python2.7',
 '/usr/lib/python2.7/plat-x86_64-linux-gnu',
 '/usr/lib/python2.7/lib-tk',
 '/tmp/venv/local/lib/python2.7/site-packages']

Server time: 	Tue, 18 Oct 2016 22:26:08 +0000

Thanks, the issue has been fixed by : https://github.com/pinterest/teletraan/commit/267243ba8758b410185c4439cdd85081a02a9b83


Bike Sharing Rebalancing Problem as VRP with pickups and deliveries

Hello everyone!
First of all thank you for your time :)
I was wondering if it is possible to implement the Bike Sharing Rebalancing problem as a kind of VRP problem.
The idea of the problem is the following:
Multiple customers who have shipments and deliveries (The bike stations which need be rebalanced taking or putting bikes).
The trucks have a fixed capacity (e.g 10 bikes).
In this case, the transported commodity is the same. For instance, bikes picked from a station could be put in other station in the same route. In VRP with deliveries, the deliveries are taken at the beginning,  in the depot.
I found some paper which uses JSprit to solve this problem but I don't know how to implement it :(
Please, if some of you could give me some light or example to start I will be very grateful.
Thanks so much in advance!

Thanks for this. Please ask these kind of questions at discuss.graphhopper.com


Remove reporter from library owner

When debugging #312 I found the reporter in library owner was not used and caused the compiler to skip writing core files for modules followed. It turns out some changes have been made to make the delayed reporter in the library compiler not working, which is mostly due to my careless reviewing of https://github.com/aya-prover/aya-dev/commit/b10d16ad26d5197836d992af378be0b4bdce2c71 which implicitly breaks the fixture in https://github.com/aya-prover/aya-dev/commit/c7b3ade253bff180ad2daf059e54f6c1a4e65add
hit hit kiva

Merge?

bors r+

bors r+


pyLSV2.err.LSV2InputException: highest address is 15000 but address of last requested element is 26733

Hi,
Library:
pyLSV2 1.3.3
Controller:
TNC-Type:	TNC640
NC-Version:	340590 08 SP7
PLC-Version:	17-M008-V01SP11
I am trying to read DWord 26732, which for my TNC 640 holds the actual tool number, and i get this error
>>> print(con.read_plc_memory(26732, lsv.const.MemoryType.DWORD, 1)) Traceback (most recent call last):   File "<stdin>", line 1, in <module>   File "C:\Users\bernardi\virtual-env\heidenhain\lib\site-packages\pyLSV2\client.py", line 1286, in read_plc_memory raise LSV2InputException( pyLSV2.err.LSV2InputException: highest address is 15000 but address of last requested element is 26733
I checked the source code "const.py", and I am not sure why for DWORD the max elements is
max_elements = self._sys_par.number_of_words / 4
instead of
max_elements = self._sys_par.number_of_words / 2

Is this correct?
As far as i know 1 DWORD = 2 WORD = 4 BYTE --> if I get a total of 100 words in my controller, I should be able to see them also as 200 bytes or 50 dwords.
This is from the actual SYS_\runtime\PlcDataMarker.txt file in the service data generated by the controller, just to show where I found the memory address:
<Global>\NN_DG_TOOL_NUMBER D26732 D=0
Thanks

Ho @MountainKing91,
yes, the sizes for WORD and DWORD are correct. The D indicates that it is a double word so two words stuck together.
From your explanation it seems to be the same problem that was discussed in #48. You should be able to get the value you are expecting by reading number 6683 (= 26732 / 4). This is because of a bad assumption on my part on how the addressing of the memory location works.
Technical explanation:
We now know that the control has one big memory area shared between all numerical data values (BYTE, WORD, DWORD etc.). Byte 0 together with Byte 1 are the same as Word 0. read_plc_memory takes the size of the value into account so all values can be accessed sequentially. The control instead uses a format like D26732 where the number is the address of the first byte that makes up the actual value. In one of the next releases I will add a new function that accepts the addressing scheme used by the control to reduce the confusion.

Hi,

We now know that the control has one big memory area shared between all numerical data values (BYTE, WORD, DWORD etc.). Byte 0 together with Byte 1 are the same as Word 0.

Yes, this is also how many PLCs work or used to work (older Siemens models, Delta, etc.). I did not try the read_path method so I did not double check what I was reading, but I noticed something looked like being "offset" comparing what I read with pyLSV2 and the actual table in the controller. Tomorrow I should have access to the machine and I will try read_plc_memory according to your advice and also read_path.
Thanks for your detailed explanation.

The latest release, v1.4 introduced a new function read_plc_address(self, address: str) which adds support for using the nativ addressing scheme. This should behave more like what you expected at first. see #68


jumps 10 min. up to 1 hour; compared to 12 months ago

tl;dr I'm just looking for feedback before I find myself doing git bisect this weekend to narrow this down...
Output of restic version
$ /home/jzacsh/media/src/restic/bin/restic version
restic 0.7.0 (v0.7.0-21-g357e2e40)
compiled with go1.8.3 on linux/amd64

How did you start restic exactly? (Include the complete command line)
$ cat ~/.config/restic-exclude
$HOME/back/local
$HOME/.android/
$HOME/.cinnamon/
$HOME/.cache/
$HOME/.config/google-chrome/
$HOME/.mozilla/firefox/
$HOME/.gnome/apps/
$HOME/.gradle/
$HOME/.npm/
$HOME/.thumbnails/
$HOME/.tor-browser*/
$HOME/.opam/
$HOME/.local/share/lxc/*/rootfs
$ANDROID_HOME/
$ANDROID_HOME/../studio
$HOME/media/src/linux-kernel/
$HOME/tmp/
$HOME/usr/local/vm/
$ /home/jzacsh/media/src/restic/bin/restic backup \
    --repo /home/jzacsh/back/local/restic \
    --exclude-file /home/jzacsh/.config/restic-exclude \
    /home/jzacsh

What backend/server/service did you use?
n/a; local filesystem, same as source (one disk, one partition)
Expected behavior
Expected this to take 10 minutes. This exact command I have logs going back over a year for.
Actual behavior
Running time, since update to 0.7.0, is now an hour. I actually upgraded said machine because a different laptop I installed restic on the other day, was showing 1hour+ backup times, and I thought, "huh, my old machine doesn't take that long" ... Well, now that machine takes an hour also :P
Steps to reproduce the behavior
I plan to checkout old versions, like v0.3.0, and see if I can narrow down when restic started taking so long. But I thought I'd just open this bug to have a discussion first, before I start doing a million checkouts...
Do you have any idea what may have caused this?
I unfortunately didn't save the hash my git repo for restic was at, before I did a git pull, so I cannot tell you exactly which ref my old restic was at. (I have logs of restic version output, which my script always executed, but back then restic just said, "unknown  version compiled with go 1.6"). However, the timestamp on some of my directories in my git repo say "Jun 2016", so I'll pick old versions, based on that.

Hey, thanks for raising this issue. I've got a few ideas you can try:

Unfortunately you did not include the actual backup output for restic, can you do that? Is there a line using parent snapshot [...]?
Write a debug log and have a look for a few files, there should be information in the debug log which tells you what restic does. Usually it tries to check files based on timestamps and use the old content from the previous backup if the files haven't changed. Do you see that?
Use git reflog to see which commit was checked out before the last pull, so you have a starting point for the bisect

I suspect that the parent snapshot detection does not work (somehow), so restic re-reads and re-hashes all files (which, at least for a local backend, takes a lot longer). Can you observe high CPU load and much IO from restic?

@fd0, thanks for the quick response; some quick answers but I'll be back with more details in a bit...

Unfortunately you did not include the actual backup output for restic, can you do that? Is there a line using parent snapshot [...]?
Yup, here's seems parent snapshots are detected, per the last two runs' logs:

+ /home/me/media/src/restic/bin/restic backup --repo /home/me/back/local/restic --exclude-file /home/me/.config/restic-exclude /home/me
using parent snapshot 6bce45bb
scan [/home/me]
[0:08] 47179 directories, 209123 files, 38.748 GiB
scanned 47179 directories, 209123 files in 0:08
[1:01:30] 100.00%  0B/s  38.748 GiB / 38.748 GiB  256302 / 256302 items  0 errors  ETA 0:00
duration: 1:01:30, 10.75MiB/s
snapshot 376a8058 saved

+ /home/me/media/src/restic/bin/restic backup --repo /home/me/back/local/restic --exclude-file /home/me/.config/restic-exclude /home/me
using parent snapshot 376a8058
scan [/home/me]
[0:08] 47179 directories, 209123 files, 38.748 GiB
scanned 47179 directories, 209123 files in 0:08
[1:01:34] 100.00%  0B/s  38.748 GiB / 38.748 GiB  256302 / 256302 items  0 errors  ETA 0:00

duration: 1:01:34, 10.74MiB/s
snapshot 1c77a790 saved

Write a debug log and have a look for a few files, there should be information in the debug log which tells you what restic does. Usually it tries to check files based on timestamps and use the old content from the previous backup if the files haven't changed. Do you see that?

Perfect, this is running now. Hopefully this will show me something glaring/obvious before I start comparing versions. I'll report back  what I find in these logs.

Use git reflog to see which commit was checked out before the last pull, so you have a starting point for the bisect

Great - this is a good starting point (the first is a commit from August, so this is good enough - but I'm not sure if it's technically the exact ref I had before doing a pull, since that might have not caused a fast-forward?)
20170713  357e2e40 (HEAD -> master, origin/master, origin/HEAD) HEAD@{0}: pull origin master: Fast-forward
20160816  812cb0ba HEAD@{1}: pull origin master: Fast-forward
20160720  e8e45fe2 HEAD@{2}: pull origin master: Fast-forward
20160717  b8c7622a HEAD@{3}: clone: from git://github.com/restic/restic.git

(I prepended dates to the lines...)

I suspect that the parent snapshot detection does not work (somehow), so restic re-reads and re-hashes all files (which, at least for a local backend, takes a lot longer).

So, I guess is ^this ruled out by the above logs showing using parent snapshot?

Can you observe high CPU load and much IO from restic?

I'll keep an eye out & report back. FWIW: on my weaker laptop (not the one that had restic running in 10-min. backups for a year), where I first got suspicious last week, a fresh restic backup crashed gnome and ground things to a halt ... but I'l deal with that case later.

Does maybe your hostname change in between backups (sometimes a problem with Docker/rkt/kubertenes...)?

Nope, nothing so interesting on my machines.

This is a bit of a mystery, so I'm eager to find out what's going on here. Did you observe CPU load and/or IO?

@fd0 since these backups take so long, I let it run and forgot about it. I just came back tonight and found my debug.log is 112G. It filled up my local disk until things came to a halt & restic exited with a panic "no space left on device" I'll dig in later this week and make sense of it, but if you'd like I'd be happy to chat 1:1 at some point over IRC/email with exact outputs from the file for you to see.
otherwise, I'll report back here if I start making sense of the debug.log, and have ideas of my own.

Oh wow, 112G of debug log for about 40G of data? Something is really off here! What's your timezone? I'm usually available in the evening (Berlin time, CEST, GMT+2) on IRC.

So, did you find out what went wrong? We've recently merged several fixes for similar things, can you try again with the latest master branch?
I'm going to close this issue for now as it is quite old, please feel free to add further comments (and then we can easily reopen the issue). Thanks!


Setup postman

Use postman for testing new and existing environments (e.g. a new L2 network) to make sure that they behave as expected
Use cases

[ ] E2E tests
[ ] API documentation
[ ] Test L2 network compatibility

To this issue can help close #906 because we can import openapi.json to create a postman collection.

Tooling will be evaluated again with the bigger migration of the Safe Client Gateway.

E2E tests can be added to the repo.
API docs can be generated with OpenAPI


navbar-toggler-icon-bg not in dark mode when data-bs-theme is directly set on navbar

Prerequisites

[X] I have searched for duplicate or closed issues
[X] I have validated any HTML to avoid common problems
[X] I have read the contributing guidelines

Describe the issue
When setting data-bs-theme to dark on the navbar element, the toggler icon will show up in black instead of white. If you set it on the parent, it will show the white color as expected.
Reduced test cases
.
What operating system(s) are you seeing the problem on?
Windows
What browser(s) are you seeing the problem on?
Chrome, Safari, Firefox, Microsoft Edge, Opera
What version of Bootstrap are you using?
5.3.0-alpha1

Could I participate in this issue?

Prerequisites

[x]  I have searched for duplicate or closed issues
[x]  I have validated any HTML to avoid common problems
[x]  I have read the contributing guidelines

Describe the issue
When setting data-bs-theme to dark on the navbar element, the toggler icon will show up in black instead of white. If you set it on the parent, it will show the white color as expected.
Reduced test cases
.
What operating system(s) are you seeing the problem on?
Windows
What browser(s) are you seeing the problem on?
Chrome, Safari, Firefox, Microsoft Edge, Opera
What version of Bootstrap are you using?
5.3.0-alpha1

+1

Duplicate of #37760.


Logout function

Any function/way to explicitly let the user logout?

@AsianZeus implemented in version 1.7.11


ceph-mon: remove unnessary command

It appears it's not necessary to find the path of mkdir since it's the same most of the time (as far as I can tell).
Closes: https://github.com/ceph/ceph-ansible/issues/3064
Signed-off-by: Sébastien Han<EMAIL_ADDRESS>

Hum I guess we had a good reason in the end, we don't test on Ubuntu anymore so we missed this.

Closed in favor of #3101


Webostv custom config path

Description:
This PR changes the default path where the media_player.webostv and notify.webostv store their config (ie. pairing key file). It used to be $HOME/.pylgtv and now defaults to $HASS_CONFIG_DIR/webostv.conf.
Related issue (if applicable): fixes #5645
Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.github.io#WIP
Example entry for configuration.yaml (if applicable):
media_player:
  - platform: webostv
    host: mytv.lan
    filename: webostv.conf

notify:
  - platform: webostv
    host: mytv.lan
    filename: webostv.conf

Checklist:
If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated in home-assistant.github.io

If the code communicates with devices, web services, or third-party tools:

[x] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[x] New dependencies have been added to the REQUIREMENTS variable (example).
[x] New dependencies are only imported inside functions that use them (example).
[x] New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[x] New files were added to .coveragerc.

If the code does not interact with devices:

[ ] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[ ] Tests have been added to verify that the new code works.

Woops, this needs to be rebased. Re-opening shortly.


video_streaming_quality and several other entities missing from battery doorbel

Please check Services, Known Bug / Issues and Troubleshooting over here first: https://github.com/fuatakgun/eufy_security/blob/master/README.md
Describe the bug
For my battery doorbel I used to check if select.voordeur_video_streaming_quality was set to “Low / Low Encoding” to see if streaming would work from HA. Is that entity no longer there, along with several other ones that became unavailable. (deleted those because I thought it was by design).
To Reproduce
Steps to reproduce the behavior:

Install version 2.5.0
Go to doorbell device to see unavailable/missing entries

Expected behavior
_video_streaming_quality and other entities to be there
Screenshots
none
**Hardware Information about Home Assistant
Rpi4
Versie: core-2022.7.7
Type installatie: Home Assistant OS
**Hardware Information about Cameras

Battery doorbel T8210
Live Streaming Protocol: P2p

Additional context
Add any other context about the problem here.

fixed with latest version, sorry for churn, will be released in couple of minutes

Wow, thats fast! Thanks!

it is easy to fix when you break it yourself (unintentionally:-) )

I installed 2.6.1, and even triued removing the integration and adding it again, but I still miss all the combo's I'm afraid:

I'm also possibly seeing the same issue with my Solocam E20's

The dropdowns were working up until a week or two ago.

Probably to be expected: Going back to 2.4 recreates the items for me, and upgrading to 2.6.2 again disables them like the screenshot above as they are unavailable again.

try with latest version

Yes! Everything is well again. Thank you very very much!


Lint & format

[x] set up linting
[x] set up code format/prettifier
[x] run in workflow

closed by #16


If only 1 address in picklist, and 'enter' pressed, format this address

If the user presses 'enter' and only one address is shown in the picklist, choose this address to format.

This is now fixed. See commit 72cfabd7125c4d9a04384ddca39b9b15f12c0a86


Aristotle definitions / first order logic

Pls dont beat me hard for the following, its my assumption. I think having the FOL definitions for some essential concepts would bring much more power to the onthology.
For example, instead of having a plain description like "Amorhpous structure is ....", we can have:

some basic concepts: material, short-range order (SRO), long-range order (LRO), crystal lattice (CL)
next:

Amorhpous is a: material, which has some SRO, no LRO, no CL
This will allow the model to infer automatically, whether some uploaded instance is amorphous or not, based on some basic properties asserted for that instance.
The same thing can be for grain boundaries, defects etc. This would require having some more detailed basic concepts to build axioms on tope of that.

Generally this is what we are aiming at and doing. I.e. using genus-differentia definitions in the form A is a B which C / A is a B during which C.
Here the concept A is defined in terms of its superclass B which has n differentia stated in C
This allows us to map concepts from the application level onotologies to mid- and domain level ontologies such as MWO, HDO, or even BFO.
The basic concepts you are referring to would be something that need to be established at the level of MWO and i would propose to split this issue and move the suggestion part to that repo.

CMSO currently also includes some crystal structure concepts which are planned to be moved to a "Crystal structure onotlogy" (CSO). Here we have some conflicts due to legacy developments with DISO and therefore put the discussion on hold.
Developing a CSO onotlogy that incorporates these concepts could also be a nice joint sidequest.


Ubuntu中运行import secretflow as sf时出现错误ImportError: cannot import name 'GcsClient' from 'ray._private.gcs_utils' (/home/gt/anaconda3/envs/sf/lib/python3.8/site-packages/ray/_private/gcs_utils.py)

import secretflow as sf
Traceback (most recent call last):
File "", line 1, in
File "/home/gt/anaconda3/envs/sf/lib/python3.8/site-packages/secretflow/init.py", line 16, in
from . import (
File "/home/gt/anaconda3/envs/sf/lib/python3.8/site-packages/secretflow/data/init.py", line 15, in
from . import horizontal, vertical
File "/home/gt/anaconda3/envs/sf/lib/python3.8/site-packages/secretflow/data/horizontal/init.py", line 15, in
from .dataframe import HDataFrame
File "/home/gt/anaconda3/envs/sf/lib/python3.8/site-packages/secretflow/data/horizontal/dataframe.py", line 21, in
from secretflow.data.base import DataFrameBase, Partition
File "/home/gt/anaconda3/envs/sf/lib/python3.8/site-packages/secretflow/data/base.py", line 24, in
from secretflow.device import PYUObject, reveal
File "/home/gt/anaconda3/envs/sf/lib/python3.8/site-packages/secretflow/device/init.py", line 15, in
from .device import *
File "/home/gt/anaconda3/envs/sf/lib/python3.8/site-packages/secretflow/device/device/init.py", line 16, in
from .heu import HEU
File "/home/gt/anaconda3/envs/sf/lib/python3.8/site-packages/secretflow/device/device/heu.py", line 28, in
import secretflow.distributed as sfd
File "/home/gt/anaconda3/envs/sf/lib/python3.8/site-packages/secretflow/distributed/init.py", line 16, in
from .primitive import get, kill, production_mode, remote, set_production, shutdown
File "/home/gt/anaconda3/envs/sf/lib/python3.8/site-packages/secretflow/distributed/primitive.py", line 20, in
import fed
File "/home/gt/anaconda3/envs/sf/lib/python3.8/site-packages/fed/init.py", line 15, in
from fed.api import (get, init, kill, remote,
File "/home/gt/anaconda3/envs/sf/lib/python3.8/site-packages/fed/api.py", line 23, in
import fed._private.compatible_utils as compatible_utils
File "/home/gt/anaconda3/envs/sf/lib/python3.8/site-packages/fed/_private/compatible_utils.py", line 20, in
from ray._private.gcs_utils import GcsClient
ImportError: cannot import name 'GcsClient' from 'ray._private.gcs_utils' (/home/gt/anaconda3/envs/sf/lib/python3.8/site-packages/ray/_private/gcs_utils.py)

看起来是你安装了非SecretFlow要求的ray版本

SecretFlow要求安装secretflow-ray （2.2.0）
请不要同时安装官方ray，会产生冲突。如果有安装，请确保先卸载ray以及secretflow-ray，然后重新安装secretflow-ray

删除非官方ray后，是secretflow-ray  2.2.0 与secretflow-rayfed 0.1.1a4这两个版本，
运行后出现了新的错误如下：
import secretflow as sf
Traceback (most recent call last):
File "", line 1, in
File "/home/gt/anaconda3/envs/sf/lib/python3.8/site-packages/secretflow/init.py", line 16, in
from . import (
File "/home/gt/anaconda3/envs/sf/lib/python3.8/site-packages/secretflow/data/init.py", line 15, in
from . import horizontal, vertical
File "/home/gt/anaconda3/envs/sf/lib/python3.8/site-packages/secretflow/data/horizontal/init.py", line 15, in
from .dataframe import HDataFrame
File "/home/gt/anaconda3/envs/sf/lib/python3.8/site-packages/secretflow/data/horizontal/dataframe.py", line 21, in
from secretflow.data.base import DataFrameBase, Partition
File "/home/gt/anaconda3/envs/sf/lib/python3.8/site-packages/secretflow/data/base.py", line 24, in
from secretflow.device import PYUObject, reveal
File "/home/gt/anaconda3/envs/sf/lib/python3.8/site-packages/secretflow/device/init.py", line 15, in
from .device import *
File "/home/gt/anaconda3/envs/sf/lib/python3.8/site-packages/secretflow/device/device/init.py", line 16, in
from .heu import HEU
File "/home/gt/anaconda3/envs/sf/lib/python3.8/site-packages/secretflow/device/device/heu.py", line 28, in
import secretflow.distributed as sfd
File "/home/gt/anaconda3/envs/sf/lib/python3.8/site-packages/secretflow/distributed/init.py", line 16, in
from .primitive import get, kill, production_mode, remote, set_production, shutdown
File "/home/gt/anaconda3/envs/sf/lib/python3.8/site-packages/secretflow/distributed/primitive.py", line 20, in
import fed
File "/home/gt/anaconda3/envs/sf/lib/python3.8/site-packages/fed/init.py", line 15, in
from fed.api import (get, init, kill, remote,
File "/home/gt/anaconda3/envs/sf/lib/python3.8/site-packages/fed/api.py", line 23, in
import fed._private.compatible_utils as compatible_utils
File "/home/gt/anaconda3/envs/sf/lib/python3.8/site-packages/fed/_private/compatible_utils.py", line 19, in
import ray.experimental.internal_kv as ray_internal_kv
ModuleNotFoundError: No module named 'ray.experimental'

是因为官方ray安装错误吗

如果有安装，请确保先卸载ray以及secretflow-ray，然后重新安装secretflow-ray
是严格按照上述步骤操作的吗

开始只卸载了ray，之后都卸载了并重新安装，已解决，谢谢

@zhouaihui
您好，为了搞清楚模块之间的关系，我分别对rayfed/secretflow源码部署，在部署secretflow的时候，注释掉了requirements.txt里面的secretflow-rayfed，然后git clone了rayfed(https://github.com/secretflow/rayfed)的源码，直接源码部署（python setup.py bdist_wheel && pip install dist/*.whl --force-reinstall），也出现了上述的问题。所以有一些疑问：
1、requirements.txt中的secretflow-rayfed和rayfed不是同一个工程么？在pypi中看secretflow-rayfed的homepage，跳转到了ray-project/rayfed，不是secretflow/rayfed；
2、如果想对rayfed做一些改造，两个工程分别源码部署的方式能否适用？

使用分支 https://github.com/secretflow/rayfed/tree/secretflow-rayfed
打包文件使用 setup_secretflow.py

使用分支 https://github.com/secretflow/rayfed/tree/secretflow-rayfed 打包文件使用 setup_secretflow.py

好的，谢谢解答，之前一直都是切换了tag就直接打包，然后打包的setup.py。

使用分支 https://github.com/secretflow/rayfed/tree/secretflow-rayfed 打包文件使用 setup_secretflow.py

@zhouaihui
我在使用secretflow-rayfed分支以及setup_secretflow.py打包之后，还是出现了问题，如下所示，该如何解决
2023-08-22 09:59:49,704	ERROR worker.py:400 -- Unhandled error (suppress with 'RAY_IGNORE_UNHANDLED_ERRORS=1'): ray::SPURuntime.run() (pid=485976, ip=<IP_ADDRESS>, repr=<secretflow.device.device.spu.SPURuntime object at 0x7f2a5bd79b20>)
At least one of the input arguments for this task could not be computed:
ray.exceptions.RayTaskError: ray::_spu_compile() (pid=485753, ip=<IP_ADDRESS>)
File "/home/sunthinker/temp/secretflow/secretflow/device/device/spu.py", line 1226, in _spu_compile
executable, output_tree = spu_fe.compile(
File "/home/sunthinker/anaconda3/envs/sf/lib/python3.8/site-packages/spu/utils/frontend.py", line 112, in compile
ir_text, output = _jax_compilation(fn, static_argnums, args, kwargs)
File "/home/sunthinker/anaconda3/envs/sf/lib/python3.8/site-packages/cachetools/init.py", line 737, in wrapper
v = func(*args, **kwargs)
File "/home/sunthinker/anaconda3/envs/sf/lib/python3.8/site-packages/spu/utils/frontend.py", line 41, in _jax_compilation
cfn, output = jax.xla_computation(
File "/home/sunthinker/anaconda3/envs/sf/lib/python3.8/site-packages/jax/_src/traceback_util.py", line 166, in reraise_with_filtered_traceback
return fun(*args, **kwargs)
File "/home/sunthinker/anaconda3/envs/sf/lib/python3.8/site-packages/jax/_src/api.py", line 555, in computation_maker
lowering_result = mlir.lower_jaxpr_to_module(
File "/home/sunthinker/anaconda3/envs/sf/lib/python3.8/site-packages/jax/_src/interpreters/mlir.py", line 646, in lower_jaxpr_to_module
raise ValueError(f"Unknown platform {platform}")
jax._src.traceback_util.UnfilteredStackTrace: ValueError: Unknown platform interpreter
The stack trace below excludes JAX-internal frames.
The preceding is the original exception that occurred, unmodified.

The above exception was the direct cause of the following exception:
ray::_spu_compile() (pid=485753, ip=<IP_ADDRESS>)
File "/home/sunthinker/temp/secretflow/secretflow/device/device/spu.py", line 1226, in _spu_compile
executable, output_tree = spu_fe.compile(
File "/home/sunthinker/anaconda3/envs/sf/lib/python3.8/site-packages/spu/utils/frontend.py", line 112, in compile
ir_text, output = _jax_compilation(fn, static_argnums, args, kwargs)
File "/home/sunthinker/anaconda3/envs/sf/lib/python3.8/site-packages/cachetools/init.py", line 737, in wrapper
v = func(*args, **kwargs)
File "/home/sunthinker/anaconda3/envs/sf/lib/python3.8/site-packages/spu/utils/frontend.py", line 41, in _jax_compilation
cfn, output = jax.xla_computation(
ValueError: Unknown platform interpreter
During handling of the above exception, another exception occurred:
ray::_spu_compile() (pid=485753, ip=<IP_ADDRESS>)
File "/home/sunthinker/temp/secretflow/secretflow/device/device/spu.py", line 1238, in _spu_compile
raise ray.exceptions.WorkerCrashedError()
ray.exceptions.WorkerCrashedError: The worker died unexpectedly while executing this task. Check python-core-worker-*.log files for more information.
Traceback (most recent call last):
File "/home/sunthinker/Project/Tidavaless_FL_Component/te.py", line 23, in
woe_rules = binning.binning(
File "/home/sunthinker/anaconda3/envs/sf/lib/python3.8/site-packages/secretflow/preprocessing/binning/vert_woe_binning.py", line 252, in binning
bins_positive = self.secure_device(spu_work)(
File "/home/sunthinker/anaconda3/envs/sf/lib/python3.8/site-packages/secretflow/device/device/base.py", line 68, in to
return dispatch(_name_of_to(device.device_type), self, device, *args, **kwargs)
File "/home/sunthinker/anaconda3/envs/sf/lib/python3.8/site-packages/secretflow/device/device/register.py", line 111, in dispatch
return _registrar.dispatch(self.device_type, name, self, *args, **kwargs)
File "/home/sunthinker/anaconda3/envs/sf/lib/python3.8/site-packages/secretflow/device/device/register.py", line 80, in dispatch
return self._ops[device_type][name](*args, **kwargs)
File "/home/sunthinker/anaconda3/envs/sf/lib/python3.8/site-packages/secretflow/device/kernels/spu.py", line 44, in spu_to_pyu
return pyu(reveal)(
File "/home/sunthinker/anaconda3/envs/sf/lib/python3.8/site-packages/secretflow/device/device/pyu.py", line 98, in wrapper
sfd.remote(self._run)
File "/home/sunthinker/anaconda3/envs/sf/lib/python3.8/site-packages/ray/remote_function.py", line 226, in remote
return func_cls._remote(args=args, kwargs=kwargs, **updated_options)
File "/home/sunthinker/anaconda3/envs/sf/lib/python3.8/site-packages/secretflow/distributed/primitive.py", line 108, in _remote
args, kwargs = _resolve_args(*args, **kwargs)
File "/home/sunthinker/anaconda3/envs/sf/lib/python3.8/site-packages/secretflow/distributed/primitive.py", line 98, in _resolve_args
actual_vals = ray.get(list(refs.values()))
File "/home/sunthinker/anaconda3/envs/sf/lib/python3.8/site-packages/ray/_private/client_mode_hook.py", line 105, in wrapper
return func(*args, **kwargs)
File "/home/sunthinker/anaconda3/envs/sf/lib/python3.8/site-packages/ray/_private/worker.py", line 2309, in get
raise value.as_instanceof_cause()
ray.exceptions.RayTaskError: ray::SPURuntime.run() (pid=485973, ip=<IP_ADDRESS>, repr=<secretflow.device.device.spu.SPURuntime object at 0x7fb3af050b20>)
At least one of the input arguments for this task could not be computed:
ray.exceptions.RayTaskError: ray::_spu_compile() (pid=485753, ip=<IP_ADDRESS>)
File "/home/sunthinker/temp/secretflow/secretflow/device/device/spu.py", line 1226, in _spu_compile
executable, output_tree = spu_fe.compile(
File "/home/sunthinker/anaconda3/envs/sf/lib/python3.8/site-packages/spu/utils/frontend.py", line 112, in compile
ir_text, output = _jax_compilation(fn, static_argnums, args, kwargs)
File "/home/sunthinker/anaconda3/envs/sf/lib/python3.8/site-packages/cachetools/init.py", line 737, in wrapper
v = func(*args, **kwargs)
File "/home/sunthinker/anaconda3/envs/sf/lib/python3.8/site-packages/spu/utils/frontend.py", line 41, in _jax_compilation
cfn, output = jax.xla_computation(
File "/home/sunthinker/anaconda3/envs/sf/lib/python3.8/site-packages/jax/_src/traceback_util.py", line 166, in reraise_with_filtered_traceback
return fun(*args, **kwargs)
File "/home/sunthinker/anaconda3/envs/sf/lib/python3.8/site-packages/jax/_src/api.py", line 555, in computation_maker
lowering_result = mlir.lower_jaxpr_to_module(
File "/home/sunthinker/anaconda3/envs/sf/lib/python3.8/site-packages/jax/_src/interpreters/mlir.py", line 646, in lower_jaxpr_to_module
raise ValueError(f"Unknown platform {platform}")
jax._src.traceback_util.UnfilteredStackTrace: ValueError: Unknown platform interpreter
The stack trace below excludes JAX-internal frames.
The preceding is the original exception that occurred, unmodified.

The above exception was the direct cause of the following exception:
ray::_spu_compile() (pid=485753, ip=<IP_ADDRESS>)
File "/home/sunthinker/temp/secretflow/secretflow/device/device/spu.py", line 1226, in _spu_compile
executable, output_tree = spu_fe.compile(
File "/home/sunthinker/anaconda3/envs/sf/lib/python3.8/site-packages/spu/utils/frontend.py", line 112, in compile
ir_text, output = _jax_compilation(fn, static_argnums, args, kwargs)
File "/home/sunthinker/anaconda3/envs/sf/lib/python3.8/site-packages/cachetools/init.py", line 737, in wrapper
v = func(*args, **kwargs)
File "/home/sunthinker/anaconda3/envs/sf/lib/python3.8/site-packages/spu/utils/frontend.py", line 41, in _jax_compilation
cfn, output = jax.xla_computation(
ValueError: Unknown platform interpreter
During handling of the above exception, another exception occurred:
ray::_spu_compile() (pid=485753, ip=<IP_ADDRESS>)
File "/home/sunthinker/temp/secretflow/secretflow/device/device/spu.py", line 1238, in _spu_compile
raise ray.exceptions.WorkerCrashedError()
ray.exceptions.WorkerCrashedError: The worker died unexpectedly while executing this task. Check python-core-worker-*.log files for more information.
Exception ignored in: <function SPUObject.del at 0x7faf85f3b310>
Traceback (most recent call last):
File "/home/sunthinker/anaconda3/envs/sf/lib/python3.8/site-packages/secretflow/device/device/spu.py", line 170, in del
File "/home/sunthinker/anaconda3/envs/sf/lib/python3.8/site-packages/ray/actor.py", line 138, in remote
File "/home/sunthinker/anaconda3/envs/sf/lib/python3.8/site-packages/ray/util/tracing/tracing_helper.py", line 425, in _start_span
File "/home/sunthinker/anaconda3/envs/sf/lib/python3.8/site-packages/ray/actor.py", line 184, in _remote
File "/home/sunthinker/anaconda3/envs/sf/lib/python3.8/site-packages/ray/actor.py", line 171, in invocation
File "/home/sunthinker/anaconda3/envs/sf/lib/python3.8/site-packages/ray/actor.py", line 1172, in _actor_method_call
AttributeError: 'Worker' object has no attribute 'core_worker'
Exception ignored in: <function SPUObject.del at 0x7faf85f3b310>
Traceback (most recent call last):
File "/home/sunthinker/anaconda3/envs/sf/lib/python3.8/site-packages/secretflow/device/device/spu.py", line 170, in del
File "/home/sunthinker/anaconda3/envs/sf/lib/python3.8/site-packages/ray/actor.py", line 138, in remote
File "/home/sunthinker/anaconda3/envs/sf/lib/python3.8/site-packages/ray/util/tracing/tracing_helper.py", line 425, in _start_span
File "/home/sunthinker/anaconda3/envs/sf/lib/python3.8/site-packages/ray/actor.py", line 184, in _remote
File "/home/sunthinker/anaconda3/envs/sf/lib/python3.8/site-packages/ray/actor.py", line 171, in invocation
File "/home/sunthinker/anaconda3/envs/sf/lib/python3.8/site-packages/ray/actor.py", line 1172, in _actor_method_call
AttributeError: 'Worker' object has no attribute 'core_worker'
python的package如下所示：

按照requirements.txt里面的要求，重新安装一下jax和jaxlib

按照requirements.txt里面的要求，重新安装一下jax和jaxlib

按照rayfed中requirement.txt中的要求，jax和jaxlib版本大于等于0.3.0，还是出现了上面的报错

建议更新下代码，rayfed的requirements没有jax，secretflow的requirements对jax/jaxlib的要求是<=4.12

谢谢，已经可以正常运行了


Question: Caching of Gatsby sites

Question: Every time I run netlify deploy on a Gatsby site, it seems to upload all files required for that site anew. That can easily be on the order of several hundred and may take a while depending on the connection. Is this or could this be cached? Does netlify work with gatsby-plugin-netlify-cache?

We do content addressed de-duplication on deploys, so if all of your pages aren't changing every build, then only the ones that change get uploaded.  If you have some kind of timestamp in a layout, this can trigger slight changes in file contents on every page.
Start by looking at one build and comparing it to a second build.  Look at a file you don't expect to change in the first build, and diff it against the second build.  If the sha1's are different, the change is uploaded.  Looking at a content diff can help provide hints as to what is changing between builds.

Thanks for the quick reply? I assume the same applies to assets? I.e. they only re-upload, if their SHA-1 changes rather than being tied to the re-upload of the page they appear on?

All files and assets in the deploy folder, yes.


Don't hard-code platy naming pattern

@constantinpape
Could you provide an example what you mean by this?

Right now, the MMB will only open if there is a file called
sbem-6dpf-1-whole-raw, see https://github.com/platybrowser/mmb-fiji/blob/0ea134c9780065a915b6f0ac7beda2a73f4faa47/src/main/java/de/embl/cba/platynereis/Constants.java#L7.
This effectively restricts it to the platy naming scheme.

I see, but this is only the default file that it should open.
How should we do it?
Should we maybe add to the repo a bookmarks/default.json? I think this would be quite nice, because this can specify a complete view rather than a single file.
And if this file is missing, maybe it should just how nothing to start with?

I see, but this is only the default file that it should open.

Yes, I know. But this still forces one to use the platy naming pattern, because otherwise there are two separate naming patterns and that's even more confusing.

How should we do it?
Should we maybe add to the repo a bookmarks/default.json? I think this would be quite nice, because this can specify a complete view rather than a single file.
And if this file is missing, maybe it should just how nothing to start with?

Yes, I think that's a good idea.

ok, and regarding the naming scheme. I looked through my code and found only this, which extracts the modality:

https://github.com/platybrowser/mmb-fiji/blob/master/src/main/java/de/embl/cba/platynereis/platybrowser/PlatyBrowserActionPanel.java#L325

... and this, which essentially throws away all the other information :-)

https://github.com/platybrowser/mmb-fiji/blob/23740aa4f3f98dc5e59f99d743a6356945dc8ddf/src/main/java/de/embl/cba/platynereis/utils/Utils.java#L396

I think it is good that we have more projects now to see what we really need...
Maybe we should talk on the phone about this?

Maybe we should talk on the phone about this?

Sounds good, let's discuss after the platy meeting or some point later this afternoon.

Ok, as just discussed, the current solution is fine for now.
In the long term, we want to define the naming pattern and how it maps to the GUI in the git repo,
but for now we just take the name in front of the first dash as modality.

That means also for the new ongoing projects this is not yet critical, right?

That means also for the new ongoing projects this is not yet critical, right?

Yes, I think the only critical thing was that the initial layer was hard-coded to  sbem-6dpf-...-raw.
And this should be fixed now with the default bookmark, I think.


setup IAM role to support builder s3 uploads w/o user cred hack

This will avoid having to cut & paste aws-oidc creds to a ec2 instance, which is a security risk.

which account will be enabled to write to the bucket?  An IAM role opens up security risks as well, as anyone with access to the other account is now able to mutate the bucket....

As Bruce pointed out, if the bucket lives in prod, we shouldn't create an IAM in dev for it that has write permissions. We should rather run the builder in the prod account, but this might not be desirable either until we have a stable release.

As Bruce pointed out, if the bucket lives in prod, we shouldn't create an IAM in dev for it that has write permissions. We should rather run the builder in the prod account, but this might not be desirable either until we have a stable release.

I was mostly pointing out that the security will be a compromise in some way until such time as we run the jobs in a more controlled environment.  That seems like a H223 goal from my viewpoint (eg, after we containerize and automate the build).  But we should capture input from @atolopko-czi and see what he thinks.

I agree with you. Also, creating an IAM role with write permissions to a prod bucket will be significant work since it requires cross-account permissions and the one we have right now only gives read access (as it should).

Overall, this issue is simply tracking the need to ensure that however we're using EC2 instances now, we're not doing anything terribly insecure. Concerns were voiced that our aws-oidc should be reconsidered. So we should probably just reach out to Infra Sec for their suggestions on which solution is the lesser (security) evil.
Maybe aws-oidc creds is acceptable, maybe not. Alternately, if the IAM role only allows S3 Put and Get, but not Delete, maybe it's fine to run the builder in prod account now.

Related to Trust Review #279 we may have better guidance after that is completed

Fixed by this commit. Closing.


Validator.string submit post even if min value is not met

Validator.string dont validate as expected when submit post even if min value is not met.
Exampel:
https://github.com/vue-generators/vue-form-generator/tree/master/examples/post-form
Simple fiddle:
https://jsfiddle.net/hogen/c3s05r4q/

🤔
This seems less than ideal for noscript / SSR solutions. The form won't have anywhere to submit to. Is there an alternative?

If the field is required, then it should be flagged as required - this will invalidate the field when it’s empty.
If you’re using the async validators, then you’ll need to handle the form submit manually as VFG does not trap this.
noscript and ssr are outside of the scope of VFG since VFG is a client side JavaScript enabled form generator with validation.


drivers: power_domain: gpio: Allow enabled at boot

Allow for gpio power domain to be enabled at boot time.

Thinking about this a bit further, I don't believe the feature should be solved this way, as the expected state of drivers after booting should be consistent. Adding a device specific flag to make this driver consistent is a hack that will need to be removed later anyway. In principle, the expected states are:

No pm_device_runtime, has power applied: ACTIVE
No pm_device_runtime, does not have power: OFF
pm_device_runtime, has power applied: SUSPENDED
pm_device_runtime, does not have power: OFF

I am in the process of upstreaming initialisation work that does this, which I think is a more appropriate solution.

Sounds good.  I'm looking forward to seeing the PR.

Alternative that I believe does what you want: #60410


OverlayImage fails

Hi there,
Thank you for a great library.
I have been using the library without any issues until I started using OverlayImages. At first I thought that the issue was with my own code, but I am currently using the example code to add an image to the map as an overlay and it also fails. I have tested on my own Samsung S6 galaxy and also the Nexus 5X emulator in Android Studio.
An excerpt of the stack trace:

The OverlayImage gets loaded after a couple of seconds, but it seems like the code tries to call "width" before it has been computed. This results in a bunch of "NoSuchMethodError: The getter 'width' was called on null." exceptions. It also stops running the remaining code. I have tried using a network image, but also an asset image. The amount of exceptions thrown decreases if I use an asset image. Probably because it loads faster than a network image and the width attribute becomes available faster.

Hello, @Victor-emil were you able to get around this problem?

Seeing the same. Can get one Overlay Image showing but a second one doesn't display.

paging @4kssoft

Releasing an app tomorrow without the overlays and will add them next week. Would happily send someone a coffee/beer or something if anyone has a fix 👍
Right now thinking of combining the 2 overlays to work around the issue.

PR https://github.com/johnpryan/flutter_map/pull/365

I have the same issue

Master version works well without errors

#365 is now published in version 0.7.0


[Bug report] InfiniteScroll with IE

'Number.parseFloat' is not supported with IE.
please change 'parseFloat'.
https://caniuse.com/#search=parseFloat

This problem will also exist in the lower version of Chrome browser, I hope this problem can be solved.

+1

+1


The concept of OOP In Java Getting Started with Abstraction and Encapsulation

Article checklist
ATTENTION: In your PR - add the ISSUE (topic form) # that this PR corresponds to. You can do this by also adding a comment that states "This fixes #(enter your Idea Content Form #)" to link and close your Idea Content (issue) when the PR is merged.
NOTE: (Please ensure that you have only one open issue + linked pull request at a time. This will ensure that we complete the article in a timely manner from inception to publishing.)
If you have not already please go over our Resources Page for more tips and tricks on how to improve our overall technical writing.
Preliminary Checks - Formatting and Structure

[ ] Is the article you are submitting an in-depth and unique article? Does it go beyond what is in the official docs and what is covered in other blog sites. See these articles as examples.
[ ] Does your article follow any of the suggested structure formats? - see example formats
[ ] Is your article properly formatted in Markdown? - see Github Markdown guide
[ ] Have you used the correct folder and file structure? - see Contribution Guidelines
[ ] Is your article over 750 words? - Tool: Wordcounter.net
[ ] Have you used our preferred heading structure? - H3 (###) and up
[ ] Does your article provide enough value and detail about your topic? - Articles should be clear, accurate, and fully explained.
[ ] Can your article be understood by beginners? - Assume the audience is smart but has no prior exposure to the common terminology in your article.
[ ] Have you included a hero image that is 600x400 pixels and have the copyright to use it? - Tools: Pixlr Image Editor for resizing and Unsplash for Creative Commons images
[ ] In your PR - add a comment that states "This fixes #(enter your Idea Content Form #)" to link and close your Idea Content (issue) when the PR is merged.

Grammar & plagiarism checks

[ ] Have you spellchecked and grammar checked your article? - Tools: Write&Improve - ProWritingAid -  Grammarly
[ ] Please place your article through a 3rd party plagiarism checker? We suggest using Quetext, this tool is free and has a daily limit. We typically accept articles with 10% or less.
[ ] Have you checked your article for readability? - Tool: Hemmingway
[ ] Have you added sources for quotes and images that aren't yours?

Technical checks

[ ] Are your code snippets properly formatted for syntax highlighting - see Syntax guide

Contribution guidelines
For first-time contributors and for more details, see Contributing Guidelines
This fixes #2639

@ahmadmardeni1 what could have gone wrong here?

Hey @Frank-dev20 👋
You deleted the template when you were submitting your PR. Fixed it for you👍
Please make sure that your PR matches the rules in the template above, then check them💹.

Hey @Frank-dev20 👋
You deleted the template when you were submitting your PR. Fixed it for you👍
Please make sure that your PR matches the rules in the template above, then check them💹.

Thank you @ahmadmardeni1 for the correction.

@john-amiscaray will be reviewing this PR.

plagiarism check done

@Frank-dev20 Welcome to the engineering education program we're happy to meet you. I will be your peer reviewer for this article. I'm assuming you're new here because I haven't been able to find your name on the authors page. For your first article, we want you to add an avatar image and description of yourself in the pull request. These files should go under a new directory: /engineering-education/content/authors/frank-joseph with your description in a file called index.md and the image called avatar. Also, keep in mind for your first article you may need more revisions than normal which is natural since you are getting used to the process. I will try my best to get you on the right track to publishing the best work you can so future revisions will be faster. After that first article, you should be good to go and more smoothly submit articles in the future. Looking forward to reading what you have!

@Frank-dev20 Welcome to the engineering education program we're happy to meet you. I will be your peer reviewer for this article. I'm assuming you're new here because I haven't been able to find your name on the authors page. For your first article, we want you to add an avatar image and description of yourself in the pull request. These files should go under a new folder: /engineering-education/content/authors/frank-joseph with your description in a file called index.md and the image called avatar. Also, keep in mind for your first article you may need more revisions than normal which is natural since you are getting used to the process. I will try my best to get you on the right track to publishing the best work you can so future revisions will be faster. After that first article, you should be good to go and more smoothly submit articles in the future. Looking forward to reading what you have!

My bad I didn't see that you already put your author description in this pull request. Please ignore what I said there.

@Frank-dev20 I went through your article just now and I think it has a lot of potential and great things about it but there are some places where you could do better.
To start, there are a fairly large amount of overly long sentences in your writing. Make sure to check for these using this free online tool. Your goal is to ideally have 0 sentences that are highlighted in red by that app (meaning that the sentence is too long) or as close to that as possible. It may look like there are more overly long sentences there than there really are. This is because you are missing some periods after your sentences, and there are some cases where you end a sentence with, etc.. In this case, the period, in the end, is not interpreted as the end of the sentence but instead to denote the acronym. In which case, it might be fine to keep those sentences as is but I'll let you know which sentences I think really need to be shortened.
Also, there are some formatting issues with your markdown syntax. Please refer to this markdown guide if you need help. On top of that, please make sure to check how your markdown will look when compiled to fix these mistakes. You can do so using this free tool but some IDEs (i.e. vscode and webstorm) have this built-in. This will give you a good idea of how your article will look when published.
Furthermore, I noticed this repeated syntax error in your writing (not in the code but in your English writing). When you write something in brackets you tend to format it something like this:

This is a sentence(this is something in brackets).

When you should space it like so to follow proper English syntax:

This is a sentence (this is something in brackets).

Notice, you need to have a space before the opening bracket (i.e. the ( ).
As a final note, please check your grammar using Grammarly.  Before I give you specific line-to-line feedback, I want you to check your article using that tool and implement their suggestions.
If any of the suggestions I gave or that Grammarly will give you confuse you, please let me know and I will clarify it to you. Just note that as a new peer reviewer I cannot edit any of your files directly.

@Frank-dev20 Welcome to the engineering education program we're happy to meet you. I will be your peer reviewer for this article. I'm assuming you're new here because I haven't been able to find your name on the authors page. For your first article, we want you to add an avatar image and description of yourself in the pull request. These files should go under a new folder: /engineering-education/content/authors/frank-joseph with your description in a file called index.md and the image called avatar. Also, keep in mind for your first article you may need more revisions than normal which is natural since you are getting used to the process. I will try my best to get you on the right track to publishing the best work you can so future revisions will be faster. After that first article, you should be good to go and more smoothly submit articles in the future. Looking forward to reading what you have!

My bad I didn't see that you already put your author description and avatar in this pull request. Please ignore what I said there.

Yeah

@Frank-dev20 Despite all the suggestions I gave, I think you did a pretty good job with your first article. I like the examples/analogies you gave to make your explanations clear. I also like that you were fairly straight to the point with your explanations like I feel like some people like to make things more complex than they should be but you definitely didn't do that hear it was easy to follow.

@Frank-dev20 I went through your article just now and I think it has a lot of potential and great things about it but there are some places where you could do better.
To start, there are a fairly large amount of overly long sentences in your writing. Make sure to check for these using this free online tool. Your goal is to ideally have 0 sentences that are highlighted in red by that app (meaning that the sentence is too long) or as close to that as possible. It may look like there are more overly long sentences there than there really are. This is because you are missing some periods after your sentences, and there are some cases where you end a sentence with, etc.. In this case, the period, in the end, is not interpreted as the end of the sentence but instead to denote the acronym. In which case, it might be fine to keep those sentences as is but I'll let you know which sentences I think really need to be shortened.
Also, there are some formatting issues with your markdown syntax. Please refer to this markdown guide if you need help. On top of that, please make sure to check how your markdown will look when compiled to fix these mistakes. You can do so using this free tool but some IDEs (i.e. vscode and webstorm) have this built-in. This will give you a good idea of how your article will look when published.
Furthermore, I noticed this repeated syntax error in your writing (not in the code but in your English writing). When you write something in brackets you tend to format it something like this:

This is a sentence(this is something in brackets).

When you should space it like so to follow proper English syntax:

This is a sentence (this is something in brackets).

Notice, you need to have a space before the opening bracket (i.e. the ( ).
As a final note, please check your grammar using Grammarly.  Before I give you specific line-to-line feedback, I want you to check your article using that tool and implement their suggestions.
If any of the suggestions I gave or that Grammarly will give you confuse you, please let me know and I will clarify it to you. Just note that as a new peer reviewer I cannot edit any of your files directly.

Checking and effecting the necessary changes.
Thank you @john-amiscaray

@Frank-dev20 I went through your article just now and I think it has a lot of potential and great things about it but there are some places where you could do better.
To start, there are a fairly large amount of overly long sentences in your writing. Make sure to check for these using this free online tool. Your goal is to ideally have 0 sentences that are highlighted in red by that app (meaning that the sentence is too long) or as close to that as possible. It may look like there are more overly long sentences there than there really are. This is because you are missing some periods after your sentences, and there are some cases where you end a sentence with, etc.. In this case, the period, in the end, is not interpreted as the end of the sentence but instead to denote the acronym. In which case, it might be fine to keep those sentences as is but I'll let you know which sentences I think really need to be shortened.
Also, there are some formatting issues with your markdown syntax. Please refer to this markdown guide if you need help. On top of that, please make sure to check how your markdown will look when compiled to fix these mistakes. You can do so using this free tool but some IDEs (i.e. vscode and webstorm) have this built-in. This will give you a good idea of how your article will look when published.
Furthermore, I noticed this repeated syntax error in your writing (not in the code but in your English writing). When you write something in brackets you tend to format it something like this:

This is a sentence(this is something in brackets).

When you should space it like so to follow proper English syntax:

This is a sentence (this is something in brackets).

Notice, you need to have a space before the opening bracket (i.e. the ( ).
As a final note, please check your grammar using Grammarly.  Before I give you specific line-to-line feedback, I want you to check your article using that tool and implement their suggestions.
If any of the suggestions I gave or that Grammarly will give you confuse you, please let me know and I will clarify it to you. Just note that as a new peer reviewer I cannot edit any of your files directly.

Please can you point out which sentences really need to be shortened?

@Frank-dev20 I went through your article just now and I think it has a lot of potential and great things about it but there are some places where you could do better.
To start, there are a fairly large amount of overly long sentences in your writing. Make sure to check for these using this free online tool. Your goal is to ideally have 0 sentences that are highlighted in red by that app (meaning that the sentence is too long) or as close to that as possible. It may look like there are more overly long sentences there than there really are. This is because you are missing some periods after your sentences, and there are some cases where you end a sentence with, etc.. In this case, the period, in the end, is not interpreted as the end of the sentence but instead to denote the acronym. In which case, it might be fine to keep those sentences as is but I'll let you know which sentences I think really need to be shortened.
Also, there are some formatting issues with your markdown syntax. Please refer to this markdown guide if you need help. On top of that, please make sure to check how your markdown will look when compiled to fix these mistakes. You can do so using this free tool but some IDEs (i.e. vscode and webstorm) have this built-in. This will give you a good idea of how your article will look when published.
Furthermore, I noticed this repeated syntax error in your writing (not in the code but in your English writing). When you write something in brackets you tend to format it something like this:

This is a sentence(this is something in brackets).

When you should space it like so to follow proper English syntax:

This is a sentence (this is something in brackets).

Notice, you need to have a space before the opening bracket (i.e. the ( ).
As a final note, please check your grammar using Grammarly.  Before I give you specific line-to-line feedback, I want you to check your article using that tool and implement their suggestions.
If any of the suggestions I gave or that Grammarly will give you confuse you, please let me know and I will clarify it to you. Just note that as a new peer reviewer I cannot edit any of your files directly.

Please can you point out which sentences really need to be shortened?

I can't look through the article thoroughly right now so please work on the other things I mentioned. So for now just focus on implementing the suggestions from Grammarly, fixing the markdown issues and the issue with the brackets I was talking about. Then, after you commit I can later share with you which sentences are too long along with the specific line-to-line comments I was talking about. Though like 90% of the time that tool I showed you (Hemmingway) should give you an accurate idea of which sentences are too long. Thanks.

@john-amiscaray changes made

@john-amiscaray changes made

I'll have a look at it shortly.

@john-amiscaray changes made

I'll have a look at it shortly.

@Frank-dev20 Just as a quick warning: please wait for me to tell you when I'm done putting all my comments before implementing any of the changes.

@john-amiscaray changes made

I'll have a look at it shortly.

@Frank-dev20 Just as a quick warning: please wait for me to tell you when I'm done putting all my comments before implementing any of the changes.

Okay

@john-amiscaray changes made

@john-amiscaray changes made

@Frank-dev20 Bit of a misunderstanding, I didn't finish putting all the comments I wanted to put and was expecting you to wait for me to put them all before fixing the ones there but that's okay. Sorry that I couldn't put them all in one go I had other things I had to get out of the way. I'll just put the comments I was going to make while reviewing your recent commit.

@john-amiscaray changes made

@Frank-dev20 Bit of a misunderstanding, I didn't finish putting all the comments I wanted to put and was expecting you to wait for me to put them all before fixing the ones there but that's okay. Sorry that I couldn't put them all in one go I had other things I had to get out of the way. I'll just put the comments I was going to make while reviewing your recent commit.

I don't believe it should be many more suggestions so don't worry.

@john-amiscaray changes made

@Frank-dev20 Bit of a misunderstanding, I didn't finish putting all the comments I wanted to put and was expecting you to wait for me to put them all before fixing the ones there but that's okay. Sorry that I couldn't put them all in one go I had other things I had to get out of the way. I'll just put the comments I was going to make while reviewing your recent commit.

Sorry about this, I thought you're done with the suggestion. I'll wait for you but please do let me know when you're done. Thank you.

@ahmadmardeni1 I accidentally pressed the start review button instead of the add single comment button, how can I undo that.

Never mind I got it, sorry.

@john-amiscaray
👀  This article is far from being publish ready - you have provided some excellent feedback - the student can now go back and finish and finalize the article. In the meantime we will be closing this PR - to make some room in the queue.
@Frank-dev20 Thank you and welcome to the EngEd program.
Upon looking over this PR - and the level of feedback we have decided to close while you work on it.
There are some significant readability challenges in your description that raise concerns over how much review/editing would be required from our peer review team. We don't provide editing services and recommend that students leverage online editing services (there are both free and paid services that you can explore), or try engaging with the community or other peers in your network to have them review prior to submitting a revised proposal. Thank you.

Frank reached me and told me that he did the changes and the article is ready now. Give it a review please @john-amiscaray

@Frank-dev20 Upon reviewing your recent changes I don't believe this article is ready yet. There are still quite a few concerns I have with it that would require me to put a significant amount of suggestions again. For instance:

The formatting of your sentences was weird in some places. You put new lines between several sentences repeatedly as though you were double spacing it. If you have a bunch of sentences next to each other that don't fit together to the point where you format it like that instead of a single paragraph, it's not a good sign in terms of flow.
There were some spots in the article where you formatted a list as though it was code by indenting it. I'm not sure if that was intentional or not but that is not appropriate in those instances. Make sure you check the compiled markdown before committing.
Once again, there were a couple of instances where you separated two parts of the same phrase with a period when they should be separated with a comma. It made it sound like they were two separate ideas when they were a part of the same idea/phrase.
You put colons (:) at the end of some headers. I would say that is improper since colons are used to introduce a particular idea, list, or subject. This is already the role of a header on its own, doing so in a larger context so adding the colon is redundant. If you are going to add colons at the end of headers you should have at least done it consistently for each header but even still I would not do so for any header.
The flow of certain paragraphs and/or sentences felt awkward.
Missing periods or colons in some places.
When you were introducing code snippets you would just say Code Snippet which is improper. You should introduce them with a full sentence to explain the significance of it in context to what was just discussed and have a colon at the end of said sentence.
While not necessary, we prefer you use a bit more of a formal tone for your writing. Although for this one article I'll give it a pass. For me personally, I like to give a semi-formal style with down-to-earth explanations for things but that's just something you can think about in the future. That's not to say your explanations weren't down-to-earth and easy to follow it's more so the formality in some cases that can be an issue.

Hopefully you understand these points so you can improve your article further to the point when I am ready to review it. If you need clarification, let me know. Please take your time and I would highly recommend you find someone who is good at English writing to help you polish this up before opening the pull request again. You can kindly seek out some experienced members of this program who are willing to help you improve your writing for this article and in the future. At this stage, however, I will not accept this article for review. Thanks.
@hectorkambow can you close this pull request again, please?

@Frank-dev20
👋  Thank you v much for contributing your 1st article - and Welcome to the EngEd Program.
There are some significant readability challenges in your description that raise concerns over how much review/editing would be required from our peer review team. We don't provide editing services and recommend that students leverage online editing services (there are both free and paid services that you can explore), or try engaging with the community or other peers in your network to have them review prior to submitting a revised proposal.
Thank you.
Please feel free to review our resources page on how to better improve our techincal writing - and feel free to explore another topic when ready. 👍

@Frank-dev20 I had a look and I like what I saw. Only a few minor suggestions I have for these past two commits and then we can go to the technical review. Nice job. I will be posting those suggestions very soon.

@Frank-dev20 Alright, I think that's all I have concerns about formatting and English wise, thanks for your patience. @ahmadmardeni1 we are ready for the technical review now.

@Frank-dev20 Quick note before I post my comments, the indentation on the code snippets is off. In case you don't know, everything inside a class should be on a new indentation level, the same goes with everything inside a method. So for instance, you indented one code snippet like this:
public class Dog_Main {

public static void main(String[] args) {

    Dog littleDog = new Dog("Bingo", 6,"Brown", "German Shepherd");

    System.out.println("Is the dog running:? "+ littleDog.isrunning());

    System.out.println();

    System.out.println("is the dog sleeping:? " + littleDog.isSleeping());

    System.out.println();

    System.out.println("Is the dog barking:? " + littleDog.isbarking());

    System.out.println();

    System.out.println("Is the dog eating:? " + littleDog.iseating());

    System.out.println();

    System.out.println("The dog name is:  " + littleDog.name);

}

}

when it should be like this:
public class Dog_Main {

  public static void main(String[] args) {

      Dog littleDog = new Dog("Bingo", 6,"Brown", "German Shepherd");

      System.out.println("Is the dog running:? "+ littleDog.isrunning());

      System.out.println();

      System.out.println("is the dog sleeping:? " + littleDog.isSleeping());

      System.out.println();

      System.out.println("Is the dog barking:? " + littleDog.isbarking());

      System.out.println();

      System.out.println("Is the dog eating:? " + littleDog.iseating());

      System.out.println();

      System.out.println("The dog name is:  " + littleDog.name);

  }

}

Notice how the main method is on a new indentation level since it is within the class. Also, it looks to me like the size of the indents might be different sizes in your code snippets (i.e. in some code snippets your indents are 4 spaces, others a different amount of spaces). The size of the indents should be consistent and ideally 4 spaces. I imagine you understand the proper indentation conventions as someone who seems to be a more experienced programmer but that still needs to be fixed.

@john-amiscaray done

@ahmadmardeni1 we're done with the technical review.


Add files via upload

good puzzles! could you add another 2 levels?

whats the name of the game?

Hoe about just "The Maze"?

hmmm we already have a lot of maze in the gallery, how about Escape Room?

Yea, that sounds much better.

did I make the updates approved by you, before merging, 2 author?

yea? I don't know

did you make this game with Dhruv?

oh, yea. We did it together.

Then leave it on one line,
@author: Sampanna and Dhruv

ok!

so make a commit with that change and I merge :)


when hours is greater than 60, the output string is not expected result

var timer = new Tock({
countdown: true,
interval: devider,
callback: function() {
var str = timer.msToTimecode(timer.lap(), false);
console.log(str); //output will begin with 20:00:00 and my expectation is 80:00:00
},
complete: function() {}
});
timer.start(80 * 60 * 60 * 1000);

is there anyone?

Any update on this?

@anrananran
Easy fix is to change line 247 to remove the "% 60", so it would like this:
MS_PER_HOURs = Math.floor((ms / (MS_PER_HOUR))).toString();

@jonpchin Yes, I did,Thank you!

Hi folks. Sorry this took so long. Should be fixed in v1.0.12


Add initial implementation of the tracez page.

Codecov Report

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

@@            Coverage Diff            @@
##             master     #517   +/-   ##
=========================================
  Coverage     91.22%   91.22%
  Complexity      587      587
=========================================
  Files           112      112
  Lines          2348     2348
  Branches        207      207
=========================================
  Hits           2142     2142
  Misses          152      152
  Partials         54       54

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 4598da6...d265bbb. Read the comment docs.


bluetooth LE for android unity

Hello is this plugin works for Raspberry pi zero wirless?? i have to send and receive data between Raspberry and android using unity ! is this works for me?

Hello. Did you send and receive data already?

@projni This is a plugin for sending and receiving data from RedBearLab BLE Mini bluetooth module. I suppose you can use Raspberry but you have to do some modifications. The examples provided in the Unity project are based on an hardware setup using Arduino Mega 2560.
@VinhBeo3101 Yes, Android send/receive data has been fixed.

Hi, Thanks for your response , I already changed the connection protocol , I already found another plugin but I couldn't use it because I found a problem with the Rpi BLE that I use exactly in the UART module, Thanks again !


Speed up Sonos tests

Description:
Tests were running slow after #4063 due to having to wait for a socket timeout.

Closing/opening to get travis to run.


ToTokens for NonZero integers?

Hi,
thank you for the crate and  your work, which powers a lot of library developers :heart:

Request
Is there any chance to implement ToTokens for NonZero integers? (::core::num::NonZeroU8, etc...)
If you're fine with the idea, I could open a PR.
It may not be a plane decision, how NonZero integer should be converted into tokens
Variant A (with a runtime penalty):
::core::num::NonZeroU8::new(123).unwrap()

Variant B (with unsafe):
unsafe { ::core::num::NonZeroU8::new_unchecked(123) }

Context
In nutype I'd like to add support for NonZero integers. With my current implementation the effort would be relatively low if NonZero integers implemented ToTokens?

I think I would prefer not to build this into this crate. Hopefully there's a different way you could handle these in nutype.

@dtolnay All cool. Thanks for the quick reply.


Security: Nami is vulnerable to code injection when receiving native assets

I'm creating this issue before I've fully investigated it since it is so serious.
I believe someone has attempted and successfully performed a code injection into my Nami wallet by sending me a native asset
This is the asset I've been 'gifted'

It seems like it is trying to drain my wallet to some random address?

Recipient address:
addr1qxpyd7ysyec5x886p59mwzghj565z6pp4neur6rrdfq4jt248zrr9fdwgehqh6nxx9y5svnghj4385m04cd5w64wxycslr5396
I'll update the issue as soon as I've confirmed that this is a real attack

Mint token:
policy id: 57fca08abbaddee36da742a839f7d83a7e1d2419f1507fcbf3916522
asset: asset15gvggz5s3ptfadt3x6d8p7n5x3petfhrqeps6n

lol.. probably a false alarm since the MINT tokens are created by sundeaswap I had forgotten that I had made a swap for them...

But I still don't understand why the transaction tried to drain my wallet... I'll try to replicate it

Okay, it turns out that the receiver addr1qxpyd7ys...d5w64wxycslr5396 was me but on mainnet and not on the testnet

I managed to reproduce it. It is definitely caused by my shitty programming
The cause is that the receiving address was my mainnet address but the utxos used to construct the transaction was from my address on the testnet. I also checked accepting the transaction and it did fail!


(maint) On El5 some info are missing from meminfo

Description of the problem: On Redhat 5 SReclaimable field is missing from /proc/meminfo file and this result in some facter errors and some memory facts are missing.
Description of the fix: Added an additional check for this field before parsing it.

CLA signed by all contributors.


feat: Cortex supports custom API Keys

Problem
I want to host an in-house AI agent and make it publicly accessible from anywhere, as I have some on-device applications that need to access LM endpoints to function properly.
The concern is that when exposing my self-hosted endpoint without a gate, even a simple one.
Success Criteria
cortex -h <IP_ADDRESS> -p 1102 -k [my_secret_goes_here]
Additional context
Add any other context or screenshots about the feature request here.

Merging this into https://github.com/janhq/cortex.cpp/issues/551


Hi, I found typing mistake!!

I'm looking at your roadmap well.
But In App Navigation Part, Fragments
(Fragmetn Transcations) -> (Fragment Transactions), i think it is collect typing.
Thanks for watch my issues👍
(P.S, I really really helpful for watch your project & opensources. So I always rooting for you. Thanks for your tect skills...??❤)

Awesome! It's really good to hear that. :)
Thank you for reporting the typo issue. 😄

Fixed on #3