5E Statblock Importer: Error Foundry VTT

Hello, the follow issues shows up when using the Importer.
5E STATBLOCK IMPORTER: An error has occured. Please report it using the module link so it can get fixed.
fetch	@	foundry.js:68326
notify	@	foundry.js:68223
:gift:call_wrapped	@	libWrapper-wrapper.js:507
notificationNotify	@	utils.js:4032
:gift:call_wrapper	@	libWrapper-wrapper.js:616
:gift:Notifications.prototype.notify#0	@	libWrapper-wrapper.js:189
error	@	foundry.js:68260
(anonymous)	@	sbiWindow.js:70
Using Foundry Version: 11 Stable - 315
DnD 5E - Fifth Edition System 2.4.0

Can you give me the text of the statblock you were importing?

Hello,
sure here is the Statblock: made with
https://cros.land/ai-powered-dnd-5e-monster-statblock-generator/
Black Death Zombie
Medium undead, neutral evil
Armor Class 12 (natural armor)
Hit Points 67 (9d10 + 18)
Speed 20 ft.
STR DEX CON INT WIS CHA
15 (+2) 8 (-1) 15 (+2) 3 (-4) 6 (-2) 5 (-3)
Saving Throws None
Skills Perception +0
Damage Resistances None
Damage Immunities Necrotic, Poison
Condition Immunities Poisoned
Senses Darkvision 60 ft., passive Perception 10
Languages Understands Common but can't speak
Challenge 2 (450 XP)
Undead Fortitude. If damage reduces the Black Death Zombie to 0 hit points,
it must make a Constitution saving throw with a DC of 5 + the damage taken,
unless the damage is radiant or from a critical hit. On a success, the
zombie drops to 1 hit point instead.
Disease Carrier. Any creature that starts its turn within 5 feet of the
Black Death Zombie must succeed on a DC 12 Constitution saving throw or
become infected with a debilitating disease. The infected creature has
disadvantage on Constitution saving throws and takes 1d4 necrotic damage at
the start of each of its turns. The disease lasts until the infected
creature receives magical healing or its hit points are restored to full.
Actions
Decaying Slash. The Black Death Zombie makes a melee attack with its
rotting claws, dealing 17 (2d12 + 4) slashing damage.
Plague Bite. The Black Death Zombie lunges forward to bite its target,
causing 13 (2d8 + 4) piercing damage. If the zombie moves at least 10 feet
straight toward the target and hits it with this attack on the same turn,
the target takes an additional 9 (2d8) necrotic damage. The target must
succeed on a DC 14 Constitution saving throw or become infected with the
Black Death's plague.
Contagious Slam. The Black Death Zombie raises its decaying arm and slams
it down on its enemy. The target must succeed on a DC 13 Dexterity saving
throw or take 10 (2d6 + 3) bludgeoning damage and become restrained as the
zombie's diseased flesh sticks to it. The target can repeat the saving
throw at the end of each of its turns, ending the restraint on a success.
Plague Aura. The Black Death Zombie emits a sickly aura of disease within a
20-foot radius. Any creature that starts its turn within this aura must
make a DC 13 Constitution saving throw or take 7 (2d6) poison damage and
become poisoned until the start of its next turn.
Am Di., 21. Nov. 2023 um 04:18 Uhr schrieb James @.***>:

Can you give me the text of the statblock you were importing?
—
Reply to this email directly, view it on GitHub
https://github.com/jbhaywood/5e-statblock-importer/issues/72#issuecomment-1820149216,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMBQ34ASDLOCIMNAW4CEMI3YFQMQ5AVCNFSM6AAAAAA7TXNR66VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRQGE2DSMRRGY
.
You are receiving this because you authored the thread.Message ID:
@.***>

Here is a screen after i used this text
Black Death Mass
Large ooze, unaligned
Armor Class 11
Hit Points 59 (7d10 + 21)
Speed 20 ft., climb 20 ft.
STR DEX CON INT WIS CHA
14 (+2) 6 (-2) 16 (+3) 10 (+0) 8 (-1) 2 (-4)
Saving Throws None
Skills Stealth +2
Damage Resistances None
Damage Immunities None
Condition Immunities Blinded, Charmed, Deafened, Frightened, Grappled, Incapacitated, Paralyzed, Petrified, Poisoned, Prone, Restrained, Stunned, Unconscious
Senses Blindsight 60 ft. (blind beyond this radius), passive Perception 9
Languages None
Challenge 2 (450 XP)
Necrotic Aura. Any creature that starts its turn within 5 feet of the Black Death Mass takes 3 (1d6) necrotic damage.
Undead Fortitude. If damage reduces the Black Death Mass to 0 hit points, it must make a Constitution saving throw with a DC of 5 + the damage taken, unless the damage is radiant or from a critical hit. On a success, the Black Death Mass drops to 1 hit point instead.
Spellcasting. The Black Death Mass is a spellcaster. Its spellcasting ability is Intelligence (+0). It can cast the following spells, requiring an action or bonus action to cast:
- Cantrips: Chill Touch, Ray of Sickness
- 1st Level (2 slots): Inflict Wounds, False Life
Actions
Corroding Slap. The Black Death Mass slaps a creature within reach with its gelatinous pseudopod. It hits with a +3 attack bonus and deals 13 (2d8 + 4) bludgeoning damage. The target must succeed on a DC 11 Constitution saving throw or have its AC reduced by 2 until the end of its next turn as its armor corrodes.
Noxious Eruption. The Black Death Mass expels a cloud of acrid gas in a 10-foot radius. Each creature within the area must make a DC 11 Dexterity saving throw, taking 11 (2d6 + 4) poison damage on a failed save, or half as much damage on a successful one. The gas lingers for 1 minute, causing the area to be heavily obscured and any creature that enters or starts its turn within the gas must succeed on a DC 11 Constitution saving throw or be poisoned until the start of its next turn.
Murky Grasp. The Black Death Mass reaches out with its tendrils to grab hold of a creature within range. It makes a melee spell attack against the target, using its +3 attack bonus. On a hit, the target takes 9 (2d6 + 2) necrotic damage and must succeed on a DC 11 Strength saving throw or be grappled by the Black Death Mass. While grappled, the target takes 4 (1d8) necrotic damage at the start of each of its turns.

Ups my mistake, sorry.

Fixed in v1.81.7.

Awesome, thanks for the update!
Have a wonderful week.
https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
Virenfrei.www.avast.com
https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
Am Do., 23. Nov. 2023 um 06:19 Uhr schrieb James @.***>:

Closed #72 https://github.com/jbhaywood/5e-statblock-importer/issues/72
as completed.
—
Reply to this email directly, view it on GitHub
https://github.com/jbhaywood/5e-statblock-importer/issues/72#event-11043320683,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMBQ34CUWHNNWX2UXKF5VVTYF3MELAVCNFSM6AAAAAA7TXNR66VHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJRGA2DGMZSGA3DQMY
.
You are receiving this because you modified the open/close state.Message
ID: <jbhaywood/5e-statblock-importer/issue/72/issue_event/11043320683@
github.com>


Changes template use

The first repo in the workshop is created using Emma's IM template instead of the "generic R" one

We won't be chaning this, as it is too late already and we have decided it's ok to have it as is.


Plugin Manager (Evaluation)

Create Plugin Manager with list of strings ("package strings"). Use these in ResourceConfig with package scanning.

Commit: https://github.com/ExplorViz/explorviz-ui-backend/commit/410e40c710d763c7d35b7d06d6a1c251358e677c


Flutter SystemUiOverlayStyle does not work with some configurations on Android

I'm using AnnotatedRegion widget to change status bar color. I expect the status bar color to switch between white and transparent. But nothing happens. Check _getSystemUiOverlayStyle method for how it's being done.
I tried changing the content of the _getSystemUiOverlayStyle method to the following, and then it successfully changes the color.
 SystemUiOverlayStyle _getSystemUiOverlayStyle(BuildContext context) {
    if (isTransparentStatusBar) {
      return SystemUiOverlayStyle.dark.copyWith(
        statusBarColor: Colors.transparent,
      );
    } else {
      return SystemUiOverlayStyle.light.copyWith(
        statusBarColor: Colors.white,
        statusBarIconBrightness: Brightness.dark,
      );
    }
  }

Is this a bug or am I missing something?
Sample App
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData.light(),
      darkTheme: ThemeData.dark(),
      home: MyHomePage(),
    );
  }
}

class MyHomePage extends StatefulWidget {
  MyHomePage({Key key}) : super(key: key);

  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  bool isTransparentStatusBar = false;

  void _toggleState() =>
      setState(() => isTransparentStatusBar = !isTransparentStatusBar);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: SafeArea(
        top: false,
        child: AnnotatedRegion<SystemUiOverlayStyle>(
          value: _getSystemUiOverlayStyle(context),
          child: Center(
            child: Stack(
              children: [
                Container(
                  color: Theme.of(context).scaffoldBackgroundColor,
                ),
                Center(
                  child: ElevatedButton(
                    onPressed: () => _toggleState(),
                    child:
                        Text(isTransparentStatusBar ? "Transparent" : "Opaque"),
                  ),
                ),
              ],
            ),
          ),
        ),
      ),
    );
  }

  SystemUiOverlayStyle _getSystemUiOverlayStyle(BuildContext context) {
    if (isTransparentStatusBar) {
      return SystemUiOverlayStyle.light.copyWith(
        statusBarColor: Colors.transparent,
        statusBarIconBrightness: Brightness.dark,
      );
    } else {
      return SystemUiOverlayStyle.light.copyWith(
        statusBarColor: Colors.white,
        statusBarIconBrightness: Brightness.dark,
      );
    }
  }
}

Flutter doctor
[✓] Flutter (Channel stable, 1.22.6, on Mac OS X 10.15.4 19E287 darwin-x64, locale en-IN)
    • Flutter version 1.22.6 at /Users/abhaysood/flutter
    • Framework revision 9b2d32b605 (4 weeks ago), 2021-01-22 14:36:39 -0800
    • Engine revision 2f0af37152
    • Dart version 2.10.5

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/abhaysood/Library/Android/sdk
    • Platform android-30, build-tools 30.0.3
    • Java binary at: /Applications/Android Studio 2.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.0.1, Build version 12A7300
    • CocoaPods version 1.10.1

[✓] IntelliJ IDEA Ultimate Edition (version 2020.3.2)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin installed
    • Dart plugin version 203.6912

@abhaysood
Check out this SO link and see if it answers your question.

Related https://github.com/flutter/flutter/issues/24893, https://github.com/flutter/flutter/issues/27776

Check out this SO link and see if it answers your question. Also, provide flutter doctor -v

@darshankawar Updated the issue with flutter doctor -v output and  I checked the SO answers, I'm already using AnnotatedRegion as suggested in the accepted answer.

