Support segmentation and non-segmentation in more decompression kernels

(copied from Issue #163 in the kernel testbench)
At the moment, most of our decompressors can be used with segment anchors or without them - but not both:

Scheme
Segmented
Unsegmented

BITMAP
N/A
🗹

RPE
🗹
🗷

DICT
🗷
🗹

FOR
🗹
🗷

MODEL
🗷
🗹

NS
N/A
🗹

NSV
🗹
🗷

RPE
🗹
🗷

RLE
🗹
🗷

First, segment execution is important even as a single option; so MODEL and DICT should definitely have it. Then, it would be nice to support, at least for the sake of completeness, the unsegmented versions of these schemes, especially DELTA for benchmarking purposes, and RPE for cases where the overall support of the column is so small that segmentation is mostly a hassle.

For the DICT scheme, we'll need to choose between uniformity and flexibility.
In the uniform extreme of the spectrum, we'll have:

Fixed size dictionaries
Fixed element size per dictionary
An actual new dictionary copied in for every segment of the compressed data (even if it's very similar to the previous segment's dictionary)

And in the flexible extreme (or close to it) we'll have:

A variable-length, and variable-width, array of dictionary entry data
For each segment, a dictionary descriptor:

An indication of where the dictionary begins in the variable-length dictionary data
The dictionary's length (number of entries)
(Possibly) The dictionary index size in bytes or in bits; this could theoretically be deduced from the dictionary's length - but that depends too much, perhaps, on the decompressing software's capabilities
... and note that a segment might simply refer to the same dictionary as its predecessor; or we might even allow it to expand its predecessor's dictionary by starting at the same place and extend further.

I'm leaning toward the more flexible extreme.


Error on mobile dragging

When I was testing on touch devices, drag do not works. Then I try to debug and on console is show the following error:
[Error] TypeError: undefined is not an object (evaluating 'evt.touches[0]')
onlongpress (ngDraggable.js, line 118)
(anonymous function) (ngDraggable.js, line 95)
Is there any solution?

Additional information:
the touches array in evt doesn't exist on evt. Is there anything I have to do to make this array appear?

just merged in a PR, that i think will fix this. Let us know how it goes.

Perfect! It works smoothly. Thanks!


Add the drop_deinit instruction

The drop_deinit instruction is a marker for a following destroy instruction to suppress the call of the move-only type's deinitializer.
SILGen needs to insert drop_deinit in move-only deinitializers to avoid that - due to other optimizations, like inlining - the deinitializer call is inserted multiple times.
rdar://105798769

@swift-ci test


⚠ Bofrost.fr has degraded performance

In e4c9f23, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 936 ms

Resolved: Bofrost.fr performance has improved in 874dba8 after 7 minutes.


Add note on installing azcopy on alpine

As provided, the instructions (wget then tar) do not work when installing azcopy on alpine.
Some users will see:
sh: ./azcopy: not found

It would be helpful if a note was added that apk add libc6-compat may be required when using alpine.

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

ID: 15911160-5ba2-fb0a-0b24-16b3857e20ce
Version Independent ID: d925bc9f-f825-2f82-168c-6c30d716b9ce
Content: Copy or move data to Azure Storage by using AzCopy v10
Content Source: articles/storage/common/storage-use-azcopy-v10.md
Service: storage
Sub-service: common
GitHub Login: @normesta
Microsoft Alias: normesta

@derekbekoe Thanks for the feedback. We are investigating into the issue and will update you shortly.

use ubuntu, it works on that.

Thanks for the feedback! Given the many Linux distributions we've removed distribution-specific guidance on downloading and decompressing tar files and instead are referring readers to the documentation of their respective distributions for guidance on those tasks.

#please-close


fix nerfstudio collate function

This fixes the nerfstudio collate function in cases where metadata, distortion, or times isn't specified in the cameras structure to collate.

@jb-ye hopefully the latest update addresses your PR feedback!


Modern Object Pascal - Read Section 2

Section 2 of Modern Object Pascal is read & understood.
Acceptance Criteria:
GIVEN the development environment has been setup
WHEN I want to develop using Pascal
THEN I can
As a developer, I want to read Modern Object Pascal so that I can write code using the Pascal language.
https://castle-engine.io/modern_pascal_introduction.html

Finished reading on 10/23. Added basic code written while going through the section.


Unsaved changes are overwritten when formatting

Thanks for making this! I'm working with Django templates and thought I'd give it a try.
It works great if I save my changes and then manually choose to format. However, if I forget to save my changes, or if I have editor.formatOnSave set to true for django-html, it overwrites my (unsaved) changes when formatting.
Looks like we're running djhtml over the saved file, rather than the vscode.TextDocument's current contents, here:
https://github.com/tomusher/djhtml-vscode/blob/e978c9e3acf7264daeb28c48fb8721897462b64d/src/extension.ts#L47
Is this something you'd take a PR for?

Good catch thank you! I'd absolutely take a PR for this.

Please have a look at this issue. I just stumbled over this issue. The extension is unusable in its current state.


Creates test and tweak single page font

Fixes #4950
Without page attributes for the <char /> element, falls back to a default of 0 instead of creating a 0 width and 0 height Texture.
cc @ceco-fmedia

I think I’ve noticed another major flaw in the BitmapText loader, it assumes that the images are loaded in the correct order of the ids of the page elements. The registerFont method should probably take a map of page ids or names to Textures in addition to an Array.


Compile sass only if changed, and build if files changed

I had the issue when using "dotnet watch run" that it did not detect .scss changes.
I added support and also conditional support for skipping the sass targets if nothing changed.

Skip sass compile when the hash of filenames and modification dates changed.
Allows control from within your project files to specify what files to compile
Added package.ps1 for my convenience (packages .nupkg)
Added instructions for DisableFastUpToDateCheck

Kind regards,
Jelle

Hi Jelle, thanks for the PR!
There's a lot of good value in here, and have a few questions...
Watching files
Another option to watch the files (instead of DisableFastUpToDateCheck) is:
<ItemGroup>
	<!-- extends watching group - https://docs.microsoft.com/en-us/aspnet/core/tutorials/dotnet-watch?view=aspnetcore-5.0#customize-files-list-to-watch -->
	<Watch Include="**\*.scss" Exclude="**\*.css" />
</ItemGroup>

I've been using that config which works pretty well (except for the Exclude which is described here)
Can you see if that works for you? And perhaps also add in the docs as another option..?
Skip files if nothing changed
I like the idea of the hash, but not a massive fan of the .cache file tbh...
There's currently a check to see if the file contents has changed. Looks like that condition is still in your changeset as well.
Checking the contents probably isn't the best for perf, but honestly hasn't had a massive impact yet.
Perhaps we can think of another way to check the hash rather than storing in file?
Specify excluded files/folders
This has been requested previously, so really nice feature!
Again though, I'd prefer not having to deal with another custom .sass-list file. These temp files can be very imposing and annoying if users don't want the feature.
The other thing to keep in mind is the usage with CLI via the global tool. So I'd really like to parse the args better with something like the Command Line Parser.
Then the MSBuild props/target send those through as default args..?
Also would be nice to see how a consumer could specify/override that in their .csproj

Watching
I tried something with CustomCollectWatchItems and _LibSassBuilderCustomCollectWatchItems
in the .props and .targets files. That is enough to get dotnet watch run satisfied.
However VS still excluded the project from the build.
Hashing
I know... I don't like files either, I noticed unchanged files don't get overwritten, as is the hash file. I made sure to calculate the hash in memory over filenames/modification dates. And read back the old value, only writing back if it has detected a change.
Is there currently a better mechanism to prevent execution?
Files /folder
I know... I don't like temporary files either, esp the .sass-list.
I tried to pass the files as argument to the tool. But it the Exec task could not be persuaded to execute all in one execution. It fired up the tool per file. That hit was somewhat high. So for now I did this as a workaround.
The tool is already capable of having either multiple directories, files or .sass-list files passed to it.
I updated the readme to for the project options.
Future
It might be nice to be able to specify a target directory (per-css-file-basis?). I did not need that just yet, but it could be specified on the project file  as an additional property. Or a default property in the project file.

I just doublechecked... the incremental compile in VS is not using
<ItemGroup>
    <Watch Include="**\*.scss" Exclude="**\*.css" />
</ItemGroup>

At least on my VS 2019, latest preview it is not recompiling if I only edit a .scss file.

I see what you mean with the DisableFastUpToDateCheck setting 👍 Thanks for updating those docs!
Not sure about that hashing yet, need some more time to think/investigate. I'll rather stick with the current implementation for now if that does the same job.
I've done some work on the console parsing args in this PR - your code gave me the idea to simply pass the args through, meaning the MSBuild task and CLI tool will work the same. So a BIG thanks for that! ⭐

I think what's best here is to update this, or create a new PR, for only the "file watching docs".
The hashing will have to be separate as that's a more intense task and requires quite a few testing scenarios as well.

I already commented on the other PR.
I like the project, and would like it to besides from being a valuable commandline tool to integrate better in the MSBuild environment. I think we can find a way for that.
But for the hashing... I see the code can be cleanedup.
But consider...

The directorylisting of files was already done by msbuild
Hash is calculated in memory
Is same for all other .net code (.razor files, .cs, .proto)
Reading one line from file to evaluate if it had changed

Your current solution

Kick of an external executable
Searches through all subdirectories in search for sass files
Generates .css
Reads in the old .css
If modified saves the file.

How could this ever be more efficient then skipping the whole step after reading 1 file in the msbuild task?
I agree it does not take ages, but that single hash-file is not that expensive, and entirely in line with what msbuild is doing.

I restructured the tasks a little... found a way to join all file names to a single list (so no need for .sass-list anymore).
Files are quoted and seperated by spaces.

I like it! You can add a --files option that would handle them as mentioned on that other PR...
Then we probably don't need properties for DefaultSassExcludes nor EnableDefaultSassItems..?
Would it be useful to have a property to disable this MSBuild behavior? I'm really not sure here...

I'll try to build this upon your version of the tool, I am just unsure on how this default directory would look in the commandline nuget package. But I'll give it a shot, you can always refactor again...
EnableDefaultSassItems & DefaultSassExcludes
For the EnableDefaultSassItems, it just removes the default  item, so you are able to do this completely on your own terms. It is effectively the same as msbuild does for content and compile items.
It is in line with what the default project system provides: https://docs.microsoft.com/en-us/dotnet/core/project-sdk/msbuild-props#default-item-inclusion-properties
I thought there should be a way to at least exclude node_modules. So I modelled it after how it has worked ever since asp.net 3

Ah okay think I understand... Those properties will assist MSBuild in which files to include/watch and send through to LSB..?
That might be a bit confusing with the --exclude flag as well, but I see the benefit of it. They also seem somewhat mutually exclusive, but could just be explained with good docs.
My initial thought is to then use your properties by default. But if <LibSassBuilderArgs> properties are provided, it should override all others. Thoughts?

I'll create a new PR based on the new tool command arguments


Line comment does not work in \cite

Sometimes I use the \cite command with a multi-lined argument with line comments. But the syntax highlighting does not seem to work for line comments in the \cite command.

VSCode Version: 1.57.1
OS Version: Windows_NT x64 10.0. 19042

Steps to Reproduce:

Write any comment lines in the \cite command argument.

Expected behavior:

Syntax highlighting should work for comment lines in \cite.
Logs:

None. (Sorry, I do not see any logs starting with Initializing LaTeX language support. Please clearly document how and where one can find it.)
Screenshots:

Disable all the other extensions except for LaTeX language support, and check that you still see this issue? Yes.

@tueda Thanks for your feedback. I'll check it.


Improve README

What
Improves readme with the following:

Fixes missing backslash in example
Makes assumptions easier to read
Restructures into a much more readable format
Makes shell examples easier to copy and paste into the terminal
Fixes typos and bad grammar
Makes usage (jump-host) and lack of user management a lot clearer
Clearer / More Consistent headers under Usage section

... generally makes the document much more linear and easier to follow as a new-user.

LGTM

@tamsky able to put that LGTM as a review pls?


Inproper wrapper of response

#/load/{address}/addresses
{
  "code": "200",
  "data": {
    "code": "200",
    "data": [
      {
        "key": "ckb",
        "value": "ckt1qrejnmlar3r452tcg57gvq8patctcgy8acync0hxfnyka35ywafvkqgpgc5378xav7zf3e93ewcf40rcaskwfdf5qq9wz2f4"
      }
    ]
  }
}

The wrapper wraps response nestedly

How is it going


I can be admin from localStorage in the group, could this be a vulnerability?

When I make isAdmin true from local storage, I can give early show result, will this lead the system to an undesired behavior? @armagandalkiran

Hey! @mertcanaltin, what are your thoughts on using encrypted local storage? I believe the Crypto API can handle that situation. While role data can be stored in a database, this approach may help reduce the vulnerability level.

Hey! @mertcanaltin, what are your thoughts on using encrypted local storage? I believe the Crypto API can handle that situation. While role data can be stored in a database, this approach may help reduce the vulnerability level.

Thank you very much for your suggestion, @armagandalkiran  had mentioned a development about this, we thought that we could solve this situation with the credential of the users, but this idea can of course be in this idea

Hi! I think [RBAC](https://auth0.com/docs/manage-users/access-control/rbac#:~:text=Role-based access control (RBAC,assigning permissions to users individually.) needed for this development. So a little more planing needed for here may be we can add this on phase 2.


SPI values

Hi Chris, Stephen here again. I tried leaving you this question over on Easy EDA as it seems the more-appropriate place, but they block commenting.
Can you tell me what are the range of voltages/values to send via the ESP32's SPI to the MCP4822 DAC? In other words, if I wanted to draw a rectangle around the perimeter of the maximum projection area, what would be the values I'd send via SPI to reach each corner? I'm hoping your answer will help me determine how to plot points within that cartesian plane using your board and app.
Thanks in advance,
Stephen

Hey Stephen,
Apologies for not replying earlier. This is a slightly difficult question to answer as the maximum projection area is a bit of a loose concept.
The MCP4822 has 12 bits of resolution, so sending 0 will output 0v and sending 4095 will output 4.096v. We subtract 2.048 volts from that so we have a range of -2.048 to +2.048 and then amplify that by 2 to give us -4.096 to +4.096
This is a fairly safe conservative range to feed into the galvos - there's no danger of overdriving them and causing damage.
To try and define the maximum projection area - this really comes down to how fast you want to display your images. If you want a very big display then the galvos need to move a much longer distance - this tends to cause a lot of overshoot and distortion.
I ended up reducing the numbers I was sending out by half so I only use 1024 to 3072 giving me an output voltage of -2.048 to +2.048. I did this because driving it with the full range was giving me a lot of distortion and I was getting a reasonably large projection area with just these small values.
So, to summarise it a bit, You need to output values that are centred around 2048, how far you can go around that number will depend on how good your galvos are.
Hope that all makes sense!


Javascipt and HTML are in the wrong place

What happened?
Javascipt's code appears in HTML's Tab, and HTML appears in Javascipt's Tab

Fix via #929


pkg/runtime: simplify Utsname string conversion

Use Utsname from golang.org/x/sys/unix which contains byte array
instead of int8/uint8 array members. This allows to simplify the string
conversions of these members.
Signed-off-by: Tobias Klauser<EMAIL_ADDRESS>

Updated the PR to resolve the merge conflict in go.mod. Is there anything else needed for this to be merged?

Did another rebase to resolve merge conflicts.

Thanks!


fix(json-schema-form): do not receive old component's event

To Reviewers

[ ] Skipping review is not a problem (style, chore ONLY)
[x] Not that difficult

Type of Change

[ ] New feature
[x] Bug fixes
[ ] Feature improvement

[ ] These changes require a usage change

[ ] Others (performance improvement, refactoring, CI/CD, etc.)

Checklist

[ ] Updated Storybook documents for component
[ ] Wrote test codes for composable, utils and etc.
[x] Tested with console(if usages are changed)

Description
SSIA
Things to Talk About

:tada: This PR is included in version 2.0.0-beta.10 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Session crashes when launching some apps but not others

xrdp version
0.9.17
Detailed xrdp version, build options
xrdp 0.9.17
  A Remote Desktop Protocol Server.
  Copyright (C) 2004-2020 Jay Sorg, Neutrino Labs, and all contributors.
  See https://github.com/neutrinolabs/xrdp for more information.

  Configure options:
      --enable-ipv6
      --enable-jpeg
      --enable-fuse
      --enable-rfxcodec
      --enable-opus
      --enable-painter
      --enable-vsock
      --build=x86_64-linux-gnu
      --prefix=/usr
      --includedir=${prefix}/include
      --mandir=${prefix}/share/man
      --infodir=${prefix}/share/info
      --sysconfdir=/etc
      --localstatedir=/var
      --disable-silent-rules
      --libdir=${prefix}/lib/x86_64-linux-gnu
      --libexecdir=${prefix}/lib/x86_64-linux-gnu
      --disable-maintainer-mode
      --disable-dependency-tracking
      --with-socketdir=/run/xrdp/sockdir
      build_alias=x86_64-linux-gnu
      CFLAGS=-g -O2 -ffile-prefix-map=/build/xrdp-asBei3/xrdp-0.9.17=. -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security
      LDFLAGS=-Wl,-Bsymbolic-functions -flto=auto -ffat-lto-objects -flto=auto -Wl,-z,relro -Wl,-z,now -Wl,--as-needed
      CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2 -Wno-error=deprecated-declarations
      PKG_CONFIG_PATH=/build/xrdp-asBei3/xrdp-0.9.17/pkgconfig

  Compiled with OpenSSL 3.0.2 15 Mar 2022

Operating system & version
Ubuntu 22.04
Installation method
dnf / apt / zypper / pkg / etc
Which backend do you use?
xorgxrdp (I think) version 1:0.2.17-1build1
What desktop environment do you use?
GNOME
Environment xrdp running on
Physical machine with Intel Corporation HD Graphics 530 (rev 06)
What's your client?
Microsoft's official client from Mac app store
Area(s) with issue?
Crashes such as segfault
Steps to reproduce
After launching a session, the desktop shows up normally but attempts to launch certain apps (e.g., Videos) result in the session crashing and the client disconnecting.
✔ Expected Behavior
No response
❌ Actual Behavior
No response
Anything else?
xrdp-sesman.log
xrdp.log

The only significant thing in these logs is the session is getting a SIGTERM after 8 seconds..
Is there anything more useful in either ~simon/.xorgxrdp.10.log or from the system log (use this command):-
sudo journalctl -S '2023-10-30 08:37:21' -U '2023-10-30 08:37:30'

I have attached them below. Several warnings and errors but I'm afraid I don't understand what they are about.
xorgxrdp.10.log
journalctl.txt

Looks like #1367
A couple of questions:

Are you using multi-monitor?
What do you get for dpkg -l \*xrdp\*
What is you client colour depth set to?

@matt335672 Thanks for the quick reply.

Multi-monitor client-side; single or no monitor server-side
dpkg -l \*xrdp\* returns:

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version          Architecture Description
+++-==============-================-============-===============================================
ii  xorgxrdp       1:0.2.17-1build1 amd64        Remote Desktop Protocol (RDP) modules for X.org
ii  xrdp           0.9.17-2ubuntu2  amd64        Remote Desktop Protocol (RDP) server

16 bit, but I tried with 32 bit as well and that didn't help.

Thanks.
The suggestion in #1367 is this is fixed in neutrinolabs/xorgxrdp#121 but that doesn't seem to be the case.

Are you running a multi-monitor session? If so, try without.
Are there particular applications causing this to happen?

Are you running a multi-monitor session? If so, try without.

Do you mean on the client-side? At the moment, the server is monitor-less.

Are there particular applications causing this to happen?

The Gnome Videos app (aka Totem) triggers the crash consistently. Others (like RStudio) don't.

Yes, client-side. The server monitors are not visible to xrdp.

@matt335672 I unplugged my external monitor and rebooted both the client and server just in case. Still no luck.

That's not quite what I meant.
In the mstsc.exe settings dialogue what options to you have set here:-

Also, if you're using a .ini file to start the session can you post it after removing any passwords? They're encrypted anyway and specific to your machine, but it's not a good idea to make them public.

@matt335672 The client is a Mac computer using Microsoft's official client from the Mac app store. The display settings are in the image below.

Sorry - you already said that.
That's another similarity with #1367.
Can you untick the 'Fit session to window' box? I'm not hopeful, but there are definitely problems in this area.

@matt335672 No luck here either. I went ahead and tried a combination of ticking and unticking all three top boxes and that didn't seem to help either.

Looking a bit more closely, it appears you may be hitting this Xorg bug:-
https://gitlab.freedesktop.org/xorg/xserver/-/issues/1053
There's no mention of xorgxrdp in the stack trace in the Xorg log. Also, you're loading the glamor module, which my testbed isn't.
Can you have a look at neutrinolabs/xorgxrdp#241, and the changes to /etc/X11/xrdp/xorg.conf? Those changes won't be on your system, but it's worth trying them out.

When I make these changes (all or in combination), all I get is a black screen. Also, to answer your previous question about Totem, it crashes the connection even when I call it directly from the app launcher.
In any case, I will attempt a full reinstall of this machine tomorrow (there is nothing critical on it yet), and I'll see if something radical like that resolves the issue.

@matt335672 So, I did a fresh install of the server and tested along the way as I was adding to/configuring the system. It looks like the problem is somehow linked to adding my user to the "video" group. If my user is part of this group, then trying to launch related apps (e.g., Cheese) causes the session to just terminate. If I remove my user from the group "video", then all is good again but then I can't use apps requiring the user to be part of the "video" group.

That's a good bit of detective work.

How does the application fail exactly?
What do you get for sudo find /etc -group video -ls?

Also, I'm surprised that the X server is unable to open dev/dri/renderD128. I know your CPU is old, but mine is even older and it's got that  What do you get for these commands:-
lsmod | grep i915
ls -l /dev/dri

How does the application fail exactly?

Hard to tell. As soon as I select the app in the app launcher, the remote session quits. If I try to reconnect, sometimes it opens up a fresh session like nothing had happened, sometimes it's just a black screen.

What do you get for sudo find /etc -group video -ls?

Nothing.

Also, I'm surprised that the X server is unable to open dev/dri/renderD128. I know your CPU is old, but mine is even older and it's got that What do you get for these commands:-
lsmod | grep i915
ls -l /dev/dri

❯ lsmod | grep i915
i915                 3899392  11
drm_buddy              20480  1 i915
ttm                   110592  1 i915
drm_display_helper    212992  1 i915
cec                    94208  2 drm_display_helper,i915
drm_kms_helper        249856  2 drm_display_helper,i915
i2c_algo_bit           16384  1 i915
drm                   700416  9 drm_kms_helper,drm_display_helper,drm_buddy,i915,ttm
video                  73728  1 i915

❯ ls -l /dev/dri
total 0
drwxr-xr-x  2 root root         80 Nov  2 20:48 by-path
crw-rw----+ 1 root video  226,   0 Nov  2 20:48 card0
crw-rw----+ 1 root render 226, 128 Nov  2 20:48 renderD128

Sorry - I meant "how does the application fail when your user isn't in the video group?"
Try adding your user to the render group. That might help.


[ST] Optimism subgraph with issues again

Describe the bug
Seems that our subgraph on Optimism isn't working properly again.
A few users reported that their txns never arrived:
https://optimistic.etherscan.io/tx/0xb0711d1663f8bc3b46763fba3cc6ec70e7e1ad1b5dc7178f5adfc2e5cee53cae
https://optimistic.etherscan.io/tx/0xc014f6bb03aa36e3b73ef1eed0aad8929d5a7e120e0b9241c107895e85d9db6d
https://optimistic.etherscan.io/tx/0xe5bbb231599fa62b94f8f951aaf00e01fbab52486abb620cb0debf6ab2bb7b1d

You can also check that there are a lot of incoming txns in the last 2 hours that aren't displayed on connextscan:
https://optimistic.etherscan.io/address/0x8f7492de823025b4cfaab1d34c58963f2af5deda#tokentxns

Link to ticket in discord
https://discord.com/channels/454734546869551114/1181547142020608090
https://discord.com/channels/454734546869551114/1181553921483874345
https://discord.com/channels/454734546869551114/1181560324076347452
Additional context
This is the 3rd time in a few days:
https://github.com/connext/monorepo/issues/5252
https://discord.com/channels/454734546869551114/840312279223238656/1171158836191694908
@oncall

The previous fallback strategy was not working, so even though bwarelabs worked at that time, it was just trying to fetch from the hosted-service which was unsynced.


Discord links in projects/GETTING_STARTED_DWP.md not working

The links are direct links to channels, which only work for users who are already on the server!
Without a server invite, these links aren't usable! Same goes for the website.

None of the discord links work. anywhere, from what I've seen.

Yeah I'm assuming that every Discord link throughout the project has the same problem! So someone should go through them and replace the links! You can actually create invites to specific channels.
Just have to make sure they're unlimited-use invites without a timeout!

Only the links from the main landing pages work: https://discord.gg/MASAPKPYJM. Otherwise, these are channel links.

Thanks, all, for the report!
I've combed through the links and found the following current state:

Footer in developer.tbd.website: https://discord.gg/tbd
Footer in tbd.website: https://discord.gg/MASAPKPYJM - incorrect as deployed, opened issue to address, corrected in CMS by @mistermoe

For the Markdown links in this repo as noted, I'll address those here with commits.

Resolved through linked commits.


tablex:0.0.7

I am submitting

[ ] a new package
[X] an update for a package

Description: See changelog in the README. Also updated typst.toml to include some keywords (feel free to suggest changes there if needed).

Thanks! Sorry for the delay.

Don't worry about it 👍


Commands

You should add commands to open the Terminal, not everyone like keyboard shortcuts:
[{
    "caption": "Open Terminal in current file location",
    "command": "open_terminal"
}, {
    "caption": "Open Terminal in current project location",
    "command": "open_terminal_project_folder"
}]

To be more inline with Sublime conventions, how about:

Terminal: Open
Terminal: Open in project folder

I submitted a pull request for this here: https://github.com/wbond/sublime_terminal/pull/93

This has been patched/released by @MauriceZ via #93 and released in 1.8.3


Upgrade repo and published artefacts to v1.3.21

It would be great if the shell could use the current version of kotlin.

I will do it asap may be couple of days.

Done, but actually to 1.3.31. Meanwhile const val is supported on top level.

Sorry for delay

Thanks!


Add support for More SCM releases

Description
Currently the only supported source code management tool is the public GitHub endpoint.
https://github.com/mszostok/version/blob/c6a76403cae4842ae305b1d6439b08aae22c3c28/upgrade/github/head_fetch.go#L14
This proposal is to support upgrade notice for New Releases on GitHub enterprise, public Gitlab and GitLab Enterprise

Reasons
This would expand support to Gitlab & Github enterprise projects

Hi @Kamsiy
That makes sens to me 👍
The only restriction would be that also the GitHub enterprise repository needs to be publically available 🤔 not sure if this is a common scenario.

if its Github/Gitlab enterprise, it would be an internal & private release

This means, if its on GitHub/Gitlab enterprise or a private repo, the version package would need a GitHub token to access the release (assuming the user has permission to that repo).
goreleaser has a similar customization for releasing projects on Github Enterprise. https://goreleaser.com/scm/github/?h=github#github-enterprise


Add tabs for events section

Add tabs with upcoming and past events in events section on home page, we can have the blog cards and blogs and for upcoming events we can have registration cards.

Hi @asyncdoggo
is there any design available to work on this

please assign i want  to work on it.

Add tabs with upcoming and past events in events section on home page, we can have the blog cards and blogs and for upcoming events we can have registration cards.

please elaborate so i can start now


Memory conversion

#133

@pragtob @devonestes
Comments make sense to me, I'll have the fixes out later this evening when I'm off work :)

@PragTob @devonestes In the latest commit I changed the convert/2 method which accepted the full %Unit struct to a distinct method named convert_with_unit/2 and subsequently added typespecs and docs for it. I felt this was the best way to approach it for a couple reasons...

It makes the public API a bit more clear by having distinct options to choose from when trying to convert a memory value.
It solves the ambiguous typespec problem we saw with the same function name + arity from the previous commit since now there are two separate typespecs.

Thoughts?

@PragTob
Definitely sensible points on the convert/2 method. I've collapsed the two distinct methods into a overloaded method with pattern matching as it was before. Typespecs were updated as well.


feat(js): introduce Autocomplete Touch

This introduces a brand new Autocomplete experience on touch devices (mobiles, tablets, etc.). This new experience is available via a media query so that it matches when it's triggered given your website requirements.
Overview
Problem statement
Panel-based autocomplete experiences work well on desktop, but not on mobile. They're hard to design correctly and don't reduce the cognitive load of searching on your mobile.
Autocomplete should fallback to a native mobile experience à la DocSearch (i.e., modal-based search) on mobile and touch devices.
This solution
When a certain breakpoint is exceeded, we turn the experience into Touch. This turns the regular search input into a search button that when clicked, opens the Autocomplete modal full screen.
Additional features:

The enterKeyHint input value reflects if the selected item is a link

Success criteria
The criteria that must be met in order to consider this project a success.

Autocomplete should toggle to a Touch experience when using a touch device to better match users expectations on these devices
Developers shouldn't have to think about this API, except if it needs to be accurately integrated on their app (match their existing breakpoints, media queries, design, etc.)

User stories
How the product should work for various user types.
User 1: Desktop

I open the website
I use the standard version of Autocomplete because I have no touch screen

User 2: Desktop on small screen

I open the website
I use the standard version of Autocomplete because I have no touch screen

User 3: Tablet

I open the website
I click on the search button
Autocomplete opens in a modal screen

User 4: Mobile

I open the website
I click on the search button
Autocomplete opens in a full-screen modal

Designs
Here are are few designs used as inspiration.
Siri

Google

Preview
Here's the minimal design of this implementation (will be revisited with the Classic Theme).

Here's a dynamic preview demonstrating our Reactive API:

Merging to release to test in different projects. Feel free to review still.


MAINT: build dependency updates

See commit messages for more details.
If unpinning setuptools works, we should update the upper bound in gh-15191 for 1.8.0.

This all passes except for the 3 unrelated failures in Main prerelease_deps_coverage_64bit_blas that were fixed in master.


Modified client software warning

As a heads up I was presented with the warning when I logged in, I have the API check in the config so only run with the latest API but still got the warning, not sure if Niantic are getting smarter or I have been careless but thought I'd warn every one else to be careful!

Same here on all of my bot accounts.

Happens to all that run bots. Any bot....
Think Niantic is now laughing seeing this message...
Niantic: 1 Bots: 0

Got the warning as well.
Did anyone get banned yet?

No bans yet for me. Are some of you still running the bot ? The message is more or less a final warning i asume, or does it mean you are nominated for a new banwave to come ?

Remember that the bot uses a iPhone as device, so if you login from a
android, this warning is more likely to be displayed. I had this warning on
one account, but haven't been banned.
Op 22 apr. 2017 12:44 schreef "TraggerHippy"<EMAIL_ADDRESS>
No bans yet for me. Are some of you still running the bot ? The message is
more or less a final warning i asume, or does it mean you are nominated for
a new banwave to come ?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/PokemonGoF/PokemonGo-Bot/issues/6025#issuecomment-296364884,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAD5Y7ngPcZzCzF03-CL_3QxTx_rhf4Iks5rydoigaJpZM4NEzdK
.

Never mind, in the recent iOS version I get the warning also.

It's has to be something that trigger it. All bots are hit.

@TraggerHippy I assume if you have that message, it means you are nominated for next ban wave... But doesn't mean you will get banned. Depend if they still detect if you are using 3rd party.

Is it wise to stop until the message is no longer presented ? Perhaps set a strict limiter with random alive pauses ? It's strange all bots are hit, find that a bit tricky...

Not used the bot since I got the message, today it dropped off, will use another account of mine to see if/when it comes back

I did use the bot on 1 account, which had the message. The message was lifted for that account as well.

On 1 account the message has returned. Not on all of them this time.

Closing old issue, if you think this is an error let me know or open a new issue. Thank you.


before_run hook runs too early

It runs before the configuration is loaded. I'd expect it to run after the configuration is loaded, just before Robot.new.run.
I can create a pull request if it makes sense.
P.S.  Also, it would be nice if it could optionally accept a block.

I wouldn't want to change the behavior of the existing :before_run hook, but I'd certainly accept a PR that adds a new hook after the configuration is finalized and before the robot is run. Perhaps :configuration_finalized?


Question: Documentation unclear about system MI vs user MI

" custom control plane identity enables access to be granted to the existing identity prior to cluster creation. This enables scenarios such as using an custom VNET or outboundType of UDR with a managed identity."
It does imply that these scenarios are impossible with a system-assigned MI. is it correct ? What is the difference between user MI and system MI in terms of scenarios or limitations ?

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

ID: 6a9c74a8-9f1a-3d3d-3aed-f8ec45f92e05
Version Independent ID: 01e98043-dc80-490e-a761-8d558ff4e6df
Content: Use managed identities in Azure Kubernetes Service - Azure Kubernetes Service
Content Source: articles/aks/use-managed-identity.md
Service: container-service
GitHub Login: @mlearned
Microsoft Alias: thomasge

@lgmorand
Thanks for your Question! I have assigned the issue to content author to check and add comments to address your query.

@TomGeske
Can you please check and add your comments on this as applicable.

System-assigned MI is being created during cluster create phase. For UDR you need to perform a role assignment ahead of cluster creation. That's why bring your own is needed.
For outboundType of UDR it will only work with bring your own identity. We are currently working on enabling it.

This seems still unclear. Documentation states: "custom control plane identity enables access to be granted to the existing identity prior to cluster creation. This enables scenarios such as using an custom VNET or outboundType of UDR with a managed identity."
I do understand the statement concerning the UDR, but not for using a custom VNET.
Correct me if I'm wrong, but currently I am able to :

create an AKS cluster (CNI) with system-assigned MI
assign privileges (VNET contributor) to the system-assigned MI on the custom subnet where the AKS cluster is provisioned

@TomGeske : do you any update / comment on my previous note ? Thank you in advance.

Sorry for my late response.
The scenario below works as long the user creating the cluster has permissions on the custom VNET to grant system-assigned MI permissions on that network. Othwerwise it will fail.

create an AKS cluster (CNI) with system-assigned MI
assign privileges (VNET contributor) to the system-assigned MI on the custom subnet where the AKS cluster is provisioned.

Thank you @TomGeske
So we should understand that deploying an AKS cluster on a custom VNET scenario can be enabled:

with a system-assigned MI => permissions can be set during or after AKS cluster creation
with a user-assigned MI (BYO control plane MI) => permissions can be set before, during or after AKS cluster creation

=> this is a correct understanding ?

Is there any plan that needed permissions would be set automatically during the AKS cluster creation process, for a system-assigned MI ?
Here is a scenario:

DevOps team is owner on its RG ; VNet resource is managed by another network team in another RG
DevOps team want to use system-assigned MI along with cluster, so that there is no identity management on their side
DevOps team want to be autonomous on the creation of a new AKS cluster
Least-privilege is applied so that DevOps team only has the needed permission on the subnet where it deploys its AKS cluster

In this scenario, DevOps team is not owner on the subnet and cannot assign role => they must contact the network team to assign necessary privileges:

Network team can be a bottleneck on such requests
AKS cluster provisioning cannot be completed entirely with infra-as-code: if re-creation is needed the MI will change, and network team must be solicited again

Least-privilege permissions documented in https://docs.microsoft.com/en-us/azure/aks/kubernetes-service-principal#networking:

Microsoft.Network/virtualNetworks/subnets/join/action
Microsoft.Network/virtualNetworks/subnets/read
Microsoft.Network/virtualNetworks/subnets/write
Microsoft.Network/publicIPAddresses/join/action
Microsoft.Network/publicIPAddresses/read
Microsoft.Network/publicIPAddresses/write

Thank you in advance for your feedback on such use case.

Let me try to clarify. If you are using MI either the MI needs to have all required permissions or the user creating the cluster has all required permissions. For the later AKS resource provider should grant needed permissions to MI on behalf of the user creating the cluster.
You should design your cluster creation phase to succeed in the first place. If you don't have all required permissions, it has a very high likely hood to fail.
What is the reason you can't use BYO MI for your described scenario? You need to grant access to the MI anyways, no?

Thank you @TomGeske.
With the statement in the documentation I thought that the situation with a BYO MI would have allow to cover a use case that the system-assigned MI could not be able to cover.
But I understand that this is not the case and the situation remain the same, no matter the kind of MI: AKS cluster creation requires you to assign the appropriate role:

either to your BYO MI beforehand
either to your system-assigned MI druing or after (in az cli, you can sucessfully create the AKS cluster even if you are not the owner of the subnet ; a network team can then assign the role to the MI)

For my case, I would need to satisfy all the following requirements:

enforce least-privilege principle => DevOps team must not be owner on its subnet (cannot change IP range, NSG association, UDR association) ; permission "subnets/join/action" is enough
DevOps team need to be autonomous => DevOps team must not rely on an external process to proceed its AKS cluster creation ; "subnets/join/action" is enough to create AKS Cluster on the subnet
DevOps team being able to create an AKS cluster with a MI that has least-privilege permissions on the target subnet => MI can have "subnets/join/action" permission on the subnet

My case could be satisfied with one of those options (as an example):
1- upon AKS cluster creation, the designated MI is automatically granted with the needed permissions on the subnet
2- the DevOps team could grant only needed permissions on the subnet, but no higher role
I understand that currently none of those option are possible.

Based on the conversation in the thread, there's no update to the article necessary.
#please-close


radar chart , smallest point is always used as the base point (Get answers)

I used a radar chart
only one data, But the smallest point is always used as the base point, how to change it to 0 as the base point?
my code, the "2" be regarded as the minimum on the chart...
{
            backgroundColor: "rgba(179,181,198,0.2)",
            borderColor: "rgba(179,181,198,1)",
            pointBackgroundColor: "rgba(179,181,198,1)",
            pointBorderColor: "#fff",
            pointHoverBackgroundColor: "#fff",
            pointHoverBorderColor: "rgba(179,181,198,1)",
            data: [5, 5, 3, 2, 4, 5]

 },

You can use the ticks.beginAtZero scale option.

How to change the radar ratio from 0.5, 1, 1.5, 2, 2.5, ... 5 to 0, 1, 2, 3, 4, 5

0.5,1,1.5,2,2.5

Chart.defaults.scale.ticks.beginAtZero = true;

Hi @whiteme1210,

How to change the radar ratio from 0.5, 1, 1.5, 2, 2.5, ... 5 to 0, 1, 2, 3, 4, 5

options: {
  scale: {
    ticks: {
      beginAtZero: true,
      stepSize: 1,
    },
  },
},

Closing as resolved


Keeps opening Windows 10 on Parallels

I'm submitting a unwanted behaviour / undocumented feature

[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report  <!-- Please search GitHub for a similar issue or PR before submitting -->
[ ] Feature request
[x] Documentation issue or request
[ ] Other: <!-- Please describe: -->

Current behavior
On Mac 10.13.6 with the latest VScode 1.5, the extension keeps opening my Parallels Installation with Windows 10 (looking for the main browser there).
Expected behavior
The current default browser (Chrome) of my Mac installation should start.
Environment
Browser:

- [x] Chrome (desktop) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] IE version XX
- [ ] Edge version XX

For Tooling issues:

- Live Server: 5.6.1
- Platform:  Mac 10.13.6 with Parallels
- Visual Studio Code: 1.50.1

Others
It would be great if the documentation could mention what to do in such a scenario.

Any ideas?


docs: document selectors a bit better

what do you mean? we don't support pierce/

pierce/

Ah, okay, I was under the assumption we did.

yeah, we don't record/generate pierce/ selectors although if someone defines pierce/ by hand and their runner is Puppeteer it'd probably work (but no explicit support for it).


Use VAGRANT_HOME to get ssh key directory

Fixes having a VAAGRANT_HOME set to a different directory.

Makes sense to me. I guess the use case is placing the VMs on a separate drive?

Might just need a rebase, or centos7 docker image might need a manual rebuild again...

Vagrant info (I used XDG Base DIr Standard (https://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html). VMs are stored based on the provider you use (For virtualbox it's completely separate and not related to VAGRANT_HOME).
The other way this can be done is to get the key path from vagrant itself, but I didn't look into that too much.

Makes sense... and timely, too, since I was just testing things on an older Windows PC where I had to put VAGRANT_HOME on a separate path for performance's sake.


Access private repos without write access

Is your feature request related to a problem? Please describe.
I'd like to use this extension with private org repos, but I don't really trust giving write access.
Describe the solution you'd like
Improved OAuth to support organizations, or support for fine-grained PATs
Describe alternatives you've considered
None

OAuth doesn't support a "read-only" access level to repos. Its either "repo" access level, or no access to repos at all. Hence, there is no way to change it with OAuth unless GitHub makes support for that option.
.
At the time of developing the extension, Github GraphQL API (which the extension completely relies upon) had no support for fine grained tokens.
But now it seems it is supported. And it works out of the box, with no modifications to the extension. You could choose "Custom PAT" option in the extension authentication page and enter the fine grained token there. It works.
.
The permission required is "Read-only" on "contents" option of the repositories it is meant to be used on. (It can be specified while generating the fine grained token.)

Looks like the organization needs to explicitly allow access for fine-grained PATs. Weird situation


update iOSDeviceSupport  path

iOSDeviceSupport 5 天前更新了文件夹的名称
注意事项： 首次使用tool.appetizer.io代理下载（他还没有缓存成功）会出来下载失败的情况

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

这倒是没想到它会改名字。

这倒是没想到它会改名字。

因为他加了watch的，就多了一级目录

版本0.10.2 已发布


The Windows Store version of Kodi dose not support Widevine CDM

Error:
The Windows Store version of Kodi dose not support Widevine CDM
Please use the installer from kodi.tv instead

That's a clear description of the issue. Uninstall from store and download it from here https://kodi.tv/download/windows

I am also facing same issue, I already install it from kodi.tv, also check in old version but error is same. "The Windows Store version of Kodi dose not support Widevine CDM
Please use the installer from kodi.tv instead"
Please help if any one know about solution on this.


ModuleNotFoundError: No module named 'requests'

ModuleNotFoundError: No module named 'requests'

ModuleNotFoundError: No module named 'requests'

You can try to include these two lines before where the error occurred
from urllib import request
from urllib.request import Request,urlopen


total_umis is a categorical variable in the loom output

That's not right.

This has been addressed in the improvements to format conversion. Will be validated and closed with that issue.


Improve prettyprinting of builtin bound methods.

Previously, a builtin bound method (e.g., int(1).to_bytes)
would pretty-print as None.int.to_bytes # built-in function.
This is because 1) the pretty_builtin_method registered on
BuiltinMethodType would never be called, as BuiltinMethodType is just
an alias for BuiltinFunctionType(!) (types.BuiltinMethodType is types.BuiltinFunctionType), and builtin methods additionally don't set
their __module__ (but we can retrieve it from __self__).
This PR prettyprints int(1).to_bytes as
int.to_bytes  # built-in bound method

it may be even nicer to have it as
int(1).to_bytes

(i.e. pretty-print the bound value as well) but that's more a general
problem for all bound methods (bound methods of classes written in
Python are not currently prettyprinted), so not in the scope of this PR.

Thanks!


I'd really like to see testing files support

I just want to see this exstension support testing files.
For instance, with enzyme testing and jest I often use describe and it but I always get back errors for it being undefined in the file. this is obviously not a problem because there is not a need to define the describe and it
_describe_('App', () => {
  it('should exist with a `div`', () => {
    const component = shallow(<App />)

    expect(component.is('div')).to.be.true()
  })

  _it_('should contain a `Header`', () => {
    const component = shallow(<App />)
    const header = component.find('Header')

    expect(header.exists()).to.be.true()
  })

  _it_('should contain three `Post` component', () => {
    const component = shallow(<App />)

    expect(component.find('Post')).to.have.length(3)
  })
})

Standardjs already support it with env

this is exactly what I was trying to figure out, I looked everywhere and I must've looked right over it haha


catch-22 problem

It is not clear from the documentation what is the intended usage, but I expect is is supposed to generate java files prior to the java compilation task.
However experimenting with https://github.com/Grails-Plugin-Consortium/grails-cxf-client-demo
I first wonder why the generated java files are checked in. However when trying to recreate the java files (from wsdl) by first deleting the deletede java files:
rm -rf src/main/java/cxf/client

Then recreate them with:
./gradlew wsdltojava

However causes erros because gradle tries to compile the source code first.
Then I try to force a task dependency with
echo "compileJava.dependsOn wsdlToJava" >> build.gradle

But that causes a cyclic task dependency.
To me this plugin seem to have a catch-22 problem: Since it requires the clientInterface java file to be able to create it.
It would be so much convincing if the generated java files was not checked-in in https://github.com/Grails-Plugin-Consortium/grails-cxf-client-demo

There may have been a loss in execution order when moving to grade task from old grails command.  I will look at it this weekend.
Sent from Yahoo Mail on Android
On Fri, Mar 25, 2016 at 15:59, Jarl<EMAIL_ADDRESS>wrote:
It is not clear from the documentation what is the intended usage, but I expect is is supposed to generate java files prior to the java compilation task.
However experimenting with https://github.com/Grails-Plugin-Consortium/grails-cxf-client-demo
I first wonder why the java files are checked in. However when trying to recreate the java files (from wsdl) by first deleting the deletede java files:
rm -rf src/main/java/cxf/client
Then recreate them with:
./gradlew wsdltojava
However causes erros because gradle tries to compile the source code first.
Then I try to force a task dependency with
echo "compileJava.dependsOn wsdlToJava" >> build.gradle
But that causes a cyclic task dependency.
To me this plugin seem to have a catch-22 problem: Since it requires the clientInterface java file to be able to create it.
It would be so much convincing if the generated java files was not checked-in in https://github.com/Grails-Plugin-Consortium/grails-cxf-client-demo
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub

Any news here?

I released a new branch for client https://github.com/Grails-Plugin-Consortium/grails-cxf-client-demo/tree/no-cxf-services-only-clients that doesn't depend on any internal services
Also I patched the plugin to 3.0.7 to check the clientInterface param and not to try and wire beans (which is hard error) when the clientInterface doesn't resolve to a class.  this will allow the wsdl2java to run when the interface doesn't exist.
Also you will need to make sure you use def fooClient instead of FooClientSoap fooClient when using client where you don't have any code as this static typing will not work until after the soap interface has been created.
Cheers!

The demo (on branch no-cxf-services-only-clients) still compiles the groovy sources before generating the source code for the WSDL, so I get:
$ ./gradlew wsdlToJava
:compileJava UP-TO-DATE
:compileGroovy
startup failed:
/home/jarl/projects/grails-cxf-client-demo/grails-app/controllers/com/cxf/demo/DemoController.groovy: 3: unable to resolve class net.webservicex.ICD9Soap
 @ line 3, column 1.
   import net.webservicex.ICD9Soap
   ^

1 error

:compileGroovy FAILED

Anyway any real-life project will have source code using (importing) the generated classes. I don't understand why you have removed all these files in the no-cxf-services-only-clients branch. It does not reflect any real-life situation. You should only remove src/main/java/cxf/client, that is the directory of the generated sources, right?
The point is: The build-dependencies is buggy and therefore it tries to compile groovy code before it has generated the sources from the wsdl.

Also I patched the plugin to 3.0.7 to check the clientInterface param and not to try and wire beans (which is hard error) when the clientInterface doesn't resolve to a class. this will allow the wsdl2java to run when the interface doesn't exist.

IMHO, this is not optimal use of a build system like gradle. Gradle is good at handling build-dependencies and from that information compute propper build order for those steps that needs to be built. You should exploit these features of gradle more instead of implementing "check the clientInterface param and not to try and wire beans" yourself.

The import was a line that I accidentally left in.  It should have been removed.  The other issue you feel is buggy is mostly due to how grails leverages the new cross grails-gradle command objects.
Regarding your concern with the client interface change, this is outside the scope of grade as grails will do a bootstrap on the project so as to get all the included plugins loaded and application context wired.  The error was coming from grails, not gradle, due to trying to locate the class specified in the client interface config.
Once grails is loaded up the gradle portion fires the WsdlToJava gradle target via the WsdlToJavaCommand class in grails.
If you know of a better way to include this wsdltojava command for the plugin I am happy to take a pull request.  This command isn't needed if you want to create a gradle task in your own project to generate your code.  I found this one here that looks like it would work great https://github.com/nilsmagnus/wsdl2java
I simply included the script as a convenience to those not wanting to wire up the actual gradle code themselves.


PKGBUILD

blocked by #16

seems to work, though there's a couple of sketchy things....

Tested this on my main and a fresh install of Manjaro with AUR enabled in a virtual machine, and it seems to be working perfectly.


yaml fails to import

Looks like in some cases there is an import error for yaml.
This is resolved by:
pip install pyyaml

It is in requirements.txt, but it might not be enough?
Le Sam 28 Avr 2018 17:26, Mikko Kotila<EMAIL_ADDRESS>a écrit :

Looks like in some cases there is an import error for yaml.
This is resolved by:
pip install pyyaml
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Esukhia/pybo/issues/9, or mute the thread
https://github.com/notifications/unsubscribe-auth/AMwaJJjPXWQ0tpox72DcrrZlYr8X6tvvks5ttIo6gaJpZM4Trc-8
.

Yea, needs to be in setup.py.


github actions run: step re-format

TL;DR
When running pin against a github actions step that has
- shell: bash
  run: |
    echo 1
    echo 2
    echo 3

ratchet converts this block into
- shell: bash
  run: "echo 1 echo 2 echo 3"

unsure why is breaking this formating
is there a way to exclude the run: blocks from being reformated?

Linux
CI/CD workflow file
No response
Relevant log output
No response
Additional information
No response

maybe something like a flag to skip yaml reformating altogether

Hi @sbe-arg
This is a duplicate of https://github.com/sethvargo/ratchet/issues/14 and noted in the README's known issues.
The library we use to parse the YAML into an AST tree does not preserve whitespace or indentation, so unfortunately there's nothing Ratchet can do here. The original version of YAML did regex-based replacements on the file, but that proved to be extremely error-prone, so now it parses and re-renders the AST tree.
The example you provided is concerning, since it's actually a different representation of the data. Are you able to reproduce this issue using the library natively? If so, I would recommend filing an issue there: https://github.com/go-yaml/yaml/issues/new


Again the integration not show in the add list

Same issue but different log than the closed issue
Logger: openevsehttp
Source: custom_components/openevse/config_flow.py:60
Integration: OpenEVSE
First occurred: 10:48:32 (2 occurrences)
Last logged: 10:48:32
Non JSON response:
Authentication error:
But How can I configure authentication if I can't add the integration in the list and configure it?

Find the proper error logged in home-assistant.log

Solved......Some kind of interaction with the ocpp integration (was disabled but I need to uninstall it), now it is showed in list.
Thanks

Weird


bug(SELECT): doesn't preserve state with angular 11 HMR

Reproduction
Use StackBlitz to reproduce your issue:

Components: https://stackblitz.com/edit/components-issue-1xabnd

Steps to reproduce:

Run the SELECT in angular CLI with --hmr: ng serve --hmr
Change value of basic mat-select and basic native select
Change any HTML
Basic mat-select doesn't preserve state with --hmr, basic native select preserves state

Expected Behavior
I expect mat-select to preserve state with --hmr enabled
Actual Behavior
mat-select doesn't preserve state with --hmr enabled, only basic native select does.
I also tried with angular@next, angular-cli@next and angular-material@next.
Same behaviour.
Environment

Angular: 11.2.4
CDK/Material: 11.2.4
Browser(s): Chrome
Operating System (e.g. Windows, macOS, Ubuntu): Windows

@mgechev is it even possible to preserve state like this with HMR today?

Seems like it should be. @alan-agius4 would have more context here.

Unlike when using matNativeControl on a native <select>, <mat-form-field> doesn't wrap/decorate a native <select> form element.
HMR form state rehydration is only performed on native HTML form elements.

@alan-agius4  Can form state rehydration be implemented on material components with non-native elements or this is technical limitation from Webpack?

It’s not a limitation from webpack, but rather a missing feature from end. Unfortunately at the moment there is no easy way to apply only apply changes to component template/styles without re-bootstrapping the entire application which causes the state of components to be lost.
There are a couple of issues related to this:
https://github.com/angular/angular/issues/39367
https://github.com/angular/angular-cli/issues/19867

Closing this since it's not possible on the angular/components side to support this- it's something Angular as a whole would need to support.


  Kind 0.5.0 has been released with the fix, so we can switch to the official release version now.
Tested in https://github.com/kubernetes-csi/csi-driver-host-path/pull/89

Note that I'm not including the fix to ignore the new test case that requires SSH.  That is being addressed separately via https://github.com/kubernetes/kubernetes/pull/81755

/lgtm
/release-note-none


Automatically find model classes in modules

Would be a nice convenience feature if users could specify a module (or multiple modules) and have erdantic loop through its namespace and find any data model classes.

Workarround for a module which contains classes of pydantic BaseModel:
import erdantic as erd
from pydantic import BaseModel
import some_module
import inspect

objs = set()
for name, obj in inspect.getmembers(some_module):
    if inspect.isclass(obj) and issubclass(obj, BaseModel):
        objs.add(obj)
        diagram = erd.create(obj)
        diagram.draw(f"diagram_{name}.svg")
diagram = erd.create(*objs)
diagram.draw("diagram_all.svg")

Keep up the good work! 🥇


Additional optimizations

The primary commit here is "Attempt to reuse results from findReferencedElements better", which reduces runtime for me by about 6%.  It does so by attempting to avoid calling findReferenceElements as it is the most expensive function there is.  In my case, it reduced the number of calls from 8 to 6 on the root element.
The next two commits rewrite findReferencedElements to an "iterative" variant.  In itself, it does not give anything measurable.  However, with those applied, it is a lot easier to tell how many times we call findReferenceElements on the root element (as it is now just the number of calls to findReferenceElements).
The last patch simply inlines a loop to remove some call overhead in python.  It is not particular measurable, but it does remove the function from the top 3 in the "ncalls" column from profiling.  With this, none of the scour.py functions appear in the top 15 of "ncalls" on my sample svg.

Codecov Report

Merging #168 into master will decrease coverage by 0.02%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #168      +/-   ##
==========================================
- Coverage   91.48%   91.46%   -0.03%
==========================================
  Files           5        5
  Lines        2138     2143       +5
==========================================
+ Hits         1956     1960       +4
- Misses        182      183       +1

Impacted Files
Coverage Δ

scour/scour.py
93.1% <100%> (-0.04%)
:arrow_down:

Continue to review full report at Codecov.

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

I only had a quick glance so far, but two things I do not particulalry like about this PR:

a8e4d0e (Attempt to reuse results from findReferencedElements better):
This seems to require a lot of assumptions on when the referencedIDs stay valid and when they have to be recalculated. While I immediately believe it can improve execution times I'm afraid it does not help overall code quality (e.g. less modular, harder to maintain, easier to introduce regressions in future, etc.).I like the general idea of optimizing calls to findReferencedElements, but I'm not sure this is the correct approach.
c182fab  (Rewrite findReferencedElements without recursion)
8c9c625 (Move loop inside a function to reduce the number of calls):
As far as I understand this refactoring does not result in any measurable performance increase?
If that's the case I'm not seeing the advantage as I feel the code becomes a bit more complicated for no gain... When I initially started working on Scour I liked the recursive implementation of many functions as it was elegant and easy to understand at the same time (and I still do). Reducing the number of times a function is called does not seem to be a priority unless it actually improves performance (or am I missing something?).

Is the ordering of nodes in the map returned by findReferencedElements relevant?  If not, I think I leverage that to try a different way to the same optimization.

I'd have to investigate myself...

Ok, will have another look at this from a different angle.


Revert "fix: centering in firefox (#721)"

📖 PR App

🧰 Changes

[x] Revert #721, per my comment:

@macuzi—You're quite right that "center" isn't technically a valid value for the [align] attribute, but we actually accept it within RDMD. The distinction between the two is that…
• setting [align=middle] will align the image vertically to the center of the line's y axis.
• setting [align=center] will force the image to be centered horizontally in it's container.
These changes could possibly have some strange effects on how users image blocks are rendered, so unfortunately I think we have to revert this PR.

This PR was released!
🚀 Changes included in v6.61.1


"ERROR: unrecognized arguments" in a fresh installation

I'm trying to install Company Communicator, but right at the beginning of the setup I get an error.
The impression is that the script uses parameters that are no longer accepted by Entra ID.
Can the development team please check?

Followed this procedure: https://github.com/OfficeDev/microsoft-teams-apps-company-communicator/issues/1179
it worked.


5_A3C Cartpole Script - AttributeError: 'Functional' object has no attribute '_make_predict_function'

References a function that doesn't exist.

make_predict_function() should work instead.

That worked, but more issues now.
I'm trying to run it in Colab. Changed the import of TF to this at the top:
import tensorflow.compat.v1 as tf
tf.disable_v2_behavior()

...so that it would run version 1.X in accordance to the notes for this repo. Running it as is gives this error:
TypeError                                 Traceback (most recent call last)
<ipython-input-8-00b007ee4380> in <module>()
    226     env.close()
    227
--> 228     global_agent = A3CAgent(state_size, action_size, env_name)
    229     global_agent.train()

1 frames
<ipython-input-8-00b007ee4380> in __init__(self, state_size, action_size, env_name)
     41
     42         # method for training actor and critic network
---> 43         self.optimizer = [self.actor_optimizer(), self.critic_optimizer()]
     44
     45         self.sess = tf.InteractiveSession()

<ipython-input-8-00b007ee4380> in actor_optimizer(self)
     93
     94         optimizer = Adam(lr=self.actor_lr)
---> 95         updates = optimizer.get_updates(self.actor.trainable_weights, [], actor_loss)
     96         train = K.function([self.actor.input, action, advantages], [], updates=updates)

TypeError: get_updates() takes 3 positional arguments but 4 were given

...so tried to change this line:
updates = optimizer.get_updates(self.actor.trainable_weights, [], actor_loss)
to
updates = optimizer.get_updates(params=self.actor.trainable_weights, loss=actor_loss)
...then we get another error at the very next line, which is:
IndexError                                Traceback (most recent call last)
<ipython-input-9-d4c8c185a397> in <module>()
    226     env.close()
    227
--> 228     global_agent = A3CAgent(state_size, action_size, env_name)
    229     global_agent.train()

3 frames
<ipython-input-9-d4c8c185a397> in __init__(self, state_size, action_size, env_name)
     41
     42         # method for training actor and critic network
---> 43         self.optimizer = [self.actor_optimizer(), self.critic_optimizer()]
     44
     45         self.sess = tf.InteractiveSession()

<ipython-input-9-d4c8c185a397> in actor_optimizer(self)
     95         # updates = optimizer.get_updates(self.actor.trainable_weights, [], actor_loss)
     96         updates = optimizer.get_updates(params=self.actor.trainable_weights, loss=actor_loss)
---> 97         train = K.function([self.actor.input, action, advantages], [], updates=updates)
     98         return train
     99

/usr/local/lib/python3.7/dist-packages/tensorflow/python/keras/backend.py in function(inputs, outputs, updates, name, **kwargs)
   4085         raise ValueError(msg)
   4086   return GraphExecutionFunction(
-> 4087       inputs, outputs, updates=updates, name=name, **kwargs)
   4088
   4089

/usr/local/lib/python3.7/dist-packages/tensorflow/python/keras/backend.py in __init__(self, inputs, outputs, updates, name, **session_kwargs)
   3808     # dependencies in call.
   3809     # Index 0 = total loss or model output for `predict`.
-> 3810     with ops.control_dependencies([self.outputs[0]]):
   3811       updates_ops = []
   3812       for update in updates:

IndexError: list index out of range

So I'm going to throw in the towel for now. Would be nice to see this repo updated! Any ideas? Thanks!

@windowshopr there is nothing much to this.
You just need to replace,
train = K.function([self.actor.input, action, advantages], [], updates=updates)
as
train = K.function([self.actor.input, action, advantages], self.model.output, updates=updates)

Nope, there's no "self.model", either "self.actor" or "self.critic".
So continuing on, I've attempted the following changes:
    # make loss function for Policy Gradient
    # [log(action probability) * advantages] will be input for the back prop
    # we add entropy of action probability to loss
    def actor_optimizer(self):
        action = K.placeholder(shape=(None, self.action_size))
        advantages = K.placeholder(shape=(None, ))

        policy = self.actor.output

        good_prob = K.sum(action * policy, axis=1)
        eligibility = K.log(good_prob + 1e-10) * K.stop_gradient(advantages)
        loss = -K.sum(eligibility)

        entropy = K.sum(policy * K.log(policy + 1e-10), axis=1)

        actor_loss = loss + 0.01*entropy

        optimizer = Adam(lr=self.actor_lr)
        # updates = optimizer.get_updates(self.actor.trainable_weights, [], actor_loss)
        updates = optimizer.get_updates(params=self.actor.trainable_weights, loss=actor_loss)
        # train = K.function([self.actor.input, action, advantages], [], updates=updates)
        train = K.function([self.actor.input, action, advantages], self.actor.output, updates=updates)
        return train

    # make loss function for Value approximation
    def critic_optimizer(self):
        discounted_reward = K.placeholder(shape=(None, ))

        value = self.critic.output

        loss = K.mean(K.square(discounted_reward - value))

        optimizer = Adam(lr=self.critic_lr)
        # updates = optimizer.get_updates(self.critic.trainable_weights, [], loss)
        updates = optimizer.get_updates(params=self.critic.trainable_weights, loss=loss)
        # train = K.function([self.critic.input, discounted_reward], [], updates=updates)
        train = K.function([self.critic.input, discounted_reward], self.critic.output, updates=updates)
        return train

...which now gives the error:
AttributeError: module 'keras.backend' has no attribute 'set_session'
Assuming this is a Keras version issue, I replaced the importing of Keras at the top with:
from tensorflow.compat.v1.keras.layers import Dense, Input
from tensorflow.compat.v1.keras.models import Model
from tensorflow.compat.v1.keras.optimizers import Adam
from tensorflow.compat.v1.keras import backend as K

...which now gives errors in these errors in the output:
Exception in thread Thread-42:
Traceback (most recent call last):
  File "/usr/lib/python3.7/threading.py", line 926, in _bootstrap_inner
    self.run()
  File "<ipython-input-27-2bcae64a7583>", line 173, in run
    action = self.get_action(state)
  File "<ipython-input-27-2bcae64a7583>", line 223, in get_action
    policy = self.actor.predict(np.reshape(state, [1, self.state_size]))[0]
  File "/usr/local/lib/python3.7/dist-packages/tensorflow/python/keras/engine/training_v1.py", line 991, in predict
    use_multiprocessing=use_multiprocessing)
  File "/usr/local/lib/python3.7/dist-packages/tensorflow/python/keras/engine/training_arrays_v1.py", line 712, in predict
    callbacks=callbacks)
  File "/usr/local/lib/python3.7/dist-packages/tensorflow/python/keras/engine/training_arrays_v1.py", line 384, in model_iteration
    batch_outs = f(ins_batch)
  File "/usr/local/lib/python3.7/dist-packages/tensorflow/python/eager/def_function.py", line 828, in __call__
    result = self._call(*args, **kwds)
  File "/usr/local/lib/python3.7/dist-packages/tensorflow/python/eager/def_function.py", line 862, in _call
    results = self._stateful_fn(*args, **kwds)
  File "/usr/local/lib/python3.7/dist-packages/tensorflow/python/eager/function.py", line 2941, in __call__
    filtered_flat_args) = self._maybe_define_function(args, kwargs)
  File "/usr/local/lib/python3.7/dist-packages/tensorflow/python/eager/function.py", line 3361, in _maybe_define_function
    graph_function = self._create_graph_function(args, kwargs)
  File "/usr/local/lib/python3.7/dist-packages/tensorflow/python/eager/function.py", line 3206, in _create_graph_function
    capture_by_value=self._capture_by_value),
  File "/usr/local/lib/python3.7/dist-packages/tensorflow/python/framework/func_graph.py", line 990, in func_graph_from_py_func
    func_outputs = python_func(*func_args, **func_kwargs)
  File "/usr/local/lib/python3.7/dist-packages/tensorflow/python/eager/def_function.py", line 634, in wrapped_fn
    out = weak_wrapped_fn().__wrapped__(*args, **kwds)
  File "/usr/local/lib/python3.7/dist-packages/tensorflow/python/framework/func_graph.py", line 977, in wrapper
    raise e.ag_error_metadata.to_exception(e)
