Nobara on Ally

Service seems to be hit or miss if it applies.
One possible cause I've seen is that setting the client to Beta will often forget that it's Beta and start redownloading updates every couple or so boots.
I'm assuming it's doing the "update" whenever steam-patcher tries to run and thus can't find the files it needs.
Maybe some detection for if Steam is in the middle of an update?
× steam-patch.service - Steam Patches Loader
     Loaded: loaded (/etc/systemd/system/steam-patch.service; enabled; preset: disabled)
    Drop-In: /usr/lib/systemd/system/service.d
             └─10-timeout-abort.conf
     Active: failed (Result: core-dump) since Thu 2023-08-10 17:52:50 EDT; 6min ago
   Duration: 15min 52.843s
   Main PID: 1223 (code=dumped, signal=ABRT)
        CPU: 651ms

Aug 10 17:51:59 nobara-pc steam-patch[1223]: Show QAM
Aug 10 17:51:59 nobara-pc steam-patch[1223]: Show Menu
Aug 10 17:51:59 nobara-pc steam-patch[1223]: Show QAM
Aug 10 17:52:10 nobara-pc steam-patch[1223]: Steam unpatched
Aug 10 17:52:12 nobara-pc steam-patch[1223]: Steam patched
Aug 10 17:52:49 nobara-pc steam-patch[1223]: Steam unpatched
Aug 10 17:52:50 nobara-pc steam-patch[1223]: thread 'tokio-runtime-worker' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/steam.rs:198:78
Aug 10 17:52:50 nobara-pc steam-patch[1223]: note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Aug 10 17:52:50 nobara-pc systemd[1]: steam-patch.service: Main process exited, code=dumped, status=6/ABRT
Aug 10 17:52:50 nobara-pc systemd[1]: steam-patch.service: Failed with result 'core-dump'.

Oh, I'm afraid I can't test the tool on Nobara - I don't have it installed.
But  message: "No such file or directory" seems to be related to the attempt to patch file (there is an unwrap for get_file)
Can you make sure that Steam client is always in "/home/<username>/.local/share/Steam/steamui" ?

That was my thought. Upon extraction it's temporarily not available and steam-patch hits at the wrong time.
Although that seems to be a one off with steam beta. I've been on stable and haven't seen it recently.

The patch still fails to apply every other boot with seemingly no errors. I don't know if Steam is overwriting the changes immediately or what's going on.
I am on the Nobara Deck image which boots straight into Steam and pretends to be a Deck itself. (Gamescope and the whole nine yards). I did confirm the cpuinfo and board_* files are what is expected so the steam-patch does know it's the Ally.
I'll keep seeing if I can find any more info. I understand it harder to debug when you don't have the same OS. Thanks for the reply!

I think I'll try to reboot it myself a few times in a row, probably I could reproduce it on stable too... Let's see!

Have you found a work around? I have same issues on nobara, the tpd slider is still at 15 instead of 30, I think it has something to do with how nobara goes into steam mode, as you say it’s over riding steam patch, I have had it read 30 watts a few times then on moving the slider it goes back to 3-15 scale , it driving me nuts lol

This is ttyl windows in game mode it shows it’s running but watts scale is still 3-15 I don’t get it

This seems to be an issues with how nobara changes from desktop to gamemode and it will revert back to stable from beta , steam patch always looks for verification complete in steam boot strap log text. this can be amended to Nothing to do as well as verification complete. but you have to change it in steam patch source and rebuild.
to fix the stable beta issue find steam.desktop in bin xvg open it and find the exec part and change it to this .
Exec=env LD_PRELOAD=/usr/share/gamescope-session/libextest.so /usr/bin/steam -silent -steamdeck %U
here is code to change in steam-patch src/steam
                                    if line.contains("Verification complete") || line.contains("Nothing to do") {
                                        // print line
                                        println!("{}", line);
                                        if let Some(device) = create_device() {
                                            match client.patch(device.get_patches()) {
                                                Ok(_) => println!("Steam patched"),
                                                Err(_) => eprintln!("Couldn't patch Steam"),
                                            }
                                        }
                                    }

hope this helps

one thing is if you select steam beta steam patch will run but you wont have the overlay steam overrides it i hope someone can fix this in time

This seems to be an issues with how nobara changes from desktop to gamemode and it will revert back to stable from beta ,

I left Nobabra because of that... Do you know what causes it to do that?

Yea we have it solved it was one entry in the files that was causing it in the auto load apps

I came send the modded file to you if you want

I've been on Arch with HandyGCCS for the time being and everything has been good.

Ok GE has updated the copr so it’s all automatically done works great


Measuing distance between two points to find dimension of object in python3. (realsense L 515)

Required Info

Camera Model
{L500}

Firmware Version
(Open RealSense Viewer --> Click info)

Operating System & Version
ubuntu 18

Kernel Version (Linux Only)
(e.g. 4.14.13)

Platform
NVIDIA Jetson

SDK Version
{ legacy / 2.. }

Language
{PYTHON3 }

Segment
{Robot}

Issue Description
I wanted to calculate the length and breadth of an obkject in the frame. I read that measure is a good function to calcualte this. However, as im not good at c, I would like the python equivalent version of this. My bsaic requirement is, to calcualte length and breadth of an objet. I am using darknet to find th ebounding box and coodinates of the extremitie sof the objct. I now want to use these cooridnates and find the corresponding distance between them in real life. Is there any other way to caluclate this using Realsense L 515 and python along with darknet yolov4

Hi @akshayacharya97   Do you require further assistance with this case, please?  Thanks!

Case closed due to no further comments received.


CRD is not supported in Kubernetes v1.22.x

k8s version 1.22 removes the apiregistration.k8s.io/v1beta1 apiVersion which the CRD for the operator relies on. Are there plans to release an updated CRD to work with this version of Kubernetes?
https://kubernetes.io/docs/reference/using-api/deprecation-guide/#customresourcedefinition-v122

Running into the same issue, any update on this?


Make exit() terminate current probe

Currently exit() emits an async event but does not terminate further
probe processing. E.g. the following prints 2 which can confuse users:
$ bpftrace -e 'i:ms:100 { @=1; exit(); @=2 }'
@: 2

or a program that appears to conditionally exit but still writes to a
map:
$ bpftrace -e 'i:ms:100 { if(1){exit();} @=11 }'
@: 11

Due to it's asynchronous behaviour exit() is never fully reliable. A
probe might fire again before the runtime has had time to unload a
probe but this should improve the situation a bit.

@olsajiri  @mmisono  any objections to this? I don't expect it will but it could break (or at least change) current scripts in subtle ways.

No, I think the change is reasonable.


Webpack crashes on Node 17

Describe the bug
React-Scripts crashes on building an react project.

NOTE: There's an issue on webpack that crashes on NODE 17,
Regard this issue on webpack : Link
Did you try recovering your dependencies?

Tried, and it might not be a problem
Which terms did you search for in User Guide?

Environment

current version of create-react-app: 4.0.3
running from C:\Users\hadmarine\AppData\Local\npm-cache_npx\c67e74de0542c87c\node_modules\create-react-app
System:
OS: Windows 10 10.0.22000
CPU: (16) x64 AMD Ryzen 7 3800X 8-Core Processor
Binaries:
Node: 17.0.1 - C:\Program Files\nodejs\node.EXE
Yarn: 3.1.0 - ~\AppData\Roaming\npm\yarn.CMD
npm: 8.1.0 - C:\Program Files\nodejs\npm.CMD
Browsers:
Chrome: Not Found
Edge: Spartan (44.22000.120.0), Chromium (95.0.1020.30)
Internet Explorer: 11.0.22000.120
npmPackages:
react: ^17.0.2 => 17.0.2
react-dom: ^17.0.2 => 17.0.2
react-scripts: ^4.0.3 => 4.0.3
npmGlobalPackages:
create-react-app: Not Found
Steps to reproduce

(Write your steps here:)

Bump up node version to 17.0.1
build with react-scripts build

Expected behavior

Build succeed
Actual behavior

Build fails, as described on top
Reproducible demo

(Paste the link to an example project and exact instructions to reproduce the issue.)

Related issue to #11562 , closing this ticket.


Formal verification for LibUbiquityPool

Resolves #926

@alexandr-masl If this PR is ready for review then pls reopen it, fix the CI, describe the changes, show the QA along with instructions of how to QA locally


Error: Cannot run with sound null safety,

I've added this library to a new project and I get the following error message.
Error: Cannot run with sound null safety, because the following dependencies
don't support null safety:

 - package:cupertino_setting_control
 - package:cupertino_range_slider

For solutions, see https://dart.dev/go/unsound-null-safety

Thanks Dan

No commits to the cupertino_range_slider repo for 4 years, and no response to the issue posted there over a year ago. I think the right thing to do here is to simply fork that project; the functionality is contained in a single file, and there are no tests. I don't think the author is coming back to it.

@garfieldnate I've just seen, that there is a plugin cupertino_range_slider_improved which already covers this. I'll switch to this one. Thanks for bringing up this ticket again.

Null-sound safety added in latest revision. Please raise a PR or a new issue if you have further topics on this.


Need Document

Can you please provide a small set-up document so everyone can explore and help with their contribution?
Thank,
Heet Bhimani

OK, let me explain you.
example:
I want to set up this email client for myself and my SES; what is the required step I need to follow while setting up.
Like:
Step-1 Set-up lambda function
Step-2 Configure XYZ


Add the ablity to mount disc image files

What's the Problem?
When you double click on a disc image file, the following happens:
Windows Explorer
will mount the file and display it as a drive
Files
nothing happens
Solution/Idea
Add the ablity to mount disc image files, or ... at least use windows explorer to mount it, then show it as a drive
Alternatives
hard-code it yourself, or use this library
Priorities

Capability
Priority

This proposal will allow developers to accomplish W
Must

This proposal will allow end users to accomplish X
Should

This proposal will allow developers to accomplish Y
Could

This proposal will allow end users to accomplish Z
Won't

Files Version
Version: <IP_ADDRESS>
OS Version: 10.0.22000.434
Windows Version
Windows 11 Pro 22000.434
Comments
Windows Specs:
Edition	Windows 11 Pro
Version	21H2
Installed on	09-12-2021
OS build	22000.434
Experience	Windows Feature Experience Pack 1000.22000.434.0

Device Specs:
Device name	Trivvv
Processor	Intel(R) Core(TM) i5-7400 CPU @ 3.00GHz   3.00 GHz
Installed RAM	8.00 GB
Device ID	94635F54-E20A-4659-9DD3-C11F86B428C7
Product ID	00331-10000-00001-AA267
System type	64-bit operating system, x64-based processor
Pen and touch	No pen or touch input is available for this display

Are we talking about ".ISO" files?

yes

Also TRY to add support for The following file extensions

Iso images open fine in Files for me, so bug.

debug_fulltrust.log

debug.log
debug_fulltrust.log

Yea.... the log files are not showing anything

So... this is a bug AND a feature request?

I found a lot of helpful links here

@Advik-B could you check what happens if you right-click an ISO file and choose "Mount" instead of double-clicking it?

No it does not work

What happens instead? You don't have a mount option? You get a request for administrator but the iso is not mounted?

