obtaining function vector

from the readme:

python scripts/test.py -i asm/123456 -m model.pt
After you train your model, try to grab a assembly function and see the result.
This script will show you how the model perform.
Once you satisfied, you can take out the embedding vector of the function and do whatever you want with it.

from my testing, test.py appears to return predictions for instruction embeddings for the function(s) passed in, and not predictions for function embedding itself. How do we obtain function vectors for further use?

was too hasty in creating this issue! found it literally a second later: https://github.com/oalieno/asm2vec-pytorch/blob/master/scripts/compare.py#L31


Create a BOM to make consuming easier

As a consumer it would be helpful if Beadledom provide a BOM which provided the full list of dependencies so I don't have to include every beadledom library in my pom

Issue address in 531f272


feature: 未启用 DHCP 适配时前端关闭部分入口 (closed #978)

Codecov Report

Merging #992 (a12f393) into V2.2.20-rc (8ea0952) will decrease coverage by 0.00%.
The diff coverage is n/a.

@@              Coverage Diff               @@
##           V2.2.20-rc     #992      +/-   ##
==============================================
- Coverage       72.16%   72.15%   -0.01%
==============================================
  Files             303      303
  Lines           22249    22249
==============================================
- Hits            16055    16053       -2
- Misses           6194     6196       +2

Impacted Files
Coverage Δ

...nents/collections/agent_new/choose_access_point.py
95.12% <0.00%> (-0.49%)
:arrow_down:

apps/node_man/handlers/job.py
86.05% <0.00%> (-0.27%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


hastag.get_posts() doesn't seem to be working anymore

I'm attempting to download all posts associated with a particular hashtag that were posted within a specified timeframe. I've followed the instructions provided, and after troubleshooting, it appears that Instaloader is unable to locate any posts associated with the hashtag or doesn't have access to them. I've experimented with multiple hashtags and timeframes, including popular hashtags like #gender and broader time periods, yet the issue persists.
Upon running the code, the first line displays: 'JSON Query to explore/tags/#gendern/: 404 Not Found.'
Any assistance would be greatly appreciated!

Yup I've also run into this.

Me too

me too

me too，
How to solve this problem?

I have the same issue!

I have the same issue, tried everything from changing user agent to switching to many different types of connections, both through VPNs and using different domestic WiFis. I think Instagram changed the way hashtag pages are called, and the Instaloader team has not addressed this yet.
I don't understand why though, considering that hashtags are the primary thing I download and many I know do the same

Same issue here. Error 404.

same here :c Errors or warnings occurred:
Get hashtag #kitten: JSON Query to explore/tags/kitten/: 404 Not Found

I am also getting this error when trying to explore hashtags:
Get hashtag #kitten: JSON Query to explore/tags/kitten/: 404 Not Found

Same issue here. Error 404.

please test this , for me it worked

I just encountered the same issue. for a hashtag like "#standup", the error says JSON Query to explore/tags/standup/: 404 Not Found
When I inspected what instaloader was doing under the hood, I learnt that its using the requests library's session object to make a get request
The code for it is in instaloadercontext.py
sess.get('https://{0}/{1}'.format(host, path), params=params, allow_redirects=False)
By logging the variables host and path, I can see that instaloader is trying to make a GET request to www.instagram.com/explore/tags/standup/ with params = {'__a': 1, '__d': 'dis'}
When I inspect the networks tab of my browser, one of the request that seems to be related to this tag look like this https://www.instagram.com/api/v1/tags/web_info/?tag_name=standup
Is it possible that the API endpoint for this has changed?

The

I just encountered the same issue. for a hashtag like "#standup", the error says JSON Query to explore/tags/standup/: 404 Not Found
When I inspected what instaloader was doing under the hood, I learnt that its using the requests library's session object to make a get request The code for it is in instaloadercontext.py
sess.get('https://{0}/{1}'.format(host, path), params=params, allow_redirects=False)
By logging the variables host and path, I can see that instaloader is trying to make a GET request to www.instagram.com/explore/tags/standup/ with params = {'__a': 1, '__d': 'dis'}
When I inspect the networks tab of my browser, one of the request that seems to be related to this tag look like this https://www.instagram.com/api/v1/tags/web_info/?tag_name=standup
Is it possible that the API endpoint for this has changed?

The API surely changed, but I think it is just a change of the labels of some elements in the hashtag webpage. I don't understand why Instaloader's developers haven't addressed this yet, as the hashtag scraping part is a major function of the script.

its free software at the end of the day :) we're as responsible for fixing the issues.

I haven't expressed a valorial judgement, just an observation of something I find weird. They did two releases already and none addresses the problem.

its free software at the end of the day :) we're as responsible for fixing the issues.

True. By any chance, have you found an existing solution for scraping hashtags?

Its not a very urgent priority for a project that I am working on but I do have to get scraping posts by hashtags working soon. So i might have an update on this for you later.
One approach we've been trying is to write a selenium based automation that visits the webpage with hashtag and automates the process of clicking on videos and getting their URLs and certain metadata. Not the most elegant and low resource solution though.
I did fairly basic debugging of instaloader itself and will continue on that as well. especially if its just a matter of changing few endpoints and fields. Will update here if i make any progress.

I think this should remain open

Hi, it seems like this issue is still there. Did anyone figure out any alternatives at all?

Yes


python3Packages.aladdin-connect: init at 0.3

Motivation for this change
Python library for interacting with Genie Aladdin Connect devices
https://github.com/shoejosh/aladdin-connect
This is a Home Assistant dependency.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 127551 run on x86_64-linux 1

2 packages built:

python38Packages.aladdin-connect
python39Packages.aladdin-connect

Result of nixpkgs-review pr 127551 at 4445a89c run on aarch64-linux 1

2 packages built successfully:

python38Packages.aladdin-connect
python39Packages.aladdin-connect


Problem with more than one entity with the same predifned type

A grammar with more than one entity with the same type is only well recognized if all entity is set, else wrong values are in den EntityData map

fixed in #411


Adding the option to skip already processed images when processing the whole vault

This PR adds the option to skip all images, which already are in the target format.
This is especially useful if you have a very large vault with many images, and converting them all takes hours. Then you can use this option to skip any already processed images, and don't have to start from 0 if for whatever reason the process gets stopped.
Additionally, I moved the log statement to the beginning of the function, I had the problem where the image processing threw an error and the log line did not get called anymore, so I was not able to see which image caused the problem.
Also, it seems like the dependency to probe-image-size was missing, so I added that as well.

this is a good feature, it also prevents repeated compression of the same images through the "Process all vault images" command.
@xRyul please consider releasing this

I'm really looking forward to this feature, @xRyul please consider merging this PR, thanks a lot!

I am looking forward to seeing this PR implemented, too. :)


Dockerize the application

Need help in Dockerizing this Bot Application using docker-compose

can I work on it @thenishantsapkota ?

can I work on it @thenishantsapkota ?

Yes definitely assigning it to you!


[tflite] Add rank checking for MEAN, ADD, MUL, and DIV

Preventing invalid some ops (MEAN, ADD, MUL, and DIV with tensors of ranks > 4)   from passing to NNAPI.
The MEAN, ADD, MUL, and DIV ops of NNAPI only support tensors of ranks <= 4.

Should this also check that the ranks are equal?

@mihaimaruseac
I guess NO, because NNAPI does support broadcast (rank=1), see documentation of NNAPI's ADD op


💅 noUnusedImports - fix breaks code

Environment information
CLI:
  Version:                      1.8.3
  Color support:                true

Platform:
  CPU Architecture:             aarch64
  OS:                           macos

Environment:
  BIOME_LOG_DIR:                unset
  NO_COLOR:                     unset
  TERM:                         "xterm-256color"
  JS_RUNTIME_VERSION:           "v20.15.0"
  JS_RUNTIME_NAME:              "node"
  NODE_PACKAGE_MANAGER:         "yarn/4.3.1"

Biome Configuration:
  Status:                       Loaded successfully
  Formatter disabled:           false
  Linter disabled:              false
  Organize imports disabled:    true
  VCS disabled:                 false

Linter:
  JavaScript enabled:           true
  JSON enabled:                 true
  CSS enabled:                  false
  Recommended:                  false
  All:                          false
  Enabled rules:
  performance/noDelete
  suspicious/noCatchAssign
  suspicious/noUnsafeNegation
  complexity/useLiteralKeys
  complexity/noMultipleSpacesInRegularExpressionLiterals
  a11y/useValidLang
  complexity/noUselessEmptyExport
  suspicious/useNamespaceKeyword
  suspicious/useValidTypeof
  a11y/useValidAriaRole
  correctness/noConstantCondition
  a11y/useAriaActivedescendantWithTabindex
  suspicious/noAssignInExpressions
  style/useDefaultParameterLast
  complexity/noEmptyTypeParameters
  correctness/noConstructorReturn
  style/useSelfClosingElements
  suspicious/noDuplicateParameters
  style/useTemplate
  correctness/noUnusedLabels
  complexity/noUselessTernary
  correctness/noUnreachableSuper
  suspicious/noCompareNegZero
  suspicious/noExplicitAny
  correctness/noSwitchDeclarations
  a11y/noAutofocus
  correctness/noUnsafeOptionalChaining
  correctness/noConstAssign
  suspicious/noControlCharactersInRegex
  complexity/noUselessTypeConstraint
  style/noVar
  suspicious/noDoubleEquals
  suspicious/noRedundantUseStrict
  style/useLiteralEnumMembers
  suspicious/noGlobalIsNan
  suspicious/noEmptyInterface
  suspicious/noConstEnum
  suspicious/noMisleadingCharacterClass
  correctness/noPrecisionLoss
  suspicious/noRedeclare
  correctness/noStringCaseMismatch
  correctness/noSetterReturn
  correctness/noInvalidConstructorSuper
  suspicious/noImplicitAnyLet
  suspicious/noFallthroughSwitchClause
  suspicious/noUnsafeDeclarationMerging
  correctness/noUnreachable
  a11y/useKeyWithClickEvents
  suspicious/noDuplicateObjectKeys
  complexity/noUselessThisAlias
  complexity/noThisInStatic
  complexity/useOptionalChain
  correctness/noInnerDeclarations
  style/noParameterAssign
  suspicious/noDuplicateCase
  a11y/useValidAnchor
  complexity/useRegexLiterals
  correctness/noSelfAssign
  style/noUselessElse
  style/useShorthandFunctionType
  suspicious/noShadowRestrictedNames
  a11y/useMediaCaption
  complexity/noUselessLabel
  complexity/noUselessCatch
  correctness/noUnsafeFinally
  a11y/useAriaPropsForRole
  correctness/noNonoctalDecimalEscape
  style/useEnumInitializers
  a11y/useHtmlLang
  suspicious/noDuplicateTestHooks
  complexity/noStaticOnlyClass
  style/useWhile
  complexity/useArrowFunction
  style/noInferrableTypes
  a11y/noNoninteractiveTabindex
  complexity/useSimpleNumberKeys
  correctness/useYield
  a11y/noInteractiveElementToNoninteractiveRole
  style/useNumericLiterals
  correctness/noUnnecessaryContinue
  suspicious/noApproximativeNumericConstant
  suspicious/noImportAssign
  suspicious/noLabelVar
  correctness/noGlobalObjectCalls
  suspicious/useDefaultSwitchClauseLast
  a11y/useAltText
  correctness/noEmptyCharacterClassInRegex
  suspicious/noSuspiciousSemicolonInJsx
  suspicious/noSparseArray
  a11y/useIframeTitle
  complexity/noBannedTypes
  a11y/noSvgWithoutTitle
  correctness/noVoidElementsWithChildren
  style/useAsConstAssertion
  correctness/useJsxKeyInIterable
  style/useExportType
  complexity/noUselessLoneBlockStatements
  style/noArguments
  a11y/useValidAriaValues
  suspicious/noDebugger
  suspicious/noMisleadingInstantiator
  suspicious/noPrototypeBuiltins
  suspicious/noGlobalAssign
  suspicious/noCommentText
  suspicious/noDuplicateJsxProps
  suspicious/noThenProperty
  a11y/noPositiveTabindex
  correctness/noEmptyPattern
  complexity/noExcessiveNestedTestSuites
  security/noDangerouslySetInnerHtmlWithChildren
  a11y/useKeyWithMouseEvents
  suspicious/noExtraNonNullAssertion
  suspicious/useGetterReturn
  correctness/noRenderReturnValue
  correctness/useExhaustiveDependencies
  security/noGlobalEval
  style/useConst
  a11y/noRedundantRoles
  complexity/useFlatMap
  correctness/useIsNan
  suspicious/noGlobalIsFinite
  suspicious/noSelfCompare
  suspicious/noAsyncPromiseExecutor
  complexity/noExcessiveCognitiveComplexity
  security/noDangerouslySetInnerHtml
  style/useNodejsImportProtocol
  a11y/noDistractingElements
  suspicious/noArrayIndexKey
  complexity/noWith
  suspicious/noDuplicateClassMembers
  complexity/noExtraBooleanCast
  performance/noAccumulatingSpread
  a11y/useValidAriaProps
  a11y/noRedundantAlt
  correctness/noChildrenProp
  suspicious/noConfusingLabels
  suspicious/noConfusingVoidType
  suspicious/noFocusedTests
  a11y/useButtonType
  a11y/noAriaUnsupportedElements
  correctness/noFlatMapIdentity
  a11y/noBlankTarget
  a11y/useHeadingContent
  correctness/useValidForDirection
  correctness/noVoidTypeReturn
  correctness/noInvalidUseBeforeDeclaration
  a11y/noAriaHiddenOnFocusable
  a11y/useAnchorContent
  complexity/noUselessRename
  correctness/noInvalidNewBuiltin
  style/useNumberNamespace
  complexity/noUselessConstructor
  a11y/noAccessKey
  style/useExponentiationOperator
  style/noUnusedTemplateLiteral
  complexity/noUselessSwitchCase
  style/useSingleVarDeclarator
  suspicious/noExportsInTest
  a11y/noNoninteractiveElementToInteractiveRole
  style/noCommaOperator
  suspicious/useIsArray
  a11y/noHeaderScope
  complexity/noUselessFragments
  suspicious/noMisrefactoredShorthandAssign
  complexity/noForEach
  correctness/noUnusedImports
  suspicious/noClassAssign
  suspicious/noFunctionAssign