TypeError: in user code:

    /usr/local/lib/python3.7/dist-packages/tensorflow/python/keras/engine/training.py:1478 predict_function  *
        return step_function(self, iterator)
    /usr/local/lib/python3.7/dist-packages/tensorflow/python/keras/engine/training.py:1467 step_function  **
        data = next(iterator)

    TypeError: 'list' object is not an iterator

---------------------------------------------------------------------------
FileNotFoundError                         Traceback (most recent call last)
<ipython-input-27-2bcae64a7583> in <module>()
    235
    236     global_agent = A3CAgent(state_size, action_size, env_name)
--> 237     global_agent.train()

7 frames
/usr/local/lib/python3.7/dist-packages/matplotlib/cbook/__init__.py in to_filehandle(fname, flag, return_opened, encoding)
    401             fh = bz2.BZ2File(fname, flag)
    402         else:
--> 403             fh = open(fname, flag, encoding=encoding)
    404         opened = True
    405     elif hasattr(fname, 'seek'):

FileNotFoundError: [Errno 2] No such file or directory: './save_graph/cartpole_a3c.png'

As you can see, more effort is needed to debugging this thing than I'm willing to put in. I would urge you or anyone perhaps more knowledgeable than me to throw this into a Colab notebook to try and get it working yourself and document the necessary changes here in an effort to keep the code up to date, both for myself and anyone else who stumbles across this repo like I have and would like to see it working. Thanks!