Yes, also I don’t need admin to mount drive in windows explorer Sent from Mail for Windows From: Marco GavelliSent: 25 January 2022 13:32To: files-community/FilesCc: Advik; MentionSubject: Re: [files-community/Files] Add the ablity to mount disc image files (Issue #7880) What happens instead? You don't have a mount option? You get a request for administrator but the iso is not mounted?—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>
You wouldn't need to extract it to view it would just act like a folder.

Asking @yaichenbaum for approval.

Would there be any point to mounting it as a drive when #8232 is implemented?

@Josh-65 #8232 might not come with support for viewing iso files. We can keep this open for now but we haven't been able to reproduce the issue on our end.


Add button to delete virtual nodes

The button should not be shown for non-VIRTUAL nodes.
Also, the fontsize of the delete text is a bit smaller than the other buttons next to it. The whole button is smaller because of this I think.

this code is still untested, but should work if uncommented

This is not finished yet!


Upgrade to Firebase Crashlytics

This requires increasing the minSdkVersion to 16, which unblocks a
number of other dependency upgrades and allows us to remove some version
checks.

There's a lot of noise in this due to dependency tree upgrades, but you can hide them from the review with a file-type filter: https://github.com/Jigsaw-Code/Intra/pull/277/files?file-filters[]=.gradle&file-filters[]=.java&file-filters[]=.xml


Illegal instruction (core dumped)

bash ./Miniconda3-py37_22.11.1-1-Linux-x86_64.sh
conda create --name annotation_project python=3.7
conda activate annotation_project
python -c "from bent.setup_package import setup_package;setup_package(['medic'])"
python

import bent.annotate
Illegal instruction (core dumped)

Installation is now possible outside a Conda environment


Privilege group prefix problem

The permission group is set with a prefix. After the player enters, there is no prefix of the permission group. After the expiration, the prefix of the default group cannot be returned. It must be set with addtempprefix to automatically return. I think what he implemented is that after inheriting this group, the prefix is automatically Changed to the prefix of this group, but he did not change.

This sounds like an issue with your chat plugin.
Please use the template next time, it's there for a reason.

No, no, I use the parse test function of papi, and the test is the variable %luckperms_prefix%. No matter how you adjust it, the return is the prefix when setting, not the fixed prefix of the group

I know the reason, because I inherited the relationship of the default group, and then my default group is also set, he will give priority to display the default group, you can see if you can let other groups inherit the default group or common inheritance Not inherit the prefix


Feat: Adding support for sqlTable thunk

I needed this feature for a very specific use case so I made it on my fork, it works well and does not change a lot. This PR contains the following:

passing context argument to all the queryASTToSqlAST functions
check whether sqlTable in config is a function and if yes evaluate it with argument context

I should probably add a test case for this, but wanted to submit the idea beforehand.. let me know hat you think

@theobat I like this idea! I was thinking of adding something like this myself.
A couple things to consider before I merge:

The callback signature - There might be some use cases where the table thunk needs the GraphQL args and perhaps even the table alias from the parent field. Maybe something like this:
function(parentTable: string, args: Object, context: any)
Async - Might want to await the result in order to make async possible, in case their table thunk needs to access config over the network.

Yeah that makes perfect sense, I'll do it asap

@theobat Including this feature in this release without async support for now.


adal-cors-client: User account identifier is not provided

I built the application according to the README. I've created an app with full permissions on SharePoint Online. Login and redirect works but when the request to the lists resource is made the following error is logged by adal.js.
renewToken is failed:AADSTS50058: User account identifier is not provided.
err :AADSTS50058: User account identifier is not provided.
I found this sample after struggling to implement this by my self and was surprised to find that I get the same error from the sample.

This was not an issue with the ADAL library. It was related to my local configuration of Google Chrome. For CORS to work you need to allow third party cookies.


Not able to build the project with this module added in dependencies

This is the error while building the project i . have added my build.gradle file as attachment
Need Help with this issue
/android/app/src/main/AndroidManifest.xml:27:9-31 Error:
        Attribute meta-data#android.support.VERSION@value value=(25.3.1) from [com.android.support:design:25.3.1] AndroidManifest.xml:27:9-31
        is also present at [com.android.support:support-v4:26.0.0-alpha1] AndroidManifest.xml:27:9-38 value=(26.0.0-alpha1).
        Suggestion: add 'tools:replace="android:value"' to <meta-data> element at AndroidManifest.xml:25:5-27:34 to override.

See http://g.co/androidstudio/manifest-merger for more information about the manifest merger.

:app:processDebugManifest FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:processDebugManifest'.
> Manifest merger failed : Attribute meta-data#android.support.VERSION@value value=(25.3.1) from [com.android.support:design:25.3.1] AndroidManifest.xml:27:9-31
        is also present at [com.android.support:support-v4:26.0.0-alpha1] AndroidManifest.xml:27:9-38 value=(26.0.0-alpha1).
        Suggestion: add 'tools:replace="android:value"' to <meta-data> element at AndroidManifest.xml:25:5-27:34 to override.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

dependencies {
compile project(':react-native-mauron85-background-geolocation')
compile project(':react-native-wheel-picker')
compile project(':react-native-share')
compile project(':react-native-keep-awake')
compile project(':react-native-push-notification')
compile project(':react-native-cookie')
compile project(':react-native-twitter')
compile project(':react-native-fbsdk')
compile project(':react-native-twitter-signin')
compile project(':realm')
compile project(':react-native-blur')
compile project(':react-native-config')
compile project(':react-native-image-picker')
compile project(':react-native-vector-icons')
compile project(':react-native-navigation')
compile project(':react-native-device-info')
compile(project(':react-native-google-places')){
exclude group: 'com.google.android.gms', module: 'play-services-base'
exclude group: 'com.google.android.gms', module: 'play-services-places'
exclude group: 'com.google.android.gms', module: 'play-services-location'
}
compile fileTree(dir: "libs", include: ["*.jar"])
compile 'com.android.support:appcompat-v7:24.2.1'
compile('com.facebook.android:facebook-android-sdk:4.26.0')
compile "com.facebook.react:react-native:+"  // From node_modules
compile "com.google.android.gms:play-services-base:11.+"
compile 'com.google.android.gms:play-services-places:11.+'
compile 'com.google.android.gms:play-services-location:11.+'
compile 'com.google.android.gms:play-services-gcm:11.+'
}

build.gradle.txt

I guess this was fixed in 0.5 branch. Reopen if problem still persists.


Add embedded youtube video links to completed sessions.

Adds embedded youtube links to completed sessions

Renamed sessions to YYYY-DD-MM as this could get unwieldy if we have more sessions beyond this month.

Locally I'm getting the day's off by one. Should I edit session.astro to add one?

I was wondering the same . Will investigate a bit

Locally I'm getting the day's off by one. Should I edit session.astro to add one?

Yup, I just fixed that in 783aa7528316ef21742a667e2087e125e22df736

merged your changes to main and updated a new session recently added :). Thanks for the PR


Stop-DbaService (Get-DbaService) Silent parameter

Verified issue does not already exist?
Yes
What error did you receive?
\Modules\dbatools\1.1.21\allcommands.ps1:74955
Line |
74955 |              $InputObject = Get-DbaService @serviceParams
|                                            ~~~~~~~~~~~~~~
| A parameter cannot be found that matches parameter name 'Silent'.
VERBOSE: Performing the operation "Stopping Service" on target "".
ObjectNotFound: \Modules\dbatools\1.1.21\allcommands.ps1:91756
Line |
91756 |          throw $records[0]
|          ~~~~~~~~~~~~~~~~~
| No SQL Server services found with current parameters.
Steps to Reproduce
Stop-DbaService -InstanceName $server -Type Agent -Verbose EnableException

Are you running the latest release?
Yes
Other details or mentions
@niphlod mentioned in Slack that stop-dbaservice code is wrong when enableexception is passed
also:
https://github.com/sqlcollaborative/dbatools/blob/master/functions/Stop-DbaService.ps1#L108
https://github.com/sqlcollaborative/dbatools/blob/master/functions/Get-DbaService.ps1#L217
What PowerShell host was used when producing this error
PowerShell Core (pwsh.exe), VS Code (integrated terminal)
PowerShell Host Version
Name                           Value

PSVersion                      7.1.4
PSEdition                      Core
GitCommitId                    7.1.4
OS                             Microsoft Windows 10.0.19043
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0ΓÇª}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0
SQL Server Edition and Build number
Microsoft SQL Server 2019 (RTM-CU12) (KB5004524) - 15.0.4153.1 (X64)
Jul 19 2021 15:37:34
Copyright (C) 2019 Microsoft Corporation
Developer Edition (64-bit) on Windows Server 2019 Standard 10.0  (Build 17763: ) (Hypervisor)

Thanks @wsuhoey ! @nvarscar can you take a look at this as well? Man, Silent, what a throwback!

i found the issue, will submit a fix


Fix Korean translation

In Korean, '찾기' means Find, not mac Finder.
I changed it to '파인더' that sounds 'Finder' in Korean.

Hi @niceb5y, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, MSBOT;

I added another commits with word 'later'
In Korean, '이상' doesn't mean 'later'.

John, can you please merge this into our master database.

@niceb5y thanks a lot for the contribution. Unfortunately, the i18n files are machine generated (as indicated in the comment) and we can't accept pull request on them. But I have the translation team to consider your changes and directly merge them into our translation database.

@lukaschal  "Later" needs to be fixed in following loc files. Suggested KOR string is "나중에"
cli.contribution.nls.resx.lcl
update.nls.resx.lcl

Later

이상

"Mac Finder" KOR translation issue
electronFileActions.nls.resx.lcl
  <Item ItemId=";revealActiveFileInMac" ItemType="0;.resx" PsrId="211" Leaf="true">
    <Str Cat="Text">
      <Val><![CDATA[Reveal Active File in Finder]]></Val>
      <Tgt Cat="Text" Stat="Loc" Appr="PreApproved" Orig="New">
        <Val><![CDATA[찾기에 활성 파일 표시]]></Val>
      </Tgt>
    </Str>
    <Disp Icon="Str" />
    <Modified By="hjkim" DateTime="2016-03-16T12:32:18.0007221Z" />
    <Props>
      <Str Name="TranslationStatus" Val="In Sync" />
      <Str Name="TranslationStatusPosition" Val="6 - SignedOff" />
    </Props>
  </Item>

suggested string is "파인더에 활성 파일 표시"
  <Item ItemId=";revealInMac" ItemType="0;.resx" PsrId="211" Leaf="true">
    <Str Cat="Text">
      <Val><![CDATA[Reveal in Finder]]></Val>
      <Tgt Cat="Text" Stat="Loc" Appr="PreApproved" Orig="New">
        <Val><![CDATA[찾기에 표시]]></Val>
      </Tgt>
    </Str>
  </Item>

suggested string is "파인더에 표시"

@niceb5y, Thanks for signing the contribution license agreement so quickly! Actual humans will now validate the agreement and then evaluate the PR.
Thanks, MSBOT;

Waiting for linguistic input.

Please, is it possible to add ENU/KOR screenshot with mentioned string "Later" ?

