Can't run starter app on windows: Could not find a file named "pubspec.yaml" in "H:".

Steps to Reproduce
When typing flutter create my_app into PowerShell in directory H:\...\flutter I'm getting a Could not find a file named "pubspec.yaml" in "H:\". error and it's building in the base directory.
Logs

PS H:\0-Coding\flutter> flutter --verbose create my_app
fatal: not a git repository (or any of the parent directories): .git
Building flutter tool...
Running pub upgrade...
[  +11 ms] executing: [H:\src\flutter\] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +85 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] 9f5ff2306bb3e30b2b98eee79cd231b1336f41f4
[        ] executing: [H:\src\flutter\] git describe --match v*.*.* --first-parent --long --tags
[  +65 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags
[        ] v1.12.13+hotfix.7-0-g9f5ff2306
[   +5 ms] executing: [H:\src\flutter\] git rev-parse --abbrev-ref --symbolic @{u}
[  +63 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [H:\src\flutter\] git ls-remote --get-url origin
[  +58 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +90 ms] executing: [H:\src\flutter\] git rev-parse --abbrev-ref HEAD
[  +62 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[  +39 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +26 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +60 ms] Recreating project H:\my_app...
[  +20 ms]   H:\my_app\.gitignore (existing - skipped)
[   +1 ms]   H:\my_app\.idea\libraries\Dart_SDK.xml (existing - skipped)
[        ]   H:\my_app\.idea\libraries\Flutter_for_Android.xml (existing - skipped)
[        ]   H:\my_app\.idea\libraries\KotlinJavaRuntime.xml (existing - skipped)
[        ]   H:\my_app\.idea\modules.xml (existing - skipped)
[        ]   H:\my_app\.idea\runConfigurations\main_dart.xml (existing - skipped)
[        ]   H:\my_app\.idea\workspace.xml (existing - skipped)
[        ]   H:\my_app\.metadata (existing - skipped)
[   +1 ms]   H:\my_app\android\app\build.gradle (existing - skipped)
[        ]   H:\my_app\android\app\src\main\kotlin\com\example\my_app\MainActivity.kt (existing - skipped)
[        ]   H:\my_app\android\build.gradle (existing - skipped)
[        ]   H:\my_app\android\my_app_android.iml (existing - skipped)
[        ]   H:\my_app\android\.gitignore (existing - skipped)
[        ]   H:\my_app\android\app\src\debug\AndroidManifest.xml (existing - skipped)
[   +1 ms]   H:\my_app\android\app\src\main\AndroidManifest.xml (existing - skipped)
[   +1 ms]   H:\my_app\android\app\src\main\res\drawable\launch_background.xml (existing - skipped)
[        ]   H:\my_app\android\app\src\main\res\mipmap-hdpi\ic_launcher.png (existing - skipped)
[   +1 ms]   H:\my_app\android\app\src\main\res\mipmap-mdpi\ic_launcher.png (existing - skipped)
[   +1 ms]   H:\my_app\android\app\src\main\res\mipmap-xhdpi\ic_launcher.png (existing - skipped)
[        ]   H:\my_app\android\app\src\main\res\mipmap-xxhdpi\ic_launcher.png (existing - skipped)
[        ]   H:\my_app\android\app\src\main\res\mipmap-xxxhdpi\ic_launcher.png (existing - skipped)
[        ]   H:\my_app\android\app\src\main\res\values\styles.xml (existing - skipped)
[        ]   H:\my_app\android\app\src\profile\AndroidManifest.xml (existing - skipped)
[        ]   H:\my_app\android\gradle\wrapper\gradle-wrapper.properties (existing - skipped)
[   +1 ms]   H:\my_app\android\gradle.properties (existing - skipped)
[        ]   H:\my_app\android\settings.gradle (existing - skipped)
[        ]   H:\my_app\ios\Runner\AppDelegate.swift (existing - skipped)
[        ]   H:\my_app\ios\Runner\Runner-Bridging-Header.h (existing - skipped)
[        ]   H:\my_app\ios\Runner.xcodeproj\project.pbxproj (existing - skipped)
[        ]   H:\my_app\ios\Runner.xcodeproj\xcshareddata\xcschemes\Runner.xcscheme (existing - skipped)
[        ]   H:\my_app\ios\.gitignore (existing - skipped)
[        ]   H:\my_app\ios\Flutter\AppFrameworkInfo.plist (existing - skipped)
[        ]   H:\my_app\ios\Flutter\Debug.xcconfig (existing - skipped)
[        ]   H:\my_app\ios\Flutter\Release.xcconfig (existing - skipped)
[        ]   H:\my_app\ios\Runner\Assets.xcassets\AppIcon.appiconset\Contents.json (existing - skipped)
[        ]<EMAIL_ADDRESS>(existing - skipped)
[        ]<EMAIL_ADDRESS>(existing - skipped)
[        ]<EMAIL_ADDRESS>(existing - skipped)
[   +1 ms]<EMAIL_ADDRESS>(existing - skipped)
[        ]<EMAIL_ADDRESS>(existing - skipped)
[        ]<EMAIL_ADDRESS>(existing - skipped)
[        ]<EMAIL_ADDRESS>(existing - skipped)
[        ]<EMAIL_ADDRESS>(existing - skipped)
[        ]<EMAIL_ADDRESS>(existing - skipped)
[        ]<EMAIL_ADDRESS>(existing - skipped)
[        ]<EMAIL_ADDRESS>(existing - skipped)
[        ]<EMAIL_ADDRESS>(existing - skipped)
[        ]<EMAIL_ADDRESS>(existing - skipped)
[        ]<EMAIL_ADDRESS>(existing - skipped)
[        ]<EMAIL_ADDRESS>(existing - skipped)
[        ]   H:\my_app\ios\Runner\Assets.xcassets\LaunchImage.imageset\Contents.json (existing - skipped)
[        ]   H:\my_app\ios\Runner\Assets.xcassets\LaunchImage.imageset\LaunchImage.png (existing - skipped)
[        ]<EMAIL_ADDRESS>(existing - skipped)
[   +1 ms]<EMAIL_ADDRESS>(existing - skipped)
[        ]   H:\my_app\ios\Runner\Assets.xcassets\LaunchImage.imageset\README.md (existing - skipped)
[        ]   H:\my_app\ios\Runner\Base.lproj\LaunchScreen.storyboard (existing - skipped)
[        ]   H:\my_app\ios\Runner\Base.lproj\Main.storyboard (existing - skipped)
[        ]   H:\my_app\ios\Runner\Info.plist (existing - skipped)
[        ]   H:\my_app\ios\Runner.xcodeproj\project.xcworkspace\contents.xcworkspacedata (existing - skipped)
[        ]   H:\my_app\ios\Runner.xcodeproj\xcshareddata\xcschemes\Runner.xcscheme (existing - skipped)
[        ]   H:\my_app\ios\Runner.xcworkspace\contents.xcworkspacedata (existing - skipped)
[        ]   H:\my_app\lib\main.dart (existing - skipped)
[        ]   H:\my_app\my_app.iml (existing - skipped)
[        ]   H:\my_app\pubspec.yaml (existing - skipped)
[        ]   H:\my_app\README.md (existing - skipped)
[        ]   H:\my_app\test\widget_test.dart (existing - skipped)
[  +11 ms] Running "flutter pub get" in my_app...
[   +2 ms] Using H:\src\flutter\.pub-cache for the pub cache.
[        ] executing: [H:\my_app\] H:\src\flutter\bin\cache\dart-sdk\bin\pub.bat --verbose get --no-precompile
[ +153 ms] FINE: Pub 2.7.0
[   +2 ms] IO  : Spawning "cmd /c ver" in H:\.
[  +16 ms] IO  : Finished ver. Exit code 0.
[        ]     | stdout:
[        ]     | |
[        ]     | | Microsoft Windows [Version 10.0.18363.592]
[        ]     | Nothing output on stderr.
[   +2 ms] ERR : Could not find a file named "pubspec.yaml" in "H:\".
[        ] FINE: Exception type: FileException
[  +13 ms] FINE: package:pub/src/pubspec.dart 457:7          new Pubspec.load
[        ]     | package:pub/src/package.dart 136:27         new Package.load
[        ]     | package:pub/src/entrypoint.dart 157:24      new Entrypoint.current
[        ]     | package:pub/src/command.dart 31:59          PubCommand.entrypoint
[        ]     | package:pub/src/command/get.dart 41:12      GetCommand.run
[        ]     | package:args/command_runner.dart 197:27     CommandRunner.runCommand
[        ]     | package:pub/src/command_runner.dart 171:39  PubCommandRunner.runCommand.<fn>
[        ]     | dart:async                                  new Future.sync
[        ]     | package:pub/src/utils.dart 109:12           captureErrors.<fn>
[        ]     | package:stack_trace                         Chain.capture
[        ]     | package:pub/src/utils.dart 122:11           captureErrors
[        ]     | package:pub/src/command_runner.dart 171:13  PubCommandRunner.runCommand
[   +1 ms]     | ===== asynchronous gap ===========================
[        ]     | dart:async                                  Future.catchError
[        ]     | package:pub/src/utils.dart 109:52           captureErrors.<fn>
[        ]     | package:stack_trace                         Chain.capture
[        ]     | package:pub/src/utils.dart 122:11           captureErrors
[        ]     | package:pub/src/command_runner.dart 171:13  PubCommandRunner.runCommand
[        ]     | dart:async                                  _completeOnAsyncReturn
[        ]     | package:pub/src/command_runner.dart         PubCommandRunner._validatePlatform
[        ]     | dart:async                                  _completeOnAsyncReturn
[        ]     | package:pub/src/io.dart                     runProcess.<fn>
[  +11 ms] Running "flutter pub get" in my_app... (completed in 0.2s)
[   +1 ms] "flutter create" took 511ms.
pub get failed (66;     | package:pub/src/io.dart                     runProcess.<fn>)

#0      throwToolExit (package:flutter_tools/src/base/common.dart:28:3)
#1      _DefaultPub.batch (package:flutter_tools/src/dart/pub.dart:295:7)
#2      _asyncThenWrapperHelper.<anonymous closure> (dart:async-patch/async_patch.dart:73:64)
#3      _rootRunUnary (dart:async/zone.dart:1134:38)
#4      _CustomZone.runUnary (dart:async/zone.dart:1031:19)
#5      _FutureListener.handleValue (dart:async/future_impl.dart:139:18)
#6      Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:680:45)
#7      Future._propagateToListeners (dart:async/future_impl.dart:709:32)
#8      Future._completeWithValue (dart:async/future_impl.dart:524:5)
#9      _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:32:15)
#10     _completeOnAsyncReturn (dart:async-patch/async_patch.dart:290:13)
#11     _DefaultProcessUtils.stream (package:flutter_tools/src/base/process.dart)
#12     _asyncThenWrapperHelper.<anonymous closure> (dart:async-patch/async_patch.dart:73:64)
#13     _rootRunUnary (dart:async/zone.dart:1134:38)
#14     _CustomZone.runUnary (dart:async/zone.dart:1031:19)
#15     _FutureListener.handleValue (dart:async/future_impl.dart:139:18)
#16     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:680:45)
#17     Future._propagateToListeners (dart:async/future_impl.dart:709:32)
#18     Future._addListener.<anonymous closure> (dart:async/future_impl.dart:389:9)
#19     _rootRun (dart:async/zone.dart:1126:13)
#20     _CustomZone.run (dart:async/zone.dart:1023:19)
#21     _CustomZone.runGuarded (dart:async/zone.dart:925:7)
#22     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:965:23)
#23     _microtaskLoop (dart:async/schedule_microtask.dart:43:21)
#24     _startMicrotaskLoop (dart:async/schedule_microtask.dart:52:5)
#25     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118:13)
#26     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:175:5)

PS H:\0-Coding\flutter> flutter doctor
fatal: not a git repository (or any of the parent directories): .git
Building flutter tool...
Running pub upgrade...
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, v1.12.13+hotfix.7, on Microsoft Windows [Version 10.0.18363.592], locale en-US)

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[√] Android Studio (version 3.5)
[√] VS Code, 64-bit edition (version 1.41.1)
[√] Connected device (1 available)

• No issues found!
PS H:\0-Coding\flutter> flutter --verbose doctor
fatal: not a git repository (or any of the parent directories): .git
Building flutter tool...
Running pub upgrade...
[√] Flutter (Channel stable, v1.12.13+hotfix.7, on Microsoft Windows [Version 10.0.18363.592], locale en-US)
    • Flutter version 1.12.13+hotfix.7 at H:\src\flutter
    • Framework revision 9f5ff2306b (2 days ago), 2020-01-26 22:38:26 -0800
    • Engine revision a67792536c
    • Dart version 2.7.0

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at H:\Programs\Android\Sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.2
    • ANDROID_HOME = H:\Programs\Android\Sdk
    • Java binary at: H:\Program Files\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)
    • All Android licenses accepted.

[√] Android Studio (version 3.5)
    • Android Studio at H:\Program Files\Android Studio
    • Flutter plugin version 42.1.1
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)