flutter doctor -v
[✓] Flutter (Channel stable, 1.22.6, on Mac OS X 10.15.4 19E2269 darwin-x64,
    locale en-IN)
    • Flutter version 1.22.6 at /Users/dhs/documents/Fluttersdk/flutter
    • Framework revision 9b2d32b605 (4 weeks ago), 2021-01-22 14:36:39 -0800
    • Engine revision 2f0af37152
    • Dart version 2.10.5

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.0)
    • Android SDK at /Users/dhs/Library/Android/sdk
    • Platform android-30, build-tools 30.0.0
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.9.3

[!] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.53.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.18.1

[✓] Connected device (1 available)
    • SM A260G (mobile) • 5200763ebcfa861f • android-arm • Android 8.1.0 (API
      27)

! Doctor found issues in 1 category.

have you tried moving that block up before the scaffold?

Mine way is working both the workaround for transparent sytsemUIs and the edge-to-edge as well. I had to revert to some native hacking to couple it to the system chrome API calls
the repo is here https://github.com/fredgrott/base_river

I'm also using AnnotatedRegion, with SystemUiOverlayStyle mainly to change the systemNavigationBar bar colors, opcaity etc. Before I was able to get everything as desired, but I now noticed an issue where if I do it as before and just no use (null) for all statusBar settings that are already set by the SystemUiOverlayStyle  in AppBarTheme and just set things for systemNavigationBar in the AnnotatedRegion it no longer works.
Everything worked OK earlier, however it occurred to me, that was on Android 10 (API 29).
Now on Android 11 (API 30), when I do the same, the statusBarIconBrightness is not kept from its AppBarTheme. The AnnotatedRegion usage, even if its SystemUiOverlayStyle props for all status bar settings are null, changes the status bars icon brightness to the wrong value.
So I tried setting the statusBarIconBrightness to its right value in AnnotatedRegionusage too, but it does not help. No props in it will set them to the correct brightness. This seems to only happen on API 30. On levels 29 and lower, things seem to work OK as before.
I also tried using the newer SystemUiOverlayStyle prop systemStatusBarContrastEnforced, but it had no impact on the issue.
I will probably make a simple repro case to verify this finding, and then post it as separate issue.

For reference, I made mention reproduction sample of my issue above in this issue: https://github.com/flutter/flutter/issues/90098

To update this issue, there was a bug -- there were some missing window flags checks that are needed to change the status bar color. This PR should fix it when it lands!

@camsim99 The PR has landed, can we close this issue?


An error occurred: Head   An error occurred: open ...

Version
e.g. 0.11.2
Describe the bug
An error occurred: Head "https://source.unsplash.com/200x200/?<word in English>": EOF
An error occurred: open E:\Download\零基础GPT应用入门课\images\667888\?<关键词>: The filename, directory name, or volume label syntax is incorrect.
To Reproduce
id:100550701    零基础GPT应用入门课
错误章节 08/20、10/20 等
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Log
[2024-11-23 23:50:29] [info] [client.go:102] Http request end, method: POST, url: https://time.geekbang.org/serv/v1/article, status code: 200 [2024-11-23 23:50:37] [error] [root.go:441] An error occurred
Additional context
如果可以的话可以试试整个课程，这个课程遇到的错误比较多

已在0.12.1版本修复


Unknown session id when user takes longer to input entropy

Description
The current user workflow is:

User goes to the frontend page
User logs in with Ethereum and receives session id
User generates entropy
User tries to get into the lobby

Users might take some time between steps 3 and 4 (generating entropy). But if the user takes more than 30 seconds (default LOBBY_CHECKIN_FREQUENCY), his session id would be invalidated by the sequencer and he would receive a TryContributeError::UnknownSessionId error.
Solution
We think that there should be a sightly longer deadline (1 or 2 minutes) between /signin and the first /lobby/try_contribute so users can take some time generating their entropy.

Got fixed in PR #111


Using ocLazyLoad with concatenate and minified files