@lukaschal

Fixed as suggested.
SRC: Reveal Active File in Finder
NEW TGT: Finder에 활성 파일 표시
SRC: Reveal in Finder
NEW TGT: Finder에 표시
SRC: Later
TGT: 나중에


Unable to serve/build --aot

Versions
    _                      _                 ____ _     ___
   / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
  / △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
 / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
/_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
               |___/

Angular CLI: 1.5.5
Node: 8.4.0
OS: linux x64
Angular: 4.4.6
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router

@angular/cli: 1.5.5
@angular-devkit/build-optimizer: 0.0.34
@angular-devkit/core: 0.0.22
@angular-devkit/schematics: 0.0.39
@ngtools/json-schema: 1.1.0
typescript: 2.6.2
webpack: 3.8.1

Repro steps

npm install
ng serve/build --aot

Observed behavior
With --verbose the output ends with the following and if I try to pipe it into a file (> buildinfo.txt) it just hangs at the end before 'webpack: Failed to compile.' so I can never see the output.
Our jenkins build does pass some how (as it doesn't locally), but build time has gone from ~28 mins to 1 hour and 30 minutes
[entry] [rendered]
webpack: Failed to compile.

Desired behavior
For it to work
Mention any other details that might be useful (optional)
I've tried angular 4.6.x and 5.0.x
I've tried CLI 1.5.x and 1.6.0-rc.x
Tried combinations of toggling:

sourcemap
build-optimizer

I'm not sure why but I've recently had to add the following to the tsconfig.json too;
  "include": [
    "./src/**/*.ts",
    "./node_modules/humanize-duration-ts/humanize-duration-ts.ts"
  ]

Event reverting back to a previous 4.x version and cleraing node_modules npm install and trying to server --aot I just can't get it to work.

Possible duplicate of https://github.com/angular/angular-cli/issues/5618.

Thanks for reporting this issue. However, this issue appears to be a duplicate of an existing issue #5618. Please subscribe to that issue for future updates.


[BISERVER-11151] - Cannot import csv fields if they are in the format…

… #,##0;(#,##0) but works if it starts with a dollar sign

add formatting patterns similar to currency mask, but w/o currency sign
add tests
rewrite StringEvaluatorTest to Junit 4 annotations

@mattyb149, @brosander, review it please

@mattyb149, @brosander, review it please

@mattyb149, @brosander, review it please

@mattyb149, @brosander, @dkincade, review it please


Prevent past events from being edited

Summary
When a supervisor tries to edit an event that happened in the past, the Save changes button and Cancel event button are disabled, and an alert is shown instead.
Testing

Notes

Using string type instead of date type will break things in different places because the helpers function to converttoIso is being used by different components.

The reason I changed it to string is because the current date type is actually lying; it's not actually a Date object but a string. If the parameters to convertToISo were actually Date objects, there would be no need to do new Date(inputDate) because inputDate would already be a Date. TypeScript doesn't actually enforce types on runtime so it just passes.

A

The reason I changed it to string is because the current date type is actually lying; it's not actually a Date object but a string. If the parameters to convertToISo were actually Date objects, there would be no need to do new Date(inputDate) because inputDate would already be a Date. TypeScript doesn't actually enforce types on runtime so it just passes.

I see. I did notice it was breaking stuff in other components that actually passed in Date objects to the convertToIso function. I am fine with either but it will take some effort to refactor others

btw I added backend protection in this pr


change theme (or quickstart from different jekyll repo?)

hey the jekyll now theme isnt really doing it for me
is there an easy way to re-set my git to a different quickstart jekyll repo (like hyde)?
(im fine with redoing all my posts if that's what i gotta do to change the theme!)

looking for some ! anybody can guide us please !

In theory, you should be able to just copy your stuff to a new fork (looks like OP already did that).

fork Hyde/MinimalMistakes/etc
copy the contents of _posts/ into your new hyde repo and push
rename your NAME.github.io repo to NAME.github.io_old
rename your hyde repo to NAME.github.io
update the _config.yml in your new NAME.github.io repo and push

You'll lose any customization from the old one, but I think you can rename back if you change your mind.


support external hashing of passwords in config files

use spring security syntax for hashes i.E.
{bcrypt}$2a$10$X5wFBtLrL/kHcmrOGGTrGufsBX8CJ0WpQpF3pgeuxBB/H73BK1DW6

admins pws are saved in properties file


Something went wrong

Microsoft PowerToys version
<IP_ADDRESS>
Running as admin

[X] Yes

Area(s) with issue?
General
Steps to reproduce
Error during startup
✔ Expected Behavior
No response
❌ Actual Behavior
No response
Other Software
No response

2022-08-15.txt

Does this still happen with 0.61.1?
/needinfo


Remove project from GitHub

@kkbankol-ibm Hi, Kalonji. I hope you're doing well. We're removing this code pattern from Developer, so I wanted to see if you could also remove the project from GitHub.

Hi @jamaya2001 I don't seem to have permissions to remove this repo

@kkbankol-ibm Can you post to the opensource-at-ibm slack channel and ask them for help? They should be able to help you remove it.


Upgrade paramiko to version 1.15.2

Change-Id: I73a7b82b6e1f01acf3c97507c95f5042b38c2c76

@naiquevin can you try with this version to see if it helps with #27 ?

I just tried it. Getting the same error. I'll debug further into paramiko. Thanks.

OK.  Well, I think I'll merge this one anyway.  We can update again if there is a new release with a fix.


Suggestion: add universial new line mode

To fix the possible following error:
https://stackoverflow.com/questions/17315635/csv-new-line-character-seen-in-unquoted-field-error
This is a very common scenario when encountering multi-system csv file format variance

Hey @lxj616,
Thank you for your contribution


Can't use formula as branch

root_numpy supports using formula as branch names. For example:
>>> root_numpy.root2array('f.root', 'tree', branches=['sqrt(mass)'], stop=3)
array([(739.8708446958261,), (1225.6622271912993,), (1096.497904427192,)],
      dtype=[('sqrt(mass)', '<f8')])

root_pandas doesn't support this, because it pattern matches branch names, failing if a name in the branches argument doesn't match a TBranch in the TTree.

Would you suggest that we silently ignore patterns that don't match and let root_numpy fail if it doesn't find something?
It seems like we can't have both branch name matching and formulas in branch names, as the * in a * b would apply to both things at once.

It seems like we can't have both branch name matching and formulas in branch names, as the * in a * b would apply to both things at once.

Indeed. I really like the globbing and brace expansion, so I'd be sad to see that go.
Maybe if formulas had to be prefixed with some magic string? Like formula:sqrt(mass). Then anything with the prefix would be ignored by the expansion logic, and the prefix is stripped before being passed to root_numpy.
It's not ideal though, and would require explicit documentation (although the support for formula is isn't mentioned in the root_numpy.root2array docs…).

A noexpand: prefix would make a lot of sense, especially for cases where your variable names contain braces and *.

:+1: for noexpand:.
It's pretty obvious what noexpand: should do and why, whereas understanding an expand kwarg requires you understanding the internals a bit more.


create public server with notebook for developers, solve the ssl key

the ssl key "solved " by having http instead of https


error when opening files in v1.0.11

Hi,
With the latest version (v1.0.11) I'm getting the following error with all the files I try to open:
[Error - 10:11:05 AM] Request textDocument/semanticTokens/range failed.   Message: UnboundLocalError: cannot access local variable 'include' where it is not associated with a value   Code: -32603  [object Object] Failed to handle request 10 textDocument/semanticTokens/range SemanticTokensRangeParams(text_document=TextDocumentIdentifier(uri='file:///c%3A/Users/xxx/Desktop/tmp/New%20Folder/panel_deformed.bdf'), range=1798:0-1868:56, work_done_token=None, partial_result_token=None) Traceback (most recent call last):   File "C:\Users\xxx\Programs_installed\miniconda3\Lib\site-packages\pygls\protocol\json_rpc.py", line 266, in _handle_request     self._execute_request(msg_id, handler, params)   File "C:\Users\xxx\Programs_installed\miniconda3\Lib\site-packages\pygls\protocol\json_rpc.py", line 188, in _execute_request     self._send_response(msg_id, handler(params))                                 ^^^^^^^^^^^^^^^   File "c:\Users\xxx\Programs\VSCode\data\extensions\mbakke.vscode-nastran-1.0.11\server\server.py", line 120, in semantic_tokens     section = get_section(server, include, line_no)                                   ^^^^^^^
Do I need to update/change anything to use this version?

Hey @T-solidus-T , thanks for the bug report. No, you shouldn't need to update anything. It's been working fine for me and the run decks I've opened with it oddly.  The semantic tokening portion of the code handles the alternating 8-char and 16-char field highlighting. The error seems to be saying the include variable is never set which means I'm probably not parsing your file correctly. I suspect if this is happening to you it's probably happening to others too.
I would temporarily downgrade to v1.0.10 if you haven't already while I troubleshoot. I'll have to work this off business hours so it may take a couple days.

hey @dmarc3 , it does not matter the file I open, I always receive the same error. I've uploaded an example.
file.zip

I would temporarily downgrade to v1.0.10 if you haven't already while I troubleshoot.

Yes, for the moment I'm using the v1.0.10 which it works correctly.

I'll have to work this off business hours so it may take a couple days.

And of course, take your time. This is a fantastic extension and if you need anything else, let me know and I'll try to help you.

I was able to test that file you sent and it actually works out of the box for me. Can you share what version of python you're using as well as what version of pygls? Additionally, can you share what version of vscode you're using?
I see from the error message you're using miniconda3 also. I always recommend people use vanilla python where they can. I am unfamiliar with all the conda(s). If you're open to it, I'd recommend you setup vanilla python? I'd suggest going with 3.11 because I am currently not testing 3.12 or 3.13 and I don't know if pygls has been updated for those.

I'm using python 3.11.5 with pygls 1.2.1. My vscode version is 1.87.2.
Unfortunately, I cannot use vanilla python (work policy issue), we all need to use miniconda (compatibility issues with other projects). But it should not be the problem, don't you think so?
Besides, with v1.0.10 I don't have any problem. Are there many changes between v1.0.10 and v1.0.11? Or is it too complex to track it down?

But is should not be the problem, don't you think so?

Agreed. If it was working before, it shouldn't be miniconda3.

Are there many changes between v1.0.10 and v1.0.11?

No, it was a fairly small update though the update to fix the line logging stuff was more involved.
I did forget that I made a very minor update to the semantic token logic to accept bulk data entries spaced by tabs... Before, I was only allowing 8-space, 16-space, and comma separated bulk data entries. Since your error is calling out the semantic token logic, I'll look there first. I will also see about installing miniconda3 so I can test how you're running it. I assume this is where I should get it?

So maybe it has to do with this "tab parsing". I've also seen that you have implemented a function to open include paths, maybe it's worth taking a look at that code too.

I assume this is where I should get it?

yes, I installed from there.
thank you for your effort of trying to solve this issue :)

I've also seen that you have implemented a function to open include paths

That has been merged into the dev branch but hasn't been released into the wild yet - So that isn't actually in v1.0.11. I'll let you know what I find out after checking out the "tab parsing" and miniconda3.