Microsoft Powertoys broke Greenshot

Microsoft PowerToys version
0.81.1
Installation method
Microsoft Store
Running as admin
Yes
Area(s) with issue?
General
Steps to reproduce
Press PrtSc key
✔ Expected Behavior
Greenshot to work
❌ Actual Behavior
Hello,
I am using Windows 11.
I have a Lenovo Legion 16ARX8.
I disabled “Use Print Screen key to open screen capture”.
I uninstalled snipping tool.
I excluded from FancyZones.
Still doesn’t work.
Any ideas?
Thanks.
Other Software
https://getgreenshot.org/

Hi @florincaroli , Can you please try disabling PowerToys one by one to try to see which one might be causing this? /needinfo
Was this an issue as well on previous versions or just 0.81.1? (In case you've used PowerToys before)

@jaimecbernardo
I use Greenshot too and never had this issue.
@florincaroli
Can you try to configure the key in greenshot settings again. Maybe there is a problem in Greenshot.

Hi @florincaroli , Can you please try disabling PowerToys one by one to try to see which one might be causing this? /needinfo Was this an issue as well on previous versions or just 0.81.1? (In case you've used PowerToys before)

I disabled all of them and still didn't work.
I uninstalled Powertoys and still doesn't work.

@jaimecbernardo I use Greenshot too and never had this issue.
@florincaroli Can you try to configure the key in greenshot settings again. Maybe there is a problem in Greenshot.

I press PrtSc key and it opens the snipping tool, but I uninstalled it... I don't understand what is wrong...

Hi @florincaroli , Can you please try disabling PowerToys one by one to try to see which one might be causing this? /needinfo Was this an issue as well on previous versions or just 0.81.1? (In case you've used PowerToys before)

I disabled all of them and still didn't work.
I uninstalled Powertoys and still doesn't work.

@jaimecbernardo I use Greenshot too and never had this issue.
@florincaroli Can you try to configure the key in greenshot settings again. Maybe there is a problem in Greenshot.

I press PrtSc key and it opens the snipping tool, but I uninstalled it... I don't understand what is wrong...

Looks like this issue is unrelated to PowerToys @florincaroli , since it's still there even after you uninstall PowerToys.
If you try to set the Greenshot hotkey to something else, does that new hotkey work? /needinfo

Hello,
Thank you for all your answers.
The problem was solved.
My PrtSc key had a scissor and I had to press Fn in order to print screen.


Update flux to v0.124+ (e.g. latest v0.126.0) to allow building with Rust v1.54+

Related Homebrew PR: Homebrew/homebrew-core#83691.
Homebrew's rust is currently on v1.54.0 which is causing build failures with current kapacitor v1.6.1 due to old flux v0.116.1-0.20210519190248-4347b978c91a

As workaround, I am exploring a backport of https://github.com/influxdata/flux/commit/c29d2c02ab42d591bb91e5d6321dacba3609e928 for Rust v1.54 support
The alternative workaround for Homebrew would be to use Homebrew's rustup-init to install an older Rust; however, we usually use this for projects that need nightly toolchain.

I think this was fixed in #2618


[enhancement]: Invocation Context is too powerful and should have a restricted API

Is there an existing issue for this?

[X] I have searched the existing issues

Contact Details
No response
What should this feature add?
The Invocation Context provided in an invocation's invoke() method is too powerful. An invocation can totally wreck and install, delete images/models/etc through this interface. A restricted wrapper should be created that exposes a limited API.
Alternatives
No response
Additional Content
No response

Example wrapper:
from typing import Optional, Protocol

from PIL.Image import Image

from invokeai.app.invocations.baseinvocation import MetadataField
from invokeai.app.services.image_records.image_records_common import ImageCategory, ResourceOrigin
from invokeai.app.services.images.images_common import ImageDTO
from invokeai.app.services.invocation_queue.invocation_queue_common import InvocationQueueItem
from invokeai.app.services.invocation_services import InvocationServices
from invokeai.app.services.session_queue.session_queue_common import SessionQueueItem

class SaveImageFunction(Protocol):
    def __call__(
        self,
        image: Image,
        is_intermediate: Optional[bool] = False,
        image_category: ImageCategory = ImageCategory.GENERAL,
        board_id: Optional[str] = None,
        metadata: Optional[MetadataField] = None,
    ) -> ImageDTO:
        ...

class InvocationContext:
    def __init__(self, save_image: SaveImageFunction) -> None:
        self.save_image = save_image

class InvocationContextFactory:
    def __init__(
        self,
        services: InvocationServices,
        session_queue_item: SessionQueueItem,
        invocation_queue_item: InvocationQueueItem,
    ) -> None:
        self.__services = services
        self.__session_queue_item = session_queue_item
        self.__invocation_queue_item = invocation_queue_item

    def save_image(
        self,
        image: Image,
        is_intermediate: Optional[bool] = False,  # noqa: F821
        image_category: ImageCategory = ImageCategory.GENERAL,
        board_id: Optional[str] = None,
        metadata: Optional[MetadataField] = None,
    ) -> ImageDTO:
        return self.__services.images.create(
            image=image,
            is_intermediate=is_intermediate,
            image_category=image_category,
            board_id=board_id,
            metadata=metadata,
            image_origin=ResourceOrigin.INTERNAL,
            workflow=self.__session_queue_item.workflow,
            session_id=self.__session_queue_item.session_id,
            node_id=self.__invocation_queue_item.invocation_id,
        )

    def build_ctx(self) -> InvocationContext:
        return InvocationContext(save_image=self.save_image)


Add more context around repo lookup failures

I've seen a number of errors relating to repo lookups in the logs. Adding some details to provide more context.
Summary
Provide a brief overview of the changes and the issue being addressed.
Explain the rationale and any background necessary for understanding the changes.
List dependencies required by this change, if any.
Fixes #(related issue)
Change Type
Mark the type of change your PR introduces:

[x] Bug fix (resolves an issue without affecting existing features)
[ ] Feature (adds new functionality without breaking changes)
[ ] Breaking change (may impact existing functionalities or require documentation updates)
[ ] Documentation (updates or additions to documentation)
[ ] Refactoring or test improvements (no bug fixes or new functionality)

Testing
Outline how the changes were tested, including steps to reproduce and any relevant configurations.
Attach screenshots if helpful.
Review Checklist:

[x] Reviewed my own code for quality and clarity.
[ ] Added comments to complex or tricky code sections.
[ ] Updated any affected documentation.
[x] Included tests that validate the fix or feature.
[ ] Checked that related changes are merged.

coverage: 54.355%. remained the same
when pulling 1d9c7637a32141134b4f2325ecf66dfa9e800572 on repo-error-logging
into 07a22f189e80784693e87cd2644311d81d241d71 on main.


tslint: Why double quote-mark?

It's very unusual to use double quote-marks in JavaScript/TypeScript source, what is the rational to go with double as oppose to single?
Keep forgetting this and get compile errors ;-)

Hey @sondreb, actually using double quote-marks or single quote-marks is depending on the project. Single quote-marks are suggested for UI/HTML related works. For SFX-Standone, since the codes are mainly non-UI/HTML related but logics related,  using quote-marks are fine and more natural for the developers.
Thanks.


Can I refactor your code into pyscaffold?

I've used Pyscaffold before to maintain structured python libraries. It offers

Machinery over documentation
Best practices around setup.cfg instead of setup.py
Development builds (so I can do something like pip install -e .[dev])
Pre-commits

In addition, I could

Set up workflows to push to .whl packages to GH (and optionally to pypi later)

Hello, thanks! While I see the value that pyscaffold seems to offer, I have not used it myself (yet).
As the core maintainer of this library, my preference is to not accept a refactor of the library into a framework that I am not familiar with.
I will try to find some time to learn about it and will consider migrating this library to it if/when I do.
Thanks for the offer, though! You can find a lot of the open feature requests on the discussions area


Fix BiMap and InverseMap get type to allow undefined return

BiMap and InverseMap were wrongly typed.
Example:
import { BiMap } from 'mnemonist';

const a = new BiMap<string, string>();
a.set('a', 'b');
console.log(a.get('b')); // undefined
console.log(a.inverse.get('a')); // undefined

Thanks @rubenferreira97 merging right now.

Now published in v0.39.4


[3.x] Add GDScript warning when internal native C++ callback is overridden via script

Closes #42755.
This introduces a new type of GDScript warning in 3.2 for when a user attempts to override an internal, non-virtual, private callback prefixed with _ in C++ code, which are hidden by default in the documentation and the editor, but nonetheless still accessible through the GDScript code:

This may be a problem in 4.0 as well, so upon pre-approval, I could make another PR for the master branch.
P.S. This is my first major endeavor at tinkering with GDScript parser code, but this seems to be functional already.

This can potentially reveal problems with methods which were not exposed as virtual, such as #42093.

Closing as this contributor can no longer update this further.


AssertionError

I am getting AssertionError error, what should I do?

File "instabot/examples/multi_script_CLI.py", line 686, in
bot.login()
File "/root/Desktop/bots/insta/lib/python3.7/site-packages/instabot/bot/bot.py", line 364, in login
if self.api.login(**args) is False:
File "/root/Desktop/bots/insta/lib/python3.7/site-packages/instabot/api/api.py", line 201, in login
if (self.load_uuid_and_cookie(load_cookie=use_cookie, load_uuid=use_uuid) is True):
File "/root/Desktop/bots/insta/lib/python3.7/site-packages/instabot/api/api.py", line 161, in load_uuid_and_cookie
return load_uuid_and_cookie(self, load_uuid=load_uuid, load_cookie=load_cookie)
File "/root/Desktop/bots/insta/lib/python3.7/site-packages/instabot/api/api_login.py", line 199, in load_uuid_and_cookie
assert cookie_username == self.username.lower()
AssertionError

Delete txt files in your folder and try again, don’t forget to enter your username with lowercase.

Delete txt files in your folder and try again, don’t forget to enter your username with lowercase.

Deleting the username.checkpoint and the username _uuid_and_cookie.json can be solved, but how to use the last cookie when logging in again, the use_cookie option is True

I know, I use the phone number + password to log in, but the ds_user field in the cookie file is my username, login with the user name + password will work normally.


doc 'Canvas.add()'

Maintainer merge checklist

[x] Title is descriptive/clear for inclusion in release notes.
[x] Applied a Component: xxx label.
[ ] Applied the api-deprecation or api-break label.
[ ] Applied the release-highlight label to be highlighted in release notes.
[ ] Added to the milestone version it was merged into.
[ ] Unittests are included in PR.
[ ] Properly documented, including versionadded, versionchanged as needed.

Fixes #7945

@tshirtman  Thanks for the approval. I might edit the doc later because I'm not confident in my English so don't merge yet. And it would be great if you give me an advice about this pr.

@gottadiveintopython
In case you want to have a green check (I've seen your reaction on the PEP8 PR which I completely forgot about), feel free to force-push as it's now merged.

@misl6 Thanks, I'll do that later.


fix: Sanitize user data, which contains sensitive $_SESSION data

The user context is supplied by the developer and I don't think we should sanitize this since the developer can scrub the data it puts in the user context.


Custom DynDNS: The TTL value needs to be a valid integer number

To Reproduce
Steps to reproduce the behavior:

Go to 'Services: Dynamic DNS'
Click on 'Add'
Choose Service type 'Custom', Interface to monitor: WAN, Interface to send update from: WAN, Hostname: some.domain.ch, CURL Options: both checked, Update URL: https://dyn.xxx.ch/cgi/dyndns.cgi?hostname=[HOSTNAME].somedomain.ch&myip=%IP%
Click Save
See error "The TTL value needs to be a valid integer number"

Environment
OPNsense 20.1.8

See https://github.com/opnsense/plugins/pull/1903 hotfix soon...


how can i install ethereumkit on xcode

i have try install the ethereumkit on xcode , but its some errors or showed how can i overcome please replay to me ,
Task failed with exit code 65:
/usr/bin/xcrun xcodebuild -project /Volumes/Carthage/Checkouts/EthereumKit/EthereumKit.xcodeproj -scheme EthereumKit -configuration Release -derivedDataPath /Users/Library/Caches/org.carthage.CarthageKit/DerivedData/9.3_9E145/EthereumKit/1.0.3 -sdk iphoneos ONLY_ACTIVE_ARCH=NO BITCODE_GENERATION_MODE=bitcode CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES archive -archivePath /var/folders/nc/_cswghbx2gdg0tx4j8xfz2mc0000gn/T/EthereumKit SKIP_INSTALL=YES GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=NO CLANG_ENABLE_CODE_COVERAGE=NO STRIP_INSTALLED_PRODUCT=NO (launched in /Volumes/ios/new2018/Carthage/Checkouts/EthereumKit)
This usually indicates that project itself failed to compile. Please check the xcodebuild log for more details: /var/folders/nc/_cswghbx2gdg0tx4j8xfz2mc0000gn/T/carthage-xcodebuild.HWFpZf.log

could you delete the carthage cache by running rm -rf ~/Library/Caches/org.carthage.CarthageKit and try to install it again?

once again the same problem is found , i have used the latest carthage version is 0.29.0 - Great Groove

ya i have used Version 9.3 (9E145)

I just tried installing via Carthage and it worked. Did you get the same error?
I should probably upload the build binary...

ya ,i will get the same error. how can i fix it?

how to add ethereumkit in framework in myproject

let me check more about it. I will let you know when its fixed

I have same problem

hum, I will look at it deeper over the weekend.

ya , ethereumkit installation is completed , i have add an ethereumkit module its shows some error,please check me .Missing required module 'secp256k1'

Hi, same issues/errors are still happening, using xcode 13... what is the actual solutions for installing the framework through carthage?


OKE-1853: Refactor lookup node id from node.spec.ProviderID

OKE-1853: Refactor lookup node id from node.spec.ProviderID  …
Completely removed cache and vcn/subnet based lookup. Requires nodes have
node.spec.ProviderID set correctly.
deploy.sh now drops enough info to disk for the flexvolume driver binary to
find, auth and use the kube master api server to query for a list of nodes.
DISCUSS: do we need a non rbac manifest now that we're using a service account?:
DISCUSS: should the rbac roles be rolled into the main driver manifest file?

@simonlord We should avoid trying to do fancy tactics to provide authentication to the driver itself. This ultimately will depend on the users setup. The recommended way in Kubernetes to do this type of authentication is via kubeconfigs; not copying service accounts.
An example of when this pattern breaks down as well is when the flex volume driver container is used as part of self-hosted deployment where it's a sidecar in the KCM deployment. Since it's a sidecar t'll already have access to the service account of the KCM. That pattern is used today by ODC.
Also, what happens when SA's can be rotated which is a feature under fairly active discussion. The goal of this driver should be to provide a generic solution to authentication just as every core component does which helps support multiple paradigms of setting up k8s.

Nit: Upgrading client-go doesn't need to be part of this PR.

Looking good. Some follow on work needed to coordinate changes with consumers of the driver.


[flutter_tools] throw StateError instead of null

Description
This might help produce better stack traces if we accidentally violate an invariant in package:test.

Line 363 has another


Added some String Global Functions

I did not comment on the issue and I did not finish all of the String functions, but I wanted to help out this project.
I have added Right, Mid, Len, and Instr. I have added tests around some basic functionality with those functions. I hope this helps and I welcome all feedback.
I also added .idea/ to .gitignore since I use WebStorm for development.

I did not comment on the issue and I did not finish all of the String functions, but I wanted to help out this project.

Don't worry about it!  I wrote that to keep multiple people from building the same thing, but that's definitely not happened here.  Thanks for contributing! :heart:

Just as an FYI, I landed #65, which adds tslint support to this build.  You'll probably want to rebase on top of master to ensure your changes still build.  I'm sorry for the churn here!  This won't happen again :cry:

Thanks for the nice words about my effort. I will work on this tonight and tomorrow to get it cleaned up.
I would like to thank you for making this project a thing. It is well written and very easy to understand and jump into to start contributing.
Cheers,
Pete


Optimise WaveDiff to address Centroid problem

During PSF model optimisation, the centroids between two images: reconstructed and actual must be the same. Else, the residual errors will be large even though the model is a good representation.
To enable better centroiding requires reintroducing a PSF model called TF_physical_poly_field which is a polychromatic PSF model with a physical layer.

Open a new issue on integration of the physical layer PSF model.


org.apache.druid.java.util.common.ISE: Could not allocate segment for row with timestamp

Please provide a detailed title (e.g. "Broker crashes when using TopN query with Bound filter" instead of just "Broker crashes").
Affected Version
0.22.1
The Druid version where the problem was encountered.
0.22.1
Description
The steps are as follows：
1.Durid is running normally，Write data through kafka
2.Execute command to modify operating system time，date -s "2023-10-04 15:30:00"
3.restart druid service
Please include as much detailed information about the problem as possible.

Cluster size
Configurations in use
Steps to reproduce the problem
The error message or stack traces encountered. Providing more context, such as nearby log messages or even entire logs, can be helpful.
Any debugging that you have already done

errros infos:
2023-11-01T02:25:56,503 ERROR [task-runner-0-priority-0] org.apache.druid.indexing.seekablestream.SeekableStreamIndexTaskRunner - Encountered exception while running task.
org.apache.druid.java.util.common.ISE: Could not allocate segment for row with timestamp[2023-11-04T07:30:09.000Z]
at org.apache.druid.indexing.seekablestream.SeekableStreamIndexTaskRunner.runInternal(SeekableStreamIndexTaskRunner.java:665) ~[druid-indexing-service-0.22.1.jar:0.22.1]
at org.apache.druid.indexing.seekablestream.SeekableStreamIndexTaskRunner.run(SeekableStreamIndexTaskRunner.java:263) [druid-indexing-service-0.22.1.jar:0.22.1]
at org.apache.druid.indexing.seekablestream.SeekableStreamIndexTask.run(SeekableStreamIndexTask.java:146) [druid-indexing-service-0.22.1.jar:0.22.1]
at org.apache.druid.indexing.overlord.SingleTaskBackgroundRunner$SingleTaskBackgroundRunnerCallable.call(SingleTaskBackgroundRunner.java:471) [druid-indexing-service-0.22.1.jar:0.22.1]
at org.apache.druid.indexing.overlord.SingleTaskBackgroundRunner$SingleTaskBackgroundRunnerCallable.call(SingleTaskBackgroundRunner.java:443) [druid-indexing-service-0.22.1.jar:0.22.1]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_322]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_322]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_322]
at java.lang.Thread.run(Thread.java:750) [?:1.8.0_322]
2023-11-01T02:25:56,530 INFO [task-runner-0-priority-0] org.apache.druid.indexing.worker.executor.ExecutorLifecycle - Task completed with status: {
"id" : "index_kafka_cache_flow_section_23e8131b930cc09_mnhgkclm",
"status" : "FAILED",
"duration" : 5036,
"errorMsg" : "org.apache.druid.java.util.common.ISE: Could not allocate segment for row with timestamp[2023-11-04T...",
"location" : {
"host" : null,
"port" : -1,
"tlsPort" : -1
}
}
so how to solve the problem？

@abhagraw Bumping this one up as we still see this error even in 27.0.0


Multi Language support?

Can i use this for text of two different languages at once?
For example:
German text
English translation below
Ich bin mit dem Fahrrad Nachhause gefahren
I drove with the bicycle home

1
Would be amazing if this were possible. I have tried to devise a workaround using a python script to organize the words in the required format “Word: Classification” and a word list from the Leipzig Corpora, but the results were less than stellar.

Sadly I am not a programmer, but it should relatively easy to rework the plugin using the  German Compromise Version. Maybe someone reading this would like to try, as it seems the main developer is not actively working on the plugin any more.


Add utility function to convert from Pandas dataframe to Hugging Face dataset

Closes #190

Sorry @hickeyma do you mind rebasing to commit a15c83ef56c0d4a1752392a2f316715d893da348 and also changing the new from_pandas() in that? Thanks!

Sorry @hickeyma do you mind rebasing to commit https://github.com/instructlab/sdg/commit/a15c83ef56c0d4a1752392a2f316715d893da348 and also changing the new from_pandas() in that? Thanks!

Not a bother @markmc. Rebased and updated to include utility function.