[√] VS Code, 64-bit edition (version 1.41.1)
    • VS Code at C:\Program Files\Microsoft VS Code
    • Flutter extension version 3.7.1

[√] Connected device (1 available)
    • Android SDK built for x86 • emulator-5554 • android-x86 • Android 8.1.0 (API 27) (emulator)

• No issues found!

Please note that flutter keeps rebulding flutter tool. I think this is also because of the directory issue.

Hi @frosty110
I see there's an open issue addressing the case you described.
Please follow up on that issue,
I'm closing the current one as duplicate.
If you disagree please write in the comments
and I will reopen it.
Thank you


Can Shieldoo build mesh network like Nebula?

At Shieldoo docmentation, it only support a point access to server farm. Can ít build mesh network which point to point communication like Nabula?

Sorry, I miss something, in Shieldoo doc, it said "By default, when you set up your Shieldoo Secure Network, all network nodes (users and servers) can access each other.".
So, it support mesh network by default.

I close this issue.

It's clearly


[🐛 BUG]: RR does not write logs to a file

No duplicates 🥲.

[X] I have searched for a similar issue in our bug tracker and didn't find any solutions.

What happened?
RR does not write logs to a file. I don't know for sure if it's a bug or my crooked hands
Version (rr --version)
2.12.3
How to reproduce the issue?
.rr.yaml
version: "2.7"

rpc:
  listen: tcp://<IP_ADDRESS>:6001

server:
  command: "php worker.php"

temporal:
  address: "temporal:7233"
  activities:
    num_workers: 4

logs:
  level: debug
  mode: development
  file_logger_options:
    log_output: "log.log"

worker.php
<?php