@T-solidus-T , I was actually able to replicate your error on my install so I do not think it has anything to do with miniconda after all. With v1.0.11, if you press F7 (the keybind to refresh the Include Hierarchy), does the extension begin working as intended? It does for me.
That said, I think I have a solution. Would you be able to test a *.vsix file if I were to send you one? You would just uninstall the extension from the marketplace and then drag and drop the vsix file into the extensions bar in vscode and it'll install it. I'm hoping to confirm this solves your issue before I push an update to the marketplace.
If you join the vscode-nastran discord server here, I can DM you and figure out the best way to get you the file. Let me know if downloading and installing something like that is against your work's policy though... it would be against my work's policy.


Memory leak on the Website

I left https://jsonhero.io/ open went away from my PC. I came back and noticed my Firefox is occupying 31 GB of RAM.
If you open the developer console and take the snapshots under "Memory" tab, you will notice the memory keeps increasing.
Here's just a quick overview from the Edge browser (Firefox is too hard to read). Snapshot 3 was at page launch and Snapshot 5 was around a minute after launching the page.

@Delicious-Bacon thanks for the report! Is this specifically happening on the home page?

@ericallam Are there other pages than the home page?
I have noticed it happening on the home page, and it's specifically jsonhero tab that causes the memory leak.

Okay thanks for letting me know, will dig into it

Just ran into the same problem. In Firefox you can see it grow by several MB every couple seconds in the task manager.
All that seems to be needed to reproduce it is to open the website. There's no need to touch anything.


About aachen day-night dataset evaluation results,

I really appreciate your wonderful work and inference code.
While reading your paper, I had a some questions about details.
Is the visual localization of aachen dataset results on the paper only for night, right?
and in case of the unlimited keypoints, which number did you set for the maximum keypoints number?
8000 or more than 8000 ?
Thank you.

yes
score_th=0.1, maximum keypoints number=10000

Thank you !


Improve PHPUnit fixtures

Changed log

According to the PHPUnit fixture reference, improving PHPUnit fixtures and let all fixture method (setUp) be protected function setUp(): void.

Thank you for improving this package!


Same class name and package name

I have a ui package and an UI class, when I want to create new ui.Something the completion will change it to new UI. after I hit . because of the UI class.

I suggest that if the case matches a package name, we don't autocomplete to the class.

For me this seems quite tricky... it's a matter of user preferences, and the user may expect any of those behaviors depending on the context...for me maybe it would be better this way:

You write ui, there is UI and ui, choose ui over UI.
You press ., and the selected item starts (this is important), with ui. then continue autocompleting over those ones matching.

This is also really annoying with the sys package and Sys class of the standard library.

And thinking of some other cases... null and Null... the user writes null and then <, and he f*cking expects to get Null<...ok, not exactly the same case, but for me it's highly related.

Normally the completion list should favour the exact match. Something's not right in the weighting.


Set SOURCE_DATE_EPOCH properly

Previously this wasn't exporting the SOURCE_DATE_EPOCH variable into the mkimage process, so it wasn't having the desired effect.

Can you fix epoch spelling in PR desc and title?

I... would not like to promise anything.


Add defaultEnv to the docs

Add a description of defaultEnv property to the docs/plugins.
Thank you!

oops yeah that should have been documented
Had to lol at the last comment in that thread you linked to (mine, from >1yr ago). Oh well.


Obsolete GO:0001011 transcription factor activity, sequence-specific DNA binding, RNA polymerase recruiting

GO:0001011 transcription factor activity, sequence-specific DNA binding, RNA polymerase recruiting
The reason for obsoletion is that the term is not clearly defined and usage has been inconsistent.

4 genes with manual annotations to this term - these also multiple other MF annotations

Annotations are here:
https://docs.google.com/spreadsheets/d/1f4XbluhrBfLqGD4uOjs57LFO_979tNlpRCafL84R8-E/edit#gid=0
2 BHF @RLovering
2 flybase @hattrill

done

done

thanks !


focus()  with useRef is not work ?

I use useRef
const passwordRef = useRef(null)
In email TextField, I use onSubmitEditing to call onSubmitEmail function
const onSubmitEmail = () => passwordRef.current.focus()
<TextField
  label={'email'}
  keyboardType="email-address"
  returnKeyType="next"
  blurOnSubmit={false}
  onSubmitEditing={onSubmitEmail}
  onChangeText={email => setEmail(email)}
/>

And my PasswordInputText
<PasswordInputText
  label={'password'}
  getRef={passwordRef}
  secureTextEntry={true}
  onChangeText={password => setPassword(password)}
/>

And error is
Error: TypeError: _this.props.getRef is not a function. (In '_this.props.getRef(ref)', '_this.props.getRef' is an instance of Object)

getRef  is a function and you are assigning a object. That's the issue.
If you want to use reference of the input then write the code like below:
let passwordRef = null;

const onSubmitEmail = () => passwordRef.current.focus()

<PasswordInputText
    label={'password'}
    getRef={ref => passwordRef = ref}
    secureTextEntry={true}
    onChangeText={password => setPassword(password)}
/>

I follow your advice but it still has an error
TypeError: Cannot read property 'current' of null

I have updated my answer and it's working.


brew audit fails with a false positive running homebrew on arch linux

brew doctor output
Your system is ready to brew.

Verification

[X] My "brew doctor output" above says Your system is ready to brew. and am still able to reproduce my issue.
[X] I ran brew update twice and am still able to reproduce my issue.
[X] This issue's title and/or description do not reference a single formula e.g. brew install wget. If they do, open an issue at https://github.com/Homebrew/homebrew-core/issues/new/choose instead.

brew config output
HOMEBREW_VERSION: 4.0.21-17-gce96e0a
ORIGIN: https://github.com/Homebrew/brew
HEAD: ce96e0aafa3a05543b1ef1a9af10bd6ffd4bf816
Last commit: 3 hours ago
Core tap origin: https://github.com/Homebrew/homebrew-core
Core tap HEAD: a6f3d0f9c395a720cc035bb06852d11f29db3da1
Core tap last commit: 3 months ago
Core tap branch: master
Core tap JSON: 09 Jun 22:45 UTC
HOMEBREW_PREFIX: /home/linuxbrew/.linuxbrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_DISPLAY: localhost:11.0
HOMEBREW_EDITOR: nvim
HOMEBREW_MAKE_JOBS: 8
HOMEBREW_NO_INSTALL_CLEANUP: set
Homebrew Ruby: 2.6.10 => /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.10_1/bin/ruby
CPU: octa-core 64-bit haswell
Clang: 15.0.7
Git: 2.40.1 => /bin/git
Curl: 8.1.1 => /bin/curl
Kernel: Linux 5.10.181-1-lts510 x86_64 GNU/Linux
OS: Arch Linux
Host glibc: 2.37
/usr/bin/gcc: 13.1.1
/usr/bin/ruby: 3.0.5
glibc: N/A
gcc@11: N/A
gcc: N/A
xorg: N/A

What were you trying to do (and why)?
trying to understand why when running the below command i see audit exception fail on a gnu+linux system, but do not see any errors on a macos big sur box.
brew audit --new-formula -v<EMAIL_ADDRESS>-v

output
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/bin/bundle clean
freecad/freecad
  * audit_exceptions/flat_namespace_allowlist.json references
    formulae or casks that are not found in the freecad/freecad tap.
    Invalid formulae or casks: freecad

that error 👆 seems to be only happening on gnu+linux install of homebrew
What happened (include all command output)?
error posted above
What did you expect to happen?
not see any errors
Step-by-step reproduction instructions (by running brew commands)
brew tap freecad/freecad/freecad
brew audit --new-formula -v<EMAIL_ADDRESS>-v
# any of the formula can be used from the tap

below is a link to asciicast i recorded earlier in the day, may help for some to see a visual walk through of the issue
https://asciinema.org/a/590683

and pretty issue maybe related to the logic in this ruby file
https://github.com/Homebrew/brew/blob/ce96e0aafa3a05543b1ef1a9af10bd6ffd4bf816/Library/Homebrew/tap_auditor.rb#L59C5-L82

So is the issue that it isn't finding aliases?
Does it find correctly under, for example, brew info freecad/freecad/freecad?
Does brew ruby -e "p Tap.fetch('freecad', 'freecad').aliases output as you expect?

So is the issue that it isn't working with aliases?
I think I see the bug. Though don't understand how it works on macOS for you - the bug happens on my macOS machine. Only thing I can think of is your macOS machine having a freecad.rb lying around in your formula directory.

correct i think the audit is failing due to having an alias setup to freecad and that alias points to a versioned version of freecad


Definition of clean

it 'does not remove tokens with ampersands' do
  text = "you&me"
  pt = PragmaticTokenizer::Tokenizer.new(text,
    clean: true
  )
  expect(pt.tokenize).to eq(["you&me"])
end

Currently clean will remove any tokens with an ampersand. Should instead the behavior be to split at & or to do nothing at & (this might also apply to the normal behavior or pragmatic_tokenizer without the clean option).

I'd assume that the more desired option is to split than to do nothing, but that could be also be defined by long_word_split, meaning that this option does not only check for hyphens but also other characters. In the above spec a value of 6 or below would then lead to splitting you&me, and higher values would keep this as a single token?

OK, I decided to split at an ampersand: https://github.com/diasks2/pragmatic_tokenizer/commit/4958c58029284e4800cb8b6af961e84fbe1e254e


Privacy policy please

I'm drawing potentially sensitive info on excalidraw. Can I have confidence it's private?
https://twitter.com/kaihendry/status/1487961156363108354

Replied in the tweet, here is the blog on end to end encryption is handled https://blog.excalidraw.com/end-to-end-encryption/

That post doesn't describe how long live session URLs are alive for https://excalidraw.com/#room=b5db242f4fe07c826f6a,o95_Gq6x0eGk895A6kzILw
Is there no risk that this URL will be leaked?
Ideally the room is perhaps cleared up after a period of inactivity?

As long as you can keep the URL safe, it would not be possible to guess/access the url (as the entropy is quite high 16^22) and the keys are not saved on backend servers and decryption happens on client side.
The collaborations sessions are persisted so you can always come back and update your drawings


deploy-cdn error

after i run "go test" as "https://casdoor.org/docs/deployment/deploy-cdn"
The path uploaded to Alibaba Cloud Cloud Object storage has an additional "/static/" path, and the reference to the web page does not include the "/static/" path.

@G-lin in our demo site, it has the "static" path in CDN: https://door.casdoor.com/login
<!doctype html>

        <meta charset="utf-8"/>
        <meta name="viewport" content="width=device-width,initial-scale=1"/>
        <meta name="theme-color" content="#000000"/>
        <meta name="description" content="Casdoor - An Identity and Access Management (IAM) / Single-Sign-On (SSO) platform with web UI supporting OAuth 2.0, OIDC, SAML and CAS"/>
        <link rel="apple-touch-icon" href="https://cdn.casbin.org/img/favicon.png"/>
        <link rel="manifest" href="https://cdn.casbin.org/site/casdoor/manifest.json"/>
        <title>Casdoor</title>

        <link href="https://cdn.casbin.com/static/css/main.1013e3f2.css" rel="stylesheet">

        You need to enable JavaScript to run this app.