Hi,
The library works great with lazy loading modules.
I am looking for some guidance on how can we handle scenarios where while development we use separate script files but, for production combine and minify those scripts. So the config setup
$ocLazyLoad.load({
    name: 'TestModule',
    files: ['testModule.js', 'testModuleCtrl.js', 'testModuleService.js']
});`

works fine development, but fails when content is concatenated.
Thanks,
Chandermani

+1

I have the same requirement.
Does anyone found the solution?

any solution or workaround?

It should work since version 1.0

@ocombe I have code something like this
return $ocLazyLoad.load({
			  name:'InkskillApp',
			  files:['public/js/controller/home.js','public/css/owl.carousel.css','public/js/owl.carousel.min.js']
			})

so I have js and css files loaded. I need to have a flag 'isProd' where it shld load the js files from minified js file and css from corresponding minified css file.


JB-562 - [Mobile] tab auto-position/scroll

What does this PR do and why?
Closes https://linear.app/peel/issue/JB-562/[mobile]-tab-auto-positionscroll
Screenshots or screen recordings
If applicable, provide screenshots or screen recordings to demonstrate the changes.
Acceptance checklist

[ ] I have evaluated the Approval Guidelines for this PR.
[ ] (if relevant) I have tested this PR in all supported browsers.
[ ] (if relevant) I have tested this PR in dark mode and light mode (if applicable).

Current dependencies on/for this PR:

main

PR #3830

PR #3832

PR #3835

PR #3838

PR #3839

PR #3841

PR #3842   👈

This comment was auto-generated by Graphite.

@wraeth-eth started a stack merge that includes this pull request via Graphite.

Graphite rebased this pull request as part of a merge.

@wraeth-eth merged this pull request with Graphite.


"electron_node server.js" doesn't quit after closing VS Code

Issue Type: Bug
What I am eperiencing quite often is that Code Helper (Renderer) process doesn't stop after I quit VS Code on MacOS Catalina. Also, majority of the time that process takes 100% of the CPU and just starts cooking my MacBook and I have to go into system monitor and kill it manually. I have seen simillar issues being raised surrounding high CPU usage but I couldn't find one which replicated my experience exactly.
VS Code version: Code 1.41.1 (26076a4de974ead31f97692a0d32f90d735645c0, 2019-12-18T14:57:51.166Z)
OS version: Darwin x64 19.2.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-6267U CPU @ 2.90GHz (4 x 2900)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_offsurface_control: disabled_offsurface_synchronization: enabled_onvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
6, 4, 3

Memory (System)
16.00GB (2.27GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (22)

Extension
Author (truncated)
Version

simple-search
bur
1.0.1

dart-code
Dar
3.7.1

flutter
Dar
3.7.1

gitlens
eam
10.2.0

prettier-vscode
esb
3.18.0

vscode-pull-request-github
Git
0.14.0

rest-client
hum
0.23.0

kite
kit
0.102.0

vs-external-tools
lih
1.3.0

git-graph
mhu
1.21.0

theme-monokai-pro-vscode
mon
1.1.14

vscode-docker
ms-
0.9.0

python
ms-
2020.1.58038

Go
ms-
0.12.0

debugger-for-chrome
msj
4.12.5

autodocstring
njp
0.4.0

vscode-sort-json
ric
1.18.0

LiveServer
rit
5.6.1

code-settings-sync
Sha
3.4.3

gitconfig
sid
2.0.1

code-spell-checker
str
1.7.20

vscode-todo-highlight
way
1.0.4

(1 theme extensions excluded)

Just for the sake of closure on this issue, the offending process is actually one of the extensions, in this case, a spell check.
12:32.19 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Renderer).app/Contents/MacOS/Code Helper (Renderer) /Users/krzysztof/.vscode/extensions/streetsidesoftware.code-spell-checker-1.7.22/server/server.js --node-ipc --clientProcessId=85640

@kwmlodozeniec thanks.

Not sure if it's a faux pas since this is closed, but I've been experiencing the exact same issue. I've made sure to uninstall and reinstall VSCode using the scripts provided on their website. My new install has no extensions but is still opening these "electron_node server.js" processes that are crashing my new MacBook. Really weirds me out since I have a 6-core i7 processor and 16gb of memory.

@easterjd can you follow the steps from https://github.com/microsoft/vscode/issues/88854#issuecomment-579156921 to give us the full command line of the node process causing this.


UKIS: Northern Ireland Schema is not launched correctly

Expected behaviour
Launching a GB-Eng Schema instead
Following the investigation RRM is passing GB-NIR as the Region Code where as eQ is expecting this code to be GB-NI
Actual behaviour
Must navigate to UKIS Northern Ireland landing page with the correct Logo
Steps to reproduce the behaviour
Launch an UKIS (Northern Ireland) Survey from RRM
Must navigate to UKIS Northern Ireland landing page with the correct Logo
Technical information
Browser
Operating System
Screenshot

https://en.wikipedia.org/wiki/ISO_3166-2:GB lists Northern Ireland as GB-NIR as specified by RRM Classic.

Are RRM using the wrong standard? The ons-schema-definitions repository lists ISO 3166-1 alpha-2 for the region_code token? See https://github.com/ONSdigital/ons-schema-definitions/blob/master/docs/rm-eq.rst


NIFI-12912 snackbar bug

Removed unnecessary rules and class. The snackbars will be styled by Angular Material.
Summary
NIFI-12912

Reviewing...


Per sample size endpoint

Endpoint to return the per project, per sample size for each sequence type over a set date range.

Codecov Report

Merging #273 (01d8440) into dev (465be12) will decrease coverage by 0.64%.
The diff coverage is 31.00%.

@@            Coverage Diff             @@
##              dev     #273      +/-   ##
==========================================
- Coverage   64.03%   63.38%   -0.65%
==========================================
  Files          65       65
  Lines        4957     5045      +88
==========================================
+ Hits         3174     3198      +24
- Misses       1783     1847      +64

Impacted Files
Coverage Δ

db/python/tables/analysis.py
22.75% <0.00%> (-0.42%)
:arrow_down:

db/python/layers/analysis.py
31.91% <15.38%> (-12.73%)
:arrow_down:

api/routes/analysis.py
41.21% <21.42%> (-5.94%)
:arrow_down:

db/python/tables/sample.py
27.86% <25.00%> (-0.07%)
:arrow_down:

api/routes/sample.py
43.61% <33.33%> (-0.71%)
:arrow_down:

db/python/layers/sample.py
50.00% <50.00%> (ø)

db/python/layers/web.py
40.29% <50.00%> (+0.59%)
:arrow_up:

models/models/analysis.py
75.67% <100.00%> (+11.67%)
:arrow_up:

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


NRE when using client from Visual Basic

When I use the following C# code:
var client = new ODataClient("https://services.odata.org/v4/TripPinServiceRW/");

var command = client.For<Person>()
    .Filter(x => x.Trips.Any(y => y.Budget > 3000))
    .Top(2)
    .Select(x => new { x.FirstName, x.LastName });

var commandText = Task.Run(() => command.GetCommandTextAsync()).Result;
// generated relative URL
Console.WriteLine(commandText);
Console.WriteLine();

the code runs as expected and ouputs the relative URL. However, if I run the corresponding code in Visual Basic:
Dim client = New ODataClient("https://services.odata.org/v4/TripPinServiceRW/")

Dim command = client.For(Of Person).
    Filter(Function(x) x.Trips.Any(Function(y) y.Budget > 3000)).
    Top(2).
    Select(Function(x) New With {x.LastName, x.FirstName})

Dim commandText = Task.Run(Function() command.GetCommandTextAsync()).Result
Console.WriteLine(commandText)
Console.WriteLine()

I get a NullReferenceException:

System.AggregateException: 'One or more errors occurred. (Object reference not set to an instance of an object.)'
Inner Exception
NullReferenceException: Object reference not set to an instance of an object.

The stack trace (for the inner exception) is as follows:
   at Simple.OData.Client.ODataExpression.FormatCallerReference()
   at Simple.OData.Client.ODataExpression.FormatAnyAllFunction(ExpressionContext context)
   at Simple.OData.Client.ODataExpression.FormatFunction(ExpressionContext context)
   at Simple.OData.Client.ODataExpression.Format(ExpressionContext context)
   at Simple.OData.Client.FluentCommand.Resolve()
   at Simple.OData.Client.FluentCommand.GetCommandTextAsync(CancellationToken cancellationToken)

I'm using the NuGet package version 5.8.0 of the V4 client.
The entity classes are as follows (for both the C# and VB code):
public class Person {
    public string LastName { get; set; }
    public string FirstName { get; set; }
    public ICollection<Trip> Trips { get; set; }
    public void Write() => Console.WriteLine($"LastName: {LastName}, FirstName: {FirstName}");
}

public class Trip {
    public long Budget { get; set; }
}

Apparently, this is because the VB compiler inserts a conversion node whenever the type of the argument doesn't precisely match the parameter. In this case, the first parameter of Any is IEnumerable<Trip> while the Trips property is defined as ICollection<Trip>.
The Visual Basic expression tree looks like this:

while the C# expression tree looks like this:

Interesting. Thank you for the investigation. I will think about what can be done here.


[E2E test]: Use the config file to define the value of ddinfra:aws/defaultKeyPairName

What does this PR do?

This PR uses the config file to define the value of ddinfra:aws/defaultKeyPairName.
It also simplify the usage of NewUpResultDeserializer and use the SSH Agent in ssh_client.
Motivation

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

Reviewer's Checklist

[ ] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[ ] Use the major_change label if your change either has a major impact on the code base, is impacting multiple teams or is changing important well-established internals of the Agent. This label will be use during QA to make sure each team pay extra attention to the changed behavior. For any customer facing change use a releasenote.
[ ] A release note has been added or the changelog/no-changelog label has been applied.
[ ] Changed code has automated tests for its functionality.
[ ] Adequate QA/testing plan information is provided if the qa/skip-qa label is not applied.
[ ] At least one team/.. label has been applied, indicating the team(s) that should QA this change.
[ ] If applicable, docs team has been notified or an issue has been opened on the documentation repo.
[ ] If applicable, the need-change/operator and need-change/helm labels have been applied.
[ ] If applicable, the k8s/<min-version> label, indicating the lowest Kubernetes version compatible with this feature.
[ ] If applicable, the config template has been updated.

I f I get it right, moving to a structured yaml forces having a strict parser, because golang does not support well unmarshalling to any object like js would do. Supporting any entry would mean type checking in code and can become tedious.

Not really as YAML can unmarshal as map[string]interface{}.


Vector instructions should support scalars from element 0 of a vector register (as well as from x & f registers)

There are a few vector instructions that take scalars from x or f registers, but not element 0 of a vector register.
My suggestion is to have the vector instructions take a scalar operand from element 0 of a vector as well as x & f registers.
This may not seem important at the moment with an SEW up to 64 bits, but for the future, I think, having this will provide optimal performance if the x or f registers have less bits than the SEW.
For instance, I am trying to implement a vector rotate by 1, as follows (https://godbolt.org/z/d4fcojTPo):
#include <riscv_vector.h>

vint64m8_t vrotate1down_vx_i64m8 (vint64m8_t op1, int vl)
{
    int64_t scalar;

    scalar = vmv_x_s_i64m8_i64(op1);
    op1 = vslide1down_vx_i64m8(op1, scalar, vl);

    return op1;
}

which, on LLVM 32-bit, correctly compiles to:
vrotate1down_vx_i64m8(__rvv_int64m8_t, int): # @vrotate1down_vx_i64m8(__rvv_int64m8_t, int)
        addi    a1, zero, 32
        vsetivli        a2, 1, e64,m8,ta,mu
        vsrl.vx v16, v8, a1
        vmv.x.s a1, v16
        vmv.x.s a2, v8
        slli    a0, a0, 1
        vsetvli a0, a0, e32,m8,ta,mu
        vslide1down.vx  v8, v8, a2
        vslide1down.vx  v8, v8, a1
        ret

Note the use of a vector shift, 2 moves, 2 X registers and 2 slide1down instructions. This would be 2x worse if SEW were 128-bits, 4x worse if SEW were 256-bits, etc.
It would be much faster as a single instruction taking the scalar from element 0 of a vector register, e.g.:
        vslide1down.vs  v8, v8, v8

        Where 's' (in the .vs) is the scalar (element 0) from a vector register as in vredsum.vs.

        With a psudo instruction of: vrotate1down.vs

There are many other instruction that can benfit from this by keeping the data in the VPU.

Previous versions of the spec had this model with scalars being in element 0 of vector registers, and overlay of vector onto FP registers).    For various reasons, including coping with existing FP ABI and making more registers available, we moved to current model but due to encoding space (and overall implementation complexity) could not continue to also accommodate scalars at element 0.  As Andrew says, this is a possible component of future extensions but likely only with longer instruction encoding.


mac arm路径自动的写错了

I think the right url path is :
https://....../cursor_id_modifier_0.0.4_darwin_arm64
NOT:
https://....../cursor_id_modifier_0.0.4_macos_arm64

同问题，Failed to download binary from: https://github.com/yuaotian/go-cursor-help/releases/download/v0.0.4/cursor_id_modifier_0.0.4_macos_arm64

Before the original author Merge PR #37, you can try to use:
curl -fsSL https://raw.githubusercontent.com/missuo/go-cursor-help/refs/heads/master/scripts/install.sh | sudo bash

Before the original author Merge PR #37, you can try to use:
curl -fsSL https://raw.githubusercontent.com/missuo/go-cursor-help/refs/heads/master/scripts/install.sh | sudo bash

Thank You, it worked

Before the original author Merge PR #37, you can try to use:
curl -fsSL https://raw.githubusercontent.com/missuo/go-cursor-help/refs/heads/master/scripts/install.sh | sudo bash

Thankss, it worked!!

修复了

我这边同样是路径有问题， tag 的版本没拿到：
[] Starting installation...
[] Checking for running Cursor instances...
[] Backing up storage.json...
[✓] Backup created at: /Users/lbl/Library/Application Support/Cursor/User/globalStorage/storage.json.backup
[] Detected OS: darwin
[] Downloading latest release...
[] URL: https://github.com/yuaotian/go-cursor-help/releases/download//cursor_id_modifier__darwin_arm64
curl: (56) The requested URL returned error: 404
[✗] Failed to download binary from: https://github.com/yuaotian/go-cursor-help/releases/download//cursor_id_modifier__darwin_arm64

我这边同样是路径有问题， tag 的版本没拿到：
[*] Starting installation...
[*] Checking for running Cursor instances...
[*] Backing up storage.json...
[✓] Backup created at: /Users/lbl/Library/Application Support/Cursor/User/globalStorage/storage.json.backup
[*] Detected OS: darwin
[*] Downloading latest release...
[*] URL: https://github.com/yuaotian/go-cursor-help/releases/download//cursor_id_modifier__darwin_arm64
curl: (56) The requested URL returned error: 404
[✗] Failed to download binary from: https://github.com/yuaotian/go-cursor-help/releases/download//cursor_id_modifier__darwin_arm64

It looks like the tag was not obtained from the GitHub API. Try again later.

修复了

好像没有修复，还是同样问题

Before the original author Merge PR #37, you can try to use:
curl -fsSL https://raw.githubusercontent.com/missuo/go-cursor-help/refs/heads/master/scripts/install.sh | sudo bash

Thanks bro!!!


update README

There are a few references to deis/docs-v2, but they all redirect to deis/workflow so it's okay for now.

looks like this was fixed in


Add a Contact us and Login/Signup to the banking website project

Describe the Feature you want to end
I would like to add a signup/login and contact page to the Banking website
Screenshots (optional)

@MohitGupta121


[BUG]: cannot meta info prop unet on cpu

🐛 Describe the bug
Cannot meta info prop unet (from diffusers import UNet2DModel) on cpu.
I can run unet on cpu and cuda, and meta info prop it on cuda but not on cpu.
The error message is

It seems that groupnorm caused this problem and there is a view in groupnorm kernel. So I check its cpp code, and I find some lines of code maybe related with view.

So I guess for cpu, there is problem for suggest_memory_format() for some unknown reasons, maybe due to meta. Then I change the code by simply contiguous every tensor and solved this problem. But its very ugly.

Environment
torch 1.12.1, cuda 11.3, diffusers 0.10.2

It's okay for now I guess.
I am not seriously considering the real tensor layout.
so if this hack works it will be fine

Great, thanks.


Non-issue: Results of Perm1 comparisons

Not an issue: just a stub to remind myself that the results of Perm1 U-centric comparisons between SQUID 2.50 (11.02.03) and Squid3 (1.1.8) look good across all index isotopes. I am offline for most of the next 48 hours, but will upload the comparison files to this thread on (my) Wednesday.
There are a couple of interesting features/systematic offsets that I should chase, but overall the comparison is excellent, which is good news because Perm1 U-centric Tasks are the bread and butter of U-Pb zircon work (and most U-Pb geochronology, I would think)...

For anyone tempted to try replicating my SQUID 2.50 vs Squid3 comparisons with their own test dataset, you should be aware that I have expended little programmatic effort: instead, I have performed cell-by-cell subtraction based comparisons of CSV-style output, following a process to ensure that the mapped cells are comparing apples with apples. Unfortunately, this approach means that the template developed for comparison purposes is quite prescriptive:

Zircon data with 10 (ideal) or more (manual editing needed) mass-stations (although mass-station identities are not prescribed), and SQUID 2.50 CPS columns switched ON for exactly 10 mass-stations. (If you have more than 10 mass-stations, you can still proceed, but you'll still need exactly 10 CPS columns ticked. When generating the corresponding Squid3 output, you'll need to open the ReferenceMaterialReport CSV and manually delete the column(s) corresponding to the excess CPS columns unticked in SQUID 2.50).
Exactly 10 ratios of interest, defined alphabetically, which ought to include every ratio you might use for data processing. Their identities are not prescribed (although in SQUID 2.50, Bkrd should not be used), but they need to be defined ALPHABETICALLY in SQUID 2.50, primarily by numerator mass and secondarily by denominator mass (i.e. the first ratio should comprise the lowest-mass numerator of interest and its lowest-mass of its denominators of interest, and so on, until the 10th ratio comprises the highest-mass numerator of interest and its highest-mass denominator of interest). This measure is to "auto-match" output ordering implemented for the Squid3 CSV.
Exactly 2 user-defined expressions for which ST = YES and NU = YES. Their fundamental purpose is to be column placeholders; there is no need for your data-processing to actually use them, but they must not be omitted. It's an opportunity to verify that the numerical evaluation performed in Squid3 matches that performed by SQUID 2.50. My expressions here are just ln(["206/238"]) and ln(["254/238"]).
NO other user-defined expressions of any kind. The aim is to test Squid3 replication of "under-the-hood" SQUID 2.50 functionality. Comprehensive implementation and testing of user-defined functions in Squid3 will come later.

SQUID 2.50 source files and outputs
Building blocks
My comparison uses an edited version of SQUID <IP_ADDRESS>.03 (VBA code has been modified in order to fix bugs and minimise discrepancies in the results of double-precision arithmetic between VBA and Java). If you're confident in your ability to switch versions of SQUID 2.50 in Excel 2003 and you want to try it out, it is included in this ZIP, together with the relevant Task, and my (GA Session 180050) 10-peak zircon XML test file: SQUID2.50+Perm1ConcUTask+180050XML.zip.
Results
If you'd rather just fast-forward to my SQUID 2.50 results based on that combination of files, they are here. The first set comprises three "live" Excel SQUID-workbooks corresponding to SQUID 2.50 data-reductions using common Pb index isotope = 204Pb, 207Pb and 208Pb respectively (180050_SQ2.50_Perm1_U_notfrozen.zip); the second set comprises the same three SQUID-books in "frozen" format i.e. with formulae stripped, and all cells containing evaluated results: 180050_SQ2.50_Perm1_U_frozen.zip).
Squid3 source files and outputs
Building Blocks
The version of Squid3 I used is 1.1.8, but I am not sure how best to supply the relevant files. So in addition to the Project file itself (118 180050 PERM1 CONCU), I have also supplied copies of the four ParameterModel XML files I constructed for comparison purposes:

Isotopic Reference Material = "TEMORA2 dates only v1.0"
Concentration Reference Material = "M127 values only v1.0"
Common Pb = "Stacey-Kramers Common Pb at 416.8 Ma v1.0"
Physical Constants = "Squid 2.5 Default Physical Constants Model v1.0"

The first two are hopefully self-explanatory; the third defines the "default" common Pb isotope compositions used in Squid3's analogues of the StandardData and SampleData sheets. The fourth is important because it forces Squid3 to use present-day 238U/235U = 137.88 (after Steiger & Jager 1977) to match SQUID 2.50, in preference to Squid3's other Physical Constants models, which instead use 137.818 after Hiess et al. (2012).
All five files are included in this ZIP (Squid3_ProjectFile+4ParameterModels.zip), because the extent to which my Project file incorporates them is not clear to me. This is particularly true of the parameter model files in persistent use by the Project file: Squid3 clearly knows where the files are, but I have no idea where three of the four are stored on my PC. It was necessary for me to re-export those three to known locations on my computer, in order to bundle them in this ZIP.
Results
If you'd rather just fast-forward to my Squid3 results based on that combination of files, they are here. This ZIP (180050_Squid3_Perm1_ConcU_RM.zip) comprises three XLS files, derived from 'ReferenceMaterialReportTable' CSV files generated in Squid3 (after setting the index isotope in Visualisations... Reference Material... Weighted Means) via Report Tables... Reference Materials... Custom Report Tables... per Squid 2.x. There is one XLS file per index isotope.
SQUID 2.50 vs Squid3 comparison: Perm1 ConcU
Finally, the results of the actual comparison are here: RM_Comparers_Perm1_Ucentric.zip. There are three XLS files, one for each index isotope, and each file comprises five worksheets:

"250_StdData": This is where the SQUID 2.50 dataset is Pasted and described. Cell A3 is the permutation number ("Perm1"), Cell A4 indicates the index isotope ("4" = 204Pb, "7" = 207Pb, "8" = 208Pb), Cell A5 indicates the parent element by which the CONCENTRATION reference material is defined ("U" or "Th"). These values need to be entered manually, because SQUID 2.50 output varies depending on these settings. At cell A7, the rectangular array of SQUID 2.50 StandardData values (including the single row of column-headers) is Pasted (via sequential Paste as Values, then Paste Formats).
"250_Comprehensive": This sheet has no user input. It maps the data columns from "250_StdData" to the superset of Unique Expression-Names defined for Reference Materials by @NicoleRayner and I (see column L of ExpressionNames.AcrossPerms_v5_NR+SB.xlsx). In general, yellow cells in row 7 represent entries from that 'unique name list' that contain 'row-by-row' data (as opposed to 'summary of column' data). Green cells in row 7 indicate uncertainties associated with the yellow cells (where those exist: note that the XLSX above does not explicitly consider the uncertainties associated with many (but not all) of the uniquely named expressions), with uncertainties labelled with magnitude and whether percentage or absolute. Orange cells represent Unique Expression names that pertain to 'summary of column' data (which I have postponed comparing, because of course those results will depend on the veracity or otherwise of the row-by-row data, which should therefore be considered first).
"Sq3_RMReport": This is where the Squid3 dataset is Pasted and described. As for "250_StdData", cell A3 is the permutation number ("Perm1"), Cell A4 indicates the index isotope ("4" = 204Pb, "7" = 207Pb, "8" = 208Pb), Cell A5 indicates the parent element by which the CONCENTRATION reference material is defined ("U" or "Th"). The rectangular array of Squid3 data is Pasted in TWO PARTS (via sequential Paste as Values, then Paste Formats): (a) At cell A7, the single-row header and data for column A, and (b) at cell B3, the multi-row headers (starting with 'Spot Fundamentals' and rectangular array of Squid3 ReferenceMaterial data. This two-step process should yield a rectangular array of numeric data.
"Sq3_Comprehensive": This sheet has no user input. As for "250_Comprehensive", it maps the data columns from "Sq3_RMReport" to the superset of Unique Expression-Names defined for Reference Materials.
"CellByCell": This is where the magic happens... a cell-by-cell comparison of the two "...Comprehensive" sheets. Where the two counterpart cells both contain numbers, the SQUID 2.50 value is subtracted from the corresponding Squid3 number.

There are a number of reasons why the Excel-based comparison of SQUID 2.50 and Squid3 values is not exact, which I will not go into here. In general I am looking for very small discrepancies between the two values (ideally more than 10 orders of magnitude smaller than the values themselves). Within individual columns, I am also looking for both positive and negative values, to try and reassure myself that the discrepancies are arising from numerical "noise" beyond my control, rather than very small bugs in "the code" (either SQUID 2.50 or Squid3).
There are some interesting results in the three comparisons thus far... but I'll write about those separately.

A brief description of the comparisons, with initial reference to sheet CellByCell in XLS RM_Comparer_Perm1-204corr_Ucentric:
Columns A–I: Only column C involves a calculation and it is trivial.
Columns J–AQ: In general, we get perfect agreement on the fundamental calculations (mass-station CPS and calculation of the isotopic ratios) because the individual steps of the underlying arithmetic are simple (although very numerous). In this case, it helps that the ratios are being evaluated in 'spot average' mode, because the arithmetic associated with 'linear regression to burn mid-time' is not quite perfectly robust (with respect to intra-Excel 2003 solutions between VBA code and an Excel spreadsheet tasked with performing the identical calculations).
Columns AR–AU, BB–BC, BK–BL, EX: Divergence usually begins to appear in the evaluation of NU-switched Task expressions (AR–AU = user-defined general expressions; others are part of the "Special U-Th-Pb Task equations"), because a recurring step in the VBA evaluation involves converting full double-precision binary numbers into a decimal representation (15 significant figures, scientific notation) that is converted to a text-string as part of the evaluation. This process has proven impossible to reliably replicate, even inside Excel 2003, because the rounding rules for VBA and spreadsheet-based arithmetic are different.
Expressions involving a single ratio (columns AR–AU) are more easily replicated than those involving multiple ratios (BB–BC, BK–BL, and EX), so while agreement is perfect for both value and uncertainty in the former, the latter pairs of columns (where the corresponding expression contains two isotopic ratios in each case) exhibits the beginnings of occasional divergence in the calculated uncertainties.
Column AW onwards: Agreement is overall very good. Disagreements are very small, usually at least 10 orders of magnitude smaller than the values being compared. Furthermore, in any given column, there are both positive and negative values, consistent with discrepancies arising from largely random "numerical noise", perhaps reflecting downstream propagation of divergence that began appearing in column BC especially, as those are quite far-reaching. But there are some exceptions:
Column BH (204Pb206Pb_OvCtCorFrom207Pb): Although all the numbers here are very small, there is very little dispersion and the numbers are all negative. This suggests a diagnosable difference between row-by-row SQUID 2.50 and Squid3 calculations, and the consistency of the offset suggests it invo;lves a constant, at some level. My suspicion is that some part of the Common Pb values have a different number of significant figures in SQUID 2.50 as opposed to my "Stacey-Kramers at 416.8" Squid3 parameter model, but I have not yet investigated in detail.
Column ES (4cor_Th_Concen_RM): In Perm1, calculation of Th (ppm) values in SQUID 2.50 involves invocation of the hard-coded 'magic number' 1.033, which turns out to be a coefficient linking present-day U abundance to present-day Th abundance by reference to present-day 238U/235U (noting that Squid3 models present-day 238U/235U as a property of the reference material, rather than a universal physical constant).
In SQUID 2.50, using the rounded value 1.033, Th (ppm) in Tem.1.1 is 366.279... ppm (see sheet 250_StdData, cell BF8). Whereas in Squid3, where the coefficient is evaluated at full double precision per the below screenshot ("Quotient" is the result), Th (ppm) in Tem.1.1 is 366.135... ppm (see sheet Sq3_RMReport, cell AY8).

A large part of the discrepancy is presumably attributable to the value of the coefficient used, but it is not clear whether that is the entire problem. So I performed an "after-market" repair to the SQUID 2.50 data, by Copying the Quotient value from the Squid3 "peek", and Pasting it in the RM_Comparer... XLS (sheet 250_StdData, red cell BF1). Then I modified the arithmetic in sheet 250_Comprehensive so that the SQUID 2.50 data are divided by [Quotient/1.033] in order to obtain a result that should be arithmetically identical to that produced by Squid3, if the value of the coefficient is the sole source of the discrepancy.
And it looks like it is: for Tem.1.1, the cell-by-cell comparison was -1.445e-01 before the adjustment, and +1.137e-13 afterwards. The values being compared are 3.66e+02, so the latter discrepancy is right at the limit of Excel-based double-precision arithmetic. So I am marking that one "solved".

Additional notes specific to the 207-based comparisons, with initial reference to sheet CellByCell in XLS RM_Comparer_Perm1-207corr_Ucentric:
Column BH (204Pb206Pb_OvCtCorFrom207Pb): Note that this problem persists from the 204corr comparison (and see column DK below).
Columns BZ, CA and CJ (4cor_207Pb235U_RM, its %err, and 4cor_ErrCorrel_RM): These comparisons are poor because SQUID 2.50 compromises the calculation of 4cor_207Pb235U_RM when the index isotope is not 204Pb. Essentially, SQUID 2.50 performs the following (for column BZ):
4cor_207Pb235U_RM = (4cor_207Pb206Pb_RM) * (Xcor_206Pb238U_RM) * (Ref_238U235U)
which yields a compromised ("hybrid") result when X =7 or 8. In Squid3, we do not permit 4cor_207Pb235U_RM to be populated with hybrid expressions of this type; instead, its evaluation is contingent upon valid evaluation of 4cor_206Pb238U_RM. Columns CA and CJ represent the downstream effects of the column-BZ calculation, and none of these discrepancies need addressing (remembering that all the comparisions were fine in the previous RM_Comparer_Perm1-204corr_Ucentric comparison, where the index isotope is 204Pb and the analogous calculations are "clean".
Column DK (7cor_Com206Pb_Pct_RM): Extremely similar pattern to column BH; in fact, the undispersed negative discrepancies in column DK are even proportional to those in BH. It seems clear that the underlying cause is the same; time to investigate!

Columns BH and DK above arise from "edge effects" in the double-precision arithmetic, relating to the evaluation of RefRad_207Pb206Pb i.e. reference 207Pb*/206Pb* of TEMORA2, via the LudwigLibrary function of the form "=Pb76(416.8)".
0.0551127497968983 is the Squid3 solution (via Peek in Expression Manager)
0.0551127497968982 is the SQUID 2.50 solution in Excel 2003
I suspect this is the "banker's rounding" effect in Microsoft VBA i.e. when rounding of decimal representations of double-precision numbers is demanded procedurally, the final digit is rounded to the nearest even number (rather than to the nearest integer, as per "symmetrical arithmetic" rounding as implemented in Excel spreadsheets, and most people's brains). But it is very encouraging that the "downstream" effects of this type of discrepancy manifest as systematic offsets; makes diagnosis a lot easier!
208-corrected 206P*/238U data show a similar, apparently inconsistent, whereby discrepancies in the 208-corrected calibration constants are distributed either side of zero (as we would expect), as are discrepancies in the 208-corrected spot ages derived directly from them. However, spot-by-spot 208-corrected 206Pb*/238U is systematically offset between SQUID 2.50 and Squid3 (every spot value in Squid3 is very slightly higher than its SQUID 2.50 equivalent).
The cause is a similar issue with the WtdMeanA value. In this case, it is conceivable that the discrepancy is fuelled by minor inconsistencies in the "upstream" spot-by-spot uncertainties of the input calibration constants (rather than being purely a rounding effect in the final value), but the difference is still very small:
0.00447238288341184 in the Squid3 Expressions peek (although I was interested to see that the corresponding value in the Squid3 Visualisation... Reference Material... Weighted Mean contains an extra digit (another 4) on the end.
0.00447238288341185 in SQUID 2.50 in Excel 2003
Again, it is encouraging to see such an insignificant offset generating uniform discrepancies in downstream calculations - this confirms my bias that a mix of positive and negative discrepancies is a relatively robust indicator of correctness in our arithmetic.

Perm1 Th-centric
These permutations did not add anything new. Discrepancies relate to:

The "magic number" (L1033 in Squid3) involved in generating the secondary element (ppm) from the primary element (ppm) and the 232Th/238U. SQUID 2.50 uses a "magic number" value rounded to 4 significant digits; Squid3 uses the full double-precision value; substituting the latter into the former resolves the issue.
The output of Pb76(416.8) between SQUID 2.50 and Squid, as per previous post.

SQUID 2.50 Task: Same XML and Preferences as Perm1 ConcU, in conjunction with this Task:
SquidTask_Zrn 10pk Perm1 ConcTh.GA.zip
SQUID 2.50 results are ZIPs each comprising sets of three Excel workbooks (one for each index isotope). One set 'unfrozen', so SQUID 2.50 users can see the detail of the calculations, and one lot 'frozen' so non-SQUID 2.50 users have full access to the calculated values:
180050_SQ2.50_Perm1_Th_notfrozen.zip
180050_SQ2.50_Perm1_Th_frozen.zip
Squid3 building blocks: Here is the Squid3 Project file: 118 180050 PERM1 CONCTH.zip. Note that this includes both the Task based on "Zrn 10pk Perm1 ConcTh", and an updated value for "Default Common 208Pb206Pb" (2.0971, not 2.0941 as it was in the Perm1 ConcU Project file).
[As luck would have it, the Perm1 ConcU results are unaffected by the typo, because the common-Pb arithmetic only utilises 206Pb204Pb and 208Pb204Pb, and I had typed both of those values correctly.]
Squid3 results: Here a ZIP containing the three RM ReportTable CSVs (one for each index isotope): 180050_Sq3_Perm1_ConcTh_RM.zip
SQUID 2.50 vs Squid3 comparisons: A ZIP containing three Excel workbooks, each comprising five worksheets, as per their equivalent files in Perm1 ConcU: RM_Comparers_Perm1_Thcentric.zip.
@bowring this is the end of the Perm1-based comparisons; I don't intend to add anything further. I will make a separate "non-issue" for the results of the combined Perm2/Perm4 comparisons (I will handle them together because they are so similar), so feel free to close this one whenever you're ready.

Great news!


api version tracking

Update to see which version of the API merchants are using

Actually, thinking about it more I realized you should be using application_id https://github.com/activemerchant/offsite_payments/blob/master/lib/offsite_payments/helper.rb#L12 in your helper. Otherwise any client using this library will identify as Shopify. Do you mind making those changes? Thanks.


Creation of a new benchmark on RMS

I'd like to add a new benchmark on the optimisation of reconfigurable manufacturing systems (in planning, scheduling and layout)

That's a good idea. A new benchmark repository named "reconfigurable manufacturing systems" has been created. Feel free to edit the documentation and upload all relevant data.


push TyDi fixes to HF

sjrosenthal created the following on May 17:
Add ids to TyDi dataset and create PR to push fixes to HuggingFace
Original issue: https://github.ibm.com/ai-foundation/PrimeQA/issues/201

@seirasto : can you please update the current status here for this

This is done now.


[BUG] : Clicking Logo Doesn't Redirect to Home Page

Description
When users click on the logo of our website, instead of being redirected to the home page as expected, they remain on the same page. This presents a usability issue as it disrupts the expected behavior of website navigation and may confuse users, hindering their ability to explore different sections of the website efficiently.
Screenshots

Additional information
No response
What browser are you seeing the problem on?
No response
Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I want to work on this issue. (optional)

@Sailesh3000 can you assign it to me


Show target cluster in the list of apps

What this PR does / why we need it:
This is for the issue: https://github.com/carvel-dev/kapp-controller/issues/1103
Does this PR introduce a user-facing change?

"NONE"

Additional Notes for your reviewer:
Review Checklist:

[ ] Follows the developer guidelines
[ ] Relevant tests are added or updated
[ ] Relevant docs in this repo added or updated
[ ] Relevant carvel.dev docs added or updated in a separate PR and there's
a link to that PR
[ ] Code is at least as readable and maintainable as it was before this
change

Additional documentation e.g., Proposal, usage docs, etc.:

Just following up here, we had a chat about this at our community meeting this week. Generally everyone was onboard with the idea of current / this as a default rather than blank as that might indicate to the operator that something is still going on.
The current approach is to use the kubeconfig name for the external cluster. That might be a bit weird if you kubeconfig name doesn't actually mention the cluster or has other stuff in it. Ideally this is actually the name of the cluster from within the kubeconfig (kubeconfig's can also have multiple cluster info within them)

I think another option instead of empty that makes sense is in-cluster.
Regarding the name, i agree the secret name is not optimal. Best would be to get the clustername of the current context set in the kubeconfig eithin the secret. This adds logic that would be needed but would make the UX much better.
Another option that could be looked at is similar to argo where the target field is actually the clusters api endpoint. So for local you would have kubernetes.default.svc.cluster.local and for others you would parse the api endpoint from the kubeconfig. Names may be more user friendly if naming is done well, but api endpoint is definitive and is the actual target.

How about creating another field for ClusterTarget and check if .spec.cluster. contain data. If something is there, we can read and parse .spec.cluster.kubeconfigSecretRef., find selected cluster name and add it to the ClusterTarget field. If not, add in-cluster or this to it. Does it make sense?

Any comment? :-)


Automated cherry pick of #216: 添加缺失的cl

Cherry pick of #216 on release/2.8.0.
#216: 添加缺失的cl

/approve
/lgtm


unable to handle multiple inputs

it does not seem to work when my forward function has more than one args.

like this format! summary(net, [(1, 128, 128), (1, 128, 128)])
If it doesn't work, plz show more code and error description.

like this format! summary(net, [(1, 128, 128), (1, 128, 128)])
If it doesn't work, plz show more code and error description.

it works!
Thanks


implement plymorphic property testing with an existing interpreter

What interpreters to use?

wasmi
wasmtime

Add a boilerplate macro?

Thoughts on polymorphic testing
I've been thinking more about this issue, especially after our discussions on Wednesday. I keep coming back to the question "When will we need to test our implementation against another engine?". To answer this question, I think it's relevant to see what types of tests we might need:

Op code functionality testing with optional internal state analysis. For this we won't need polymorphic testing since we don't really care if other engines correctly interpret an op code or not. More so, it is irrelevant to us (and somewhat difficult) to analyze the internal state of the other engines. Comparing something like Storage might be doable, but more than that is going take a lot of work.

There is something to be said about using other engines to CREATE our tests. However, if we use a macro to instantiate & run all engines for a test, should that prototyping code exist in the final code - does it bother us? How should we proceed with this?

Functionality testing (for example, testing the whole suite of SIMD instructions). It might be interesting to test against another engine, but it's still mostly irrelevant. For this we also have the wasm spec testsuite. Both wasmi and wasmtime use it.

Fuzzy testing. For this I believe it actually makes sense to compare our results to the other engines to see if differences appear. In this scenario all we would need to analyze is the final output (or at worst individual results after each function call) to determine "compliance".

In all of these cases, I don't see much more of a need then to instantiate all of the engines and put to extract results out of them, and assert that they are all equal (as per the final comments in PR #16 ). However, if we concentrate our efforts to what we will need on the short-term for an MVP, then I would consider Fuzzy Testing to not be relevant to us right now.
Boilerplate
As for the boilerplate in creating our own interpreter, I think I can quickly create a small macro that would look something like this:
let wat = r#" ... "#;
init!(wat, instance);

assert_eq!(10, instance::invoke_func::<i32,i32>("add_one", 9);
...

That would just rewrite it as
let wat = r#" ... "#;
let wasm_bytes = wat::parse_str(wat).unwrap();
let validation_info = validate(&wasm_bytes).expect("validation failed");
let mut instance = RuntimeInstance::new(&validation_info).expect("instantiation failed");

assert_eq!(10, instance::invoke_func::<i32,i32>("add_one", 9);
...

Is there something else we would need if we focus just on our intepreter? For multiple interpreter I've made some macros in this commit. I didn't open a PR for it since I want to first discuss if we need it.
WAST/Specification test parsing
On the topic of using the wasm spec testsuite, the .wast files in it has a format different from the usual .wat files. The assert_return, invoke, assert_malformed, etc. are not supported by the wat crate. I took a look at how wasmtime and how wasmi does it, and they both seem to use the wast crate for parsing, and then interpreting it.
After some digging, the .wast files seem to be "script" files, which have their format described here: https://github.com/WebAssembly/spec/tree/master/interpreter#scripts
I was thinking we could use it ourselves, but the downside is that we have to create a pre-verification step that interprets these new directives. The AST described for these secripts seems quite complicated, but from taking a quick glance at the .wast files in the specsuite, the more complicated directives like assert_exhaustion, script, input, output are rarely used.
What do you think? Should we move forward with wast, or should we do this another way?

In all of these cases, I don't see much more of a need then to instantiate all of the engines and put to extract results out of them, and assert that they are all equal (as per the final comments in PR https://github.com/DLR-FT/wasm-interpreter/pull/16 ). However, if we concentrate our efforts to what we will need on the short-term for an MVP, then I would consider Fuzzy Testing to not be relevant to us right now.

That is a quite sensible assessment IMHO.

Is there something else we would need if we focus just on our intepreter? For multiple interpreter I've made some macros in this commit. I didn't open a PR for it since I want to first discuss if we need it.

Not in the MVP, AFAICT. Of course on can always grow the scope. Just the macro as presented in you example only tests one interpreter; so it is a test creation convenience, but polymorphic. It becomes polymorphic from the moment where do two different things that should behave equivalent, i.e. call the same wasm code in two interpreters.

What do you think? Should we move forward with wast, or should we do this another way?

I think, WAST is the gold standard. If we pass 100% of the WAST tests, then we are quite sure that we do good. I'm a little afraid if I read about scripts and custom AST. That sounds like a lot of work. And it sounds like a lot of potential to invest time into on elaborate approach, only later to find a major roadblock with that approach. So, we should do it, but we should be very careful and thoughtful on how to do it.

Successful completion of #43 will help with this issues. wast testsuite files are interpreted at runtime and the argument's types are only known at runtime.


Calculate Mean and Median Issues

Similar to the original paper[^1] reviewers requested to see the mean and median values of issues (e.g., number of missing entities, number of superfluous entities). Calculate these statistics.
[^1]: Femmer, H., Kučera, J., & Vetrò, A. (2014, September). On the impact of passive voice requirements on domain modelling. In Proceedings of the 8th ACM/IEEE international symposium on empirical software engineering and measurement (pp. 1-4).

The mean and median issue could be calculated in a separate sheet in Excel already.


update demo.availity.com with secondary More menu under each major category

http://demo.availity.com/public/apps/availity-uikit/navigation.html
Under Patient Registration | More...
Drug Prior Authorization (CCStpa)
Current Admissions Report (Humana)
Claims Missing Referrals (Humana)
Referral Report (Humana)
Radiology Referral Submission (Humana)
Authorization (Prestige Health Choice)
Online Batch Management
Under Claims | More...
Research Procedure Code Edits
Remittance Review (Humana)
Claim Review (Humana)
Fee Schedules (Humana)
Medical Records Management
Code Edit Simulator (Humana)
Dental Claim Reconciliation
Claim Research Tool (BCBSTX, OK, NM, MT, IL)
APG Claims (BCBSOK)
Refund Management - eRM (BCBSTX, OK, NM, MT, IL)
ASC Fee Schedule (BCBSOK)
Secure Messaging (Anthem CA, CO, NV and BCBSGA)
NDC Units Calculator Tool (BCBSTX, OK, NM, MT, IL)
Medicaid Claims Appeal and Reconsideration Form (BCBSTX)
Pended Claims Report (BridgeSpan)
Online Batch Management
EDI Reporting Preferences
Send and Receive EDI Files
EDI File Restore
Under Payments | More...
Pre-Authorization Forms
Card on File
Maintain Merchange Accounts
Administration

Not sure how to attach a screenshot here...


Add a sample window

Hello.
I spent a few days creating a window for the plugin, but I still couldn't do it.
for IDEA I could do it via JBPopupFactory.getInstance().createComponentPopupBuilder().
It would be easier if this was already in example. There is such an example in old template, but it doesn't work either.
Is it possible to add an example here?
Is there any up-to-date documentation explaining how to create a rider plugin window?

Hi! It should work precisely the same as in IDEA (if we are talking about a Rider plugin). What doesn't work for you?

Strange, but today, after trying again to do the same as for IDEA, I got the result I needed. Although, before creating the problem, I made sure that the methods found on the internet, as well as just generating Kotlin code in the same way as for the IDEA plugin, throws an exception indicating the action opening window, but without additional information.
I do not know why. But thanks for confirming that everything should work.)
It remains to understand how to display the result of cs-code in this window.

Next time you encounter such an error, please share the exception message and the stack trace; it would help us to diagnose the root issue.
I'm glad to hear the issue is resolved, anyway.

It remains to understand how to display the result of cs-code in this window.

If I understand correctly, then you could use the Rd protocol to pass data from C# to Java side of the plugin, and then show it.


Reword blocklist-action on "enable" screen to make it more clear

Is your feature request related to a problem?

This is s slightly confusing: "Enable" Vs. "Don't ask for this site again"?
I know one is "allow forever" and one is "block this page" but for a new user this could sound similar.
Describe the solution you'd like
A more precise/clear wording.
I.e.

Block this website from further requests

Are you working on this?
No

This can be closed ig?
Right now, we show "Block and Ignore https://pro.kollider.xyz"


Update _index.md

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Thank you!


Further Support?

Are you going to release a new update after old CDMs get revoked on May 31? Or are you just going to archive this repository with no further support?

No, this is not going to get updated to support newer CDMs.

No, this is not going to get updated to support newer CDMs.

Can you write a guide how you can leak the RSA private key in the old CDM?

This was already answered in other issues. I don't want the new key to get extracted, so maybe.


'Property 'error' is declared as 'id',

'Property 'error' is declared as 'id', which is not a supported RLMObject property type. All properties must be primitives, NSString, NSDate, NSData, NSNumber, RLMArray, RLMLinkingObjects, or subclasses of RLMObject.
but it works well yesterday..
class User: Object{
@objc dynamic var username:String = ""
@objc dynamic var password:String = ""
class  func tetxToModelWith(_ username:String,_ password:String)->User{
let user = User()
user.username = "RY"+username
user.password = password
return user
}
}
    viewModel.signedIn
        .subscribe(onNext: { [weak self] _ in
            //
            let realm = try! Realm(configuration: RealmConfiguration.shareInstance.setDefaultRealmForUser())
            try! realm.write {
                print(realm.configuration.fileURL!)
                realm.deleteAll()
            }
            if let username = self?.usernameOutlet.text, let password = self?.passwordOutlet.text{
               try! realm.write {
                   realm.add(User.tetxToModelWith(username, password))
                }
            }
        })
        .disposed(by:disposeBag)

class RealmConfiguration {
static let shareInstance = RealmConfiguration()
func setDefaultRealmForUser()->Realm.Configuration{
var config = Realm.Configuration()
config.fileURL = config.fileURL!.deletingLastPathComponent().appendingPathComponent("User.realm")
return config
}
}
can u help me ?

solve it 。。。。

how do you solve it?


BufferedMutator Throttling should be optimized

We should have more mutations per requests (500 mutations , 1 MB), and fewer requests per channel (10).
Throttling state should have better logging

The first thing was done.  We need to add more logging.


feat(index.js): better import

Added index.js for a direct and better import components.
Updated dependencies.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Jesus A Hernandez de Rojas seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Thanks for opening this and sorry for the delay - I'm going to close this for PR #13 which will fix this and add some additional components. We're looking into getting this on NPM next.


AsChangeset works on a struct that only consists of primary keys on nightly

Deriving AsChangeset works with the proc-macro code-generation, but not via syntex/macro generation, if fields turns out to be empty. This happens if the struct contains nothing but primary keys (e.g. n:m relation tables).
Having an AsChangeset implementation on such a struct is of course not very useful and should most likely not be supported. I just noticed this inconsistency and think it should be fixed.

This can be closed now that #1074 has landed.


[SuperTextField] undo/redo support

@matthew-carroll
We've had some requests for undo/redo support. We'd be interested in this feature depending on the complexity/time it would take to implement.
Ideally, we want it to match the native undo-redo, but would be open to a rougher implementation to start.
One idea api-wise would be to add some sort of undo checkpoints. But I'd need to investigate more how undo/redo works on a native Mac text field.

@osaxma thanks for the input. That's pretty much what I've had in mind. Hopefully it works out.
One additional aspect that we'll need to factor in is persistence. I think we'll want the ability to serialize and persist the event log. This might be accomplished by adding a serialization/deserialization responsibility to each command. Or, perhaps desired changes should be represented as events and then those events are executed by commands.
We'll also need some kind of composite command, or transaction, such that multiple changes are executed or undone as a single operation. But order within a transaction still matters, so that has to be taken into account, too.

We have a naive implementation of undo/redo running in production that I think may work fine for a default SuperTextField which just needs to mimic native undo/redo behaviors. I'll share it early next week.
On an event-sourced implementation, I have some thoughts on approach, but need to organize them before sharing.

@matthew-carroll I noticed that for the AttributedText class you've got a note saying:

I moved our internal undo/redo implementation to an event-sourced strategy. It is similar to what @osaxma has suggested and is extensible to other needs.
To represent the entire state of a SuperTextField, I've introduced a TextEditValue which contains text and selection. This is similar to how a TextEditingControlelr has a TextEditingValue. (This might cause confusion so consider this a placeholder for a better name.)
Here's an example flow:

The character A is pressed
The handler calls controller.execute(ReplaceSelectedText(char))
The ReplaceSelectedText returns a Edit<TextEditValue> which represents a state change for TextEditValue. The edit has forward and reverse method.
We call timeline.forward(edit) to advance the state based on the edit. The timeline maintains a history of edits in case of undo/redo.
We set text/selection on the controller based on the current value

Some advantages to this approach:

The text/selection get set only once after executing a command. This should make code easier to reason about since contoller.text and controller.selection are "frozen" until the very last line of code where we apply the change.
Having a distinction between commands & edits, we'd only have to implement serialization and forward/reverse for a small number of edit primitives. (In my implementation there's only 2.) Anything that composes on top of these gets forward/reverse and serialization for free.
It's extensible. We could write our own custom commands and edits in a separate file and make use of them. As long as they respect the interfaces, should work and undo/redo should keep working.

Here are the interfaces:

interfaces.dart
abstract class Edit<T> {
  T forward(T current);
  T reverse(T current);
}

class TextEditValue {
  const TextEditValue({
    required this.text,
    required this.selection,
  });

  final AttributedText text;
  final TextSelection selection;

  @override
  bool operator ==(Object other) {
    if (identical(this, other)) return true;
    if (other is! TextEditValue) return false;
    // @TODO, understand why we can't compare AttributedText for equality
    return selection == other.selection && text.text == other.text.text;
  }

  @override
  int get hashCode => text.hashCode;

  @override
  String toString() {
    return 'TextEditValue(text: $text, selection: $selection)';
  }

  TextEditValue copyWith({AttributedText? text, TextSelection? selection}) {
    return TextEditValue(
      text: text ?? this.text,
      selection: selection ?? this.selection,
    );
  }
}

abstract class TextEditCommand {
  const TextEditCommand();

  Edit<TextEditValue> execute({
    required TextEditValue value,
    SuperSelectableTextState? state,
  });
}

All edits are composed from TextEdit and SetSelection:

edits.dart
import 'package:flutter/rendering.dart';
import 'package:platform_super_textfield/src/text_edit_value.dart';

import 'edit_timeline.dart';

class TextEdit implements Edit<TextEditValue> {
  const TextEdit.replace({
    required this.start,
    required this.find,
    required this.replace,
    required this.previousSelection,
  });

  const TextEdit.delete({
    required this.start,
    required this.find,
    required this.previousSelection,
  }) : replace = '';

  final int start;
  final String find;
  final String replace;
  final TextSelection previousSelection;

  @override
  TextEditValue forward(TextEditValue current) {
    final text = current.text;
    final textWithRegionRemoved = find.isEmpty
        ? text
        : text.removeRegion(
            startOffset: start,
            endOffset: start + find.length,
          );
    final updatedText = textWithRegionRemoved.insertString(
      textToInsert: replace,
      startOffset: start,
    );
    return current.copyWith(
      text: updatedText,
      selection: TextSelection.collapsed(offset: start + replace.length),
    );
  }

  @override
  TextEditValue reverse(TextEditValue current) {
    final text = current.text;
    final textWithRegionRemoved = replace.isEmpty
        ? text
        : text.removeRegion(
            startOffset: start,
            endOffset: start + replace.length,
          );

    final updatedText = find.isEmpty
        ? textWithRegionRemoved
        : textWithRegionRemoved.insertString(
            textToInsert: find,
            startOffset: start,
          );

    return current.copyWith(
      text: updatedText,
      selection: previousSelection,
    );
  }
}

class SetSelection implements Edit<TextEditValue> {
  const SetSelection({
    required this.previous,
    required this.next,
  });

  final TextSelection previous;
  final TextSelection next;

  @override
  TextEditValue forward(TextEditValue current) =>
      current.copyWith(selection: next);

  @override
  TextEditValue reverse(TextEditValue current) =>
      current.copyWith(selection: previous);
}

edit_timeline.dart

import 'dart:collection';

class EditTimeline<T> {
  EditTimeline({
    required T current,
    this.addToHistory,
  }) : _current = current;

  // The timeline looks like this:
  // [..._pastEdits, _current, ..._futureEdits]

  final Queue<Edit<T>> _pastEdits = ListQueue<Edit<T>>();
  final Queue<Edit<T>> _futureEdits = ListQueue<Edit<T>>();

  final void Function(Queue<Edit<T>> history, Edit<T> edit)? addToHistory;

  T _current;
  T get current => _current;

  // Move the history forward
  // All future values will get erased
  void advance(Edit<T> edit) {
    _current = edit.forward(current);

    final addToHistoryHandler = addToHistory ?? defaultAddToHistory;
    addToHistoryHandler(_pastEdits, edit);

    _futureEdits.clear();
  }

  bool get canUndo => _pastEdits.isNotEmpty;
  void undo() {
    assert(canUndo);
    final edit = _pastEdits.removeLast();
    _current = edit.reverse(_current);
    _futureEdits.addFirst(edit);
  }

  bool get canRedo => _futureEdits.isNotEmpty;
  void redo() {
    assert(canRedo);
    final edit = _futureEdits.removeFirst();
    _current = edit.forward(_current);
    _pastEdits.addLast(edit);
  }
}

void defaultAddToHistory<T>(Queue<Edit<T>> history, Edit<T> edit) {
  history.addLast(edit);
}

We can control how we handle checkpointing by implementing a custom addToHistory handler. In our implementation, we sometimes wrap a series of edits inside of a CompoundEdit so that undo/redo will undo all of them at once.
This can be customized depending on app's use case.

add to history handler

// This handler is intended to roughly mimic how desktop and web platforms
// implement undo/redo in native text fields. There may be more sophisticated
// ways to implement undo/redo, but that is out of the scope of the default
// platform text field
void defaultAddToHistoryHandler(
  Queue<Edit<TextEditValue>> history,
  Edit<TextEditValue> edit,
) {
  bool _shouldMergeEdits(
      {required Edit<TextEditValue> prev, required Edit<TextEditValue> next}) {
    return prev is TextEdit &&
        next is TextEdit &&
        prev.find.isEmpty &&
        prev.replace.isNotEmpty &&
        next.find.isEmpty &&
        next.replace.isNotEmpty;
  }

  // we don't want to persist purely selection updates to history
  if (edit is SetSelection) return;

  if (history.isEmpty) {
    history.addLast(edit);
    return;
  }

  final prevEdit = history.last;
  if (edit is TextEdit && prevEdit is CompoundEdit<TextEditValue>) {
    if (_shouldMergeEdits(prev: prevEdit.edits.first, next: edit)) {
      history.removeLast();
      history.addLast(CompoundEdit([...prevEdit.edits, edit]));
    } else {
      history.addLast(edit);
    }
  } else if (_shouldMergeEdits(prev: prevEdit, next: edit)) {
    history.removeLast();
    history.addLast(CompoundEdit([prevEdit, edit]));
  } else {
    history.addLast(edit);
  }
}

Maybe it's better to do this over a call once I've cleaned up and documented everything?

I know you're partly done with this, but have you considered using a redux-style model?  I was able to implements this pretty simply by just adding a clone() method on each DocumentNode (an immutable model might be better).  At regular intervals, I capture a snapshot of the nodes in the document, and then simply undo/redo is simply a matter of replacing all nodes in the document with a prior version.
Tying "undo" to the EditorCommand may not be desired behavior, for example, it will be annoying if "undo" of text happens one letter at a time.

I have an on-going technical proposal for undo/redo here: https://github.com/superlistapp/super_editor/discussions/243
That proposal is all about "event sourcing". Redux is a specific, opinionated implementation of event sourcing.
This project definitely won't adopt Redux because Redux wants to reach it's tentacles into every aspect of your app, but the final structure will probably have pieces that look similar to a "store" and "actions"

Will this be implemented anytime soon?


loading files using Babylon's load file

The loading processes will be aborted is viewer is disposed.


CVE-2021-42377 reported in prometheus/alertmanager:v0.23.0

Our docker image scanning tools reported that alertmanager:v0.23.0 has CVE-2021-42377 with following description

An attacker-controlled pointer free in Busybox's hush applet leads to denial of service and possible code execution when processing a crafted shell command, due to the shell mishandling the &&& string. This may be used for remote code execution under rare conditions of filtered command input.

Is it possible creating newer version of this image to resolve this CVE ?

closed by #3187


Where can we run the scheduled ACR task?

[ I have seen the commands to schedule an ACR task. Can you describe where can we run the command?]

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

ID: 40e52f8e-a63e-3e85-6c84-f881db5d3b6c
Version Independent ID: 1290c892-ea9d-d12c-be84-7ed75f28fca0
Content: Purge tags and manifests - Azure Container Registry
Content Source: articles/container-registry/container-registry-auto-purge.md
Service: container-registry
GitHub Login: @tejaswikolli-web
Microsoft Alias: tejaswikolli

Thanks for posting your query.
You can run the command to schdule ACR task on Azure CLI or Cloud shell on Azure portal.
The easiest way to learn how to use the Azure CLI is by running it in an Azure Cloud Shell environment through your browser. To learn about Cloud Shell, see Quickstart for Bash in Azure Cloud Shell.
Azure Cloud Shell is an interactive, authenticated, browser-accessible shell for managing Azure resources. It provides the flexibility of choosing the shell experience that best suits the way you work, either Bash or PowerShell.
You can access the Cloud Shell in three ways:
Direct link: Open a browser to https://shell.azure.com/.
Azure portal: Select the Cloud Shell icon on the Azure portal
Code snippets: In Microsoft technical documentation and training resources, select the Try It button that appears with Azure CLI and Azure PowerShell code snippets
Reference documents :
https://docs.microsoft.com/en-us/azure/cloud-shell/overview
https://docs.microsoft.com/en-us/cli/azure/get-started-with-azure-cli
Let me know if you have further questions.

Hi @Karishma-Tiwari-MSFT
Thank you for the quick response. Is cloud shell the only option to the schedules ACR? Is it possible to run it in the pipeline? Can you suggest the best approach to auto purging the docker images from the azure container registry?

I have reached out to the internal team to confirm on this. Thanks.

The ACR cli that's included in the ACR task is a binary that's also available to users.
See https://github.com/Azure/acr-cli
You can use CLI's instruction if you want to use it outside of ACR task.
If you plan to use the purge functionality in a pipeline without using acr-task, this is the way to do it.
Alternatively, you can also simply invoke acr-task every time you run the pipeline.

Hi @Karishma-Tiwari-MSFT
Thank you for the update


broke my blog changing font

ok..
I had 2 posts on my Drummer blog.
I changed the header image today.
All was well.
Then I tried to change font by adding font attribute.
http://scripting.com/drummer/blog/2022/03/04/170046.html?title=changingTheFontOnYourOutlines#a170157
I added "font" on left side and "tahoma" on right side in "Edit opml headers"
I hit "build blog" ..
posts disappeared

error

OPML
drummer.scripting.com/moosebegab/blog.opml

@moosebegab
it looks like you left a blank line in the edit headers dialog, one with an empty name and an empty value.
this is something we probably should check for, because if we write it out it will create an invalid file, which appears to be what happened here.
since you can't edit it, i guess, i'll go in and make the change manually.

@moosebegab
it looks like you left a blank line in the edit headers dialog, one with an empty name and an empty value.
this is something we probably should check for, because if we write it out it will create an invalid file, which appears to be what happened here.
since you can't edit it, i guess, i'll go in and make the change manually.

Thanks, Dave : )
All good now!


Some questions about dff mapping

Hello! I encountered several problems in the process of using openfpga,

When using script 1 for synthesis, the result is as shown in Figure 1, that is, DFF_NP0 and DFF_NP1 appear, but in k6_frac_N1o_tileabl...racff_40nm_dff_map.v
These two DFF modules are not found in this file, so the VTR part cannot pass, so I would like to ask you, can I build the two modules DFF_NP0 and DFF_NP1 in k6_frac_N1o_tileabl...racff_40nm_dff_map.v by myself? (As shown in Figure 2), the VTR can indeed pass after this construction, but I am worried that it will affect other parts, so I still want to ask if there are still places that need to be modified or if this modification is not acceptable.
The __soft_mul module also appears in the synthesis result, and this module cannot perform the corresponding VTR part. How should this be handled? Is it possible to use chtype -map $__soft_mul $mul to change his type? Is there a better way?
fig1:

script:
# Yosys synthesis script for ${TOP_MODULE}
#########################
# Parse input files
#########################
# Read verilog files
${READ_VERILOG_FILE}
# Read technology library
read_verilog -lib -specify ${YOSYS_CELL_SIM_VERILOG}
#########################
# Prepare for synthesis
#########################
# Identify top module from hierarchy
hierarchy -check -top ${TOP_MODULE}
# - Convert process blocks to AST
proc
# Flatten all the gates/primitives
flatten
# Identify tri-state buffers from 'z' signal in AST
# with follow-up optimizations to clean up AST
tribuf -logic
opt_expr
opt_clean
# demote inout ports to input or output port
# with follow-up optimizations to clean up AST
deminout
opt
opt_expr
opt_clean
check
opt
wreduce -keepdc
peepopt
pmuxtree
opt_clean
########################
# Map multipliers
# Inspired from synth_xilinx.cc
#########################
# Avoid merging any registers into DSP, reserve memory port registers first
memory_dff
wreduce t:$mul
techmap -map +/mul2dsp.v -map ${YOSYS_DSP_MAP_VERILOG} ${YOSYS_DSP_MAP_PARAMETERS}
select a:mul2dsp
setattr -unset mul2dsp
opt_expr -fine
wreduce
select -clear
chtype -set $mul t:$__soft_mul# Extract arithmetic functions

#########################
# Run coarse synthesis
#########################
# Run a tech map with default library
techmap
alumacc
share
opt
fsm
# Run a quick follow-up optimization to sweep out unused nets/signals
opt -fast
# Optimize any memory cells by merging share-able ports and collecting all the ports belonging to memorcy cells
memory -nomap
opt_clean

#########################
# Map logics to BRAMs
#########################
memory_bram -rules ${YOSYS_BRAM_MAP_RULES}
techmap -map ${YOSYS_BRAM_MAP_VERILOG}
opt -fast -mux_undef -undriven -fine
memory_map
opt -undriven -fine
pmuxtree
#########################
# Map flip-flops
#########################
techmap -map ${YOSYS_DFF_MAP_VERILOG}
opt_expr -mux_undef
simplemap
opt_expr
opt_merge
opt_rmdff
opt_clean
opt

#########################
# Map LUTs
#########################
abc -lut ${LUT_SIZE}

#########################
# Check and show statisitics
#########################
hierarchy -check
stat
#########################
# Output netlists
#########################
opt_clean -purge
write_blif ${OUTPUT_BLIF}

fig2:

@kangliyu1 Whether to add DFF_NP0 and DFF_NP1 depends on if your architecture can support it or not. If I remember correctly, the architecture you showed supports these. That is why they are there.
Regarding your synthesis results, I think the synthesis flow failed to map some logics. That is why you see these internal modules whose names start with $. You may need to optimize your synthesis scripts.

2. chtype -map $__soft_mul $mul

It seemed that it was not supported at first, so I added two structures, DFF_NP0 and DFF_NP1, in Figure 2. I don’t know if there will be other bad effects. After I added these two modules, the synthesis can be passed.
$__soft_mul is indeed not mapped, because there is no such module, and the relevant description of this module has not been found, and then after the Map multipliers are deleted, it is not mapped to this module, but I need Map multipliers, so I have been adjusting it, and finally By adding "chtype -map $__soft_mul $mul" the script can be passed, but this is the statement that changes __soft_mul to mul. It feels that it will have some impact on the follow-up, so I want to ask if you have a better way,
一开始好像是不支持的，所以我在图二那里添加了DFF_NP0 和 DFF_NP1这两个结构，不知道是否会出现其他不好的影响，我加了这两个模块之后确实是综合可以通过了。
$__soft_mul确实是没能映射，因为没有这个模块，同时也没找到这个模块的相关描述，然后把Map multipliers删除之后就没有映射到这个模块了，但是我需要Map multipliers，所以一直在调整，最后是通过添加”chtype -map $__soft_mul $mul“脚本导致的可以通过，但是这个是将__soft_mul 变为mul的语句感觉会对后续产生一些影响所以想问问您是否有更好的办法，


fix(start.js): remove code to delete myself session data

Do not delete the myself session data at the start of the relevant reps submission journey.  This data will be initialised in the type-of-party.js controller.  By not deleting it we will reduce the number of null data issues.
In production we are seeing the same session Id completing multiple journeys which is causing the initial journey with deleted myself session data to throw errors.

:tada: This PR is included in version 2.3.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 2.3.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


new_user.py:23: Перенести классы в отдельные файлы 54

The puzzle 899-1f5dab30 from #899 has to be resolved:
https://github.com/blablatdinov/tg-quranbot/blob/befd7a82bfe71bd69d99ed14f929dfb2dfae4157/src/srv/users/new_user.py#L23-L23
The puzzle was created by Ilaletdinov Almaz on 20-Jun-24.
role: DEV.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

The puzzle 899-1f5dab30 has disappeared from the source code, that's why I closed this issue.


Add Linkbacks Moderation Option and Start of Configuration Settings

This adds some functions for adding settings to the Discussions page. I was adding them to allow the settings to be turned on/off.
But the first moderation setting idea I was ready to commit to uses the Comment Author must have had a previously approved comment setting in the existing option set for now, and checks linkbacks, but not comments. It will auto-approve a linkback(pingback/webmention/trackback) if the URL matches that of a previously approved URL.
Unlike a comment, where the user could enter anything they wanted manually, the author URL on a linkback would be source-verified.
The linkback_approved function contains a filter to externally add more functions that are not subsequently built in.

Closing this until I finish the adjustments. Premature.


Generic keystore

As a first step towards setting keys via rpc this makes the keystore generic to support multiple cryptos.

I'm not convinced this has been well thought-through in terms of how consensus engines are meant to deal with updates from the key-store.
Can you shed some light on the architecture ideas you have?

(needs merge & tests fail)

(I'm not a keystore person and I just commented by curiosity, but looks good to me for what it's worth)


Use rules to rename "Unknown Project"

Is there some way to rename the "Unknown Project" placeholder to something else? All of my projects and activity are in lower case so I wanted to change this text to match. Thanks.

Here are different ways to rename projects:
https://wakatime.com/faq#rename-projects

@alanhamlett I tried this, but it doesn't seem to work. See screenshots below:

I literally want to rename "Unknown Project" to be a different placeholder for unknown projects than the default "Unknown Project". I'd like it to say [miscellaneous] whenever an unknown project is encountered instead, since that conforms to all the other "catch all" project types I've defined via custom rules (i.e. [chrome/browser] for my terminal activity and [chrome/browser] for my browser activity).
I don't think it's currently possible, but it'd be really nice :)

Oh, since Unknown Project is actually null it's not able to match. I'll look into a special case for matching null as Unknown Project and update here with a solution.

@alanhamlett Any update? I'd be really interested in this feature, and it doesn't make sense to create folders for random files opened on Desktop, random folders, etc.
Even just renaming to miscellaneous would be nice.

Have you tried SpiderMonkey or any other script executor? It is a downside if you access from multiple devices / browsers to add the extension to them all but at least it's a solution.
I think this is a rather good solution as the change is just superficial and can be just done in the frontend.

I think allowing a rule to match empty/unknown project promotes using Custom Rules the wrong way. Instead, match the file path to set a project name as that won't incorrectly move activity into the wrong project.
At the most, we would add a user preference to change Unknown Project into something else but the effort required to support this isn't realistic. We won't be fixing this one.


Solve question 15 in java

This is a generic implementation of tree sets. It uses iterators to implement the set operations instead of creating temporary lists and repeatedly calling contains(). I think it's correct.


Fixed locating wrong depth pixel in rs2_project_color_pixel_to_depth_…

…pixel().

Using rs2_project_color_pixel_to_depth_pixel() api is to specify a range of depth that
input color pixel may reside in 3D. The range of depth represents a line on depth image.
We search along line for the depth pixel that its projected pixel is the closest to the
input color pixel.
For D435, the line is about horizontal so this api gets pixels in line and works fine.
But for L515, the line is about vertical so this api gets the pixel out of line due to
wrong arithmetic operator (should be typo).
This pull request fixes rs2_project_color_pixel_to_depth_pixel() locates wrong output depth pixel
on L515.
Please review this code. Thanks.

You are correct, closing as already fixed.
Thank you


Fix background color with iOS13 dark theme and wheel style in iOS14.

Replace the view's background color with system default background color of the chosen iOS theme (dark & light).
Removed some unnecessary background color definitions (hardcoded to white).
This pull request will fix issue #274.

Compiling this plugin with Xcode 12 will break the wheel selection.
Apple added with iOS 13.4 a new property called "preferredDatePickerStyle".
Setting this to "UIDatePickerStyleWheels" will restore the origin functionality.

@VitaliiBlagodir is this pull request going to be merged?
It looks like it's a simple solution that fixes a big issue.
Is this repository being maintained?
If you want, I can continue maintaining it and make sure I continue what you have created and continue helping the people using it, the same way you had done so far.
Thank you and cheers...