Workspace:
  Open Documents:               0

Rule name
noUnusedImports
Playground link
https://biomejs.dev/playground/?lintRules=all&code=aQBtAHAAbwByAHQAIAB7ACAAdQBzAGUATQB1AHQAYQB0AGkAbwBuACwAIAB1AHMAZQBRAHUAZQByAHkAQwBsAGkAZQBuAHQAIAB9ACAAZgByAG8AbQAgACcAQAB0AGEAbgBzAHQAYQBjAGsALwByAGUAYQBjAHQALQBxAHUAZQByAHkAJwA7AAoACgBlAHgAcABvAHIAdAAgAGMAbwBuAHMAdAAgAG0AdQB0AGEAdABpAG8AbgAgAD0AIAB1AHMAZQBNAHUAdABhAHQAaQBvAG4AOwA%3D
Expected result
Before fix:
import { useMutation, useQueryClient } from '@tanstack/react-query';

export const mutation = useMutation;

After fix:
import { useMutation, ck/react-query';

export const mutation = useMutation;

Code of Conduct

[X] I agree to follow Biome's Code of Conduct

We were tracking this in #1570, but I think we can keep this one open because users are consistently reporting it.
Here're some context for OP and other users who encounters similar issues: #1570 actually covers two issues. One is multiple instances of biome in vscode, and the other is code actions where line additions/deletions are involved will sometimes break code. I see this one as the second issue. I did a preliminary attept to fix the it in #2237, but it turned out that I didn't fix it completely. I will revisit the second issue once I finished my other tasks (In the meantime anyone who is interested is welcome to tackle this).
I envision to fix it by using conflict-free replicated data types (CRDT) because the root cause is code actions that mutating lines can cause other code actions that happen in the same time fixing text ranges in the wrong lines. I read the cola source code sometime ago and had always wanted to experiment it in our codebase but I haven't started to do it.

I envision to fix it by using conflict-free replicated data types (CRDT) because the root cause is code actions that mutating some places can cause other code actions that happen in the same time fixing text ranges in the wrong places. I read the cola source code sometime ago and had always wanted to experiment it in our codebase but I haven't started to do it.

I worked on CRDTs in my previous positions (PhD and posdoc positions). You are welcome if you have any question.


POC: abstract ElasticClient (auto-provide executor with .run) [POC-DO-NOT-MERGE]

Closing, as this will be solved by adding a facade layer.

Reopening, as the discussion is still relevant. :)


Break text when CTRL+ALT+L is pressed

This is a feature I would really appreciate, but I think it's not easy
because we don't know, if (hard) breaking text in the current environment
will have an effect on the visual output (e.g. when using listings).
At least it would be nice to automatically break text in the document environment scope.

Automatic soft wraps have just been implemented (see PR #244).
What exactly do you mean with "hard breaking text". Could you give an example of expected behaviour?

I'm not sure, if I'm using the latest version, but I manually enabled View-->Active Editor-->Use Soft Wraps.
This will soft break long lines. But I want my text to be hard broken
if I press CTRL+ALT+L like and it should be hard broken at
the grey line (this value can be defined in settings)

If exactly this was implemented than everything is fine and you can close the issue.

For now, you can use the check the option Settings > Code Style > Right Margin > Wrap on typing to hard wrap the code. This is however for all file types (and hence for every scope in the file).
This is an interesting feature to add for LaTeX files specifically. We will look into it.

Nice, thanks for the answer.

If it's useful to anyone else, I've been using this plugin successfully to wrap my text on demand:


Use AppContext.BaseDirectory

instead of Assembly.GetExecutingAssembly().Location.
I change this pattern in tests too, in case somebody would like to execute them after trimming or AOT context
Related #992

/azp run

@kant2002 Thanks for addressing this.  I ran the pipeline and it looks like the following test failed.  Can you check if it passes for you or not?  Might be related to the trailing slash when appending filename.
[xUnit.net 00:00:10.33]     UnitTest.TestCSharp.TestStorageFile [FAIL]
Failed UnitTest.TestCSharp.TestStorageFile [32 ms]
Error Message:
System.AggregateException : One or more errors occurred. (Value does not fall within the expected range.)
---- System.ArgumentException : Value does not fall within the expected range.
Stack Trace:
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) in System.Private.CoreLib.dll:token 0x6002dd6+0x11
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) in System.Private.CoreLib.dll:token 0x6002df2+0x3f
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout) in System.Private.CoreLib.dll:token 0x6002df1+0x0
at UnitTest.TestCSharp.TestStorageFile() in D:\a\1\s\src\Tests\UnitTest\TestComponentCSharp_Tests.cs:line 540
----- Inner Stack Trace -----
at UnitTest.TestCSharp.TestStorageFileAsync() in D:\a\1\s\src\Tests\UnitTest\TestComponentCSharp_Tests.cs:line 532

@tlakollo do you have any other concerns? It seems that everything was sorted out in the end. Isn't it?

From what I read the scenario that uses Assembly.Location is not supported in single-file mode, so I'm fine with either the current change just run the CI and merge or leave the old code and just suppress the warning with the justification that mentions the code won't reach that path in single-file mode. Let me see if I have permission to run the pipeline which I doubt

/azp run

@manodasanW can you trigger the pipeline run to verify the change doesn't break anything?

Looks like all tests passed, but none of the tests I believe today exercise single file mode. We should try out a CsWinRT projection consumption scenario with single file mode and ensure that it works with these changes. @angelazhangmsft Angela Zhang (SHE/HER) FTE can you help out here trying this build with one of our console app samples?

Looks like the changes here enable CsWinRT projection consumption scenario with single file mode. We should address #999 before merging the PR

/azp run

Thanks you!


DO NOT MERGE: retest all configurations unchained

This PR is to run all presubmit CI unchained, to retest all the code in https://github.com/openssl/openssl/pull/25615 in all configurations.

All good.


Add ability to set templateUrl with uibTimepickerConfig

new timepicker has uibTimepickerConfig but it doesn't support templateUrl option
It's still possible to set it via attributes, but it would be useful to configure it with standard config
you may check here: http://plnkr.co/edit/Uvw1ECUNK4S6mviz3Qak?p=preview

This would be an easy fix if you'd like to file a pull request for this feature - it would need one test to demonstrate that it is possible to override the config and it will use it to fetch a new template. One can use the tests for template-url in any component as a guide to how one would write it.

@wesleycho, are you saying you want the attribute set on the element to override the config if both are set?
I can work on getting a PR out for this.


How to understand your code

Hi,
Very exciting to see your project. I'm new in this field. And I do not have any basic knowledge about unity. So I would appreciate any suggestions for what I need to know if I want to understand your code.
Thank you.

https://docs.bentley.com/LiveContent/web/ContextCapture Help-v9/en/GUID-CED0ABE6-2EE3-458D-9810-D87EC3C521BD.html

first. figure out what 3mx is.


dependencies: pin releases of dependencies where possible

In relation to #386 and #387 it was discussed on flowdock to potentially pin all dependencies to certain tested releases and only bump to new ones once fully tested, to avoid things breaking unexpectedly.

@tmigone I have witnessed many build issues that are the result of not pinning versions throughout the application.  Without pinning versions, there is no guarantee that any build will be the same as any other.  For stability and to reduce user issues, everything throughout the application should be pinned, and the versions should be incremented in the source once everything is fully tested.  There are so many external and community dependencies in this application, that I could build the same commit once per week and every time it would be a different build, with a waning likelihood of a successful build each time.


Written content in Debug Console is deleted after a Panel switch

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version: 1.57.1
OS Version: RHEL7

Hello,
I would like to submit an issue related to Debug Console
Steps to Reproduce:

Write in Debug Console without sending your request
Switch to Terminal View
Switch to Debug Console. Content to evaluate is empty

I think this content should be saved before a panel switch.
Regards.

I can not reproduce this. Can you reproduce using Visual Studio Code Insiders, if yes can you attach a picture? https://code.visualstudio.com/insiders/

Using 1.58 Insiders on Windows 10 x64
https://user-images.githubusercontent.com/45362067/123595177-e344ec80-d7f0-11eb-86b7-8a41ee4e685d.mp4
As you can see, I typed "info breakpoints" in the Debug Console. After a panel switch, content is now empty