You can remove or modify it based on your need. This code example won't be changed.


Re-design  delegation Page on the website.

As we cannot change everything simultaneously, we need to start step by step.
For Hermes Protocol website, the Delegation Page needs to be redone. We should mention the places where we already are validators with the buttons to the site to delegate:
Terra V2 and Q blockchain.
We need an area with nice data like how many people are delegating to us and how much in total. we already have functions to calculate in real-time.
Last but not least why should people delegate to us:
-We are doing an app that is free and useful for the user and this helps us to diminish the costs
-We do giveaways to people that delegate to us
-We will airdrop to people our token when we have it

Website Design - https://www.figma.com/file/E0iu9bqBQzfbs6BZhCw8Uu/Hermes-Protocol---Delegation-Page?node-id=0%3A1

@AnaFCPreto , Web Design está feito e pronto a ser desenvolvido.


NIFI-4061 Add a RedisStateProvider

This PR adds a RedisStateProvider that can be used as an alternative to the ZooKeeperStateProvider for clustered state.
This PR includes the Redis work from NIFI-4043, so this could be merged to include both NIFI-4043 and NIFI-4061, or the other one could be merged first and then this branch could be rebased.

@markap14 thanks for reviewing! I pushed up a commit that should address your initial comments and I tried to write a reply to each one so you have an idea of what I did to address it. Let me know if there is anything else.

@bbende thanks! All looks good from a code review perspective. I did some testing by standing up a docker image of redis. Then I created a 2 node cluster and added 2 processors: ListFile (File Location = Remote, Primary Node Only) -> UpdateAttribute. Ran ListFile and saw that state was updated appropriately. Clicked Clear state. Now, Node 1 was kicked out of my cluster because it failed to clear state. No indication in the logs, though, as to why it failed. Node 2 had the following stack trace (which is interesting, given that Node 1 was the one kicked out of the cluster):
{code}
2017-06-21 10:55:33,161 ERROR [StandardProcessScheduler Thread-2] o.a.n.controller.StandardProcessorNode Failed to invoke @OnScheduled method due to java.lang.RuntimeException: Failed while executing one of processor's OnScheduled task.
java.lang.RuntimeException: Failed while executing one of processor's OnScheduled task.
at org.apache.nifi.controller.StandardProcessorNode.invokeTaskAsCancelableFuture(StandardProcessorNode.java:1482)
at org.apache.nifi.controller.StandardProcessorNode.access$000(StandardProcessorNode.java:102)
at org.apache.nifi.controller.StandardProcessorNode$1.run(StandardProcessorNode.java:1303)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.util.concurrent.ExecutionException: java.lang.reflect.InvocationTargetException
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:206)
at org.apache.nifi.controller.StandardProcessorNode.invokeTaskAsCancelableFuture(StandardProcessorNode.java:1465)
... 9 common frames omitted
Caused by: java.lang.reflect.InvocationTargetException: null
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.apache.nifi.util.ReflectionUtils.invokeMethodsWithAnnotations(ReflectionUtils.java:137)
at org.apache.nifi.util.ReflectionUtils.invokeMethodsWithAnnotations(ReflectionUtils.java:125)
at org.apache.nifi.util.ReflectionUtils.invokeMethodsWithAnnotations(ReflectionUtils.java:70)
at org.apache.nifi.util.ReflectionUtils.invokeMethodsWithAnnotation(ReflectionUtils.java:47)
at org.apache.nifi.controller.StandardProcessorNode$1$1.call(StandardProcessorNode.java:1307)
at org.apache.nifi.controller.StandardProcessorNode$1$1.call(StandardProcessorNode.java:1303)
... 6 common frames omitted
Caused by: java.io.IOException: Unable to update state due to concurrent modifications
at org.apache.nifi.redis.state.RedisStateProvider.clear(RedisStateProvider.java:243)
at org.apache.nifi.controller.state.manager.StandardStateManagerProvider$1.clear(StandardStateManagerProvider.java:292)
at org.apache.nifi.controller.state.StandardStateManager.clear(StandardStateManager.java:85)
at org.apache.nifi.processor.util.list.AbstractListProcessor.updateState(AbstractListProcessor.java:217)
... 16 common frames omitted
{code}

@markap14 good catch! The issue appears to be with the logic in the clear method of the RedisStateProvider, I pushed up a commit that should address this problem.

@bbende  great thanks! All seems to work well now. +1 merged to master!


updated port range of LiteServer iperf

5200 is not working. 5201-5240 is working
https://lg-drn.liteserver.nl/

Thanks!


The broker example code can't executed successfully using master branch.

I cloned the master branch code, and cd to the code dir.
Then I executed the following code which copyed from https://amqtt.readthedocs.io/en/latest/references/broker.html and putted them into simple_broker.py
import logging
import asyncio
import os
from amqtt.broker import Broker

async def broker_coro():
    broker = Broker()
    await broker.start()

if __name__ == '__main__':
    formatter = "[%(asctime)s] :: %(levelname)s :: %(name)s :: %(message)s"
    logging.basicConfig(level=logging.INFO, format=formatter)
    asyncio.get_event_loop().run_until_complete(broker_coro())
    asyncio.get_event_loop().run_forever()

Then I got the following error:
(mqtt-server) wrp@ecs-2:~/amqtt$ python simple_broker.py
Traceback (most recent call last):
  File "/home/wrp/amqtt/amqtt/broker.py", line 201, in _build_listeners_config
    listeners_config = broker_config["listeners"]
KeyError: 'listeners'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/wrp/amqtt/simple_broker.py", line 15, in <module>
    asyncio.get_event_loop().run_until_complete(broker_coro())
  File "/home/wrp/Python-3.9.13_install/lib/python3.9/asyncio/base_events.py", line 647, in run_until_complete
    return future.result()
  File "/home/wrp/amqtt/simple_broker.py", line 8, in broker_coro
    broker = Broker()
  File "/home/wrp/amqtt/amqtt/broker.py", line 173, in __init__
    self._build_listeners_config(self.config)
  File "/home/wrp/amqtt/amqtt/broker.py", line 208, in _build_listeners_config
    raise BrokerException("Listener config not found invalid: %s" % ke)
amqtt.broker.BrokerException: Listener config not found invalid: 'listeners'
(mqtt-server) wrp@ecs-2:~/amqtt$

Mh, I'm not sure if we should include a default listeners config in the broker, or if we should adapt the examples to provide such config


Let Kubernetes generate job names

This has the advantage that you can set longer tzcronjob names and they will then automatically be shortend by kubernetes when creating a job.

/cc @hiddeco


Vuetify : "Expected newline." loading vuetify sass files

Hi all,
I am performing an issue when we trying load the sass files inside "~vuetify/src/styles/main.sass".
I tried to adjust the web-pack following this recommendations
**(the new version does not works with node-sass)
https://vuetifyjs.com/en/customization/sass-variables#webpack-install
so I added:
{                 test: /\.sass$/,                 loader: 'sass-loader',                 options: {                     implementation: require('sass'),                     fiber: require('fibers'),                     indentedSyntax: true // optional                 }, },
Error:

PackageJS
"webpack": "^3.6.0",
"vue-loader": "^13.3.0",
"sass-loader": "^7.2.0",
"sass": "^1.22.10",
"vuetify": "^2.1.15",
"vue": "^2.5.2",
We really need this in order to be ables to extends specific variables and components for custom themes.
Thanks in advanced

did you ever resolve this?


Student Provides Personal Information- Citizenship. Yes CDN

As a (Student) I want (to provide my citizenship information) So That *(I can accurately be assessed for Financial Aid).
Additional Context

Student is required to answer a question to determine Citizenship by selecting one of the following: Canadian Citizen, Protected Person, Permanent Resident
-The default answer will be blank, the field is mandatory on Submit
All of the Personal Information is listed on One Page

Acceptance Criteria

[ ] Given (A student), When (providing their Citizenship), Then (they can select from the following: Canadian Citizen, Protected Person, Permanent Resident )
[ ] Given (A student), When (does not provide an answer), Then (they will be required to do so upon submitting)


Show who forked my repos

Please add an option to see who forked my repositories

Thanks your feedback!
But your Gogs version is too old: https://try.gogs.io/unknwon/html-test/forks


v0.0.36

Codecov Report

Merging #76 (1c054f9) into main (1db68fa) will decrease coverage by 0.91%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main      #76      +/-   ##
==========================================
- Coverage   26.91%   26.00%   -0.92%
==========================================
  Files          10       10
  Lines         769      796      +27
  Branches      232      231       -1
==========================================
  Hits          207      207
- Misses        562      589      +27

Impacted Files
Coverage Δ

src/autogenerate/index.ts
3.37% <0.00%> (-0.48%)
:arrow_down:

src/utils.ts
1.50% <0.00%> (-0.03%)
:arrow_down:

Continue to review full report at Codecov.

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


How to get date from string?

Can somebody give me a hand on how to get a date from an Event Formatting Agent which contains:
"date": "Iano Kang, (Aug 3, 2016)"
I need to extract the date in any format usable for an RSS.

Hi @Avalanchaa,
that should be possible with the date filter: {{ date | date: "%F"}}. The liquid documentation has a few formatting examples.

Works well! Thanks for the guidance @dsander !  closing the issue.


Can the search return Track instead of SimpleTrack?

Track class is actually the data structure that spotify returns yet this library returns the stripped down version SimpleTrack. I lose out on album information from the track when I search and get SimpleTrack. It makes more sense to return Track because you can still seamlessly cast this to a SimpleTrack if you don't require all of the info that Track provides. I'd rather not inherently lose information.
Thanks for your work :)

Hi @ebarnsli,
you're right, the API docs state a full Track object for the search endpoint.
Do you want to take a look at it and open a pull request? 😄
Otherwise I'll fix it tonight (UTC) or tomorrow.

It's a one word change. If i can I'll make a PR just to flex that i "contributed" 😂

Version 0.1.3+2 has been published on Pub.
Thanks for finding that bug! :smile_cat:


Add warning message for Node 6 handler

Add warning message for Node 6 handler about imminent deprecation

Shouldn't it be Deprecated instead of Depricated

Why was this added before all of the tasks provided Microsoft have been ported? It's super confusing for our users to have all the warnings for the built in tasks as we debug other issues.


v3 removed useCookie breaking all client-side parsing

After updating to v3:
Module '"next-universal-cookie"' has no exported member 'useCookie'.ts(2305)

Thus making the following client-side code no longer possible:
const [cookies, setCookie, removeCookie] = useCookie([TOKEN_STORAGE_KEY])

@DamonBlais v3 supported server-side only.
For client side, You can replace it with any react hooks such as react-use-cookie, react-use/useCookie


Open PDF preview on new window

Will this have any update? Because even if I access in the browser (Google Chrome 68.0.3440.106), when I click a PDF attachment, it asks me to download the file, and this can be really bothersome when you've a large volume of files and want to check them.
Rocket.Chat Electron: 2.13.1
Rocket.Chat Server: 0.69.0

@ghost, could you give me some design to show a pdf file or design you want or procedure should be?


Duplicate instantiation of AppKernel in app.php

Hello.
According to the comments in app.php, in order to enable the Symfony Reverse Proxy, you must uncomment the lines:
// require_once __DIR__.'/../app/AppCache.php';
// $kernel = new AppKernel('prod', false);
// $kernel->loadClassCache();
// $kernel = new AppCache($kernel);
// Request::enableHttpMethodParameterOverride();

However, the AppKernel is instantied and the ClassCache is loaded right before this block.
Is there a reason for re-constructing the kernel and loading the ClassCache only after
require_once __DIR__.'/../app/AppCache.php';?
Thank you!

This indeed looks like an issue

@cristi-contiu thanks for reporting this issue.
The purpose was to provide an easy way to comment a block of code and uncomment another block to easily enable the HTTP cache. As you know, the current front controller of the standard edition mangles these two code blocks by commenting some lines of code.
This practice looks confusing to me and I have replied to lots of user support questions about this. That's whay I wanted to provide two similar but totally separated code blocks. In any case, you are right and the original controller had some issues. I've updated its code in #50.


Unable to get book name, please change another url and try again

I got this error while trying to download a book.

What's the url you were browsing? It parse your current tab's url and see what book it is.

@chenditc Should have put the URL directly in the issue:
http://my.safaribooksonline.com/9781783987627/ch01_html?percentage=0&reader=html

That looks like a old version of Safari, how did you end up in this page? Do you click some oreilly link and get here?
My extension works when I get the book from https://www.safaribooksonline.com/library/view/building-applications-on/9781491926543/toc01.html
You can use that as a workaround.

I have a very old account for safari where I get 5 books / month.
I don't have access to the link you suggested with that account.
Thanks for the help!


Examples Needed

Hi, I installed your plugin and really would like to give it a try,  but I am not sure how.
Could you provide an example, of how to enable it, and use it?
Thank you!

Bump.  I'd love to know what additional functionality this extension provides as well.  The README explanation isn't very explicit.  Would love to see what your extension can do!  :)