/**
 * This file is part of Temporal package.
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

declare(strict_types=1);

use Temporal\WorkflowUtils\DeclarationLocator;
use Temporal\WorkerFactory;
use Temporal\Workflow\FileProcessing;

ini_set('display_errors', 'stderr');
include "vendor/autoload.php";

// finds all available workflows, activity types and commands in a given directory
$declarations = DeclarationLocator::create(__DIR__ . '/src/');

// factory initiates and runs task queue specific activity and workflow workers
$factory = WorkerFactory::create();

// Worker that listens on a task queue and hosts both workflow and activity implementations.
$worker = $factory->newWorker();

foreach ($declarations->getWorkflowTypes() as $workflowType) {
    // Workflows are stateful. So you need a type to create instances.
    $worker->registerWorkflowTypes($workflowType);
}

foreach ($declarations->getActivityTypes() as $activityType) {
    // Activities are stateless and thread safe. So a shared instance is used.
    $worker->registerActivity($activityType);
}

// We can use task queue for more complex task routing, for example our FileProcessing
// activity will receive unique, host specific, TaskQueue which can be used to process
// files locally.
$hostTaskQueue = gethostname();

$factory->newWorker($hostTaskQueue)
    ->registerActivityImplementations(new FileProcessing\StoreActivity($hostTaskQueue));

// start primary loop
$factory->run();

I'm starting the server
docker-compose run --rm php-grpc /app/rr serve --config /app/.rr.yaml
stdout:
[INFO] RoadRunner server started; version: 2.12.3, buildtime: 2023-02-16T13:08:41+0000
A log file is being created but it is empty
If I remove the option
  file_logger_options:
    log_output: "log.log"

RR write logs to stdout
Relevant log output
No response

Sorry. Solved


Cannot parse x-functions-key parameter

I have a header parameter like the following-
<param name="x-functions-key" cref="string" in="header">The secret key to call the function.</param>
But the swagger api parses it like "x-functions-key-functions-key"

@arefinsami  This was an already existing roslyn issue, if you look at the xml you are providing to the library it would contain the param name as "x-functions-key-functions-key". And since we were not sure when roslyn will fix the issue, to workaround this set RemoveRoslynDuplicateStringFromParamName in OpenApiDocumentGenerationSettings to true and pass it to the GenerateDocument method. Let us know if this doesn't solve the issue for you.

@Shwetap05, is it possible to configure the RemoveRoslynDuplicateStringFromParamName when using the OpenAPI Document Tools - Build Task?


Armor stand causing crash in 1.19

I'm not an expert, but this brings up an armor stand.
crash-2022-07-24_11.45.41-server.txt

can confirm it also causes issues for me

fixed in latest release

Thanks Pigeon!


feat(date): needs animation,  text input examples, hook tests

Ready for review
Resolves #1498

@jaketrent ready for re-review. However I want to finish looking at some of the advanced patterns from EpicReact to see if I can figure out a way of dropping the render props and simplifying pattern bases usage a bit more.


More coverage, better task list

I have been reading ss13 reddit (https://www.reddit.com/r/SS13/) and this source hasn't been mentioned since your first open test, I thought giving some publicity to the source could help the progress. Other thing is that the issues' list is bit long and might be bit misleading lot of the issues isn't priority issues so maybe promoting the milestone issue would be a good thing(using git or other site like https://trello.com/ ).

https://github.com/griefly/griefly/milestone/5 here is the list of the current milestone issues. It is quite small list, so I think it is convenient enough.
I am not good at advertising, so I do it when it is needed (for example, when it is needed to conduct a beta-test). Current state of Griefly is really boring, only that can be said that "it is needed to make a lot of things, and we can show only some primitive gameplay". When 0.4 will be ready I may post something on SS13-related sites, but not now. However, Griefly is open-source project, so anyone can post anything about it anywhere he likes.
For the future: do not place more than one issue in one issue-post, split it

Well I get that but like ss14 and ss13 3d (or something like that) is often mentioned by people but griefly was mentioned one time, so I just say that the programmers that would/could help this project don't have an easy job as with ss14.

Well for some reason people do not talk about Griefly. I do not know what can be done with that. Griefly is not flashy remake with new cool graphics, it just plain old SS13, but on the new engine. People tends to evaluate graphics much more than engine things (obviously because they can easily see visual stuff, but it is needed to be a programmer and spend some time in order to understand internal things).


[Splittermond] Adding modifiable thresholds for leveling

Changes / Comments

I added a config that allows GM to set the threshold upon which the characters gain levels.

Roll20 Requests
Comments are very helpful for reviewing the code changes. Please answer the relevant questions below in your comment.

[X] Does the pull request title have the sheet name(s)? Include each sheet name.
[ ] Is this a bug fix?
[X] Does this add functional enhancements (new features or extending existing features) ?
[ ] Does this add or change functional aesthetics (such as layout or color scheme) ?
[ ] If changing or removing attributes, what steps have you taken, if any, to preserve player data ?
[ ] If this is a new sheet, did you follow Building Character Sheets standards ?

If you do not know English. Please leave a comment in your native language.

Character Sheet Info Roll20 Internal Use only.


Prevent Message deletion in groups?

"Message deletion: Unfortunately, you can't prevent people from deleting messages in a shared mailbox. The only way around this is to create a Microsoft 365 group instead of a shared mailbox"
Can we have a cross-reference  citing this?

@jadesolis Please indicate the name of the document, your feedback applies to. Thanks

Please indicate the name of the document, your feedback applies to. Thanks
I am the one requesting for for the document. The article is mentioning a Microsoft 365 group feature but no citation is provided

@jadesolis Thank you for your feedback. We have made changes to the document via PR#https://github.com/MicrosoftDocs/microsoft-365-docs/pull/8063
Note that When an email is deleted from the group mailbox, it is not deleted from any of the group members' personal mailboxes which is not the case with Shared mailboxes.
Hope this helps!
Thanks
Sri

@yogkumgit The changes are live. This can be closed.

@msbemba Thank you very much for the contribution and updating the documentation with PR. @jadesolis Hope this update is helpful for you. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


Garbled video output after an update

Describe the bug

For some reason mouse cursor and tty are not affected.
Steps To Reproduce
Steps to reproduce the behavior:

Update NixOS

Additional context
lspci output:
00:00.0 Host bridge: Intel Corporation Coffee Lake HOST and DRAM Controller (rev 0c)
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 620 (Whiskey Lake) (rev 02)
00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 0c)
00:12.0 Signal processing controller: Intel Corporation Cannon Point-LP Thermal Controller (rev 11)
00:13.0 Serial controller: Intel Corporation Cannon Point-LP Integrated Sensor Hub (rev 11)
00:14.0 USB controller: Intel Corporation Cannon Point-LP USB 3.1 xHCI Controller (rev 11)
00:14.2 RAM memory: Intel Corporation Cannon Point-LP Shared SRAM (rev 11)
00:14.3 Network controller: Intel Corporation Cannon Point-LP CNVi [Wireless-AC] (rev 11)
00:15.0 Serial bus controller [0c80]: Intel Corporation Cannon Point-LP Serial IO I2C Controller #0 (rev 11)
00:15.1 Serial bus controller [0c80]: Intel Corporation Cannon Point-LP Serial IO I2C Controller #1 (rev 11)
00:16.0 Communication controller: Intel Corporation Cannon Point-LP MEI Controller #1 (rev 11)
00:1c.0 PCI bridge: Intel Corporation Cannon Point-LP PCI Express Root Port #5 (rev f1)
00:1d.0 PCI bridge: Intel Corporation Cannon Point-LP PCI Express Root Port #9 (rev f1)
00:1d.4 PCI bridge: Intel Corporation Cannon Point-LP PCI Express Root Port #13 (rev f1)
00:1f.0 ISA bridge: Intel Corporation Cannon Point-LP LPC Controller (rev 11)
00:1f.3 Multimedia audio controller: Intel Corporation Cannon Point-LP High Definition Audio Controller (rev 11)
00:1f.4 SMBus: Intel Corporation Cannon Point-LP SMBus Controller (rev 11)
00:1f.5 Serial bus controller [0c80]: Intel Corporation Cannon Point-LP SPI Controller (rev 11)
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (6) I219-V (rev 11)
01:00.0 PCI bridge: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 2C 2018] (rev 06)
02:00.0 PCI bridge: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 2C 2018] (rev 06)
02:01.0 PCI bridge: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 2C 2018] (rev 06)
02:02.0 PCI bridge: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 2C 2018] (rev 06)
03:00.0 System peripheral: Intel Corporation JHL7540 Thunderbolt 3 NHI [Titan Ridge 2C 2018] (rev 06)
39:00.0 USB controller: Intel Corporation JHL7540 Thunderbolt 3 USB Controller [Titan Ridge 2C 2018] (rev 06)
3a:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Lexa XT [Radeon PRO WX 3200] (rev 01)
3b:00.0 Non-Volatile memory controller: Toshiba Corporation Device 011a

Notify maintainers

Metadata
nix-info of the old version where everything works as expected:

system: "x86_64-linux"
host os: Linux 6.7.0, NixOS, 24.05 (Uakari), 24.05pre567746.317484b1ead8
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.19.2
channels(root): "nixos"
channels(suhr): "home-manager"
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

nix-info of the new version with the bug:
 - system: `"x86_64-linux"`
 - host os: `Linux 6.10.3, NixOS, 24.11 (Vicuna), 24.11pre665011.a58bc8ad7796`

(nix-info fails to print anything else)

Add a :+1: reaction to issues you find important.

You appear to be using home-manager; which revision of Nixpkgs is your wayland compositor built from?
What drivers are you using?
Ideally post your config.

You appear to be using home-manager; which revision of Nixpkgs is your wayland compositor built from?

SDDM and Plasma are installed system-wide. This is a screenshot of SDDM.

What drivers are you using?

Here's the output of glxinfo on the working version: https://gist.github.com/suhr/9c6a9b4ea57d26a2b2a5ed5134267b1f

Ideally post your config.

Here are the relevant parts:
  services.xserver.enable = true;
  services.xserver.videoDrivers = [ "intel" "radeon" ];
  services.xserver.dpi = 192;
  hardware.graphics = {
    enable = true;
    extraPackages = with pkgs; [
      vaapiIntel
      vaapiVdpau
      libvdpau-va-gl
      intel-media-driver
    ];
  };

  services.xserver.displayManager.sessionCommands = ''
    export MOZ_ENABLE_WAYLAND=1
  '';
  services.displayManager.sddm.enable = true;
  services.xserver.desktopManager.plasma5.enable = true;

I believe SDDM is still Xorg by default and I also believe that plasma5's default is also Xorg. I therefore wrongfully assumed we're using the wayland protocol but we actually need to look into the xorg config. You posted that though which is good.
The first thing I notice is
  services.xserver.videoDrivers = [ "intel" "radeon" ];

Please unset this value and thereby use the default of [ "modesetting" ].
I don't know the situation with Intel but, while your gen should still be supported, the intel DDX is legacy and the Arch Wiki generally recommends against it. Just use the modesetting DDX.
Next is that your Radeon PRO WX 3200 is Polaris which uses the AMDGPU kernel driver and is therefore unsupported by the legacy radeon DDX. You could use the amdgpu DDX but unless you know what niche setting only it allows you to set, you should be using modesetting for it aswell. I do so too on my AMDGPU.
Please try whether you can still repro this issue with the modesetting DDX.
Speaking of your AMDGPU: Your display(s) appear to be connected to the Intel GPU here as glxinfo exclusively shows its driver info, is that intended?

Yes, changing drivers to modesetting solves the problem.

Speaking of your AMDGPU: Your display(s) appear to be connected to the Intel GPU here as glxinfo exclusively shows its driver info, is that intended?

Honestly I have no idea.

Well, you should ideally plug your display into the dGPU if you plan on running any graphics-intensive software such as games on said display.
(Closing as this is not our bug.)


Use liveliness subscriber with history instead of liveliness get first.

Since Zenoh supports liveliness subscribers with history now, we don't need to get liveliness first.
Deal with the issue here
https://github.com/ZettaScaleLabs/rmw_zenoh/issues/12#issuecomment-2330713460

@evshary I think the initial query is different from the following queries. For example, it ignores the liveliness tokens from itself. So I'd suggest not removing this.

After checking with @Yadunund, it's intentionally designed to block the current thread and get the liveliness info before doing other things. I will keep the same behavior as before.


Burn NFT: Error message

I tried to delete an NFT I own (not created) but I own it - its my POAP NFT I received. This one.
Once I clicked on burn, I got an Error message:

https://github.com/kodadot/nft-gallery/assets/104380776/086e7f5f-618d-45cd-9215-d4babf231ec2
Also @preschian said this PR  was open the button to all users.

Also @preschian said this PR  was open the button to all users.

oohh, sorry, I thought the error was on "delete collection". So, it's not related to the PR I referred 🙏


Shortcomings of the current applyMiddleware and composing createStore.

export default function applyMiddleware(...middlewares) {
  return (next) => (reducer, initialState) => {
    var store = next(reducer, initialState)
    var dispatch = store.dispatch
    var chain = []

    var middlewareAPI = {
      getState: store.getState,
      dispatch: (action) => dispatch(action)
    }
    chain = middlewares.map(middleware => middleware(middlewareAPI))
    dispatch = compose(...chain)(store.dispatch)

    return {
      ...store,
      dispatch
    }
  }
}

Looking at the source code above, applyMiddleware creates a new store object and overrides dispatch with newly composed dispatch, and returns the new store.
There are shortcomings of this approach that I have experienced.
Take a look at the following scenario:
compose(
  applyMiddleware(A),
  reduxRouter(...),
  applyMiddleware(B)
)(createStore)

Because of the current implementation of applyMiddleware and compose to enhance createStore,
middleware A and middleware B will not share the same dispatch.
That means dispatch(action) in A and dispatch(action) in B will go through different code paths and may yield completely different outcomes, and it's confusing and difficult to debug.
Also, there is no way for middleware A to dispatch any reduxRouter actions such as pushState, replaceState, etc as those actions will never go through reduxRouter middleware.
My proposed solution would be:

Create only one store instance, and do not replace it by composeing createStore.
Enhance it by composing and replacing dispatch function on the only store instance.
Share the store, not dispatch across all middlewares.

This way, there is only one universal store instance, and store.dispatch will always go through the same code path and yield the same outcome regardless of which middleware.

I think we need to discourage "too powerful" store enhancers that introduce such problems. It's not nice that people start having two middleware chains before and after the Redux Router. This really complicates Redux and isn't quite how I imagined it would be used. Rather than allowing this use case, I would like to better understand why you need two different middleware chains. Is this a workaround for some deeper issue?

Create only one store instance

AFAIK this doesn't work with the DevTools. They want there to be two stores: the "real" store with DevTools state and the "facade" store that your app sees and interacts with. This was the design constraint of the store enhancers as they are now.

I was trying to create an auth middleware that redirects user to login page by firing replaceState action when current action.requireAuth is true and state.auth.user is not set.
This does not work because auth middleware's dispatch does not work properly with any of redux-router`s action creators.

Why not put middleware before Redux Router?

@gaearon When you put a middleware before Redux Router you can't see Redux Router's dispatches.
I ran into a similar issue when trying to add an analytics middleware so that when the routerDidChange fired I could call ga.push() or whatever. The only way to get it working was to add another middleware after reduxRouter, but you need things like thunk to be first in the middleware chain so that async dispatches can still use pushState.
I agree about creating "too powerful" store enhancers. Do you think the redux-router middleware is too powerful? Should it be included in applyMiddleware() instead?

As @MikeBarnhardt said, when you have a middleware chain A -> B -> C, B can listen to actions that A passes on, but cannot send any actions to A. Whenever B sends any action it will always start from C.
At first without looking at the source code, I expected it to work like the following:
Root dispatch -> A -> B -> C -> Final dispatch.
And any actions created at any point by any middleware always go through the same path, root -> A -> B -> C -> final.
I think it's similar to how the 'flux' works as well in principle. All events going through same action -> dispatch -> store -> view path.

It was my mistake to accidentally close the issue. I hate the button placement for close issue.

I'm currently busy so I'll try my best to get back to this when I'm more available.
Sorry!

Because I felt the reduxRouter(...) middleware was too independent, I went back to using basic react-router and hooking into history.listen(...) for my purposes. I know that it removes the router state from the Redux store, but I haven't run into any issues using history.pushState(...) in my action creators. I know this probably won't work for everyone, though.

Ran into this issue today.
While developing a middleware, one has the impression that by calling store.dispatch the action would go through all the middlewares from the beginning.
This was a bit frustrating to find.

It does go through all the middlewares inside a single applyMiddleware call. I don't see an easy way to make it jump to the first middleware chain when there any many such chains. In any case we don't suggest to make too powerful middleware. It's meant for simple transformations and not complex logic.

Yes, that was my current solution.
Aggregate my middlewares in a single applyMiddleware chain.
I'm using middlewares for transformations, API calls, routing and flow control. I don't think I'm having very complex logic. Maybe the flow control is the most complex: the idea is to allow an action to reach the store based on the current state. Do you think this makes sense?

Maybe the flow control is the most complex: the idea is to allow an action to reach the store based on the current state. Do you think this makes sense?

Yeah. You might be interested in https://github.com/yelouafi/redux-saga which also allows this in a generic way.

This is amazing! Thanks

Just thought I'd chime in about the composition of applyMiddleware. I'm wondering why it's not written as a .use convention that node and most other middleware chains use..? Would it be nicer to write:
const store = Redux.use([
  thunkMiddleware,
  loggerMiddleware
]).createStore(rootReducer)

vs
const createStoreWithMiddleware = applyMiddleware(
  thunkMiddleware, // lets us dispatch() functions
  loggerMiddleware // neat middleware that logs actions
)(createStore)

const store = createStoreWithMiddleware(rootReducer)

Personally, I don't understand why we can't just supply a list of middlewares to createStore(). Something like:
const store = createStore(
    combineReducers({ ... }),
    initialState,
    [
        thunkMiddleware,
        loggerMiddleware
    ]
);

Having to create an entire new createStore function by applying middlewares feels a wee bit overcomplicated (just my $0.02).

@rossipedia Can you please show how your proposal works with store enhancers like Redux DevTools?

Is there ever a point at which we don't want to combineReducers? In that case @rossipedia, we could go one step further and have:
// reducers
import * as reducers from './reducers/index';
// middleware
import thunk from 'redux-thunk';
import logger from 'redux-logger';
// initialState

const initialState = {...someState};
const store = Redux.store(reducers, initialState, [thunk, logger]);

This is exactly the API we had some time before 1.0 :-).
It had downsides: it's very implicit and it's hard to build extensions like DevTools around it.

Should the API be designed around the extension developer experience though? Wouldn't it make more sense to have a somewhat implicit high-level API for app developers? You could still use store enhancers the same way, but maybe in an array.
import DevTools from '../containers/DevTools';

const store = Redux.store(reducers, initialState, [thunk, logger]);
const enhanced = store([
  DevTools.instrument(),
  DevTools.persistState()
]);

Personally, I don't understand why we can't just supply a list of middlewares to createStore()

Wow... I came off quite condescending there, didn't I. Apologies, @gaearon I'm not familiar enough with DevTools to comment on whether or not it's feasible, actually. I'll go ahead and read the middleware docs again, as I seem to remember they go over the rationale quite thoroughly.

@rossipedia Same idea, but on store enhancer level: https://github.com/rackt/redux/pull/1294. Hope you like it.

I'll close this because the original issue is by design, and the later suggestion can be tracked in #1294.

Hi there. I know @gaearon opinion middleware not being "too powerful". But there are some cases, where there is difficult to do thing other way. I can give some examples, but leave this for now.
In vanilla redux applying middlewares and using basic enhancers works just great.
But there are some enhancers like redux-loop (version 2), where this classic enhancer execution chain is not enough. Redus-loop basically allows reducers to dispatch special kind of actions (effects) which are transformed to normal actions in redux-loop store enhancer. It works great, but only to the moment you want to dispatch those special actions (effects) in middleware. It just won't work, because of enhancer execution order.
Let imagine following setup.
const enhancers = compose(
  // let's imagine E1 is redux-loop enhancer transforming effects into actions
  enhancerFactory('E1'),
  applyMiddleware(
    middlewareFactory('M1'),
    middlewareFactory('M2')
  ),
  enhancerFactory('E2'),
  enhancerFactory('E3')
);

and you dispatch redux-loop action (effect) in middleware M1. It will be handled by M1,M2,E2,E3 but not E1. And this is problem, because this effect won't get transformed into actual action.
I would like dispatch action in middleware that will be processed with all enhancers not just those who are registered after the middleware.
I've created jsbin example that is showing current behaviour. It prints output to jsbin console.
http://jsbin.com/quvuqof/edit?js,console
What I'm really trying to achieve can be shown on expected jsbin output for that example.
"[enhancerE1] dispatching action: INCREMENT"
"[middlewareM1] handling action: INCREMENT"
"[enhancerE1] dispatching action: ACTION_FROM_MIDDLEWARE" // this is it!! one enhancer call
"[middlewareM1] handling action: ACTION_FROM_MIDDLEWARE"
"[middlewareM2] handling action: ACTION_FROM_MIDDLEWARE"
"[enhancerE2] dispatching action: ACTION_FROM_MIDDLEWARE"
"[enhancerE3] dispatching action: ACTION_FROM_MIDDLEWARE"
"[middlewareM2] handling action: INCREMENT"
"[enhancerE2] dispatching action: INCREMENT"
"[enhancerE3] dispatching action: INCREMENT"

I know, this will require new createStore implementation. And I'm not saying it should be part of official redux package.
What do you think? Does it makes sense? Will there be any complications with DevTools or other enhancers?

Test case for above:
http://jsbin.com/zalevi/edit?js,output

@mauron85 : yeah, I don't think that's exactly feasible, given how each enhancer wraps the next one down.  In your example, the applyMiddleware enhancer gets a reference to the store API returned by enhancer E2, and then exposes its own version of the store API.  It has no idea that E1 exists.  Really, that doesn't even have anything to do with createStore either.
I haven't actually used redux-loop myself, but is there a specific reason why you would want to put that before applyMiddleware?

is there a specific reason why you would want to put that before applyMiddleware?

yeah, it any other case I would not work. I believe it's because it's because it's main purpose is to translate redux-loop effects into actions. All the magic is done in this redux-loop enhancer:
https://github.com/redux-loop/redux-loop/blob/0da84e946e2b262f98c836ad310fcd0d80bee94d/modules/install.js#L29
It add effect into currentEffect batch and returns model, which I believe is redux action.


"Open Editors" view should not open collapsed when making visible

When I make the "open editors" view visible, it should not be collapsed.

Very good point. I would like to fix this as part of the release. The fix is super simple - just changing the boolean value.

Pushed a fix to master, let see if @lszomoru agrees and I will also cherry pick it on top of the release branch

@bpasero can you please review https://github.com/microsoft/vscode/pull/115686
@lszomoru gave a green light so we can merge to the release

@lszomoru also approved the PR, I mereged the PR and triggered build. All is good, closing issue


[to #67] remove unused code related to parser

Signed-off-by: Jian Zhang<EMAIL_ADDRESS>
What problem does this PR solve?
Issue Number: [to #67]
Problem Description: I found br relies on pingcap/parser, which makes the dependency hard to manage, i.e, upgrade some packages like kvproto to a newer version
What is changed and how does it work?
this pr aims to delete parser related functions and simplify the dependency
Code changes

Has exported function/method change
Has exported variable/fields change
Has interface methods change

Check List for Tests
This PR has been tested by at least one of the following methods:

Unit test
Integration test

Side effects

No side effects

Related changes

No related changes

now only the following places directly relaies on parser, I'll try to remove them later in this PR:
➜ find . -name "*.go" | xargs grep --color "parser"
./pkg/task/backup.go:   "github.com/pingcap/tidb/parser/mysql"
./pkg/version/build/info.go:    "github.com/pingcap/tidb/parser/mysql"


Births and deaths closes issue #51

This PR provides an example of births, deaths, and aging. This example highlights the need for a tool to look up people by person properties (1+) as well as how to sample from those.
Being alive
To handle births and deaths, I created a person property named Alive. This is set to true when a person is added to the simulation and to false when they die.
Aging
I defined a person property as Birth, instead of age to determine someone's current risk category, which is based on age. For instance, in 1+ years time, someone may switch from one group to the other, and that should be considered. Age and Birth here are defined in years but as f64, so that would account for 1.5 years).
fn get_person_age(&mut context, person_id: PersonId) -> f64 {
  let birth_time = self.get_person_property(person_id, Birth);
 (context.get_current_time() - birth_time) / 365.0
}

How to get current alive population
For every operation that requires sampling an individual, estimating current population, etc., we need to filter by people who are alive. I created a function called get_population_by_property which finds the total number of people by a specified property.
fn get_population_by_property<T: PersonProperty + 'static> (&mut self, property: T, value: T::Value) -> usize {
  let mut population_counter = 0;
  for i in 0..self.get_current_population() {
     let person = self.get_person_id(i);
     if self.get_person_property(person_id, property) == value {
        population_counter += 1;
     }
  }
  population_counter
}

Should alive be treated differently when filtering people
I wonder whether we should make being alive a special case for some of these filters. For instance, if I want to sample someone to infect, it is obvious I want someone alive, and if the FOI depends on the current population, it is also obvious that it requires the current alive population. Another example of this is periodic reports, where we want to get the number of people per person property, but we want to get those alive. Of course, not all models include aging, so maybe this isn't an issue.
Canceling plans after a dead event
I implemented a rough approach to store infection events and cancel them after a person dies in the simulation. This is done in the infection manager given that it's the only place where people may need to cancel scheduled plans after death.

LGTM! @ChiragKumar9 needs to approve to merge


No symlink for /usr/local/bin/php

I'm using brew and the different brew PHP versions.
Changing the version with brew, I would do:
brew unlink <current version> #e.g. brew unlink php56
brew link <new version>       #e.g. brew link php70

php-version only adjusts the PATH, not the actual symlinks.
Using PhpStorm, this means that each time I change the PHP version, I also have to re-set the path to the PHP binary in the settings, as I can't just point it to /usr/local/bin/php.
How do you solve this issue?

I don't use PhpStorm so I am not sure how much I can help; however, I checked out the documentation and I noticed this:
https://www.jetbrains.com/help/phpstorm/10.0/working-with-embedded-local-terminal.html
Seems like if you are in that environment, shell changes would be picked up automatically without issue. Anything else is going to likely tie you directly to a specific fixed path.
Seems like this could be easily resolved if PhpStorm supported reading environment variables dynamically.
I'm not sure how much this helps you, but I hope it helps nonetheless.


useState snippet is not working correctly

This is what the snippet returns:
('description' added by me when trying out)

https://user-images.githubusercontent.com/17621507/156024032-fce590b5-9a85-40bb-b966-4aac524bfd96.mov
@Lamer217 hmm are you using newest version? I just tried it on my own and it works fine 🤔

Seems like everything should be working, but somehow it doesn't. Tried also reinstalling. What info can I provide for easier debugging?
https://user-images.githubusercontent.com/62716818/156372618-6473828b-e7aa-4a33-b032-e7238efa72f8.mp4

#255
I put a fix to it in the file

useStateSnippet is working properly for me (not from snippet search though) but it's not updating the import at the top automatically.
is there any way to fix it. options to solve it?


Added AdminStudentCheckInView

Fixes https://github.com/CoderDojoChi/coderdojochi/issues/502
[x] Adds the coderdojochi build folder to .gitignore
[x] Removes session_check_in from old_views.py
[x] Creates a base AdminView to abstract cache, login, and redirect for subsequent views
[x] Creates AdminStudentCheckInView based on all of the old logic

Preview of the page working:


#525 no longer send rejection mails to non-existing people

#525

Coverage remained the same at 100.0% when pulling 308730a9588ed009af64a4253a454843a835524f on 525_Bug_RejectionMailsIfNoOneWasRejected into 84e0d30b458d3bb5b999ecad82974aebd40ac09f on dev.

Coverage remained the same at 100.0% when pulling 9efef714cda4f558f1a5f6a8b3d5bc369e8b7236 on 525_Bug_RejectionMailsIfNoOneWasRejected into 30faa4f1b640e28030dd2faa174ae13d2b27c1c7 on dev.

Coverage remained the same at 100.0% when pulling 9efef714cda4f558f1a5f6a8b3d5bc369e8b7236 on 525_Bug_RejectionMailsIfNoOneWasRejected into 30faa4f1b640e28030dd2faa174ae13d2b27c1c7 on dev.

Coverage remained the same at 100.0% when pulling f9e8ad7986a489f7455f7f6a17e38b31d2a2a50c on 525_Bug_RejectionMailsIfNoOneWasRejected into 30faa4f1b640e28030dd2faa174ae13d2b27c1c7 on dev.

Coverage remained the same at 100.0% when pulling b199dc3b76eaec8994c47500098aa666a22a6aad on 525_Bug_RejectionMailsIfNoOneWasRejected into 30faa4f1b640e28030dd2faa174ae13d2b27c1c7 on dev.

Coverage remained the same at 100.0% when pulling a3119b848d1ab2ca4ad1fac89aec684b085f4f8e on 525_Bug_RejectionMailsIfNoOneWasRejected into<PHONE_NUMBER>2efc2bf2506eccae28d3a5ca42706f on dev.


Set default PMR

Set default PMR, so that default behavior of std::pmr::polymorphic_allocator stays with specific memory resource (instead of default "new/delete" one) #verification #docs #sonar

ok, merging as there is at least one approve


JSONDecodeError when setting public_pool as True

I've successfully logged in but can't access public knowledgepool
hj_hub = headjackai_hub("<my onw uri>")
hj_hub.login(username="xxx", pwd="xxx")

>>> Login Successful!

hj_hub.knowledgepool_check(public_pool=True)

Error msg

---------------------------------------------------------------------------
JSONDecodeError                           Traceback (most recent call last)
/tmp/ipykernel_130079/1111222464.py in <module>
----> 1 hj_hub.knowledgepool_check(public_pool=True)

~/conda_env/headjack_ai/lib/python3.7/site-packages/headjackai/headjackai_hub.py in knowledgepool_check(self, public_pool)
    140         url = self.host+'/api/knowledgepool_check'
    141         response = requests.post(url, json=info)
--> 142         return response.json()['knowledge_pool']
    143
    144

~/conda_env/headjack_ai/lib/python3.7/site-packages/requests/models.py in json(self, **kwargs)
    908                     # used.
    909                     pass
--> 910         return complexjson.loads(self.text, **kwargs)
    911
    912     @property

~/conda_env/headjack_ai/lib/python3.7/json/__init__.py in loads(s, encoding, cls, object_hook, parse_float, parse_int, parse_constant, object_pairs_hook, **kw)
    346             parse_int is None and parse_float is None and
    347             parse_constant is None and object_pairs_hook is None and not kw):
--> 348         return _default_decoder.decode(s)
    349     if cls is None:
    350         cls = JSONDecoder

Thanks for the detailed report, this error was generated from the Headjack-AI server, which is now fixed.


chore(pvc): add instance role on the pvc labels

This patch adds support for the role label on the PVC.
The PVC labeling is executed along the reconciliation of the pod instance role, this ensures that both resources are consistent in the reported value.
Closes #631
Signed-off-by: Armando Ruocco<EMAIL_ADDRESS>

/test

a lot of weird failures, will rerun tests

/test

Please rerun /test before merging

/test

/ok-to-merge


tour: comment at line 26 is incorrect

Context: https://tour.golang.org/methods/6
At line 26, replace this "ScaleFunc(p, 8) //56 42" with "ScaleFunc(p, 8) //96 72".

Hi,
there's not //56 42 comment in the code example on that page. My guess is that someone using the same browser added the comment. The editor caches changes locally. You can click on the reset button on each page to restore it to the original state.
Closing here, since I don't believe there's anything to do.


[UI ENHANCEMENT] Adding transition properties at the social media links when hovered

We can add the transition properties at the links as they change their background color without any delay when hovered, so it  makes the UI less attractive.
I can work on that and this is related to gssoc'23.

We can add the transition properties at the links as they change their background color without any delay when hovered, so it makes the UI less attractive. I can work on that and this is related to gssoc'23.

Which links you're talking about?

marked in the ss :)

Cool, thanks, assigning to you :)


Feature: Generate traces following given hold/guide notes

This pull request adds a right-click menu item to generate traces according to given hold/guide notes' shape and current division. This will satisfy issue #41 upon successful merge.
The menu item includes two sub-options "add traces for" and "convert to traces", which is able to create guided or non-guided trace patterns, respectively. Here's a demonstration:

The origin and the right-click menu:

After choosing "add traces for hold":
Notice traces that will overlap with existing hold start/end judgements are not generated.

After choosing "convert hold to traces":

This pr only implements the feature body, while translations are not added yet.
Please feel free to make/suggest further modifications regarding the feature's name, translations, code style and so on.

OK, I will take a look at these this afternoon. (It's weird that I left such an obvious bug undiscovered😂

It seems like the bug is caused by score.note[] creates empty notes when a non-exist id is passed in.
The problem should be now fixed and both code style and .template.csv are updated according to the request.


lib: fix file mode (unset x bit)

The lib.rs file seems to have been marked as executable in unix filesystems by mistake, this fixes that.
EDIT: I've also included a few updates to the development tool configuration, namely:

Rename .gdbinit to openocd.gdb
Update the runner in .cargo/config to use openocd.gdb
Remove the comment about the required openocd fork, upstream works fine now

By default gdb refuses to load a .gdbinit from current directory, as loading a hidden file is deemed dangerous. This avoids that situation, and I believe current practice.

Looks good to me, thank you!


Issue in handling of service & service linked roles during environment creation

Describe the bug
As part of the env creation a user can provide IAM Role Name on the UI.
If the role name for a service or service linked role is provided during the env creation, the stack fails.
How to Reproduce
Taking an example service role:
   Role name: QuickSightAction
   Role ARN: arn:aws:iam::123456789012:role/service-role/QuickSightAction

Create a new environment with any role that is of the format with arn that includes a "/"
Expected behavior
Env stack should succeed
Your project
No response
Screenshots
No response
OS
Linux
Python version
python3.8
AWS data.all version
v2.0.0-beta1
Additional context
Based on discussion with @noah-paige we could instead modify the input such that the role arn be provided instead of role name since role name does not include the complete information.

Yes, thanks @blitzmohit. We are thinking of including the fix as part of V2.0.0 or in the next patch release

Merged and released with v2.1.0 🚀


Add visionOS support

Add visionOS support for most things that also worked with iOS

This is amazing @ropellanda - thank you 🙌


Fix Location Header in POST Response header

Why make this change?

Closes #1613

According to HTTP POST Specs, when a POST request results in the creation of a new item, then a Location header field should be returned in the response header.

If one or more resources has been created on the origin server as a result of successfully processing a POST request, the origin server SHOULD send a 201 (Created) response containing a Location header field that provides an identifier for the primary resource created (Section 10.2.2) and a representation that describes the status of the request while referring to the new resource(s).

The Location header returned in the response headers were incorrect

Tables/View: https://localhost:5001/api/Book//id/5009
Stored Procedures: https://localhost:5001/api/CountBooks//CountBooks

When base-route is configured in the config file, the Location returned did not account for it. So, a subsequent GET request performed using the Location is unsuccessful.

What is this change?

RestController: Logic to construct the Location header is updated to accommodate the base-route field
RestService: Helper method to extract the configured base-route is added
ConfigurationTests: Integration tests to validate the Location field when a) base-route is configured b) base-route is absent for tables and stored procedures are added.

How was this tested?

[x] Integration Tests
[x] Manual Tests

Sample Request(s)

Table and base-route is not configured

Stored Procedure and base-route is not configured

Table and base-route is configured. Configured base-route: /data-api

Stored Procedure and base-route is configured. Configured base-route: /data-api

Please ignore the first review as it is a duplicate cause by VScode GitHub PR extension.


ur: prepare release 0.3.0

Codecov Report

Merging #174 (ba9d5aa) into master (f7016f8) will not change coverage.
The diff coverage is n/a.

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

@@           Coverage Diff           @@
##           master     #174   +/-   ##
=======================================
  Coverage   89.53%   89.53%
=======================================
  Files           5        5
  Lines         363      363
=======================================
  Hits          325      325
  Misses         38       38

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


VChannel - Key Error - No local.yaml

https://github.com/bachng2017/RENAT/blob/master/VChannel.py#L305
The following code snippet makes no allowences for running VChannel in the absence of a local.yaml file.
As the code only warns if local.yaml is missing i can only assume it is intended that it is possible to test in its absence without it defaulting to the global devices information/manually specified connect statements.
Suggested fix open within a PR
https://github.com/bachng2017/RENAT/pull/7

fixed by PR https://github.com/bachng2017/RENAT/pull/9


✨ update the propagator to use app-bridge action instead of post mess…

…age.
In version one, this library actually will fail if the user was not using easdk and have not initialize the app.
This update add the dependency with app bridge, and call the app bridge action when the url should be updated.

cc @tmlayton

so what I realized is, the original lib actually do have a dependency on the old easdk. It assumed that easdk initialized method had been called before this library would work.
I am un-sure how the app-bridge team feel about handling this in their app. My feelings is that it will be 👎 . But lets ask.
cc @vividviolet @gf3

i like the idea! i think it probably belongs with the polaris embedded components

I really like @gf3's suggestion. Make this route propagator a component that users can import from @shopify/polaris/embedded

cc @tmlayton join the discussion on where this component belong.

We have removed the embedded bundle in Polaris and now all components are imported from the main bundle. The goal is to not have a concept of embedded vs non-embedded components and props. There are only a few props which are for embedded apps only, otherwise the only offending component is resource picker which we are considering adding a non-embedded version of the component. So I don't think this belongs in Polaris.

IMO we should do Peer dependency, even in the current version, we do have a peer dependency on easdk just un-documented.

@TheMallen I update to have app-bridge as a peer dependency, and the README a bit more.
@andrewlo @macdonaldr93 @jgodson @jennaleeb
I can use some 👁 on if this README is clear plz 🙏

FWIW I’m proposing a pilot project to extend the Polaris library where we could move components like this. I could also see moving the Polaris components which wrap App Bridge, behavior components, etc to that project.


Reproducing 2d stardist example conda env

Trying to create the GPU conda env from the stardist_2d example provided I get:
(OS: Windows 10 64-bit, CUDA 12.3)
ResolvePackageNotFound:
  - rapidsai::cucim
  - coin-or-cbc
  - conda-forge::tensorflow-gpu=2.11.0

Hi @folterj, thanks for raising this issue.
I don't have a Windows machine to test this, so I can't provide a direct solution.
However, we can tweak the dependencies.
I recommend:

removing cucim and cupy from the environment file (they are not a hard requirement).
removing coin-or-cbc and making sure you have gurobi license, you can get a free academic license.
loosening the tensorflow dependency.

Note that some operational systems have issues installing TensorFlow and torch (track dependency), so a different example might be easier to run.

Hi @folterj,
Gurobi has really helpful resources, this one might help you out.
If you're in a non-academic institution, you could try installing the other solver without conda; their instructions is here.
Note that CBC is much slower than gurobi.
Cheers,

Thank you, I was able to configure this now and set up the license etc.
Perhaps some more detail on this could be added to the example/readme?


We can delete id_customer = 0

Hello
In all version module to PS 1.6 and 1.7, we can provide id_customer = 0. In this case many data are deleted (tables impacted are specific_price, cart_rule*, customer_message, customer_thread)
Any security are present to force id_customer > 0 at https://github.com/PrestaShop/psgdpr/blob/master/psgdpr.php#L834
at least a test should be set as deleteCustomer() :
        if (!$customer->id > 0 || !Validate::isLoadedObject($customer)) {
            return false;
        }

Should be good also to similar this test in deleteDataFromPrestashop()

Hi @camlafit
Thanks for your report 🙏
You can follow this Pull Request : https://github.com/PrestaShop/psgdpr/pull/78

Fixed by https://github.com/PrestaShop/psgdpr/pull/78


Add sessions to the example app

This PR adds sessions to the example app, which can be used to store the current challenge in. This provides better guidance to users trying to implement passkey flows using SimpleWebAuthn. Ideally, the passkey docs could be expanded a little to bring the general concept across - once you know how it works, it's immediately clear the ephemeral challenge will need to be stored separately, and sessions are a great fit for that.
This will solve #103, #325, and aid users landing in discussion #321.
I hope this helps you a little, @MasterKale :)

@Radiergummi Thank you for the PR! I like this upgrade to the example project, not too complex but really helps clarify how RP's can leverage sessions for tracking expected challenges.
Aside from my one request I think this is good to go.

lgtm :shipit:


Use prettyplease for development formatting

Based on discussion in #1812
Did some experimentation with prettyplease. Interestingly, since the rustfmt binary is already compiled in release mode, the use of prettyplease only improves things in release mode.
When running tool_windows in release mode on my Windows machine, I get the following results:

rustfmt: ~41s
prettyplease: ~16s
no formatting: ~3s

When running in debug:

rustfmt: ~58s
prettyplease: ~92s
no formatting: ~19s

It's also important to note the two added dependencies (prettyplease and syn) do increase the release build times:

without: 13s
with: 25s

This means that for release builds from scratch:

rustfmt: ~54s
prettyplease: ~41s

Some additional tradeoffs:

using prettyplease means that we don't rely on the user having rustfmt installed. Albeit rustfmt is pretty essential so the likelihood of this is pretty small.
prettyplease's formatting is a bit worse, but from a spot check it doesn't look too bad. The biggest issue is that it uses a lot more lines (presumably since it doesn't respect the rustfmt config where we allow for wider lines). We could use prettyplease in development and rustfmt for the final change.

Given those numbers, it doesn't seem worthwhile at this point. It's easy enough to turn off rustfmt in development as needed.

Hmmm... after building, the release version with prettyplease is almost twice as fast. This would have been very handy for my work on the borrowed branch. What about it doesn't seem worth it?

Do you mostly use release builds during development?

Do you mostly use release builds during development?

It's not necessary to use release builds of all crates in the entire namespace. So, the answer to your question is: I don't use release builds for anything but for the tools.
It's important to remember that these tools don't change very often. Most of the time release builds of these tools are very fast (~150ms), because the artifact is already built. This means that unless the tool itself has changed or the dev has updated rustc versions, there is no need to rebuild the tools. For the vast majority of tool runs, the already rebuilt version of the tool will be used.
That means that the most important comparison is in time it takes to run the tools when compiled in release mode. And for that, the version with prettyplease is 2.5 times faster than the version with rustfmt. In scenarios where the dev is repeatedly regenerating code (as was the case when I was working on the Borrowed PR), this can really save a lot of time.

Ah yes, you're right. That does cause them to change.
Only those crates need to be rebuilt so it's not fair to judge this based on the full build times. On my machine, a small change to bindgen, requires an 8s rebuild time. Compared to the 4s rebuild times for debug, the release build is still clearly much faster than debug builds.


(frontend)[AGE-1464]: implement useIsomorphicLayoutEffect hook to prevent using useLayoutEffect on server

closes AGE-1464
What has changed

introduced a useIsomorphicLayoutEffect hook

// useIsomorphicLayoutEffect is a custom hook that uses useLayoutEffect on the client-side
// (when window is defined) and useEffect on the server-side (when window is undefined).
// This ensures that the code runs correctly in both client-side and server-side environments.

I guess the only test is to check that this warning is not getting logged to terminal

Thanks for this. The warning is pretty annoying!

I know, right :) cleaning these will help us see actual issues


Download probkems

Steps to reproduce
1.Choose an anime
2.Download the Episode
Expected behavior
The episode should be downloaded
Actual behavior
The episode is marked as downloaded but when I tried to watch it says that video list is empty and there is a notification on my cellphone saying that the series episode was "standalone couroutine was cancelled", this is happening in multiple extensions
Crash logs
No response
Aniyomi version
<IP_ADDRESS>
Android version
Android 12 S
Device
Moto G30
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] If this is an issue with an official extension, I should be opening an issue in the extensions repository.
[X] If this is an issue with an official manga extension and this issue can be replicated in the Tachiyomi app, that I should be opening an issue in Tachiyomi's extensions repository.
[X] I have gone through the FAQ and troubleshooting guide.
[X] I have updated the app to version <IP_ADDRESS>.
[X] I have updated all installed extensions.
[X] I will fill out all of the requested information in this form.

Duplicate of #1326


OUTPUT_DIR

Hello, good afternoon.
Start the pretraining script: bash run_language_modeling_script.sh but it is not saving the new pretrained model in the out folder:
export OUTPUT_DIR=../trained_models/out/
export MODEL_NAME=../trained_models/exp4_longformer/
export TOKENIZER=../trained_models/exp4_longformer/
export MODEL_TYPE=roberta
export TRAIN_FILE=../paccmann_proteomics/data/pretraining/train_1seq.txt
export EVAL_FILE=../paccmann_proteomics/data/pretraining/dev_1seq.txt
export BATCH_SIZE=4
export NUM_EPOCHS=10
export SAVE_STEPS=750
export SEED=1
python ../paccmann_proteomics/run_language_modeling.py
--output_dir $OUTPUT_DIR
--model_name_or_path $MODEL_NAME
--model_type $MODEL_TYPE
--tokenizer_name $TOKENIZER
--train_data_file $TRAIN_FILE
--eval_data_file $EVAL_FILE
--logging_steps 400
--save_steps 400
--line_by_line
--chunk_length 10000
--logging_dir $OUTPUT_DIR/logs
--mlm
--num_train_epochs $NUM_EPOCHS
--learning_rate 1e-3
--per_device_train_batch_size $BATCH_SIZE
--per_device_eval_batch_size $BATCH_SIZE
--seed $SEED
--block_size 512
--do_train
--do_eval
--overwrite_output_dir
--chunk_length 1000000
--overwrite_cache
I attach an image of the console:

Hey good afternoon this error usually indicates that the machine is running out of CPU or GPU memory.
See also the warning of the unsupported GPU version you are using.
I suggest to run the code on other machine, Google Colab can be an option.
Closing the issue since it's not dependent on the code.

I did it in Google Colab and I don't save any new model. By any chance it overwrites over the one I gave it to do the pretraining?
I attach what appeared to me in the console after running the .sh :
2022-02-03 19:49:40.675 | WARNING  | main:main:226 - Process rank: %s, device: %s, n_gpu: %s, distributed training: %s, 16-bits training: %s
2022-02-03 19:49:40.676 | INFO     | main:main:228 - Training/evaluation parameters %s
2022-02-03 19:49:40.677 | INFO     | main:main:240 - model_name_or_path provided as: %s
2022-02-03 19:49:40.702 | INFO     | main:main:268 - Tokenizer dir was specified. The maximum length (in number of tokens) forthe inputs to the transformer model, model_max_length is: %d
2022-02-03 19:49:45.101 | INFO     | main:main:314 - Param check: block_size is: %d
2022-02-03 19:49:45.102 | INFO     | main:main:318 - Preparing training dataset from: %s
tcmalloc: large alloc<PHONE_NUMBER> bytes == 0x55dccaa5e000 @  0x7f6bd7b711e7 0x55dc97a38fa9 0x55dc97b1d308 0x55dc97a3b84b 0x55dc97a3bbef 0x55dc97b3b815 0x55dc97a3b7c7 0x55dc97a3bbef 0x55dc97a99e84 0x55dc97b48217 0x55dc97aac8e0 0x55dc97aacebd 0x55dc97ad310a 0x55dc97a18ccd 0x55dc97a1a480 0x55dc97aa0ea4 0x55dc97aabb8c 0x55dc97aacf79 0x55dc97ad3c9b 0x55dc97a18ccd 0x55dc97a4a570 0x55dc97aacde8 0x55dc97ad3c9b 0x55dc97a4a3d4 0x55dc97aacde8 0x55dc97ad3074 0x55dc97a18ccd 0x55dc97a19dd9 0x55dc97af652b 0x55dc97b595b3 0x55dc97b63617
tcmalloc: large alloc<PHONE_NUMBER> bytes == 0x55dd7ed8e000 @  0x7f6bd7b711e7 0x55dc97a132f1 0x55dc97a5c27e 0x55dc97aab6a8 0x55dc97aacef8 0x55dc97ad726a 0x55dc97a18ccd 0x55dc97a1a13d 0x55dc97aa0a63 0x55dc97a1acf5 0x55dc97a9fa80 0x55dc97aa0109 0x55dc97b48245 0x55dc97aac8e0 0x55dc97aacebd 0x55dc97ad310a 0x55dc97a18ccd 0x55dc97a1a480 0x55dc97aa0ea4 0x55dc97aabb8c 0x55dc97aacf79 0x55dc97ad3c9b 0x55dc97a18ccd 0x55dc97a4a570 0x55dc97aacde8 0x55dc97ad3c9b 0x55dc97a4a3d4 0x55dc97aacde8 0x55dc97ad3074 0x55dc97a18ccd 0x55dc97a19dd9
run_language_modeling_script.sh: line 36:  1432 Killed                  python ../paccmann_proteomics/run_language_modeling.py --output_dir $OUTPUT_DIR --model_name_or_path $MODEL_NAME --model_type $MODEL_TYPE --tokenizer_name $TOKENIZER --train_data_file $TRAIN_FILE --eval_data_file $EVAL_FILE --logging_steps 400 --save_steps 400 --line_by_line --chunk_length 10000 --logging_dir $OUTPUT_DIR/logs --mlm --num_train_epochs $NUM_EPOCHS --learning_rate 1e-3 --per_device_train_batch_size $BATCH_SIZE --per_device_eval_batch_size $BATCH_SIZE --seed $SEED --block_size 512 --do_train --do_eval --overwrite_output_dir --chunk_length 1000000 --overwrite_cache

Unfortunately the stack trace you pasted show that the code is still going out of memory. I'm afraid that you will need larger computer resources to run the script.


Remove some uses of the dispatcher

Now that the project snapshot manager is a lock based management, reading especially should be easy to remove. This removes it from two areas to start, but it should be fairly impactful.
The DocumentContextFactory gets used on every LSP incoming message to create the context we use for our handlers. Hopefully we should just see wins for this removal, since we're now consistant with expectations around our message dispatching. Things that do not mutate the workspace are allowed to run in parallel, and things that don't should be run serial and block other handlers from getting called.
The removal from the component search seems trivial, so I just did it. I'm not sure of the impact of this area tbh, but it shouldn't break anything.
Commits tell each part of the story, but it's not a large change. Choose your favorite method of reviewing.

Looks like #9026 will be needed first before we can get off the dispatcher thread for the context factory.


Fix admin added as author #3952

This PR resolves #3952.
This PR removes the account property from the brew update initiated by the script cleaning tool. This prevents the Admin user performing the cleaning from being added to the brew as an author.

Did you already test this works?

Did you already test this works?

Yes, when running my test branch, the script cleaning tool removed the scripts and did NOT add the current logged in user as an author.
It might be useful to test it in a deployment before we push it fully live.

Deploying now

Before cleaning:

After cleaning:

That's good enough for me.

Yes, when running my test branch, the script cleaning tool removed the scripts and did NOT add the current logged in user as an author.

What if the current user was already an author .. do they get removed, or is it truly “does not add as an author”?

During the updateBrew process, the current user (from req.account.username) is added to the Authors array, which is uniqified (?) to ensure that there are no duplicate elements.
This PR removes the account property from the outgoing request, ensuring that the Authors list is not changed by this update - the current user is NOT being removed from the list; rather the change ensures that they are never able to be added while performing a script tag cleaning.


Fixes #293 Added Parsijoo support

Fixes #293
Checklist

[x] I have read the Contribution & Best practices Guide and my PR follows them.
[x] My branch is up-to-date with the Upstream master branch.
[x] I have added necessary documentation (if appropriate)

Changes proposed in this pull request:

Added Parsijoo support

@ParthS007 @rupav @AnshulMalik Please review.
Providing the heroku deployment https://safe-river-28983.herokuapp.com/

@mariobehling Parsijoo is a Persian search engine just the same we had as Baidu(Chinese search engine)
Please look if it can be added


Only fail tenant host nodes with failure reports

Let me merge this to have a higher chance of getting this in with the next release. I'll look to see if the tester has a proxy node I can use.


Installing JVM support

Hello,
I'm trying to install JVM support in the database and to do so, I'm reading that I'm supposed to execute $ORACLE_HOME/javavm/install/initjvm.sql script. However, this script, nor the javavm directory, is not found within the docker container.
Trying to create Java sources in the database results in ERROR: ORA-29538: Java not installed.
Any help is appreciated!

I’m now reading, that it is impossible to install java support in 11g express version: https://stackoverflow.com/questions/13043042/is-there-a-way-to-install-java-on-oracle-11g-xe


C++: Treat implicit end of body of non-void function as Unreached

When the extractor can't prove that control flow will never reach the end of a non-void-returning function without reaching an explicit return statement, it inserts an implicit return without an operand. If control actually reaches this point, the behavior is undefined.
We were previously generating invalid IR for these implicit return statements, because the lack of an operand meant that there was no definition of the return value variable along that path. Instead, I've changed the IR generation to emit an Unreached instruction for the implicit return. This ensures that we don't create a control flow edge from the end of the body to the function epilogue.
The change to the range analysis test avoids having that test depend on the previous bad IR behavior, while still preserving the original spirit of the test.

oh, missed the failing tests - looks like some noise in block numbering in the syntax zoo consistency failures and a real change in the IR value numbering test

A couple of the failures in syntax-zoo were actually fixed correctly by this change, but the rest of that directory was noise.
Also, whoever wrote the original value number tests had something against return statements:) I just made several functions return void, since they weren't returning a value anyway.


change python version 3.8+ to 3.8

Since we found some dependency issue from higher version (3.11), for now, we should specify the compatible version to 3.8 instead.
Note:
Some could be fixed in the future by refactoring some implementation such as
.../lib/python3.11/site-packages/pandas/core/nanops.py", line 720, in nanmean
  the_sum = _ensure_numeric(the_sum)

Some could be fixed by adding some dependency:
      ../../scipy/meson.build:130:0: ERROR: Dependency "OpenBLAS" not found, tried pkgconfig and cmake

reference: https://github.com/ContinuumIO/anaconda-issues/issues/13157
Signed-off-by: Sunyanan Choochotkaew<EMAIL_ADDRESS>

Moved to PR https://github.com/sustainable-computing-io/kepler-model-server/pull/180 for fixing DCO issue.


local .sty file

Hello
Finally I am trying to use the compiler in my real code, and it doesn't work ;( the reason, is that I am including \usepackage{emvadatasheet} and I have the local emvadatasheet.sty in the same directory as the document.tex file.
If i compile using pdflatex it works, but it doesn't using your package.
I tried setting enviroment variables to include the directory but no luck so far.
Do you have any suggestions?
Thanks
Federico

Have you tried TEXINPUTS? build_pdf accepts a second parameter, which is a list and passed on as the TEXINPUT environment variable.

You're right, that works, sorry
One little thing, the exception is not really helpful, it doesn't point to the problem of pdflatex not finding the included file
Traceback (most recent call last):
  File "/usr/local/lib/python3.4/dist-packages/latex/build.py", line 154, in build_pdf
    stdout=open(os.devnull, 'w'),
  File "/usr/lib/python3.4/subprocess.py", line 557, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['pdflatex', '-interaction=batchmode', '-halt-on-error', '-no-shell-escape', '-file-line-error', '/tmp/tmpxak6e16y/tmpm4dcxox6.latex']' returned non-zero exit status 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/fariza/workspace/Scripts/temp/pdf.py", line 27, in <module>
    pdf = build_pdf(data)
  File "/usr/local/lib/python3.4/dist-packages/latex/build.py", line 202, in build_pdf
    return builder.build_pdf(source, texinputs)
  File "<string>", line 2, in build_pdf
  File "/usr/local/lib/python3.4/dist-packages/data/decorators.py", line 82, in _
    return f(*bvals.args, **bvals.kwargs)
  File "/usr/local/lib/python3.4/dist-packages/latex/build.py", line 157, in build_pdf
    raise_from(LatexBuildError(base_fn + '.log'), e)
  File "/usr/local/lib/python3.4/dist-packages/future/utils/__init__.py", line 382, in raise_from
    exec(execstr, myglobals, mylocals)
  File "<string>", line 1, in <module>
NameError: name 'CalledProcessError' is not defined

That  is a bug in future, I think. A workaround is already in 0.5.5,
so you will get the correct exception with that one.
On Fri, Jun 12, 2015 at 3:22 PM, Federico Ariza<EMAIL_ADDRESS>wrote:

You're right, that works, sorry
One little thing, the exception is not really helpful, it doesn't point to
the problem of pdflatex not finding the included file
Traceback (most recent call last):
File "/usr/local/lib/python3.4/dist-packages/latex/build.py", line 154, in build_pdf
stdout=open(os.devnull, 'w'),
File "/usr/lib/python3.4/subprocess.py", line 557, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['pdflatex', '-interaction=batchmode', '-halt-on-error', '-no-shell-escape', '-file-line-error', '/tmp/tmpxak6e16y/tmpm4dcxox6.latex']' returned non-zero exit status 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/fariza/workspace/Scripts/temp/pdf.py", line 27, in
pdf = build_pdf(data)
File "/usr/local/lib/python3.4/dist-packages/latex/build.py", line 202, in build_pdf
return builder.build_pdf(source, texinputs)
File "", line 2, in build_pdf
File "/usr/local/lib/python3.4/dist-packages/data/decorators.py", line 82, in _
return f(*bvals.args, **bvals.kwargs)
File "/usr/local/lib/python3.4/dist-packages/latex/build.py", line 157, in build_pdf
raise_from(LatexBuildError(base_fn + '.log'), e)
File "/usr/local/lib/python3.4/dist-packages/future/utils/init.py", line 382, in raise_from
exec(execstr, myglobals, mylocals)
File "", line 1, in
NameError: name 'CalledProcessError' is not defined
—
Reply to this email directly or view it on GitHub
https://github.com/mbr/latex/issues/6#issuecomment-111491870.


Fix Def#to_s with **options and &block

Fixed #7853
It's quite simple bug: missing a line printed_arg = true on outputting **options. Thank you.

Thanks @MakeNowJust !


Contributors who are added to the Private channel can only contribute under SWOC

Welcome contributors to this repository !!!
Do star this repository and follow me for more more wonderful repositories

hey bro!! I came across this repository through Social winter of code and I want to make contributions to this issue if you could guide me so that i can start my open-source journey it would be great

To raise an issue kindly follow these steps:
STEP 1: Go to the issues section

STEP 2: Click on the new issues button

STEP 3: Enter the details of the issue and submit

Kindly follow these steps and do comment if you have any doubts!!

To raise an issue kindly follow these steps:
STEP 1: Go to the issues section

STEP 2: Click on the new issues button

STEP 3: Enter the details of the issue and submit

Kindly follow these steps and do comment if you have any doubts!!

@ ManavLohia945 please refer above

@ ManavLohia945 please refer above

ok so to contribute the code for Prim's algo i have to create a new issue right?
and also I have practiced cyclic sort yesterday so I can also add the code for that in the sorting folder

ok so to contribute the code for Prim's algo i have to create a new issue right? and also I have practiced cyclic sort yesterday so I can also add the code for that in the sorting folder

Yes, you may raise the issue in issue section

Ok sure will do that
On Sun, 1 Jan 2023 at 6:07 PM, Kumar Laxmikant @.***>
wrote:

ok so to contribute the code for Prim's algo i have to create a new issue
right? and also I have practiced cyclic sort yesterday so I can also add
the code for that in the sorting folder
Yes, you may raise the issue in issue section
—
Reply to this email directly, view it on GitHub
https://github.com/Kumar-laxmi/Algorithms/issues/62#issuecomment-1368434017,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AW43CV33M6OVFVLJFGF4FW3WQF27PANCNFSM6AAAAAATIXBI7I
.
You are receiving this because you commented.Message ID:
@.***>

@Kumar-laxmi
I am not been added to the private discord channel. Can you add me in since I am participating in SWOC S3 ?

@Kumar-laxmi
Same issue, I am also not added in the private discord channel .

@Priyanshu-Singh-1 @Arbtrage Your name and discord id?

Name : Sayantan Naskar
Discord Id: Arbitrage#0868
@Kumar-laxmi

@Priyanshu-Singh-1 @Arbtrage Your name and discord id?

Name- Priyanshu Singh
Discord ID - Priyanshu_48#8917

@Kumar-laxmi
I am still not added to your discord channels. Can you please add me in the discord

@Kumar-laxmi I am still not added to your discord channels. Can you please add me in the discord

Could you text me on discord, your name and discord id

@Kumar-laxmi I am still not added to your discord channels. Can you please add me in the discord

Could you text me on discord, your name and discord id

Done! Kindly Check

@Kumar-laxmi I want to contribute in this project under swoc.can you please add me to your discord channel.
Name:Neha Panda
Discord Id:Neha00001#2570

@Kumar-laxmi I want to contribute in this project under SWOC. Can you please add me to your discord channel.
Name: Ujwal Katariya
Username: Ujwal.19#3835
ID:<PHONE_NUMBER>93543464


format_with misses bounds on the Dummy struct and its instantiation.

Consider the following rust code:
use derivative::Derivative;

trait Foo {}

fn fmt<T>(t: &T, f: &mut std::fmt::Formatter) -> std::fmt::Result {
    write!(f, "foo")
}

#[derive(Debug)]
struct Qux<'a, T: Foo>(&'a T);

#[derive(Derivative)]
#[derivative(Debug)]
struct Bar<'a, T: Foo>(#[derivative(Debug(format_with="fmt"))] Qux<'a, T>);

fn main() {
}

This fails to build with
error[E0277]: the trait bound `T: Foo` is not satisfied
  --> src/main.rs:14:24
   |
14 | struct Bar<'a, T: Foo>(#[derivative(Debug(format_with="fmt"))] Qux<'a, T>);
   |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Foo` is not implemented for `T`
   |
   = help: consider adding a `where T: Foo` bound
note: required by `Qux`
  --> src/main.rs:10:1
   |
10 | struct Qux<'a, T: Foo>(&'a T);
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Expanded, the code looks like:
impl <'a, T: Foo> ::std::fmt::Debug for Bar<'a, T> where T: ::std::fmt::Debug
 {
    fn fmt(&self, __f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        match *self {
            Bar(ref __arg_0) => {
                let mut __debug_trait_builder = __f.debug_tuple("Bar");
                let __arg_0 =
                    {
                        struct Dummy<'a, '_derivative,
                                     T>(&'_derivative Qux<'a, T>,
                                        ::std::marker::PhantomData<(T)>) where
                               T: '_derivative;
                        impl <'a, '_derivative, T: Foo> ::std::fmt::Debug for
                         Dummy<'a, '_derivative, T> where T: '_derivative {
                            fn fmt(&self, __f: &mut ::std::fmt::Formatter)
                             -> ::std::fmt::Result {
                                fmt(&self.0, __f)
                            }
                        }
                        Dummy::<'a, T>(__arg_0, ::std::marker::PhantomData)
                    };
                let _ = __debug_trait_builder.field(&__arg_0);
                __debug_trait_builder.finish()
            }
        }
    }
}

With the code expanded, the error becomes:
error[E0277]: the trait bound `T: Foo` is not satisfied
  --> src/main.rs:23:41
   |
23 |                                      T>(&'_derivative Qux<'a, T>,
   |                                         ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Foo` is not implemented for `T`
   |
   = help: consider adding a `where T: Foo` bound
note: required by `Qux`
  --> src/main.rs:10:1
   |
10 | struct Qux<'a, T: Foo>(&'a T);
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

The code around line 23 is:
struct Dummy<'a, '_derivative,
             T: Foo>(&'_derivative Qux<'a, T>,
                ::std::marker::PhantomData<(T)>) where
       T: '_derivative;

So what is missing here is the original bound for T, because Qux needs it (as per the error message).
But adding that is not enough in this case, because fixing up the expanded code still fails, with a different error:
error[E0107]: wrong number of lifetime arguments: expected 2, found 1
  --> src/main.rs:33:25
   |
33 |                         Dummy::<'a, T>(__arg_0, ::std::marker::PhantomData)
   |                         ^^^^^^^^^^^^^^ expected 2 lifetime arguments

What works, here, is Dummy::<'a, '_, T>(...).

Not sure this is completely correct, but the following patch works for this testcase:
diff --git a/src/debug.rs b/src/debug.rs
index a4ffa10..4f14a9b 100644
--- a/src/debug.rs
+++ b/src/debug.rs
@@ -131,9 +131,6 @@ fn format_with(
     let fmt_path = fmt_path();
     let phantom_path = phantom_path();

-    let ctor_generics = generics.clone();
-    let (_, ctor_ty_generics, _) = ctor_generics.split_for_impl();
-
     generics
         .make_where_clause()
         .predicates
@@ -178,11 +175,14 @@ fn format_with(
     // Leave off the type parameter bounds, defaults, and attributes
     let phantom = generics.type_params().map(|tp| &tp.ident);

+    let mut ctor_generics = generics.clone();
+    *ctor_generics.lifetimes_mut().last().unwrap() = syn::LifetimeDef::new(parse_quote!('_));
+    let (_, ctor_ty_generics, _) = ctor_generics.split_for_impl();
     let ctor_ty_generics = ctor_ty_generics.as_turbofish();

     quote_spanned!(f.span=>
         let #arg_n = {
-            struct Dummy #ty_generics (&'_derivative #ty, #phantom_path <(#(#phantom),*)>) #where_clause;
+            struct Dummy #impl_generics (&'_derivative #ty, #phantom_path <(#(#phantom),*)>) #where_clause;

             impl #impl_generics #debug_trait_path for Dummy #ty_generics #where_clause {
                 fn fmt(&self, __f: &mut #fmt_path::Formatter) -> #fmt_path::Result {

Fixed in #61 and released as v2.0.2.
Thanks for the report and patch!


openapi spec misses the header info

Describe the bug
within an applictaieon we use a http header x-messageId for duplicate check purposes
the x-messageid header is not represented in the generated openapi spec
Reporter
Jeroen Jansen van Rosendaal
To Reproduce
Create an api endpoint with messageIdHeader="x-messageid" on the listener, this should result in mentining the x-messageheader in the openapi spec
<Adapter name="TestAPI(Post)" description="testAPI">         <Receiver name="TestAPI" checkForDuplicates="true" transactionAttribute="Required">             <ApiListener name="TestAPI_listener" uriPattern="my/tests" method="POST" consumes="JSON" produces="JSON" messageIdHeader="x-messageid"/>             <JdbcMessageLog name="dpchk" jmsRealm="jdbc" slotId="${instance.name}/dpchk/tests"/>         </Receiver>
hcf_complianceFacts_POST_openapi.json.txt
Expected behavior
  parameters:
    - in: header
      name: x-messageid
      schema:
        type: string
        format: uuid
      required: true

Screenshots

We might need a place to define our header and cookie params for openapi generation purposes

We might need a place to define our header and cookie params for openapi generation purposes

Apilistener has two new properties headerParams and cookieParams. These params are expected to be comma separated list.


Where I can find applicationId  and clientKey

Where I can find applicationId  and clientKey ??
    static string applicationId = @"<application ID from your AAD application>";
    static string clientKey = "<key from your AAD application>";

In azure portal,  it shows as Application (client) ID!!!  Both same??

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

ID: ddcad97f-02c6-4307-7ed8-85ba7ae23ecc
Version Independent ID: 51a5e20b-c221-ee05-cb44-a479bfcf1a00
Content: Configure Always Encrypted by using Azure Key Vault - Azure SQL Database
Content Source: articles/azure-sql/database/always-encrypted-azure-key-vault-configure.md
Service: sql-database
Sub-service: security
GitHub Login: @VanMSFT
Microsoft Alias: vanto

@codemaker Thank you for posting your question. Application Id and Client ID are both the same. Please refer this document for more info. How to get Client key can be found here (see snip below also). Let us know if that answer your question.

@codemaker Please let us know if you have any questions or if the issue can be closed

we can close this issue


IGenericItem implementation error

In the IGenericItem the method return a GenericAbstractItem, so we can't make any class implement this interface.
I can make a PR if you want.

@ligol oh yes you are right. please open a PR. thank you


Sleep with mutiple monitors trashes workspaces

Hyprland Version
 System/Version info
Hyprland, built from branch HEAD at commit 03ebbe18ed8517ee22591eac82cd54322f42cb7d  (props: bump ver to 0.34.0).
Date: Mon Jan 1 12:03:15 2024
Tag: v0.34.0

flags: (if any)

Bug or Regression?
Bug
Description
Using swaylock
If I let it lock, and dpms goes off, when I return and unlock, my workspaces are shuffled around and my special workspaces are all open (I found a separate bug for this so not focusing on it).
All of the workspaces seem to be moved off of my third monitor, and calling the dispatcher wont work to move them to that monitor anymore. I have to create a brand new workspace on the 3rd monitor, move the windows into that, and then move the normal expected workspace into that monitor.
How to reproduce
Still working on exacts. But definitely happens after extended lock and dpms time, quickly toggling dpms alone will not trigger. I am guessing it's tied to monitor sleep.
Crash reports, logs, images, videos
No response

I am experiencing the same thing.
For me, running hyprctl monitors -j shows that the monitors have changed names which leads me to believe that Hyprland identifies them as completely new monitors and, hence, initializes them with all default settings. All of my existing workspaces are bunched up into one monitor and the other monitor just gets a new empty workspace.
All of these settings are bound to the monitor name so they are not being applied:

Monitor settings (ex.: monitor = DP-3, 2560x1440, 0x0, 1, transform, 1)
Workspace settings (ex.: workspace = 15, monitor:DP-4, layoutopt:orientation:left)

Everything was working fine for me before so I think this is a regression.

I'm seeing what may be the same issue with just a single monitor. I find that if I use the key bound to reloading hyprland config it usually recovers (though I sometimes see one or more apps killed in the process). I will see if I can get a "hyperctl monitors -j" output next time it happens.

Also am facing this. The log only contains Active window is incorrect: . when looking at it after the fact. It also does not happen every single time, but quite frequently.

Important details that I noticed.
I have a side monitor that often has 3 workspaces active/open with IDs 1, 3, and 5. When this bug occurs, workspace 3 and 5 move to my center monitor and act like they are attached to that monitor. ID 1 stays on the side monitor.
Then to restore it, I need to move all windows away from the "bad" moved workspaces, move away from it so it closes, and them back to the previously bad workspace. Then it'll be back on the side monitor.
It's odd that monitor 1 stays on the side monitor.

Additionally, when I boot I am experiencing this bug as well but for my laptop monitor. I boot my laptop closed and when Hyprland opens, it has moved monitor ID 301 (which was the one on the closed laptop screen) to my center monitor. Again I have to move away from it to make it disappear and fix itself.


Instead of the "contact us", make it easy for users to email the help desk for help

<EMAIL_ADDRESS>

Consolidated in from #6
CONTACT INFORMATION
For further information or clarifications contact:
Dr James Mwitari
Head, Division of Community Health Services
P.O Box 30016-00100
Nairobi
Email<EMAIL_ADDRESS>or<EMAIL_ADDRESS>Mr Hillary Chebon Chelang’a
Head, Communication and Advocacy unit
Email<EMAIL_ADDRESS>or<EMAIL_ADDRESS>

Closed, subsumed into #8


PowerShell Version of tutorial?

Is there a way to accomplish the above steps using PowerShell?

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

ID: 96b35262-d52a-00f0-e8f8-225322f9c156
Version Independent ID: dd46aa98-a9b7-954e-77a5-1f2a0bcf3879
Content: Tutorial - Archive Azure Active Directory logs to an Azure storage account (preview)
Content Source: articles/active-directory/reports-monitoring/quickstart-azure-monitor-route-logs-to-storage-account.md
Service: active-directory
GitHub Login: @priyamohanram
Microsoft Alias: priyamo

There is no Powershell guide available for this yet and since this feature is still in preview I do not believe it is possible to do this with Powershell yet. (CC: @priyamohanram, can you confirm?)

I've escalated this to someone from the PG team to confirm definitively and will update the thread accordingly.

There does not appear to be a way to do this through Powershell yet so we will now proceed to close this thread. If you have further questions please tag me in the comments and I will gladly continue the conversation.