@yannickowow good catch, thanks for letting me know.
I have pushed a fix you can try it out from Tuesday and let me know if this is indeed fixed for you know. Thanks!

It works perfectly on my side, thanks a lot!
It looks like this fix does more than that. I was experiencing some issues regarding to Debug Console completion (with first debug run) and with Output Events (not printed if I switch from a panel too quickly).


Fix issue with docker-rootless shimming script (#18690)

Backport #18690
There is a problem with the current shimming script in that it will double quote the
provided GITEA_APP_INI due to a mistake in the bash. Here we change this to use a bash array.
Fix https://gitea.com/gitea/helm-chart/issues/287
Signed-off-by: Andrew Thornton<EMAIL_ADDRESS>

@lunny Can you please tag the 1.16.2 release.

@lunny Can you please tag the 1.16.2 release.

There are still some other bugs need to be merged into 1.16.2. I think it could be expected in next week. You can also switch to 1.16-dev to follow the 1.16 branch.

@lunny Can you please tag the 1.16.2 release.

There are still some other bugs need to be merged into 1.16.2. I think it could be expected in next week. You can also switch to 1.16-dev to follow the 1.16 branch if you don't want to wait.

As a downstream the number of bugs in 1.16 are kinda a problem.
And no, we cannot decide for our users to use dev builds.


Cross Compiles CI: Run evp tests on pull requests

Also fixes a CI regression on ARM 32 bit on master branch from https://github.com/openssl/openssl/pull/21511

The second patch is of course only for the master branch.

I understand and approve the CI part but don't understand the ASM part :)

I changed the mapping of $next to r0 thus r11 does not need to be saved and fixed the bug loading of $next from wrong place on stack.

You suggest in this comment that you will make an update to this PR...but I don't see any changes since you made that comment?

You suggest in this comment that you will make an update to this PR...but I don't see any changes since you made that comment?

I am still investigating that. IMO it will be better if I open a new PR for these changes, if they are needed.

This pull request is ready to merge

Merged to master. Thank you.
It does not look like this merges cleanly to 3.0, 3.1 or 3.2. @t8m, do you want to investigate and raise another PR?

Only the first commit was intended for the older branches. I've cherry-picked it to the 3.2, 3.1, and 3.0 branches.


feat: add load command & cfg support

Codecov Report

Merging #2 (d9866cc) into main (c715a1e) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main        #2   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            1         1
  Lines           88        88
=========================================
  Hits            88        88

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 c715a1e...d9866cc. Read the comment docs.


fix broken links in README.md

Links to UAST specification and the language clients section in the doc looked obsolete.

Thanks for the PR!


Docs link returns 404

📖 Documentation
The Docs link in the README results in a 404 error

ah whoops, looks like I made a typo in my own name 😅 . Thanks for bringing that to my attention!

Corrected it


add error code

error message is supposed to provide details. what's the new use case you are trying to cover?

i think it is fine. please comment on detailerrorcode and rename detail_error_code
thanks

currently the exception contains locale-specific message which makes hard to handle errors.
and existing error code is the name of high-level error type like BackendSlaveError which is too obscure.

I am now adding KinBodyNotFoundByName error code to planningcommon for example to handle this in binpickingsystemanager


TabBar add new 'onTabChanging' and 'onTabChanged' events

Use case
I am trying to build a complex form in Flutter where a large number of input controls are spread across multiple tab views.
Currently, there is no way to know when the current tab view is changing or has changed.
This gap blocks any attempt to validate the data input on the current view
Proposal
Add two new events to the 'TabBar' widget...
a). on TabChanging
This event would be called as a preliminary step to a request to change the current tab.
It would allow logic to be inserted to check on data from controls in the old tab.
onTabChanging:  (int oldTabIndex, int newTabIndex) {
  // a return value of 'true' would enable the tab change,
  // a return value of 'false' would intercept and block the tab change
}

b). onTabChanged
This event would be called once the current tab had been changed to a new index
onTabChanged: (int oldTabIndex, int newTabIndex) {
}

Hi @davoutuk
Have you tried using TabController to solve your case? Please check answer as a minimal sample to see if it can help.

As far as I can tell TabController does not provide a way to intercept and stop the tab change


When blocking at max threshold, signs twitter user out

Test on a large twitter account with more than one million followers.
Max threshold reached at 35000. Twitter api max on that, fine.
Attempt to block chain again, and your Twitter account is now signed out.

If this is happening to you as well, please use the "thumbs up" reaction above to add your vote. (I've done so)

Update,
The signout occurs when "There was an error retrieving more accounts. Please refresh the page and try again."
At this point, you are signed out, after the OK button, the error count climbs. This is due to being signed out.

Update 2:
Performing block chain on a relatively small account, < 4500 followers, twitter is signed out upon completion of blocking the followers.

18K accounts group. it's doing like 500 blocked action or less and it signs you out. It's hard to come back and redo it again, it gives also usually errors retriving the list again so you can complete the task even when sign in back.

My twitter account got restricted yesterday by twitter for automated functions.
The threshold for me was down to 500 due to a heavy block-list I already have.
I kept signing back and continue blocking after I got signed out for some rounds, until bang! a reCAPTCHA and SMS verification code was required, I found my account was restricted.
The SMS was never been received by my phone number which I've been using it for 10+ years.

Same thing here, got logged out after blocking 500 accounts. Then account restricted and reCAPTCHA + SMS verification. Unfortunately my instinct is that it's very likely to be a new policy in Twitter API.

Same thing here, got logged out after blocking 500 accounts. Then account restricted and reCAPTCHA + SMS verification. Unfortunately my instinct is that it's very likely to be a new policy in Twitter API.

Same thing here, got logged out after blocking 500 accounts. Then account restricted and reCAPTCHA + SMS verification. Unfortunately my instinct is that it's very likely to be a new policy in Twitter API.

Sorry to hear that, did you eventually get the SMS?
It's been 15 days for me, never received any SMS and my appeal seems to fall on the deaf ears.

I received the verification SMS immediately, so there's no problem for me.

After trying to block a large amount of followers (Glinner 60k) it started showing errors, then logged out of twitter. After that twitter breaks completely: page itself is loading, but any data, absolutely any data does not. Ctrl+Shift+J shows that every single internal request returns error 403 (without any message, empty brackets where this message I guess is supposed to be)
Thing is, this is browser-related and not account-related: after this happened in Vivaldi I was able to freely look at page without any problems in Chrome (on same computer) and twitter mobile app

After trying to block a large amount of followers (Glinner 60k) it started showing errors, then logged out of twitter. After that twitter breaks completely: page itself is loading, but any data, absolutely any data does not. Ctrl+Shift+J shows that every single internal request returns error 403 (without any message, empty brackets where this message I guess is supposed to be)
Thing is, this is browser-related and not account-related: after this happened in Vivaldi I was able to freely look at page without any problems in Chrome (on same computer) and twitter mobile app

Clear your cookies pal, we've been there.

My twitter account got restricted yesterday by twitter for automated functions.
The threshold for me was down to 500 due to a heavy block-list I already have.
I kept signing back and continue blocking after I got signed out for some rounds, until bang! a reCAPTCHA and SMS verification code was required, I found my account was restricted.
The SMS was never been received by my phone number which I've been using it for 10+ years.

Update:
Account has been suspended just now.

Just FYI, Currently I developing another blockchain-like extension using block_all API called Red Block. Unfortunately, it has another issue that not all followers block immediately, but at least it doesn't have a force-logout problem. (Note that its main language is Korean and English translation is not completed yet.)

Firefox: https://addons.mozilla.org/en-US/firefox/addon/red-block/
Chrome/Chromium: https://chrome.google.com/webstore/detail/red-block/knjpopecjigkkaddmoahjcfpbgedkibf

Block Chain sleeps 100 ms between API calls, which comes to 600 API calls/minute. The twitter API does not allow anywhere near that for almost API call I see here: https://developer.twitter.com/en/docs/basics/rate-limits . Block Chain probably needs to throttle itself better via querying https://developer.twitter.com/en/docs/basics/rate-limits to avoid getting throttled or flagged.

Test on a large twitter account with more than one million followers.
Max threshold reached at 35000. Twitter api max on that, fine.
Attempt to block chain again, and your Twitter account is now signed out.

Sorry for my poor english, but the process bellow worked to me.
Do the following steps:
1 - Go to the followers page of the profile that you want
2 - Left Click on the extension button
3 - Click "Run Export Chain"
4 - Wait finish the process. Maybe, near the final process it seem stoped. Just wait.
5 - It will generate a large text. with the text mouse (text selector) just click once before the first caractere. Roll to the final of the list, hold "Shift", click just after the last letter (character, I dont know the word lol). All the text will be selected and this is the only way to select everything in this box.
6 - click "done"
7 - left click in the extension button
8 - Click "run import chain"
9 - paste all the text that you just copy to this text box
10 - click "start import"
11 - Click ok and thats is. No troubles with twitter restrictions

Test on a large twitter account with more than one million followers.
Max threshold reached at 35000. Twitter api max on that, fine.
Attempt to block chain again, and your Twitter account is now signed out.

Sorry for my poor english, but the process bellow worked to me.
Do the following steps:
1 - Go to the followers page of the profile that you want
2 - Left Click on the extension button
3 - Click "Run Export Chain"
4 - Wait finish the process. Maybe, near the final process it seem stoped. Just wait.
5 - It will generate a large text. with the text mouse (text selector) just click once before the first caractere. Roll to the final of the list, hold "Shift", click just after the last letter (character, I dont know the word lol). All the text will be selected and this is the only way to select everything in this box.
6 - click "done"
7 - left click in the extension button
8 - Click "run import chain"
9 - paste all the text that you just copy to this text box
10 - click "start import"
11 - Click ok and thats is. No troubles with twitter restrictions

IT DOESNT WORK PERFECTLY AND IT ACTIVATE TWITTER RESTRICTIONS, BUT YOU CAN LOGGIN AND TRY AGAIN NEXT WEEK TO BE SURE THAT TWITTER "FORGET YOU"

I bet @tylerarnold is right about blowing the rate limits. What I've found necessary (regardless of how many accounts I've used TBC to block) is go into the browser settings & clear twitter.com data.  Then I can immediately log back in to twitter.
I wonder if twitter changed those rate limits recently.

Just for a goof (b/c I don't really know what I'm doing) I tried out this change:

The rate of block operations shown in the dialog was noticeably slower (updated in chunks of 5 accounts at a time it looked like) but at the end of it my session was still invalidated. :(

Update, The signout occurs when "There was an error retrieving more accounts. Please refresh the page and try again." At this point, you are signed out, after the OK button, the error count climbs. This is due to being signed out.

Two years later... same problem.


Add QueueEverythingMiddleware

Although I know we agreed on this quite some time ago, but it still seems to me fundamentally wrong that we require devs to use a marker interface to decide if a command should be queued or not. Although it's okay for me to have this possibility, I would add a QueueEverythingMiddleware which wraps all commands in a QueueCommand object (which does not already implement the relevant interface AND NOT a QueuedCommand to prevent infinite loops). Having this would help in cases where we just want every command to be queued. WDYT @rosstuck ?

In short, agreed. Go for it! :+1:


add link to PPOCRLabel

Thank you for your repository. Could you please add a link to our annotation tool PPOCRLabel?

Readme is dedicated to tesseract and not 3rd party tools.


Update Set-Label.md

Same update as #8104

Docs Build status updates of commit dced360:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/Set-Label.md
:white_check_mark:Succeeded
View (exchange-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Better Classification using Fink filters

This PR changes the way the classification of alerts is made.
Before, we used a shortcut that was basically " a topic of alerts is a classification", but inside of a topic, many different objects with more detailed classifications can be found.
However, an alert from fink does not contain that classification, as it in the classification that was used to attribute it to a topic. However, what you can find in the alert is the "science", the data used to classify. Therefore, using fink-filters, you can recreate said classification.
This PR adds this aspect of the classification, and attempts to match fink classifications with classifications from a skyportal taxonomy by recursively inspecting every class and their other names field.
We also updated the logs in the console when running the script.
What more can be done:
We are waiting for modifications on fink-filters repo, as currently the module that contains the function that recreates the classification import pyspark and pyarrow, that combined take more than 350+ MB. However, they are actually not needed. An issue has been opened here: https://github.com/astrolabsoftware/fink-filters/issues/116

Thanks @Theodlz !


Missing details on multi-geo

Please add details on configuration needed for multi-geo organizations. This article refers to the tenant, but it seems this is not tenant wide. This is a per-geo configuration and the library can't be shared across geos.

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

ID: 58fd3557-6ef6-28db-1272-26655baeb9dd
Version Independent ID: 49575a24-f38b-231b-1577-401199c97384
Content: Add-SPOOrgAssetsLibrary (Microsoft.Online.SharePoint.PowerShell)
Content Source: sharepoint/sharepoint-ps/sharepoint-online/Add-SPOOrgAssetsLibrary.md
Service: sharepoint-server-itpro
GitHub Login: @Maralesfahanpoor
Microsoft Alias: maesfaha

Hello @danmyhre Dan, I'm working on this.

@get-itips Please update. Thanks


AVRO-2657: Fix Python Interop Data Generator

Jira

[x] My PR addresses AVRO-2657
[x] ...and references it in the PR title.
[x] ...adds no dependencies.

Tests

[x] Fixes where build.sh puts the interop test data generated by Python.

Commits

[x] My commits all reference Jira issues in their subject lines.
[x] My commits follow the guidelines from "How to write a good git commit message"

Documentation

[x] N/A

@sekikn Please review.

Looks good for the interop-data-generate function :) In addition, interop-data-test should be also fixed so that it can refer to the files generated by other language bindings.

I've decided to roll this into #742 because I want to use tox itself to make the interop avro files available in the tox virtualenvs for each python implementation.


[Feature] ApiClient and Composable for Documents (Invoices, Delivery Note, Credit Note)

I couldn't find a composable or endpoint in api-client for downloading documents from Shopware 6, such as invoices or delivery notes. Should this be integrated into a separate composable, or would it be better to implement it in the existing useOrderDetails composable since it can only be used when order details are available?
Use Case:

Customers can download invoice from their account when logged in
Customers can download proof of payment when picking up order from store
Customers can download Delivery note with all info about their delivery

Click here for the Stoplight docs of downloading document using store-api

It's more UI related, as it's just a link probably the best would be to invoke api-client for that.
We'll look into this case and provide missing methods! :)

This is done already. See this commit https://github.com/shopware/frontends/commit/240eae89daf685dff1b76914d263ee08f9e44b41
Tell me if something missing or not working like expected.


Server crashes when payment pending for ad

First of all thank you for this amazing tool.
The other day, when experimenting with this newly installed package, I kept getting an error 5000.
I believe it was because I accidentally posted too many ads. That's when the problem started, and it resolved after I deleted it.
If that is the case, then when payment is pending on an ad (for example, if you exceed 2 ads in the Real Estate or Cars & Vehicles sections), the server throws an error.
Note the log: https://pastebin.com/Q7NevnV1
There would not be a page number if payment is pending (the ad isn't posted yet, but rather in a pending state).
Steps to reproduce: (have not tried a second time as I'm worried my account will get flagged given how many times I've done this already when experimenting)

Post an ad in the real estate section.
Do it again (now 2 ads)
Do it again (now 3 ads)

Expected results: You are able to log into kijiji-manager and view your ad. Ideally it would note that the ad is "Payment pending" similar to the Kijiji website.
Actual results: Server throws an error 5000. You cannot do anything, including log out of your profile. Theoretically can be fixed if you delete the "payment pending" ad from the kijiji website.

This is indeed an untested part of the code when it comes to Kijiji limiting the number of ads in a certain category or when payments to Kijiji come into play. This needs further investigation.
The issue when a page number does not exist for an ad is fixed in commit 0f62e0a


Low GPU utilization with PyTorch

Hello all,
I recently switched from the NCNN implementation to the Pytorch version after encountering a weird tile glitch that I was unable to solve.  Thankfully the same error does not appear to occur on the Pytorch version so that's a plus.  The main "issue" is the speed of the upscale.  It is drastically slower than the Vulkan version with identical arguments.
I have noticed a disparity in GPU usage between the two versions.  Vulkan seems to use 20-30% whereas the PyTorch version seems to cap at between 10-15%.  Is this simply how it works or have I missed a step where I was supposed to allocate resources?
I had a hypothesis for this but don't know enough to be able to confirm if it is the case.
When I first began using the PyTorch version I discovered that FFmpeg has extracted all frames as 16bit pngs for some reason.  I changed this so that they would now be extracted as 8bit jpg (the original source file is 8bit), this sped things up significantly however it also seems to have caused the GPU issue.  When it was processing 16bit png's utilization peaked at 90%.   Is there any reason that a switch in file format would cause this?
I did some googling and it seems that CUDA prefers raw data in either .raw or .ppm.  Unfortunately, it does not appear that either of these are accepted as valid by the implementation.
Thanks in advance, my apologies if this is something simple, this is my first time trying to do something like this.
Edit: I forgot to mention that my CPU utilization peaks slightly before the GPU utilization.  This led me to think that perhaps it was using the CPU to "read" the file, and then performing the upscaling.  I don't know if that is something that would happen, its just my hypothesis.

For now NCNN models are the fastes model that you can use thanks to NCNN optimization process. PyTorch models do not have optimization with makes model slower. It will be fine on anime models but the base one is very heavy and will be very slow.

My apologies for re-opening, I'm not sure if it's better etiquette to create a new issue or not.  I switched back to vulkan after reading this and am once again having the issue of low GPU usage.  Here is my understanding of what you said plus my own googling.
NCNN is far better optimized and uses the Vulkan API which allows it to interact directly with the GPU instead of using a separate CUDA environment?  This causes it to be faster.
Issue.  Utilization via task manager never crosses the 10-15% threshold, however when I do something like FFMPEG and have it encode using hardware acceleration this number goes up well above that.
When I go to Performance under task manager I see that the process I have identified as being the model is using "3d" rather than compute or CUDA.  Is this where it is supposed to be?
I also suspected bottlenecking may be a cause but CPU never rises above 7% so nothing is being outsourced that I can see.
I am running on an intel i9 9900k and a 1080TI FE.  Is there anything I can do to get the utilization up.
P.S.  I tried messing with -j argument and there was no increase in utilization.
Thanks in advance.

NCNN is using fp16 mod = lower VRAM usage :)
https://docs.nvidia.com/deeplearning/performance/mixed-precision-training/index.html


No Connection attempt seen

I've successfully managed to get the sqlsrv library installed on Ubuntu Server 16.04.1, however, all my connection attempts fail.
I have checked the SQL Server logs, and I cannot see any failed connection attempts from the user I am using to try and connect, or any attempt from the IP of the php server. The firewall also permits traffic from the server to the SQL Server, but we can't see any packets being submitted from it to the SQL server on port 1433 (TELNET works though).
I'm sceptical that the sqlsrv_connect is actually trying, as the php page loads instantly, I'd expect some load time or delay is the connection was being refused.
Has anyone else had this issue and resolved?

I have since resolved this, it appears that the Ubuntu ODBC installer script did not correctly install the ODBC drivers. I ran this manually and resolved the issue.

awesome! @LarnuUK do you have any feedback on how we can improve the script? I will close the issue for now. Feel free to reopen it if you have further questions.


simplify backend build

Looks like the updated start9/rust-arm-cross:aarch64 (which is an amd64 image with a aarch64 tag) currently has the aarch64 cargo-nextest binary installed. That's why the build fails.  Running curl -LsSf https://get.nexte.st/latest/linux | tar zxf - -C ${CARGO_HOME:-~/.cargo}/bin on that image would fix it.
After this change different rustc versions would be used (1.62.1 for x86_64 and 1.63 for aarch64). I would consider it a feature that the build currently overrides and unifies this.

The goal here is just to reduce build times. Currently, the final image build step recompiles the backend because of the mismatched rust versions, which I'd prefer to avoid. A configurable rust version isn't worth the added time of reinstalling the toolchains every time, or rerunning the build. If we want to change the rust version, we can update the rust-arm-builder image.

Oh I see, hadn't noticed it started doing that. I expect it's rebuilding because an embassy bin "backend/target/aarch64-unknown-linux-gnu/release/avahi-alias" has been added since pipeline 340 that is not caught by the embassy* filter and thus not copied to the image job, so make compiles everything again. Having this logic outside of the Makefile is painful.
See: https://github.com/Start9Labs/embassy-os/blob/8b794c229974e2a64f2d1a7bbd83ff47e3550a00/.github/workflows/backend.yaml#L136

closing in favor of #1886


Find a way to programmatically load book covers into posts

This could be an import via the webhook api, or on the front-end.
should probably avoid doing this with the amazon api

this might be the place
https://developers.google.com/books/docs/static-links?hl=en

 Initial Prototype


Patches refresh disabled?

Hello Jon,
I have made some new patches but it seems that Github Actions are not running anymore, so new patches are not grabbed.
Regards,
BestPig

The Github Action stopped running due to inactivity. I just reenabled it and it looks like it succeeded. Thanks for the heads up and the patches!

I'm not sure how often the runner completes, but it looks like it's off again. How often does it need to run to keep it active?   I can just tell it to not turn off when it emails me
due to inactivity.
On Fri, May 5, 2023 at 18:31 Joseph Jezak @.***> wrote:

I'm not sure how often the runner completes, but it looks like it's off
again. How often does it need to run to keep it active? Maybe I can add a
game every month or something haha
—
Reply to this email directly, view it on GitHub
https://github.com/JonAbrams/retropatcher/issues/7#issuecomment-1536965596,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAJPPVHUNDET2SK65EVOLWLXEWSWBANCNFSM6AAAAAAT5AUZAI
.
You are receiving this because you modified the open/close state.Message
ID: @.***>


git.checkout: Create new branch using the input text in the checkout quick pick

TODO

[ ] We should probably make the "+ Create new branch" item label dynamic to show that it's going to create a new branch immediately using the entered value. I can listen for onDidChangeValue, and update a property on the CreateBranchItem, but I'm not sure how to request the QuickPick to query the label again. EDIT: I implemented this locally by simply reassigning QuickPick.items, but before I push this to the PR... I think this might have an unintended side effect since the label will always include the typed value in the quick pick. This might cause the create branch entry to get selected at a higher priority.
[ ] When the branch name fails git.branchValidationRegex, the current code in this PR will open the create new branch input box with the inputted branch name, but it will only show the validation error once the user edits/hits enter on the newly opened input box. validateInput is not called for the initial value.
[ ] The sample vscode-extension-samples/quickinput-sample/src/quickOpen.ts seems to call dispose on the event registrations. But since we already dispose of the QuickPick on onDidHide is that really necessary?

Fixes #60895
@ParkourKarthik There is a bug in createCommand that made your PR not work. Fixed in this PR.

@segevfiner Thanks mate!

Here is the patch which I haven't pushed to this PR to fix the first TODO (see the PR description):
diff --git a/extensions/git/src/commands.ts b/extensions/git/src/commands.ts
index 538b2bf9c1..c756089dc0 100755
--- a/extensions/git/src/commands.ts
+++ b/extensions/git/src/commands.ts
@@ -27,7 +27,7 @@ class CheckoutItem implements QuickPickItem {

 	constructor(protected ref: Ref) { }

-	async run(repository: Repository, _name: string): Promise<void> {
+	async run(repository: Repository): Promise<void> {
 		const ref = this.ref.name;

 		if (!ref) {
@@ -51,7 +51,7 @@ class CheckoutRemoteHeadItem extends CheckoutItem {
 		return localize('remote branch at', "Remote branch at {0}", this.shortCommit);
 	}

-	async run(repository: Repository, _name: string): Promise<void> {
+	async run(repository: Repository): Promise<void> {
 		if (!this.ref.name) {
 			return;
 		}
@@ -91,15 +91,23 @@ class MergeItem implements QuickPickItem {

 class CreateBranchItem implements QuickPickItem {

+	public branchName?: string;
+
 	constructor(private cc: CommandCenter) { }

-	get label(): string { return localize('create branch', '$(plus) Create new branch'); }
+	get label(): string {
+		if (this.branchName) {
+			return localize('create named branch', "$(plus) Create '{0}' branch", this.branchName);
+		} else {
+			return localize('create branch', '$(plus) Create new branch');
+		}
+	}
 	get description(): string { return ''; }

 	get alwaysShow(): boolean { return true; }

-	async run(repository: Repository, name: string): Promise<void> {
-		await this.cc.branch(repository, name);
+	async run(repository: Repository): Promise<void> {
+		await this.cc.branch(repository, this.branchName);
 	}
 }

@@ -1405,8 +1413,13 @@ export class CommandCenter {
 		quickPick.placeholder = localize('select a ref to checkout', 'Select a ref to checkout');

 		return new Promise<boolean>(resolve => {
+			quickPick.onDidChangeValue(value => {
+				createBranch.branchName = value;
+				// Trigger an update of the items
+				quickPick.items = quickPick.items;
+			});
 			quickPick.onDidAccept(() => {
-				quickPick.selectedItems[0].run(repository, quickPick.value);
+				quickPick.selectedItems[0].run(repository);
 				resolve(true);
 				quickPick.hide();
 			});

@joaomoreno I think you implemented this yourself. If so, feel free to close this one.


[CLOUD-35][Azure] Crear GNP para el IMDS

Azure
VMs

Pod without proper labels

kw run -it no-labels --image=ubuntu -n kube-system -- bash

root@no-labels:/# curl -v -H Metadata:true --noproxy "*" "http://<IP_ADDRESS>/metadata/instance?api-version=2021-02-01" --connect-timeout 15
*   Trying <IP_ADDRESS>:80...
* After 15000ms connect time, move on!
* connect to <IP_ADDRESS> port 80 failed: Connection timed out
* Connection timeout after 15001 ms
* Closing connection 0
curl: (28) Connection timeout after 15001 ms

Pod with proper labels

kw run -it with-labels --image=ubuntu -n kube-system --labels=component=cloud-controller-manager -- bash

root@with-labels:/# curl -H Metadata:true --noproxy "*" "http://<IP_ADDRESS>/metadata/instance?api-version=2021-02-01" --connect-timeout 15
{"compute":{"azEnvironment":"AzurePublicCloud","customData":"","evictionPolicy":"","isHostCompatibilityLayerVm":"false","licenseType":"","location":"westeurope","name":"worker1-md-0-bwkmp","offer":"capi","osProfile":{"adminUsername":"capi","computerName":"worker1-md-0-bwkmp","disablePasswordAuthentication":"true"},"osType":"Linux","placementGroupId":"","plan":{"name":"","product":"","publisher":""},"platformFaultDomain":"0","platformUpdateDomain":"0","priority":"","provider":"Microsoft.Compute","publicKeys":[{"keyData":"ssh-rsa xxxxxxxxxxxx\n","path":"/home/capi/.ssh/authorized_keys"}],"publisher":"cncf-upstream","resourceGroupName":"esierra-dev-vms","resourceId":"/subscriptions/6e2a38cd-ef16-47b3-a75e-5a4960cedf65/resourceGroups/esierra-dev-vms/providers/Microsoft.Compute/virtualMachines/worker1-md-0-bwkmp","securityProfile":{"secureBootEnabled":"false","virtualTpmEnabled":"false"},"sku":"ubuntu-2204-gen1","storageProfile":{"dataDisks":[],"imageReference":{"id":"","offer":"capi","publisher":"cncf-upstream","sku":"ubuntu-2204-gen1","version":"126.10.20231023"},"osDisk":{"caching":"None","createOption":"FromImage","diffDiskSettings":{"option":""},"diskSizeGB":"50","encryptionSettings":{"enabled":"false"},"image":{"uri":""},"managedDisk":{"id":"/subscriptions/6e2a38cd-ef16-47b3-a75e-5a4960cedf65/resourceGroups/esierra-dev-vms/providers/Microsoft.Compute/disks/worker1-md-0-bwkmp_OSDisk","storageAccountType":"Standard_LRS"},"name":"worker1-md-0-bwkmp_OSDisk","osType":"Linux","vhd":{"uri":""},"writeAcceleratorEnabled":"false"},"resourceDisk":{"size":"204800"}},"subscriptionId":"6e2a38cd-ef16-47b3-a75e-5a4960cedf65","tags":"Name:worker1-md-0-bwkmp;kubernetes.io_cluster_esierra-dev-vms:owned;sigs.k8s.io_cluster-api-provider-azure_cluster_esierra-dev-vms:owned;sigs.k8s.io_cluster-api-provider-azure_role:node","tagsList":[{"name":"Name","value":"worker1-md-0-bwkmp"},{"name":"kubernetes.io_cluster_esierra-dev-vms","value":"owned"},{"name":"sigs.k8s.io_cluster-api-provider-azure_cluster_esierra-dev-vms","value":"owned"},{"name":"sigs.k8s.io_cluster-api-provider-azure_role","value":"node"}],"userData":"","version":"126.10.20231023","vmId":"40654e07-fef2-417e-9428-d2c443d90707","vmScaleSetName":"","vmSize":"Standard_D8_v3","zone":"1"},"network":{"interface":[{"ipv4":{"ipAddress":[{"privateIpAddress":"<IP_ADDRESS>","publicIpAddress":""}],"subnet":[{"address":"<IP_ADDRESS>","prefix":"16"}]},"ipv6":{"ipAddress":[]},"macAddress":"000D3A4B6F89"}]}}

AKS

Pod without proper labels

kw run -it no-labels --image=ubuntu -n kube-system -- bash

root@no-labels:/#  curl -v -H Metadata:true --noproxy "*" "http://<IP_ADDRESS>/metadata/instance?api-version=2021-02-01" --connect-timeout 15
*   Trying <IP_ADDRESS>:80...
* After 15000ms connect time, move on!
* connect to <IP_ADDRESS> port 80 failed: Connection timed out
* Connection timeout after 15001 ms
* Closing connection 0
curl: (28) Connection timeout after 15001 ms

Pod with proper labels and namespace

kw run -it with-labels --image=ubuntu -n capz-system --labels=cluster.x-k8s.io/provider=infrastructure-azure -- bash

root@with-labels:/# curl -H Metadata:true --noproxy "*" "http://<IP_ADDRESS>/metadata/instance?api-version=2021-02-01" --connect-timeout 15
{"compute":{"azEnvironment":"AzurePublicCloud","customData":"","evictionPolicy":"","isHostCompatibilityLayerVm":"false","licenseType":"","location":"westeurope","name":"aks-worker1mp1-05679644-vmss_0","offer":"","osProfile":{"adminUsername":"azureuser","computerName":"aks-worker1mp1-05679644-vmss000000","disablePasswordAuthentication":"true"},"osType":"Linux","placementGroupId":"d12dcd30-c2c2-4a0a-9152-ac7ea634a551","plan":{"name":"","product":"","publisher":""},"platformFaultDomain":"0","platformUpdateDomain":"0","priority":"","provider":"Microsoft.Compute","publicKeys":[{"keyData":"ssh-rsa xxxxxxxxxxxx","path":"/home/azureuser/.ssh/authorized_keys"}],"publisher":"","resourceGroupName":"esierra-dev-nodes","resourceId":"/subscriptions/6e2a38cd-ef16-47b3-a75e-5a4960cedf65/resourceGroups/esierra-dev-nodes/providers/Microsoft.Compute/virtualMachineScaleSets/aks-worker1mp1-05679644-vmss/virtualMachines/0","securityProfile":{"secureBootEnabled":"false","virtualTpmEnabled":"false"},"sku":"","storageProfile":{"dataDisks":[],"imageReference":{"id":"/subscriptions/109a5e88-712a-48ae-9078-9ca8b3c81345/resourceGroups/AKS-Ubuntu/providers/Microsoft.Compute/galleries/AKSUbuntu/images/2204containerd/versions/202401.17.1","offer":"","publisher":"","sku":"","version":""},"osDisk":{"caching":"ReadWrite","createOption":"FromImage","diffDiskSettings":{"option":""},"diskSizeGB":"50","encryptionSettings":{"enabled":"false"},"image":{"uri":""},"managedDisk":{"id":"/subscriptions/6e2a38cd-ef16-47b3-a75e-5a4960cedf65/resourceGroups/esierra-dev-nodes/providers/Microsoft.Compute/disks/aks-worker1mp1-05679aks-worker1mp1-056796disk1_a87b3fb47b614bb6aed3fb7de60f5165","storageAccountType":"StandardSSD_LRS"},"name":"aks-worker1mp1-05679aks-worker1mp1-056796disk1_a87b3fb47b614bb6aed3fb7de60f5165","osType":"Linux","vhd":{"uri":""},"writeAcceleratorEnabled":"false"},"resourceDisk":{"size":"204800"}},"subscriptionId":"6e2a38cd-ef16-47b3-a75e-5a4960cedf65","tags":"aks-managed-consolidated-additional-properties:6316e3d3-c751-11ee-a86a-f6f634515342;aks-managed-coordination:true;aks-managed-createOperationID:90cbd503-224b-425a-99f1-8b1ff2e8f862;aks-managed-creationSource:vmssclient-aks-worker1mp1-05679644-vmss;aks-managed-kubeletIdentityClientID:46a8d6b3-41bf-4e7c-b6f8-c5860f5edc63;aks-managed-orchestrator:Kubernetes:1.27.3;aks-managed-poolName:worker1mp1;aks-managed-resourceNameSuffix:20625270;aks-managed-ssh-access:LocalUser","tagsList":[{"name":"aks-managed-consolidated-additional-properties","value":"6316e3d3-c751-11ee-a86a-f6f634515342"},{"name":"aks-managed-coordination","value":"true"},{"name":"aks-managed-createOperationID","value":"90cbd503-224b-425a-99f1-8b1ff2e8f862"},{"name":"aks-managed-creationSource","value":"vmssclient-aks-worker1mp1-05679644-vmss"},{"name":"aks-managed-kubeletIdentityClientID","value":"46a8d6b3-41bf-4e7c-b6f8-c5860f5edc63"},{"name":"aks-managed-orchestrator","value":"Kubernetes:1.27.3"},{"name":"aks-managed-poolName","value":"worker1mp1"},{"name":"aks-managed-resourceNameSuffix","value":"20625270"},{"name":"aks-managed-ssh-access","value":"LocalUser"}],"userData":"","version":"202401.17.1","vmId":"3a19081a-ea0d-4c40-8c1b-8a3e99489fb0","vmScaleSetName":"aks-worker1mp1-05679644-vmss","vmSize":"Standard_D8_v3","zone":"2"},"network":{"interface":[{"ipv4":{"ipAddress":[{"privateIpAddress":"<IP_ADDRESS>","publicIpAddress":""},{"privateIpAddress":"<IP_ADDRESS>","publicIpAddress":""},{"privateIpAddress":"<IP_ADDRESS>","publicIpAddress":""},{"privateIpAddress":"<IP_ADDRESS>","publicIpAddress":""},{"privateIpAddress":"<IP_ADDRESS>","publicIpAddress":""},{"privateIpAddress":"<IP_ADDRESS>","publicIpAddress":""},{"privateIpAddress":"<IP_ADDRESS>","publicIpAddress":""},{"privateIpAddress":"<IP_ADDRESS>","publicIpAddress":""},{"privateIpAddress":"<IP_ADDRESS>","publicIpAddress":""},{"privateIpAddress":"<IP_ADDRESS>","publicIpAddress":""},{"privateIpAddress":"<IP_ADDRESS>","publicIpAddress":""},{"privateIpAddress":"<IP_ADDRESS>","publicIpAddress":""},{"privateIpAddress":"<IP_ADDRESS>","publicIpAddress":""},{"privateIpAddress":"<IP_ADDRESS>","publicIpAddress":""},{"privateIpAddress":"<IP_ADDRESS>","publicIpAddress":""},{"privateIpAddress":"<IP_ADDRESS>","publicIpAddress":""},{"privateIpAddress":"<IP_ADDRESS>","publicIpAddress":""},{"privateIpAddress":"<IP_ADDRESS>","publicIpAddress":""},{"privateIpAddress":"<IP_ADDRESS>","publicIpAddress":""},{"privateIpAddress":"<IP_ADDRESS>","publicIpAddress":""},{"privateIpAddress":"<IP_ADDRESS>","publicIpAddress":""},{"privateIpAddress":"<IP_ADDRESS>","publicIpAddress":""},{"privateIpAddress":"<IP_ADDRESS>","publicIpAddress":""},{"privateIpAddress":"<IP_ADDRESS>","publicIpAddress":""},{"privateIpAddress":"<IP_ADDRESS>","publicIpAddress":""},{"privateIpAddress":"<IP_ADDRESS>","publicIpAddress":""},{"privateIpAddress":"<IP_ADDRESS>","publicIpAddress":""},{"privateIpAddress":"<IP_ADDRESS>","publicIpAddress":""},{"privateIpAddress":"<IP_ADDRESS>","publicIpAddress":""}],"subnet":[{"address":"<IP_ADDRESS>","prefix":"16"}]},"ipv6":{"ipAddress":[]},"macAddress":"000D3A2745FE"}]}}

:pray:


[v6] Can initialize form with immutable state

reducer

import {combineReducers} from 'redux-immutablejs';
import {reducer as formReducer} from 'redux-form/immutable';

.....

const userGroupManagementReducer = combineReducers({
  dataReducer,
  form: formReducer
});

export default userGroupManagementReducer;

component

import {reduxForm, Field} from 'redux-form/immutable';

class GroupInfoForm extends Component {
...
}

const ReduxGroupInfoForm = reduxForm({
  form: 'GroupInfoForm',
  enableReinitialize: true,
  validate
}
)(GroupInfoForm);

export default connect((state) => {
  return {
    initialValues: state.app.common.userGroupManagement.getIn(['dataReducer', 'initFormData'])
  }
})(ReduxGroupInfoForm);

This is my console. I will dispatch the action USER_GROUP_MANAGEMENT_LOAD_INITIAL_FORM_DATA by the parent component. And when dispatch redux-form/IITIALIZE . the payload has the value. But nothing rendered.

Regards.

I forget change the form state mountpoint.


current display show only the player 1's reg

for the final version we should either display no reg or display the reg of every player

No reg, I'll remove it.


Detox will not tap button because it says that it is not visible enough.

Description
I have a screen where there is a button to switch views. In my tests, detox finds the button by testID but tells me that the button is not visible. Screenshots and logs below to give more context and detail.

[X ] I have tested this issue on the latest Detox release and it still reproduces

Reproduction

I don't know how exactly one could reproduce it as it is a specific implementation but I have tried moving the testID to various different elements including the TouchableOpacity's parent View and the TO's inner Text component and I get the same error messages each time.

Expected behavior
I am trying to select the button shown below. It is expected that detox will find the button and tap it.
Screenshots

Environment (please complete the following information):

Detox: 17.6.0
React Native: 0.61.2
Node: 12.18.3
Device: iPhone 11
Xcode: 11.3.1
iOS: 13.3
macOS: 11

Logs
Test Failed: View “<RCTView: 0x7fa08ded38f0>” is not visible: view does not pass visibility threshold (75%)
TIP: To print view hierarchy on failed actions/matches, use loglevel verbose and above.

  94 |     await element(by.id('CreateOrder')).tap();
  95 |
> 96 |     await element(by.id('SwitchLabelRight')).tap();
     |                                              ^
  97 |
  98 |     // await scrollToElement('ScrollView', `${orderQuantity}-Pack`, 'down');
  99 |     // await element(by.id(`${orderQuantity}-Pack`)).tap();

Device and verbose Detox logs

[X] I have run my tests using the --loglevel trace argument and am providing the verbose log below:
Test Failed: View “<RCTView: 0x7fc93b762dd0>” is not visible: view does not pass visibility threshold (75%)
View Hierarchy:

Hello,
Showing your component code doesn’t help, because Detox lives in the native world. Please run your app with Xcode, reach the screen you have an issue, open the hierarchy inspector and post here screenshots of the two views. See if one sits on top of the other.

Sorry I haven't used the hierarchy inspector, is this what you are referring to? @LeoNatan

Yes, but show me the 3D inspector, where you see the views

Heres a gif of me dragging the 3d view. It looks like maybe that gray box is blocking but im not sure. Let me know if you need something else. I'm not familiar with these internal Xcode tools.

But you can see from that GIF that the selected view is obscured, right?

Yeah I see that, so in a situation like this, detox will be unable to tap the element as it is behind. Is there a way for me to ignore that obscuring view? Or is this just a composition issue on my end that I need to refactor?

Let me get back to you. I am developing a debug tool that you will be able to enable, and get some debug images. I've seen some instances where the Xcode hierarchy inspector has shown some views that aren't really visible.

Okay so it is a composition issue. Moving that component in code changed the order and passed the test. Thank you for your help and big thanks for letting me know about this 3d view. Let me know about the debug tool that would be immensely helpful!

yeah, it's kinda weird. Is it a react-native or yoga bug? Elevated elements with higher zIndex sometimes could be under the other views in LayoutInspector (so detox will see it the same way). But above other views on device/simulator.

What matters in the end is how the views appear on device, in the actual hierarchy. Xcode could be buggy too, but I've only seen this kind of issues with React Native. The concept of zIndex doesn't really exist on iOS, and I have no idea how it's implemented behind the scenes in RN.

I'll push my debug tool in a few minutes, where we'll be able to better look at what Detox sees.

I've pushed and ordered a release build. Once it's out, the test tool can be enabled with -detoxDebugVisibility YES launch argument. What will happen is, for each view that fails visibility, two images will be saved on your desktop:

The first is supposed to show what is seen on screen. The second shows the internal buffer that Detox tests for visibility; if the pixels aren't transparent enough and less than 75% of tested region is not transparent, the view is not considered visible.

In the above case, the red square is tested for visibility.

@LeoNatan wow thank you so much!!! This will be very helpful.

I'm also wondering, do we really need to assess a button for a 75% visibility threshold when pressing?

Any view is tested for visibility. Otherwise, you might tap a different view. Imagine having an alert open on top of the button.

I guess sometimes in edge cases we might need to override the visibility threshold assessment.

Running into similar issues, @LeoNatan having trouble invoking the -detoxDebugVisibility tag, could you advise as to where/how to add this argument?

Are you able to pass -detoxDebugVisibility YES through as a param in the detox test cli command? I've tried  passing via --device-launch-args but not had much luck

Send that argument using device.launchApp(). launchApp is documented in our docs.

Thanks, I've managed to get it through this way and it seems to be passing it through on the launcher, but the test looks the same visibly when the test occurs, and no screenshots are generated on my desktop. Is there a way to debug where the output screenshots are being generated?

I'm on version 17.6.1 of detox

For clarity, this is the output of the failed test when the args are passed through as above

You need to edit the Deotx source files. Extract the source tbz, edit UIImage+Utils.m and run detox rebuild-framework-cache

Ah, that’s a different error. That one means your view is hidden by a superview.

@LeoNatan thanks for the detoxDebugVisibility parameter! Is it possible somehow to configure the path where screenshots will be saved?

@anisimov74 unfortunately now. The screenshots are saved to the Desktop folder.

how to bring the element behind another element to test guys?


External site pointing to an internal resource

Loving the new site!
Not so much a question, just general feedback/something to think about..
The link on this card points to a Slack workspace that is on the Enterprise Grid. So only IBMers have access to it. It might be worth exploring how to let me people know since this is a public facing site.

@wonilsuhibm @JennySanchez Would this suggestion be something that you would explore?
cc:  @ljcarot

Good point from Scott!
Since this is linked to the ibm-digital-design Slack channel and our goal is to make sure our adopters know where to start a conversation with our team. I think we should update the title from "Slack community" to "ibm-digital-design". Once we make the update, I'd also like to test it out to see if we need any additional Information to avoid the confusion.

PR detail can be viewed here.

@JennySanchez Can this issue be closed or should I move it to sprint 20-19?

@RobertaJHahn The task is done and we can close it.


[xhamster] extract tags from xhamster movie page

Please follow the guide below

You will be asked some questions, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your pull request (like that [x])
Use Preview tab to see how your pull request will actually look like

Before submitting a pull request make sure you have:

[X ] At least skimmed through adding new extractor tutorial and youtube-dl coding conventions sections
[ ] Searched the bugtracker for similar pull requests

In order to be accepted and merged into youtube-dl each piece of code must be in public domain or released under Unlicense. Check one of the following options:

[X ] I am the original author of this code and I am willing to release it under Unlicense
[ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[ ] Bug fix
[ X] Improvement
[ ] New extractor
[ ] New feature

Description of your pull request and other information
xhamster provides a list of tags for hosted videos. purpose of this change is to extract  the names of the tags from the movie webpage and return them as a list of strings in the tags property.

Bother to read

adding new extractor tutorial and youtube-dl coding conventions sections

and fix all the issues.


Typo "@@TEXTSIZE"→"@@TEXTSIZE"

Bold with escape characters
https://docs.microsoft.com/en-us/sql/connect/oledb/features/filestream-support?view=sql-server-ver15

@hyoshioka0128 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Verified the update.


assets: compute CRC32

This computes the CRC32 that Unity uses as the Asset Bundle Manifest CRC32, for purposes of comparing a file against a known CRC32, to make sure that the bundle was downloaded properly.
This is ... a very quick and dirty hack, because this will only compute the asset bundle CRC32 for compressed assets that were added a certain way. It's probably desirable to compute the CRC32 in all cases if you wish to add it at all, but I wanted to submit some sample code as an RFE instead of just begging for free development.
It looks like for non-compressed assets we don't pre-read them on parse, so would you mind suggesting a better location in the code to calculate this CRC32?
thanks,
--js

Yeah the buffering code is a little nasty, which makes adding things like these cleanly a bit problematic.
I'm fine merging this, but if you want it for all types of files, I think you might have to do a little refactoring. Easiest looking at the code right now would be to make ._buf a BytesIO, and initialize the BinaryReader in the parsing code instead. Then set .crc32 somewhere in there using _buf.getvalue().

I'll take a look. I've definitely gotten good mileage out of this project so far, so it's probably worth it.

NACK for now.
I'm looking at the asset bundle manifest provided for The Pokemon Trading Card Game Online and the CRCs there correlate sometimes to the headered and sometimes to the headerless decompressed versions of these compressed asset bundles.
(How does the stock client know how to differentiate when to use which? Does it check for either-or? does it check at all? I need to do more research.)
It'd be useful to have both headered and headerless CRCs, but since it makes opening the files quite slow, it should be an optional post-hoc call, I think. I'll rework this.

@jnsnow Alright, no worries. You can ping me on discord as well if you want to discuss this: jleclanche#0001 or https://discord.gg/hearthsim-devs
I've also been looking at reworking some bits of Unitypack. The overall logic is solid but the messy unity asset format has caused a lot of cruft and hacks to accumulate. It breaks on 2 Point Hospital assets, which I'd like to fix without breaking the rest.


Add tech/expert chapter 2

This pr adds all articles and graphics from en/tech/expert/how-does-a-blockchain-work to master

/botio build

Anybody a /botio build for me? @tuanhvdev @zennermac

/botio build

From: MushinBot (botio-academy.horizen.global)

Received
Command cmd_build from @zennermac received. Current queue size: 0
Live output at: https://botio-academy.horizen.global/f0f46a6c21ab4e1/output.txt

From: MushinBot (botio-academy.horizen.global)

Failed
Full output at https://botio-academy.horizen.global/f0f46a6c21ab4e1/output.txt
Total script time: 1.99 mins
Error: Build failed at step "bundle exec jekyll build" with ExitCode 1

/botio build

From: MushinBot (botio-academy.horizen.global)

Received
Command cmd_build from @tuanhvdev received. Current queue size: 0
Live output at: https://botio-academy.horizen.global/27ec1f2bed6c1af/output.txt

From: MushinBot (botio-academy.horizen.global)

Failed
Full output at https://botio-academy.horizen.global/27ec1f2bed6c1af/output.txt
Total script time: 2.37 mins
Error: Build failed at step "bundle exec jekyll build" with ExitCode 1

/botio build

From: MushinBot (botio-academy.horizen.global)

Received
Command cmd_build from @tuanhvdev received. Current queue size: 0
Live output at: https://botio-academy.horizen.global/6d89c64197563e3/output.txt

From: MushinBot (botio-academy.horizen.global)

Failed
Full output at https://botio-academy.horizen.global/6d89c64197563e3/output.txt
Total script time: 2.19 mins
Error: Build failed at step "bundle exec jekyll build" with ExitCode 1

/botio build

From: MushinBot (botio-academy.horizen.global)

Received
Command cmd_build from @tuanhvdev received. Current queue size: 0
Live output at: https://botio-academy.horizen.global/cccd4625fcf4ee4/output.txt

From: MushinBot (botio-academy.horizen.global)

Failed
Full output at https://botio-academy.horizen.global/cccd4625fcf4ee4/output.txt
Total script time: 2.05 mins
Error: Build failed at step "bundle exec jekyll build" with ExitCode 1

/botio build

From: MushinBot (botio-academy.horizen.global)

Received
Command cmd_build from @tuanhvdev received. Current queue size: 0
Live output at: https://botio-academy.horizen.global/6e02bcc6e16d5b9/output.txt

From: MushinBot (botio-academy.horizen.global)

Failed
Full output at https://botio-academy.horizen.global/6e02bcc6e16d5b9/output.txt
Total script time: 2.07 mins
Error: Build failed at step "bundle exec jekyll build" with ExitCode 1

/botio build

From: MushinBot (botio-academy.horizen.global)

Received
Command cmd_build from @tuanhvdev received. Current queue size: 0
Live output at: https://botio-academy.horizen.global/dc02794cffa6d51/output.txt

From: MushinBot (botio-academy.horizen.global)

Success
Full output at https://botio-academy.horizen.global/dc02794cffa6d51/output.txt
Total script time: 2.80 mins
You can download the generated site at: https://botio-academy.horizen.global/latest.tar.gz
Or view a preview at https://devweb-academy.horizen.global

/botoi build

/botio build

From: MushinBot (botio-academy.horizen.global)

Received
Command cmd_build from @zennermac received. Current queue size: 0
Live output at: https://botio-academy.horizen.global/2c6d7267cb1e4e6/output.txt

From: MushinBot (botio-academy.horizen.global)

Success
Full output at https://botio-academy.horizen.global/2c6d7267cb1e4e6/output.txt
Total script time: 2.71 mins
You can download the generated site at: https://botio-academy.horizen.global/latest.tar.gz
Or view a preview at https://devweb-academy.horizen.global

/botio build

From: MushinBot (botio-academy.horizen.global)

Received
Command cmd_build from @tuanhvdev received. Current queue size: 0
Live output at: https://botio-academy.horizen.global/2df12dc537b09b0/output.txt

From: MushinBot (botio-academy.horizen.global)

Success
Full output at https://botio-academy.horizen.global/2df12dc537b09b0/output.txt
Total script time: 2.45 mins
You can download the generated site at: https://botio-academy.horizen.global/latest.tar.gz
Or view a preview at https://devweb-academy.horizen.global

/botio build

From: MushinBot (botio-academy.horizen.global)

Received
Command cmd_build from @tuanhvdev received. Current queue size: 0
Live output at: https://botio-academy.horizen.global/ead87ea3be87a1f/output.txt

From: MushinBot (botio-academy.horizen.global)

Success
Full output at https://botio-academy.horizen.global/ead87ea3be87a1f/output.txt
Total script time: 2.49 mins
You can download the generated site at: https://botio-academy.horizen.global/latest.tar.gz
Or view a preview at https://devweb-academy.horizen.global


Fix invalid unsigned subtraction in eosdactoken::staketime

This PR fixes an "invalid unsigned subtraction" error that may occur when calling eosdactoken::staketime caused by rounding differences.

Task linked: DEMZNE-1124 Investigate and fix "invalid unsigned subtraction" in eosdactoken::staketime


Fix VK connector

Resolves #1162.

@alexesprit that DOM node seems to be on every VK page. Maybe we should consider using it as primary metadata source?

@f1u77y I'd prefer fetching the data from DOM node too, but it contains artist and track in one place, so the song metadata can be parsed incorrectly (although, such cases are pretty rare).
To be honest, I don't like this fallback; in this case we cannot see if localStorage keys are changed (that means the replays are broken).

@alexesprit

it contains artist and track in one place, so the song metadata can be parsed incorrectly

See #1143, that should fix a lot of that cases

we cannot see if localStorage keys are changed

I've also found the audio object that seems to be more reliable then localStorage keys

See #1143, that should fix a lot of that cases

Yes, but we should implement this feature first. I have no idea how to do that atm.

I've also found the audio object that seems to be more reliable then localStorage keys

Do you know how to get the data from this object? Or is it impossible?

Do you know how to get the data from this object?

It has id, performer, title and duration keys(but we need to send it from vk-dom-inject script because it's not in DOM)
Progress could be got with ap._impl._currentAudioEl which is an <audio> node but I dunno if it's more stable than localStorage

I didn't find out how to get progress percentage, but I implemented fetching metadata from the audio element.

Something like this

Looks neat!
Is it worth opening a new PR with your patch instead of this one?

Closed in favor of #1164.


Fixed typo in Readme

Nice catch, thank you for the PR!

Thank you for the delightfully focused tool! 👍

^__^


Release 0.5.1 into develop

Codecov Report

Merging #10 (12ff111) into develop (bad693f) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             develop      #10   +/-   ##
==========================================
  Coverage      85.85%   85.85%
  Complexity       444      444
==========================================
  Files             67       67
  Lines           1089     1089
  Branches          28       28
==========================================
  Hits             935      935
  Misses           137      137
  Partials          17       17

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 bad693f...12ff111. Read the comment docs.


[Feature Request]: Hover effect on div tag

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
I want to add hover effect on div tag like action ,triller ,book tittle 1 etc.
Use Case
it become more helpfull for user
Benefits
the page become more atrractive
Add ScreenShots
no
Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[x] I have starred the repository

i want to work on this issue #428 .please assign me

i want to work on this issue  #428 .please assign me undert  label gssoc24extd and  hacktoberfest


Applications created with odo v0.0.18 are not visible after update to v0.0.19

[kind/bug]
What versions of software are you using?

Operating System: Windows 10 Pro
Output of odo version:

"C:\USERS\DGOLO\BIN\OC.EXE" version
oc v3.11.0+0cbc58b
kubernetes v1.11.0+d4cacc0
features: Basic-Auth SSPI Kerberos SPNEGO

Server https://<IP_ADDRESS>:8443
kubernetes v1.11.0+d4cacc0

How did you run odo exactly?
I am running newly downloaded release and want to see applications in my only project.
Actual behavior
Previously I used odo v0.0.18 and crated tree apps app1', 'app2' and app3`.
Now when I run v0.0.19 it lists no applications at all.
That causes problems for VSCode Extension see #639.
Expected behavior
I still want to see my apps created with previous version of odo.
Any logs, error output, etc?
N/A

@dgolovin Was it working with previous version of odo releases ?

It was always working, because location for odo configuration was always the same ~/.kube/odo. Now it is moved to new location ~/.odo/odo-config. When devs upgrades from any odo to 0.0.18 everything works as expected. But when upgrades to 0.0.19 applications and all that is under is not visible anymore.

Was probably introduced with this change https://github.com/redhat-developer/odo/commit/2bc274e3bc503ce1aaebb845b276b6a0da600c27. I see configuration location changed, but could not find migration code that would be responsible for migration of old config, if found, to new one.

This is a breaking change for upgrade path

Issue Verified on my system
$  oc version
oc v3.11.0+0cbc58b
kubernetes v1.11.0+d4cacc0
features: Basic-Auth GSSAPI Kerberos SPNEGO

Server https://<IP_ADDRESS>:8443
kubernetes v1.11.0+d4cacc0

$  wget -O odo-0018 https://github.com/redhat-developer/odo/releases/download/v0.0.18/odo-linux-amd64

$  wget -O odo-0019 https://github.com/redhat-developer/odo/releases/download/v0.0.19/odo-linux-amd64

$  chmod +x odo-001*

$ ./odo-0018 version
odo v0.0.18 (3e2a0aeb)

Server: https://<IP_ADDRESS>:8443
Kubernetes: v1.11.0+d4cacc0

$ ./odo-0019 version
odo v0.0.19 (61f278a1)

Server: https://<IP_ADDRESS>:8443
Kubernetes: v1.11.0+d4cacc0

$ ./odo-0018 project
The current project is: myproject

$ ./odo-0018 project create testproject
 ✓  New project created and now using project : testproject

$ ./odo-0018 app create createdwith18
 Creating application: createdwith18 in project: myproject
Switched to application: createdwith18 in project: myproject

$ ./odo-0018 app list
The project 'myproject' has the following applications:
ACTIVE     NAME
*          createdwith18

./odo-0019 project list
ACTIVE     NAME
           myproject
*          testproject

$ ./odo-0019 app list
There are no applications deployed in the project 'testproject'.

This is a relatively new tool, so do we want to write code to maintain backward compatibly for something as simple as a location change of config file across the versions? Note copying over the file just works in above case
$ cp -avrf ~/.kube/odo ~/.odo/odo-config.yaml
'/home/<redacted>/.kube/odo' -> '/home/<redacted>/.odo/odo-config.yaml'

$  ./odo-0019 app list
The project 'testproject' has the following applications:
ACTIVE     NAME
*          createdwith18

@girishramnani @dgolovin @amitkrout

I know that this is not good. But currently, we don't guarantee any backward compatibility. We are in pre v1.0 stage (not even a beta).
Right now we have to do some breaking changes :-(
We will make sure that components created by one version are working with the next one only once we have v1.0 out.

We haven't done a good job with communicating that this is a breaking change:-( We need to be better in this next time, and have a clear indication in the release notes that there is a breaking change.

I've updated release notes with the explanation https://github.com/redhat-developer/odo/releases/tag/v0.0.19

/close


How to use custom reload command

I have a shell script, let's call vim_rg, that take some globs and search query as input parameters. That script executes RipGrep to find the search query in the content of the files filtered by the globs.
Example:
vim_rg "!*test.txt *my_package* | my_function"

It will search for keyword my_function in all non-test files whose paths contain my_package.
How can I configure fzf-lua to accept vim_rg {q} as the reload command? I would like to search with globs in my nvim?

fzf.vim supports it with change:reload in the options. Can I do the similar thing with fzf-lua

You can supply whatever extra cli options you want (each call or globally) if you set the fzf_cli_args variable, these will be appended to fzf.
If you tell me exactly what you’re trying to achieve perhaps we can eliminate the shellscript altogether and recreate everything with fzf-lua, the live grep function uses the change:reload mechanism.

What I want is to support file glob in the query string when I am typing in fzf-lua.
For example:
After running the following vim command :lua require('fzf-lua').live_grep(), I would like to type !*test* *my_package* | my_function to search for the word my_function in all non-test files whose paths contains my_package.
The vertical bar character (|) is just my convention to separate between the globs and the keyword, you can change it to whatever you want.
To achieve this, we will use change:reload binding in fzf and --iglob option in ripgrep.
What do you think?

I’ll have to look deeper into the code tomorrow and let you know but this seems fairly easy to do in fzf-lua, worst case it will take a few minor code adjustments on my end.

Sounds great. Looking forward to your change. Thank you.

You can provide any command you want to the live_grep function by supplying { cmd = <command> }, fzf-lua will then pass the {q} for you as well (as the initial query if you supplied one with search = "<term>").
Basically the current live grep is equivalent to:
:lua require('fzf-lua').live_grep( { cmd = "rg --column --line-number --no-heading --color=always --smart-case" })

fzf-lua then builds 2 commands, the initial command which will be the command specified with cmd along with the search path specified by search and either a filename or cwd as a search scope.
The second command which is then sent to change:reload will be the same command with {q} || true appended:
rg --column --line-number --no-heading --color=always --smart-case {q} || true

If you're still having issue, please supply the full fzf (and rg) command you're running and I'll make it work for you.

I was able to find your dotfiles vig_rg.fish and I now understand what you meant regarding the separator, the solution is pretty simple, all you need to do is use live_grep with a custom command and add your preferred --iglob=<glob>.
For example, the below will run live_grep on all files that aren't .lua:
:lua require('fzf-lua').live_grep( { cmd = 'rg --vimgrep --iglob="!*.lua"' })

Thank you very much for your suggestion.
However, I would like to type the globs dynamically instead of putting a fixed glob in the keymapping.
That's why I wrote the fish script vim_rg.
So far, I see that fzf-lua pass -- {q} to vim_rg script instead of {q}. I have to update the script a bit for this.

Everything works perfectly for me now with :lua require('fzf-lua').live_grep({ cmd = "vim_rg" })

Everything works perfectly for me now with :lua require('fzf-lua').live_grep({ cmd = "vim_rg" })

I was just about to offer this solution exactly :-)
Out of curiosity what did you have to updated in your script to adjust for the -- {q}, I only added it to be extra safe with potential special chars in search queries, I can modify the code so you can supply that optional part and omit it if need be.

Actually, I think it is my bad in the script.
Reading the script you see that I try to split the arguments of vim_rg by the separator > to get the globs and the keyword.
When I type *.kt* > myService in fzf-lua, I expect the input arguments of vim_rg is the same. However, they are not. The arguments are actually -- *.kt > myService (prefixed by -- ). Therefore, after the split, globs are -- and *.kt which is wrong.
So I changed the vim_rg script to ignore -- in the argument list.

Happy you got it to work!

I made a little CLI tool for this.
Just build/download the vimrg executable and put it to your $PATH.
Then use Vim command :lua require('fzf-lua').live_grep({ cmd = "vimrg" }) to open a fzf-lua window which supports glob filtering.
The syntax can be found here

Really cool, def going in the Wiki (when I finally get to it ha ha)


Developing wandb resume run function

A test_cli quick pipeline sketch

New update
Wandb organization in SummaryWriter
SummaryWriter now can be selected and logged with the Wandb team account.
I've created a Wandb team named uet-ailab for everyone can join in.
Example:

Old

logger = uetai.SummaryWriter(log_dir='uetai-demo')

New

# optional
logger = uetai.SummaryWriter(log_dir='uetai-demo', entity='uet-ailab')

Select wandb or tensorboard
When initializing SummaryWriter we can specify which logger we want to use (or let the library decides if no specific logger need) by args log_tool (wandb or tensorboard)
logger = uetai.SummaryWriter(log_dir='uetai-demo', log_tool='wandb')

Notes: If wandb was choice (while initializing) but no package named wandb was found, it will be installed automatically with pip
Download by URL and automate unzip it
We provide data_path which can be used to select specific wandb dataset artifact to be downloaded. Now it can be used to download through URL
dataset_dir = logger.data_path(path="https://github.com/manhdung20112000/torch-simple-logger/releases/download/dataset_v1.0/MNIST.zip")

Notes: Automate unzip (if the URL link to zip file) and save in the dir with zip file name

This branch has already been merged though #9


Refactor Small Time UI and port it into ClockView class

I've reviewed the SmallTime code. I'm not going to refactor it and use that approach. While I still like what that module is doing, I think I should find my own path.


Sweeping doesn't work on Mythic Weapons / Sapphire Sword

As the title describes, sweeping doesn't seem to work.
It works with vanilla weapons such as a wooden sword, but Sapphire doesn't work / Is inconsistent.
https://github.com/user-attachments/assets/ed9de01d-0649-4770-a580-891a3a1a8ff8

Update: It appears to be due to the sapphire swords 5% max hp thing. Sweeping works on endermen that are at full hp.
https://github.com/user-attachments/assets/3b142ac9-0bb1-4b35-aed9-22a56ee64101

Well, I tested that on wardens, and apparently it worked, though, some information needs clarifying:

sweeping percentage damage is cut in half (5% / 2 = 2.5%)
that also is multiplied by (0.7 + 0.1 * )


Add the Component Library to the app

Summary
Parallel to https://github.com/mattermost/mattermost/pull/28826 , we add a component library to mobile.
Right now it follows the same logic as the web (developer mode is enabled in the server) but we could consider having this only for beta builds. 0/5 on this (not sure if builds from PRs are considered beta or not)
Ticket Link
NONE
Screenshots
Screencast from 07-11-24 13:37:54.webm
Release Note
Adds "component library" debug menu for servers that have developer settings enabled.

Can you share context as to why do we need this?

The idea is to have an unified place where to play with certain components. Mainly for testing purposes.
In this example, the button component. Instead of trying to figure out where the button is used as "primary" or "tertiary" to see if the styles are correct, we can have a centralized place where to look at all of them at the same time. It would be something similar to have storybook, but inside the product, so we get the version of the button this build has.

The idea is to have an unified place where to play with certain components. Mainly for testing purposes.
In this example, the button component. Instead of trying to figure out where the button is used as "primary" or "tertiary" to see if the styles are correct, we can have a centralized place where to look at all of them at the same time. It would be something similar to have storybook, but inside the product, so we get the version of the button this build has.

Ok I follow.
Will the users be able to try this out or is it purely a dev thing?

Define users :stuck_out_tongue:
This is mainly intended for development and testing environments. End users should not be using this. That is the reason it is behind the "EnableDeveloper" setting, which should never be used in production.
That being said, end users seeing this screen is not a big deal. There is nothing bad they can do in this screen. We can try to make it prettier (since they may stumble unto it), but we should also make clear this is a development tool.


400 bad request on Docker login when using Github secrets

Trying to implement the static linter on a repo (not the org crawler) and am getting a 400 malformed request when using Github secrets for DH_USERNAME and DH_PASSWORD_OR_PAT.  Curious if anyone here knows of a workaround or has implemented the linter like this?
        env:
          DH_USERNAME: ${{ secrets.DOCKER_USER }}
          DH_PASSWORD_OR_PAT: ${{ secrets.DOCKER_PASS }}
        run: |
          go run main.go dockerfile -f ./my_service/Dockerfile --base --debug

Request to: https://hub.docker.com/v2/users/login returned: 400 - {\"errinfo\":{},\"message\":\"malformed request\"}\n\n"

Hi @christopher-bulger, we've never tried to run it in Github Actions before (gh-crawler uses CircleCI). Let me try to create a working example


chore: Release 1.1.2

:robot: I have created a release beep boop
1.1.2 (2024-07-22)
📦 Build System & Dependencies

deps-dev: Bump husky from 9.0.11 to 9.1.1 (e51420f)
deps-dev: Bump prettier from 3.3.2 to 3.3.3 (028545a)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v1.1.2
:sunflower:


#167: Add to home screen banner in order confirmation

Create service for add to home screen feature. New banner with prompt in the order confirmation.
Closes #167

New PR for new branch with correct naming: https://github.com/SAP/cloud-commerce-spartacus-storefront/pull/346


Bump version

Overview
Bumps version ready for release
Alternative idea to consider for future releases (I'll take a look tomorrow): #3059

@thatlittleboy  I was looking in to setuptools-scm as a way of managing the version number (as per #3059 ), which would have a few benefits. But, it would take a bit of care to implement: for example, to ensure compatibility with readthedocs.com and cibuildwheel.
So, I propose for today that we keep things simple and just bump the version number this way.