Light/Dark mode Toggle Button (Website)

A button needs to be added on the website that toggles between the light and the dark mod, this would increase the reader's readability and user-experience.. Keep in mind that the format is same as the Website's Theme

Hey @EshanTrivedi21, I am interested in working on this issue. Could you please assign this to me?

Heyy Sure! @shrutilenka
I'll assign it to you, Thanks for your interest.

any progress @shrutilenka ??

@aryan-parmar

@EshanTrivedi21 yes I'm working on that. will be submitting it by tomorrow.

greatt!!
okay thanks.

@shrutilenka please reference your pull request here!!

so that i can close this issue

#39

@shrutilenka i need to close this issue.. also to count in as a contributor you need to reference your pull request here..
please do it asap.. many thanks :)

#39
@EshanTrivedi21
this is my pull request.

@shrutilenka seems like the toggle button isn't working on mobiles
Or maybe only on my phone
Are you facing the same issue?

@EshanTrivedi21 let me check once again...

@EshanTrivedi21 sir the toggle button is working in mobile view.
its is not responsive but it is working.

@shrutilenka It has topped working on the Pc as well..
here is the latest site:
https://eshantrivedi21.github.io/Git-CheatSheet/
check it out here!
@Aatmaj-Zephyr

maybe what you have is your fork of the repository, there have been many additions and subtractions and commits after that one.. check it out once!

@EshanTrivedi21 okay sir i am fixing the issue by tonight.

@shrutilenka It has topped working on the Pc as well.. here is the latest site: https://eshantrivedi21.github.io/Git-CheatSheet/ check it out here! @Aatmaj-Zephyr

#50
Done sir!

Great work @shrutilenka !
It might have been deleted in a Pr and would have been unnoticed by me.. Sorry.
not an issue... Thanks :)

Closing this issue


⚠ Turnos 24x7 has degraded performance

In adfa6dc, Turnos 24x7 (https://reservas-dev.alternativasinteligentes.com/) experienced degraded performance:

HTTP code: 200
Response time: 1022 ms

Resolved: Turnos 24x7 performance has improved in bf2202e.


Blog art: How to build an application with Node-RED Dashboard 2.0

Related Issue
https://github.com/FlowFuse/customer/issues/157
Description
Considerations:

Blog tile : How to build an application with Node-RED Dashboard 2.0

content reference:
https://github.com/FlowFuse/website/pull/1950

Hi @sumitshinde-84 I've just pushed it to the PR


Add spec to the result of Coverage lib for begin

Ref: https://github.com/jruby/jruby/issues/8173
I'm not sure if this is the right way to add a spec or not. Please point it out if I miss something or there's a better way.

Thank you!


[gssoc'21] proper alignment of content in footer and hover effects in footer

proper alignment of content in footer and hover effects in footer
and also footer seems to large.
please assign this work to me.

Can I please get assigned to this issue as I have prior experience in issues like this already and I hope I can do well

I'll solve this issue pls assign it to me

/assign
I am a participant of GSSoC'21. I would take up this issue.
Can you please assign me this issue.

you can work on it @kamalkarolya

Can i work upon this issue? i would love to contribute to it.

@harikesh409 Sir i have made few changes in the footer. But i am having a small problem. Like after alignment of Content. I want to align everything in center and i have tried few ways but it isn't working on the code.


Add example with GPIO interfaces used

I am trying to add ros2_control gpio interfaces to my robot. I did some searches and I see the only example I found is the UR ROS2 driver.


Negative numbers not handled correctly

If you round -3.5 by the whole number, it should be -4 but Rounder outputs -2, ez fix

fixed in #6


Detect when an ad is playing and ended

Is there a way to detect when an ad starts, and when an ad ends?  The PLAYING state is called when an ad starts playing, but we want to know when the actual video starts playing after te ad. @PierfrancescoSoffritti  can you cook up some magic for this functionality? Related to #118

Hi, do you actually get ads with this player? it never happened to me, I was starting to believe they where disabled in the web player  (for some unknown reason).
Unfortunately the IFrame API doesn't offer any way for knowing if an ad is being played, therefore there's not much I can do at the moment :\

I've got the same problem, so i've studied the playerstate when an ads is playing and it follow a regular pattern :
First the player state changed to:  (UNDEFINED) because an ads it's loading and for the player this is a undefinded behaviour then player state changed to:  (CUED) because it's save the current floating second and previous state of player, finally the player state changed to: (PAUSED)
So for detect and ads i make a function based on videoID that collect state for the current video id and if they are one behind the other (Undefined-Cued-Paused) i know that an ads is playing.
But i know that it's not an elegant solution and i'm looking for something better.

Hey @Trusted97, thanks for the help! Have you found a way to show ads consistently? I never see them in the sample app.

Yeah, i've simply upload a video on youtube full of ads, you can add any
ads you want in video
On Mon, Jul 2, 2018, 23:01 Pierfrancesco Soffritti<EMAIL_ADDRESS>wrote:

Hey @Trusted97 https://github.com/Trusted97, thanks for the help! Have
you found a way to show ads consistently? I never see them in the sample
app.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/PierfrancescoSoffritti/android-youtube-player/issues/143#issuecomment-401934673,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Aj82muvhuLefj4grgvV2lTKJPO8kb2Bhks5uCoo8gaJpZM4UOUEX
.

could you send me the url?

Sure i'll send you asap
On Jul 2, 2018 23:37, "Pierfrancesco Soffritti"<EMAIL_ADDRESS>wrote:
could you send me the url?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/PierfrancescoSoffritti/android-youtube-player/issues/143#issuecomment-401945604,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Aj82mrKeF27Q0IygH35KcbU_p1QLszBzks5uCpK2gaJpZM4UOUEX
.

Unfortunately, the video I used to test is for some reason free of ads. But I found this video replaceable with ads every 5 minutes :)

Thanks, I'm going to do some testing during the weekend, hopefully :)

I like the player you build very much. It fits very well to a project that I am working. But only after the implementation, I realised that the ads do not apperars really. This is impeditive for me.
Have you found a solution?
Greetings from Brazil.

Ads are controlled by the IFrame API, not by my library. There's not much to do unfortunately.

hello team , can you suggest a proper method for checking of ad is playing or not


Now Playing MPD

It would be awesome be default to have segment for Now Playing MPD.  I found this script. Maybe it wouldn't be very difficult to integrate it into your configuration?

Hello @Minda1975 👋
I don't use MPD and didn't know what it is.
I don't have plans to integrate it into my configuration as integrating something means making sure it works properly. As I'm not a MPD user this isn't something I want to commit to.
That being said I'm sure you can edit your own ~/.tmux.conf.local copy and call it with #().

Hello gpakosz ✌

I don't use MPD and didn't know what it is.

MPD (music player daemon) is an audio player that has a server-client architecture. It plays audio files, organizes playlists and maintains a music database, all while using very few resources.

I don't have plans to integrate it into my configuration as integrating something means making sure it works properly. As I'm not a MPD user this isn't something I want to commit to.

I understand. Never mind. I'll try to customize it and fit it to your configuration. I simply thought that this module could be useful to others as MPD is a very popular program.

You can still share your solution. But this repository is probably the wrong place for it. It's the big issue with centralized projects like this one here. There are countless features. Too many to manage in one project. That's also why I prefer stuff like TPM. For example what you can do is provide a TPM plugin. Then everyone can install this plugin with TPM.

Now that Oh my tmux! has a TPM integration, you can indeed look for a plugin that implements this feature


Upgrade from Python 3.9 to 3.10

Now working thanks to your tabulate fix the other day 🙇

Thanks @lgruen!
However, we actually just dropped the environment-dev.yml when switching to PyPI - that PR was merged just after you submitted this one. Now you can setup the full environment with pip install -e requirements-dev.txt and pip install analysis-runner or pip install ., so no need to provide a environment-dev.yml for conda. The package should work with py3.10

@vladsaveliev That's great, thanks! Do I understand correctly that pip install . will install the dependencies listed at https://github.com/populationgenomics/analysis-runner/blob/main/setup.py#L31?

@lgruen, that's right! It installs everything in install_requires.


OLS-810: Create option in olsconfig CRD for context_window_size per model

Description
As an OLS admin , I want the ability in the CR to set the context_window_size for my model, so that OLS can send the right content size to the LLM provider.
Type of change

[ ] Refactor
[x] New feature
[ ] Bug fix
[ ] CVE fix
[ ] Optimization
[ ] Documentation Update
[ ] Configuration Update
[ ] Bump-up dependent library

Related Tickets & Documents

Related Issue # https://issues.redhat.com/browse/OLS-810
Closes #

Checklist before requesting a review

[x] I have performed a self-review of my code.
[ ] PR has passed all pre-merge test jobs.
[ ] If it is a core feature, I have added thorough tests.

Testing

Please provide detailed steps to perform tests related to this code change.
How were the fix/results from this change verified? Please provide relevant screenshots or results.

/lgtm

/approve

/retest

/retest

@xrajesh @asamal4 PTAL
With
// +kubebuilder:validation:Minimum=8192
validation is done at the point of CR creation:
contextWindowSize: -123
$ oc apply -f ols_config_preview.yaml
The OLSConfig "cluster" is invalid: spec.llm.providers[0].models[0].contextWindowSize: Invalid value: -123: spec.llm.providers[0].models[0].contextWindowSize in body should be greater than or equal to 8192

contextWindowSize: 0
$ oc apply -f ols_config_preview.yaml
The OLSConfig "cluster" is invalid: spec.llm.providers[0].models[0].contextWindowSize: Invalid value: 0: spec.llm.providers[0].models[0].contextWindowSize in body should be greater than or equal to 8192

contextWindowSize: 123
$ oc apply -f ols_config_preview.yaml
The OLSConfig "cluster" is invalid: spec.llm.providers[0].models[0].contextWindowSize: Invalid value: 123: spec.llm.providers[0].models[0].contextWindowSize in body should be greater than or equal to 8192

contextWindowSize: foobar
$ oc apply -f ols_config_preview.yaml
The OLSConfig "cluster" is invalid:
* spec.llm.providers[0].models[0].contextWindowSize: Invalid value: "string": spec.llm.providers[0].models[0].contextWindowSize in body must be of type integer: "string"
* <nil>: Invalid value: "null": some validation rules were not checked because the object was invalid; correct the existing errors to complete validation

contextWindowSize: 123.3
$ oc apply -f ols_config_preview.yaml
The OLSConfig "cluster" is invalid:
* spec.llm.providers[0].models[0].contextWindowSize: Invalid value: "number": spec.llm.providers[0].models[0].contextWindowSize in body must be of type integer: "number"
* spec.llm.providers[0].models[0].contextWindowSize: Invalid value: 123.3: spec.llm.providers[0].models[0].contextWindowSize in body should be greater than or equal to 8192
* <nil>: Invalid value: "null": some validation rules were not checked because the object was invalid; correct the existing errors to complete validation

If contextWindowSize is not specified in the CR, validation against the minimum does not trigger and context_window_size in the OLS config is not set, resulting in the per-model/provider default.
Overall, I think this is acceptable behavior.

/lgtm

/approve

/override "Red Hat Konflux / ols-e2e-tests-rosa / bundle"
/override "Red Hat Konflux / ols-e2e-tests-rosa / lightspeed-operator"
/override "Red Hat Konflux / ols-enterprise-contract / bundle"
/override "Red Hat Konflux / ols-enterprise-contract / lightspeed-operator"


Ability to integrate external agents into the framework

As discussed in https://github.com/joaomdmoura/crewAI/issues/228
Example usage in https://github.com/joaomdmoura/crewAI-examples/pull/52/files

looking forward to merge of this PR into main for our use cases

If you want to mix and match CrewAI agents with any other ones (Langchain, LllamaIndex, and Autogen so far, happy to add more), take a look at motleycrew :)
I started it after the above PR was put on ice, and it's all about nice orchestration, while allowing you to use any agents and tools of your choice, conveniently.

Looking forward to this as well. We'd use this to connect Agent components to CrewAI components in Langflow.

https://github.com/crewAIInc/crewAI/pull/776 this PR address this letting you bring your agents by extending the BaseAgent class


Bump version to 1.5.0

PR to prep for the release of 1.5.0, which features improved autocomplete stuff for fish, as well as a small typo fix. Given that there's nothing else in the works (to my knowledge), no reason to not cut the release now.

What's the status on getting this version released?

Version released, and PR sent to bump the version in homebrew: https://github.com/Homebrew/homebrew-core/pull/105669
Someone else will need to handle updating the AUR repo.


Multi-layer nesting problem

I know it's annoying, but I wish I had a nested multi-layer way to add things like this
pu list {get;set:}
pu class userq
{
pu string gb{get;set;}
}
json.add（user）{user}=『
//设置开始嵌套属性+变量
new stelm O{'bg':'./img/img'},
//连接O
new stelm{'bg':'./img/img/1.JPG',O},
new stelm{'bg':'./img/xxx',O}
』
这样达到一个更加简单的嵌套多层，我建议加入这种方式这样可以列出一下方式：
{
“user”：
[
{
“gb”：“”
}
{
gb：xx
}，
{
“gb”：
}
]
}
主要我很烦json.net不能这样，导致我很苦恼

非常烦恼

on Json.net!

I would like to know why Json.Net does not support tree structure? And the tree structure is one of the most troublesome, I hope to simplify

I hope to use a variable that can be used to connect to continue to create the substructure of the tree structure so that it is perfect


API 2.0

Draft PR to review and discuss GlobalState service changes to support Spacemesh Apps in release 0.3.

@lrettig @YaronWittenstein - I've updated the api to reflect the design review session feedback. I still believe we should have a strongly typed GetVariable() method which is very useful for quick access to app state by dapps. Perhaps we can proceed before another review session by you guys just reviewing the most recent changes? The relent types are in app_types.proto, var_types.proto and global_state.proto

@YaronWittenstein @lrettig - please check the code - I think I've incorporated everything we talked about and removed non-app related changes from this pr.

Renamed pr to api 2.0 as it is not going to be backward compatible with 1.x api due to some breaking changes.

Renamed pr to api 2.0 as it is not going to be backward compatible with 1.x api due to some breaking changes.

I think we need to update this so the output proto files go into proto/spacemesh/v2 (rather than v1), that should cause the CI tests to pass. We also need to add a separate set of checks for v2, and we should also update the README accordingly.


With a max length EOCDH comment the EOCDH signature could start at end-(0xffff+22)

Example zip with max comment size 0xFFFF:
max_comment.zip
This previously failed to read because the start read range wasn't long enough.

Merging, thanks 👍


[bug] taskflow.utils.box2example 缺少ori_boxes参数，运行报错

PR types

Bug fixes
PR changes

APIs
Description

无法使用自己的ocr结果调用taskflow实现文档抽取问答，增加对应文本区域ori_boxes参数输入

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@ChenBinfighting1 Thanks for your contributions, please sign CLA thanks.

hello, thanks for your reply, I have signed the CLA.
One question, it is showing ‘This branch is out-of-date with the base branch’. So do I need to switch branch submission pr?

hello, thanks for your reply, I have signed the CLA. One question, it is showing ‘This branch is out-of-date with the base branch’. So do I need to switch branch submission pr?

Hi, you don't need to do that, it is already up-to-date


Warning when element size or position is 0 or negative

It calls engine.console.warn so it's only visible with ?log=1


Make SlsVersion serializable

Before this PR
SlsVersion is not serializable. Attempting to serialize an SlsVersion using an ObjectWriter will use Jackson's default introspection based serialization and produce a value like:
{"value":"1.2.3","type":"RELEASE","majorVersionNumber":1,"minorVersionNumber":2,"patchVersionNumber":3}

Note that SlsVersion does serialize in the expected way when using an ObjectMapper because the ObjectMapper looks at the Jackson annotations on the subclasses. We have tests for this behavior.
After this PR
SlsVersion is serializable. Attempting to serialize a SlsVersion using an ObjectWriter behaves in the expected way.
I have updated to the tests to also test serialization/deserialization with an ObjectWriter/ObjectReader.

Released 1.5.0

Woah - I did not expect there to be differing behaviour between jackson's ObjectMapper and ObjectWriter ... has this been affecting wire serialization of this type? if someone had persisted a value like {"value":"1.2.3","type":"RELEASE","majorVersionNumber":1,"minorVersionNumber":2,"patchVersionNumber":3} somewhere in a DB can it still be deserialized after your change?

can it still be deserialized after your change?

It couldn’t be deserialized before this change


README nitpick

The README says "no, EIFs are timestamped" against nitro-cli for reproducability which might be worth clarifying. The nitro-cli tool itself produces reproducible builds given the same docker image (on the same system for sure, probably over different systems as well). It's the Docker images themselves that are usually timestamped.

Hi @roshanr95 !
Docker images definitely tend to be timestamped and a source of indeterminism, but I do believe the Nitro CLI sets another timestamp outside of the image's.
My understanding of where the timestamp comes from is from reading the encalve_build folder in the Nitro CLI source. Specifically, I see a timestamp included in the EifBuildInfo struct. I believe that is constructed here:
let build_info = generate_build_info!(&format!("{}.config", kernel_path)).map_err(|e| {

And then that function uses a new timestamp each time it is called, as seen in enclave-format, inside generate_build_info():
let now = Utc::now();

Ok(EifBuildInfo {
    build_time: now.to_rfc3339(),
})

More empirically, when we developed this repo, we had to set the timestamp manually here in order to override what generate_build_info() produced. Additionally, when we did use the Nitro CLI, if I remember correctly we got EIFs with different hashes even when using the exact same Docker image twice.
I am by no means a Rust developer, so I could have misread and the timestamps in EIFs could come from elsewhere. Do correct if this is the case! I would hate for the README to be inaccurate.

hmm, when I do nitro-cli build-enclave --docker-uri <tag> --output-file <eif>, I always get the same PCRs on repeated attempts, is that not the same for you? I'm now wondering why that is the case when the code seems to clearly be using timestamps in the metadata :sweat_smile:

Ah, that's because the PCRs do not include metadata (which is where the timestamp is). See this article for a good explanation. If you build the same EIF twice, you get the same PCRs, but not the same SHA256 of the file itself.
Image from that article further below. See how EifSectionMetadata is not part of any PCR.
This repo, on the other hand, will actually produce EIF fils with the same SHA256 every time (assuming you always use the same input for the copyToRoot part)

This is why in the README we say "Bit-by-bit reproducible EIFs". Do let me know if you think some different working might make that clearer

Ah got it, I misunderstood.


Kubernetes Operation

This is likely most promising way to customize worker environment, such as libraries, RAM, GPU, etc. support.
Idea behind Kubernetes: a worker will create a new job in kubernetes with custom docker image. Similar things have been done in airflow's Kubernetes Operator https://kubernetes.io/blog/2018/06/28/airflow-on-kubernetes-part-1-a-different-kind-of-operator/ and in kubeflow pipelines

added in 1.2.4


Additional blank lines make generated class not PSR2 compliant

Hi guys
I saw  PSR2 issues when generating classes.
See errors below

92 | ERROR | [x] Expected 1 blank line at end of file; 2 found
92 | ERROR | [x] The closing brace for the class must go on the next line after the body

I post you an exemple which generate these errors
<?php

namespace AppBundle\Domain\Entity;

class MyClass
{
    /**
     * @var int|null
     */
    private $id = null;

    /**
     * @param int $id
     * @return $this
     */
    public function setId($id)
    {
        $id = (int) $id;
        $this->id = $id;

        return $this;
    }

    /**
     * @return int
     */
    public function getId()
    {
        return $this->id;
    }

}

@JuJuDropThor can you maybe write a test that verifies PSR-2 compliance of generated code?

I'm not sure I understand what you asked. You want to know how I checked if the generated code was PSR-2 compliant ?
I just ran phpcs with --standard=PSR2 argument.

@JuJuDropThor yes, what we'd need is a test that automates such a check

Sure. See the code below :
<?php
/**
 * composer require zendframework/zend-code
 * php sample_1.php
 * Assuming you got phpcs in your path: phpcs ./Person.php --standard=PSR2
 */

require_once __DIR__ . '/vendor/autoload.php';

use Zend\Code\Generator\FileGenerator;
use Zend\Code\Generator\ClassGenerator;
use Zend\Code\Generator\PropertyGenerator;
use Zend\Code\Generator\DocBlockGenerator;
use Zend\Code\Generator\MethodGenerator;
use Zend\Code\Generator\DocBlock\Tag\ParamTag;
use Zend\Code\Generator\DocBlock\Tag\ReturnTag;
use Zend\Code\Generator\DocBlock\Tag\GenericTag;

$classGenerator = new ClassGenerator();
$classGenerator
    ->setName('Person')
    ->setNamespaceName('Domain\Entity')
    ->addPropertyFromGenerator(
        PropertyGenerator::fromArray([
            'name'         => 'firstName',
            'defaultValue' => null,
            'visibility'   => PropertyGenerator::VISIBILITY_PRIVATE,
            'docblock'     => DocBlockGenerator::fromArray([
                'tags'         => [new GenericTag('var', 'string')]
            ])
        ])
    )
    ->addPropertyFromGenerator(
        PropertyGenerator::fromArray([
            'name'         => 'lastName',
            'defaultValue' => null,
            'visibility'   => PropertyGenerator::VISIBILITY_PRIVATE,
            'docblock'     => DocBlockGenerator::fromArray([
                'tags'         => [new GenericTag('var', 'string')]
            ])
        ])
    )
    ->addMethodFromGenerator(
        MethodGenerator::fromArray([
            'name'       => 'setFirstName',
            'parameters' => ['firstName'],
            'visibility' => MethodGenerator::VISIBILITY_PUBLIC,
            'body'       => '$this->firstName = $firstName;',
            'docblock'   => DocBlockGenerator::fromArray([
                'tags' => [
                    new ParamTag('firstName', ['string']),
                    new ReturnTag(['$this'])
                ]
            ])
        ])
    )
    ->addMethodFromGenerator(
        MethodGenerator::fromArray([
            'name'       => 'setLastName',
            'parameters' => ['lastName'],
            'visibility' => MethodGenerator::VISIBILITY_PUBLIC,
            'body'       => '$this->lastName = $lastName;',
            'docblock'   => DocBlockGenerator::fromArray([
                'tags' => [
                    new ParamTag('lastName', ['string']),
                    new ReturnTag(['$this'])
                ]
            ])
        ])
    );

$fileGenerator = new FileGenerator();
$fileGenerator->setClass($classGenerator);

file_put_contents(__DIR__ . '/Person.php', $fileGenerator->generate());

Hello guys
Any news ? Tell me if you need more code.

@JuJuDropThor what would be needed is to turn this into a proper test case.
We already have phpcs installed as dev dependency: it just needs to run (as part of the test suite) in one of the tests.

Something like this class works for testing various generated code:
use PHPUnit\Framework\TestCase;
use Zend\Code\Generator\ClassGenerator;
use Zend\Code\Generator\FileGenerator;

class Psr2ComplianceTest extends TestCase
{
    public function testEmptyClassCompliance()
    {
        $classGenerator = new ClassGenerator('Bar', 'Foo');
        $fileGenerator = new FileGenerator();
        $fileGenerator->setClass($classGenerator);
        $generatedCode = $fileGenerator->generate();

        $codeSniffer = new \PHP_CodeSniffer();
        $codeSniffer->initStandard('PSR2');
        $report = $codeSniffer->processFile('', $generatedCode);

        $this->assertEquals(0, $report->getErrorCount());
        $this->assertEquals(0, $report->getWarningCount());
    }
}

I'll write some tests for various generated code later.

Hello
I added your unit test and ran it with phpunit ./test/Psr2ComplianceTest.
See bellow what I got
PHPUnit 4.8.36 by Sebastian Bergmann and contributors.

F

Time: 157 ms, Memory: 12.00MB

There was 1 failure:

1) ZendTest\Code\Psr2ComplianceTest::testEmptyClassCompliance
Failed asserting that 1 matches expected 0.

/var/www/zend-code/test/Psr2ComplianceTest.php:22

FAILURES!
Tests: 1, Assertions: 1, Failures: 1.

$report->getErrorCount() return 1. But it's strange because $report->getErrors() return an empty array

The closing brace for the class must go on the next line after the body
That one is obvious, you have 2 blank lines but it expects 0 blank lines, that is ok.

Expected 1 blank line at end of file; 2 found
This also seems obvious, how many blank lines did you actually have?
It must be 1, not less and not more.

This repository has been closed and moved to laminas/laminas-code; a new issue has been opened at https://github.com/laminas/laminas-code/issues/10.


embed: signal 'grpcServerC' before cmux serve

CMux.Serve blocks, so grpcServerC was never closed.
https://github.com/cockroachdb/cmux/blob/master/cmux.go#L80
Fix https://github.com/coreos/etcdlabs/issues/216.

Hm, doesn't StartEtcd return with etcd running, though?

Oh, different serve. Never mind.


Please add license

My company can't use the library unless we know the license for it. Could you please add a license?

All done, thanks for the reminder!

Thanks Andrew! Any chance you could bump the gem version with the license?
https://rubygems.org/gems/rspec_tap/
On Fri, Jul 24, 2020 at 4:25 AM Andrew Appleton<EMAIL_ADDRESS>wrote:

All done, thanks for the reminder!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/appleton/rspec_tap/issues/5#issuecomment-663443829,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAXJDHWRSNLILD57A622YTR5FHP5ANCNFSM4PF6G7KA
.

Bumped to 0.2.0 and published ✅

Awesome! Thank you!
On Fri, Jul 24, 2020 at 10:04 AM Andrew Appleton<EMAIL_ADDRESS>wrote:

Bumped to 0.2.0 and published ✅
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/appleton/rspec_tap/issues/5#issuecomment-663583988,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAXJDAJC6455U4737FFMILR5GPITANCNFSM4PF6G7KA
.


Made camera quaternions match CAD (be upside-down)

Also it has to be ensured that PhotonVision doesn't rotate the cameras on its end, because it appears to do something incorrectly.

@whert-dev For posterity, could you describe how to obtain these numbers?

`import numpy as np
from numpy.linalg import norm
https://www.euclideanspace.com/maths/geometry/rotations/conversions/matrixToQuaternion/
vx = np.array(  # Some vector forward
(0.13292014598846436, -0.08957993984222412, 0.05276024341583252)
)
vy = np.array(  # To the left
(-0.08185983449220657, -0.14061802625656128, -0.03249973803758621)
)
vz = np.array(  # Up
(0.04427969455718994, 0.0, -0.11153995245695114)
)
vx = vx / norm(vx)
vy = vy / norm(vy)
vz = vz / norm(vz)
(0.0, 0.0, 0.0)
vy = np.cross(vz, vx) # Not quite right
[vx0 vy0 vz0] [ 00  01  02]
[vx1 vy1 vz1] [ 10  11  12]
[vx2 vy2 vz2] [ 20  21  22]
q = (
np.sqrt(
np.maximum(
[
1 + vx[0] + vy[1] + vz[2],
1 + vx[0] - vy[1] - vz[2],
1 - vx[0] + vy[1] - vz[2],
1 - vx[0] - vy[1] + vz[2],
],
0.0
)
)
/ 2
)
q[1:4] = np.copysign(
q[1:4],
[
vy[2] - vz[1],
vz[0] - vx[2],
vx[1] - vy[0],
],
)
print(list(q))
`
I'm using this script, the values for xv, vy and vz are derived from a 3D model exported from CAD.


fix: sonar run on PR from own repo

Thanks for fixing this for me!

Thank you for @andreaTP original initiative!


doc: add a warning that comap is zero for non-injective functions

Please add a similar warning to the comap definition below. The comapₗ is an auxiliary definition.

Thanks @urkud I have added that as well now. Not sure if it should be a new PR or it is still this one.

Thanks!
bors merge


fix(TDI-40791): remove timeout property in advanced settings for all …

…Marketo components
What is the current behavior? (You can also link to an open issue here)
https://jira.talendforge.org/browse/TDI-40791
What is the new behavior?
Removed timeout property. This property is useless w/ SOAP||REST API.
Please check if the PR fulfills these requirements

[X] The commit message follows Talend standard
[X] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features) ?
[ ] The code coverage on new code >75%
[ ] The new code does not introduce new technical issues (sonar / eslint)

What kind of change does this PR introduce?

[X] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build / CI related changes
[ ] Other... Please describe:

Does this PR introduce a breaking change?

[ ] Yes
[X] No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...
Other information:

Pull request test result: success :star:
Sonar results

Pull request test result: failure :x:

Pull request test result: success :star:
Sonar results


Added command to get resources from validation manifest

Added dev get-resources command to Lula. Need to specify and input file (-f) for the validation manifest and optionally an output file (-o) for the resources json data.
Tested with a local k3d with podinfo deployed and the following validation.yaml input:
target:
  provider: opa
  domain: kubernetes
  payload:
    resources:
      - name: deployment
        resource-rule:
          name: podinfo
          group: apps
          version: v1
          resource: deployments
          namespaces: [podinfo]
    rego: |
      package validate

      default validate = false

@brandtkeller - threw this together real quick after our discussion, probably needs more testing and whatnot but would love any feedback on if this is hitting what you were thinking

@brandtkeller - threw this together real quick after our discussion, probably needs more testing and whatnot but would love any feedback on if this is hitting what you were thinking

@meganwolf0 Looks great! E2E test here is likely most applicable. I'd checkout whether message.JSONValue() provides any value otherwise this meets the intent.

Added some e2e testing and refactored the get-resources command a bit. I also made a change to the resources that get returned and dropped the metadata.managedFields. This field seems kind of useless and introduces a lot of lines and potentially noise so I figured it'd be ok to drop. If there's an issue or maybe more discussion is needed I could always revert this and throw it into a separate PR.


Error when running code

Error on:
var fc = new FabricClient(xc, connection);
Exception:
_System.InvalidCastException: 'Unable to cast COM object of type 'System.__ComObject' to interface type 'IFabricClusterManagementClient12'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{3EE688D1-4DB0-49BE-A636-981AED93120F}' failed due to the following error: No such interface supported (0x80004002 (E_NOINTERFACE)).'

_

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

ID: 7d1345db-45da-3db7-4c3e-0db94c2ac675
Version Independent ID: e7f1d8ce-c7ca-95d8-833b-aa10f43d0aa7
Content: Connect securely to an Azure Service Fabric cluster - Azure Service Fabric
Content Source: articles/service-fabric/service-fabric-connect-to-secure-cluster.md
Service: service-fabric
GitHub Login: @erikadoyle
Microsoft Alias: edoyle

@mcurko We are checking this and will get back to you.

Updating to the newer NuGet SF packages should resolve this error. Please update the SDK as described in this document: https://www.microsoft.com/web/handlers/webpi.ashx?command=getinstallerredirect&appid=MicrosoftAzure-ServiceFabric-CoreSDK
Thanks for bringing this to our attention. We will now close this issue. If there are further questions regarding this matter, please tag me in a comment. I will reopen it and we will gladly continue the discussion.

Thank you, i confirm that the issue is resolved.