/home/.shadow/[long id]/vault takes up all the space

chronos@localhost / $ sudo edit-chroot -all
name: precise
encrypted: no
Entering /mnt/stateful_partition/crouton/chroots/precise...
crouton: version 1-20150620222151~master:89796a99
release: precise
architecture: amd64
xmethod: xiwi
targets: xiwi
host: version 7834.66.0 (Official Build) stable-channel swanky
kernel: Linux localhost 3.10.18 #1 SMP Tue Mar 29 03:18:37 PDT 2016 x86_64 x86_64 x86_64 GNU/Linux
freon: yes
Unmounting /mnt/stateful_partition/crouton/chroots/precise...
name: trusty
encrypted: no
Entering /mnt/stateful_partition/crouton/chroots/trusty...
crouton: version 1-20160330180425~master:43e2fca0
release: trusty
architecture: amd64
xmethod: xorg
targets: xfce
host: version 7834.66.0 (Official Build) stable-channel swanky
kernel: Linux localhost 3.10.18 #1 SMP Tue Mar 29 03:18:37 PDT 2016 x86_64 x86_64 x86_64 GNU/Linux
freon: yes
Not unmounting /mnt/stateful_partition/crouton/chroots/trusty as another instance is using it.

Please describe your issue:
Very little free disk space: even after cleaning up the Downloads folder, 9.4G out of 11G is still used in /home/.shadow/[long id]/vault. How to clean it up?
If known, describe the steps to reproduce the issue:

@ataiprojects - You could try going to chrome://drive-internals , then click on the "Clear local metadata"

@DennisLfromGA This has cleared something, but not the main problem, I fear. Local Free Space went from 573 MB to 576 MB, but the home/.shadow/[long id]/vault still appears to be nearly full:
Filesystem                                                    Size  Used Avail Use% Mounted on /dev/mmcblk0p1                                                 11G  9.2G  570M  95% / devtmpfs                                                      1.9G     0  1.9G   0% /dev shmfs                                                         1.9G  188M  1.8G  10% /dev/shm tmp                                                           1.9G   38M  1.9G   2% /tmp tmpfs                                                         387M   28K  387M   1% /run tmpfs                                                         5.0M     0  5.0M   0% /run/lock run                                                           1.9G  424K  1.9G   1% /var/host/dbus /dev/mapper/encstateful                                       3.1G  128M  2.9G   5% /var/host/timezone /dev/root                                                     1.2G  1.1G  127M  90% /lib/modules/3.10.18 media                                                         1.9G     0  1.9G   0% /var/host/media /dev/sda1                                                      29G  1.7G   28G   6% /var/host/media/removable/USB DISK /home/.shadow/6aea447d1e0f0238e004d0fc480141318520e2c7/vault   11G  9.2G  570M  95% /home/slavek/Downloads none                                                          1.9G   24K  1.9G   1% /sys/fs/cgroup

@ataiprojects,
Then you might be in need of a 'powerwash'
But before you do that -

make sure you've backed up everything you need in Downloads - for each account setup on the Chromebook
backup your crouton chroot(s) using sudo edit-chroot -bf /path/to/external/media [chrootname]
you can use the 'USB DISK' for that most likely.

-DennisL

@DennisLfromGA Ok, since there's no other way around it, I've just backed-up, powerwashed and freshly downloaded crouton into Downloads folder. Now:
chronos@localhost / $ sudo edit-chroot -f /media/removable/"USB DISK"/chroot/trusty-20160412-1319.tar.gz -r trusty sudo: edit-chroot: command not found
What am I missing?

You should run sudo sh ~/Downloads/crouton -f /media/removable/"USB DISK"/chroot/trusty-20160412-1319.tar.gz There is no edit-chroot yet in /usr/local/bin/, because of the powerwash.

Done. Thank you @DennisLfromGA and @divx118 for instructions! Still:
Filesystem                                                    Size  Used Avail Use% Mounted on
/dev/mmcblk0p1                                                 11G  8.8G  951M  91% /
devtmpfs                                                      1.9G     0  1.9G   0% /dev
shmfs                                                         1.9G   53M  1.9G   3% /dev/shm
tmp                                                           1.9G  304K  1.9G   1% /tmp
tmpfs                                                         387M   28K  387M   1% /run
tmpfs                                                         5.0M     0  5.0M   0% /run/lock
run                                                           1.9G  428K  1.9G   1% /var/host/dbus
/dev/mapper/encstateful                                       3.1G   53M  3.0G   2% /var/host/timezone
/dev/root                                                     1.2G  1.1G  126M  90% /lib/modules/3.10.18
media                                                         1.9G     0  1.9G   0% /var/host/media
/home/.shadow/76f5cc90bc1fda4a4796685d27ccdbb73dcccae3/vault   11G  8.8G  951M  91% /home/slavek/Downloads
none                                                          1.9G   24K  1.9G   1% /sys/fs/cgroup
/dev/sda1                                                      29G  9.2G   20G  32% /var/host/media/removable/USB DISK
So what is it then, in the .shadow/.../vault, which takes up so much space even after powerwash? Is it normal?

I am having the same issue.  Any updates on this?

It seems that the /home/.shadow//vault is mounted on /home//Downloads.
/dev/mmcblk0p1/ is mounted on /home.  This also happens to be mounted on the / of my chroot.  So the 'Used' amount you see attributed to /home/.shadow//vault should be the same as /dev/mmcblk0p1 (your chroot's /).
If your chroot is full I'd recommend looking at 'du -h -d 1 /home/'

@areyoueye du -h -d 1 /home/' shows 1.3G, while /home/.shadow//vault - 8.8G out of 11G, so it must be something else. This doesn't normally disturb me since I use a USB stick as a main storage.  Any other ideas? Thanks


Add a python script that makes calculating Pi easier

Script allows you set the number accuracy (iterations) and the number of decimal places to show. #37.

Thanks for the PR :+1:

You may add this to the list of ideas, link it to this file and send another PR


Fixed error during import correct PCAP

EOFExpection is used not as Error indication but as end of file marker.

https://kaitoy.github.io/pcap4j/javadoc/latest/en/org/pcap4j/core/PcapHandle.html#getNextPacketEx()
lgtm


Nice poke, I don't think anyone noticed

Nice job, you've beat me to it.


[BUG] Image Zoom on Hover Causes Card Borders to Lose Rounded Corners

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
The image zooms in, but the card's rounded borders become square.
Expected Behavior
The image should zoom in while maintaining the card's rounded borders.
Reproduction steps
1. Hover over the card.
2. Observe the behavior of the image and the card's borders.

Screenshots
https://github.com/krishnaacharyaa/wanderlust/assets/109758195/77bb505d-4b60-4cc9-8516-22a965bb00c9
Logs
No response
Browsers
Firefox, Chrome, Safari, Microsoft Edge, Opera
OS
No response

Go ahead take it @Vimall03, follow contributing guidelines

@krishnaacharyaa can you assign me this issue under GSSoC'24, level 2

@Vimall03 https://github.com/krishnaacharyaa/wanderlust/pull/318 it is a simple readme, gave him 3rd level because almost a day there was back and forth about the requirements, in this actual PR #317 and he did it.
Simple take away don't ask me levels, just pure heart contributions, I'll give the highest possible out there, you come with this rounded thing and expect me to give 2nd level what is the whole point?
Actuall this is even not a bug, just because you wanted this points I'm go ahead do it... but tbh no respect, see the youtube and even they have the exact same bug, who cares dude!!!!!
Do something impactful, I feel you can do it, let me know if you wanna do something interesting and make a real impact :)
Happy to give you points even if you don't ask,
And read the code of conduct, you'll get to know the mindset, once you know, I don't think any other project will give you this crazy points, I don't care much about points and stuff, i have had it enough! but i understand if you are hunting, but I know you know !! :)
All the best

Hi @krishnaacharyaa ,
Your response seemed unnecessarily harsh and off-topic. I was simply asking for a GSSOC label and a level, not to debate about the README file or any specific PR.

This won't be given any level unfortunately. @Vimall03 I like the attention to detail. Read code of conduct for level 3 points

I completely agree with your previous reply, and it was more than enough for me to understand the situation. I never intended to force anything after that nor did I bring up some random PR for comparison.
I realize that asking for a level for a bug was not fair of me, and I'm sorry for that. However, saying "who cares dude" about a bug was dismissive and uncalled for.
Addressing even minor bugs is crucial for maintaining the project's quality and helps new contributors get familiar with the codebase. Let's aim to keep our interactions constructive and professional.
I just wanted to clarify that it's my way of getting started with the project. I often start with small bugs to get settled in before contributing more significantly.
Given this interaction, I don't feel motivated to continue working on this project. Thanks for your time.
Regards,
Vimall03

@Vimall03 good time spent on the reply, thanks for your time. I guess the "who cares dude!!!!"  is not taken as a scope of creating an actual impact rather as an insult, which is fine.
I wish you create an impact, thats all what I meant, you know it is my way of saying. You may find it unprofessional bla bla.
But I don't like being professional in chat and Hey bro person is chat for me, I am the same person and I don't switch roles.
You had a fair enough point of Thats how you work starting with chota bugs, that helps you get along with the project, makes sense. By reading the code of conduct of the project you should have ideally figured out the kinda person I am , and not get offended when i said it.
I felt you are a nice guy and a little push would actually help you, so spent some time on telling "create an impact" in the message nothing related to praising some other guy of readme. I never come back to issues once commented, but felt like doing anyways, turned out that it was offensive.
Take care :) Have a good contributing life !!

@Mayur-666 did you feel the same way? When i said focus on big things, create impact? like @Vimall03 felt? I just wanted to understand, if i am not able to properly convey the message altogether and being mean

Super @Mayur-666. That's great!
I guess I was indeed harsh with @Vimall03
Sorry mate if you felt offended.
Thank you
All the best @Mayur-666. Rock it

Thanks for the masterclass in motivational chaos. Also, interesting move seeking validation. Thanks for the guidance!


KAFKA-12651: Register Connect REST extensions before bringing up REST resources

Jira
Copied from the Jira ticket:

Connect currently registers custom REST extensions after REST resources. This can be problematic in security-conscious environments where REST extensions are used to lock down access to the Connect REST API, as it creates a window of opportunity for unauthenticated access to the REST API between the time the worker's REST resources are brought up and when its REST extensions are registered.

This change aims to address that vulnerability by registering REST extensions before REST resources.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@ncliang @gharris1727 @kpatelatwork @ddasarathan could one or two of you take a look at this when you have time?

Whoops, turns out the REST resources aren't online immediately after being registered and are only brought up at a later point. By this point all REST extensions have been registered so there's no need for any changes here.


Umbrel Input Validation

Description
The Input validation for Umbrel is not working correctly.
Name, Username
Only the min and max characters validation is applied but spaces, special characters are allowed and starting the name with a numeric value is allowed while it shouldn't.

Country

Country Field should only accept alphabetical characters and spaces.

Farm Name

Should have the same constraints as the farm name field in the dashboard

No special characters except for - and _
Min 3 characters, max 40
Only alphabetic and numeric characters are allowed. no spaces.

Veified on devnet.

The name, username validation was fixed and now it only accepts alphanumeric values and can only start with a alphabetical value. and the Deploy button is disabled when there's a validation error.

Farm Name/Country/gateway were decided to remain the same since the values are listed below and no validation is needed for these fields.


l4t-pytorch:r35.1.0-pth1.11-py3 error runing yoloy7 RuntimeError: CUDA error: no kernel image is available for execution on the device CUDA kernel errors might be asynchronously reported at some other API call,so the stacktrace below might be incorrect.

The error is reported as follows:

My edge computing device is JETSON AGX ORIN
CUDA version: 11.4
The container I run is nvcr.io/nvidia/l4t-ml:r35.1.0-py3
The command that docker runs is:
docker run - it -- runtime nvidia -- name yolo - v/home/dronekits/yolov5 master/yolov7:/yolov7 -- network host nvcr.io/nvidia/l4t-ml: r35.1.0-py3

The command executed in the container is:
python3 detect.py -- weights yolov7.pt -- conf 0.25 -- img-size 640 -- source information/images/horses.jpg

How can I run my deep learning algorithm normally？

This image can solve my problem:dustynv/l4t-pytorch:r35.1.0-pth1.13-py3
docker pull dustynv/l4t-pytorch:r35.1.0-pth1.13-py3


cannot set default workspaces as 1-5 (removing ws 0)

This is my sxhkdrc config
super + {1-5}
berryc switch_workspace {1-5}
super + shift + {1-5}
berryc send_to_workspace {1-5}
But berry opens with workspace 0. When I switch workspace windows in ws 0 lost permanently. After switching to another workspace there is no ws 0 until I restart berry.

Yeah, your schkdrc isn't configured properly. Looking at the provided sample configuration, you'll want something like this:
super + {1-9}
    berryc switch_workspace {0-9}

super + shift + {1-9}
    berryc send_to_workspace {0-9}

berry workspaces are 0-indexed, whereas you likely want your keyboard to be 1-indexed.

Yeah, your schkdrc isn't configured properly. Looking at the provided sample configuration, you'll want something like this:
super + {1-9}
    berryc switch_workspace {0-9}

super + shift + {1-9}
    berryc send_to_workspace {0-9}

berry workspaces are 0-indexed, whereas you likely want your keyboard to be 1-indexed.

Then I should change to 0-5. Thanks.


1.11.2 Server crash on loading

Minecraft Version: 1.11.2
Forge Version: <IP_ADDRESS>4
Mod Version: InfiniTiC-1.11.2-0.1.37
Crash Report:
crash-2017-09-18_18.33.21-server.txt
More Information:
Client is working well with mod, only server crash on start.
After removal of mod, Server starts normally.

This is fixed as per version 0.1.41


PoC - Feature: commands chain

Q
A

New Feature
yes

Description
New feature so we can create chains from commands.
I've started working on some commands for laminas-mvc and then I realised that it would be nice to have a way to call another command after successful call of the previous one.
For example, we'd like to suggest registering module within the application straight after it is created, but we'd like to have ability also to (de)register any other module. Also, when module is registered we should enable autoloading for the module (PSR-4 composer autoloading)... etc.
I've added the simple implementation here, and created also commands (not fully working, just PoC) for laminas-mvc - see: https://github.com/laminas/laminas-mvc/pull/49
Configuration for commands chains is as below:
'laminas-cli' => [
    'commands' => [
        'mvc:module:register'           => Command\RegisterModuleCommand::class,
        'mvc:module:enable-autoloading' => Command\EnableComposerAutoloadingCommand::class,
        'mvc:module:create'             => Command\CreateModuleCommand::class,
    ],
    'chains' => [
        Command\CreateModuleCommand::class => [
            // only if execution of CreateModuleCommand is successful (exit code == 0) then EnableComposerAutoloadingCommand is executed
            Command\EnableComposerAutoloadingCommand::class => [
                '--name' => '--module',
                '--dir'  => '--dir',
            ],
        ],
        Command\EnableComposerAutoloadingCommand::class => [
            // only if execution EnableComposerAutoloadingCommand is successful (exit code == 0) then RegisterModuleCommand is executed
            Command\RegisterModuleCommand::class => [
                '--module' => '--module',
                '--dir'    => '--dir',
                '--mode'   => '--mode',
            ],
        ],
    ],
],

It is possible to use also any custom mapper - then we just need provide the mapper class name (class must implement interface Laminas\Cli\InputMapper\InputMapperInterface) and must be instantiable without parameters.
With custom mapper we can do much more - convert some arguments from the previous command, add new arguments etc...
When we use array as mapper it uses internally ArrayInputMapper which translates only previous command input param names into next command input param names.

First of all, I really like the idea behind this.
However, I dont like that event dispatching stuff for the sake of having a command chain.
What about creating an own Command instance which consumes multiple commands and thus can be called as an own command.
The benefits of this solution would be:

having a proper command object
no usage of event dispatching
every command can still be executed on its own
no magic event listeners from third-party libraries which are auto invoked when executing official laminas commands

In a security concern, I am always a bit cautious because there might be a malicious third-party library which "hooks" on an official command without the users knowledge (as the official command still executes). However, one could also easily overwrite an official (laminas) commands name and therefore the problem already exists. Just wanted to mention this here as a sidenode.

@weierophinney

Did you consider the idea from @boesing to perhaps instead introduce a CommandChain class?

Yes, I did, and I do have couple problems with it:

where and how to provide mapping between commands?
we need define new command name for chain, so we are going to multiple commands, with similar functionality
it is not that easily extensible, so for example if we want to create also doctrine entity with crud controller we can simply add it to the chain, and we do not need create another command which will combine these two.
configuration - minor - we cannot provide class in configuration, so it would need be an array or commands which will be executed, then we probably should have also array of arrays, so we can run the same recursively etc...

The main problem is that it is not going to be that easily extensible as I wanted. I might be missing something, so I am happy to see more :)

@weierophinney

I think the only part I might want to do differently is to, instead of requiring symfony/event-dispatcher, instead provide a barebones, context-specific implementation (which only requires adding symfony/contracts as a dependency):

I wanted to do it before, first I thought I can just provide our simply PSR-14 implementation, but I find out that typehint is on symfony contract event-dispatcher... and it is, but only in v5. In v4 we have typehint on symfony event dipatcher interface, so if we want support symfony console v4 we need unfortunately include symfony/event-dispatcher.
I had to bump to symfony/conolse 4.1 as there we have setInputs on application tester, so we can test the application properly.
When writing tests I've noted that breaking the chain doesn't work as I expected, but I left it that way as it has more sense. Here is the example:
command1
|- command2
|  |- command3
|  |- command4
|- command5

if we decide execute all, the order will be:
command1, command2, command3, command4, command5

if we [s]kip on command2, then also command3 and command4 will be skipped (automatically, as it is subchain) and we will see question about command5.

if we [b]reak on command2 then we are not gonna see any further questions (as we break the only chain).

if we [b]reak on command3 then the next question is going to be about command5 as the we broke the subchain only (here, I thought break at any point stop any other commands, but as it is implemented now it will just break the current chain).

Hope it is clear. I think we need to clarify it in the documentation somehow :)
I am not sure why tests are failing on travis. On my local (macos and linux) tests are fine (lowest and latest deps). Not sure how to solve the issue.


Volume slice visbility broken

Enabling slice visibility in volume view will freeze the volume view and output the following warning:
Error: WebGL warning: clear: Framebuffer not complete. (status: 0x8cd7)

Isolated to this vtk-js commit: https://github.com/Kitware/vtk-js/commit/dec5008afc5298b52ed609abd38bec1d5a36a515
Haven't looked much into it yet, but @martinken do you recognize the warning?

Yes, that warning typically means someone is trying to use a framebuffer that is missing something it needs (such as a depth buffer or color buffer)

Should be fixed by https://github.com/Kitware/vtk-js/pull/733


seti-syntax package breaks apm upgrade mechanism

Hey there, just switched to seti-syntax today and got to say: It's really really great. However, after the installation I recognized, that I wasn't able to use the apm upgrade command anymore as it simply returns undefined.
Tracked it down to the seti-syntax package:
~ $ apm upgrade
undefined
~ $ apm deinstall seti-syntax
Uninstalling seti-syntax ✓
~ $ apm upgrade
Package Updates Available (0)
└── (empty)
~ $
~ $
~ $ apm --version
apm  1.15.3
npm  3.10.5
node 4.4.5 x64
python 2.7.10
git 2.8.4

Just wanted to be sure to report this in case anyone else is encountering this problem.
Additionally, if you need any further information, don't hesitate to ask!

+1 Came here to report the same issue. I installed the most recent update of seti-syntax, and experienced the same problem. Haven't done any debugging, but it happened the moment seti-syntax was updated: atom cannot successfully search for updates. Settings>Update returns undefined. I also noticed that seti-syntax is no longer selectable in the Sytax Theme dropdown, and doesn't appear under Installed Themes, (thus can't be uninstalled in the gui) though it is still in the config folder.

This same problem is referenced in https://github.com/atom/atom/issues/13790
I tried turning off Dynamic Theme (basically the only useful configuration option) but it didn't do anything; I think it's a problem with the theme itself.
I reverted to version 1.0.1 and it seems to work properly:
apm install<EMAIL_ADDRESS>

atom/apm #620 is the issue thread on apm for this same problem.

Just leaving a note after finding the same issue, thank you to @jriesen for the workaround which is functioning great!

The strange case for seti-syntax is that, even the version in package index is in the form of git package.

Hello,
Can this please re-opened, @jesseweed, please? I am seeing the exact same thing with both seti-ui and seti-syntax installed, and I especially like using seti-syntax.
my set-up is:
Mac OS v10.12.4
Atom v1.16.0
and from apm version on the command line —
$ apm --version
apm  1.16.1
npm  3.10.5
node 6.9.5 x64
python 2.7.10
git 2.11.0

withseti-uiandseti-syntaxinstalled, either from within Atom > Settings > Updates or from the command line withapm update`, i get —
$ apm update
undefined

... everytime. the moment i remove seti-uiandseti-syntax`, updates, both from within the Atom editor app and from the command line, work fine.
can this please be updated so that all your seti theme packages work with the apm update in the current Atom 1.16.0, please?
i will also put this over in jesseweed/seti-ui#381 , which is the same issue for seti-ui.
best,
—  faddah
portland, oregon, u.s.a.

FYI, I think there's something peculiar with your setup -- I am also running OSX 10.12.4 and Atom 1.16.0, using seti-ui and seti-syntax, and this problem was resolved for me back in early March.  I am running<EMAIL_ADDRESS>and<EMAIL_ADDRESS>which are the latest versions.  Checking for updates both in Atom and at the command line with apm update work fine for me.

@jriesen @jesseweed - ok, i did what you said and that is working for me now, with the new<EMAIL_ADDRESS>&<EMAIL_ADDRESS>running now and, after restart, Atom editor updates working fine. so ok to leave it closed, but I would suggest adding to your README.md with notes that if they had the earlier versions and are running into the update problem —

delete old versions of seti-ui & seti-syntax from Atom themes
restart Atom
install the latest<EMAIL_ADDRESS>&<EMAIL_ADDRESS>in Atom > Settings > Install
restart Atom & test Atom > Settings > Updates to make sure it working o.k.

That is my suggestion for the README.md here. I will also post this in jesseweed/seti-ui#381.
best,
—  faddah
portland, oregon, u.s.a.

NS configuration


how to set gpu id

seems it uses all gpus, is there a way to specify one?

Now, the global static API "Env::init_env()" create cudastreams at all GPUs, but the computation is only run on one device


Definition of @ServiceActivator([destination].[group].errors) disables BinderErrorChannel

versions

Spring Boot: 2.7.3
Spring Cloud: 2021.0.4

Problem
@Bean
public Consumer<Payload> consume() {
  return payload -> throw new RuntimeException("error");
}

@ServiceActivator(inputChannel = "destination.group.errors")
public void errorChannel(MessagingException e) {
  ...
}

Registering a ServiceActivator for "destination.group.errors" channel will break MessageHandler of the binder.

When ServiceActivator is not registered, BinderErrorChannel bean is registered.
When ServiceActivator is registered, DirectWithAttributesChannel bean is registered

If "destination.group.errors" bean is registered as DirectChannel, AbstractMessageChannelBinder#isSubscribable becomes false, so it does not subscribe to Consumer<ErrorMessage> and MessageHandler of the binder.

https://github.com/spring-cloud/spring-cloud-stream/blob/v3.2.5/core/spring-cloud-stream/src/main/java/org/springframework/cloud/stream/binder/AbstractMessageChannelBinder.java#L710-L712
https://github.com/spring-cloud/spring-cloud-stream/blob/v3.2.5/core/spring-cloud-stream/src/main/java/org/springframework/cloud/stream/binder/AbstractMessageChannelBinder.java#L764-L779

Cause
"destination.group.errors" bean is registered as DirectWithAttributesChannel because [MessagingAnnotationPostProcessor>ServiceActivatorAnnotationPostProcessor>SubscribableChannelBindingTargetFactory] runs before [BindableFunctionProxyFactory>BindingService>Binder(RabbitMessageChannelBinder)].

https://github.com/spring-cloud/spring-cloud-stream/blob/v3.2.5/core/spring-cloud-stream/src/main/java/org/springframework/cloud/stream/binding/SubscribableChannelBindingTargetFactory.java#L49-L76
https://github.com/spring-cloud/spring-cloud-stream/blob/v3.2.5/core/spring-cloud-stream/src/main/java/org/springframework/cloud/stream/binder/AbstractMessageChannelBinder.java#L715-L721

Is this behavior expected?

Given that error-handling has been completely revamped I am closing this issue as there is nothing to do.

@olegz

error-handling has been completely revamped

Does that mean that ServiceActivator should already not be used in the functional programming model?
ServiceActivator is certainly available even now and is mentioned in the reference.

https://docs.spring.io/spring-cloud-stream/docs/current/reference/html/spring-cloud-stream.html#polled-errors

Workaround for this issue
Define a bean in advance so that the "destination.group.errors" bean is not registered as a DirectChannel.
@Bean
public Consumer<Payload> consume() {
  return payload -> throw new RuntimeException("error");
}

@Bean("destination.group.errors")
public SubscribableChannel destinationGroupErrorsChannel() {
  BinderErrorChannelWrapper channel = new BinderErrorChannelWrapper();
  channel.setComponentName("destination.group.errors");
  return channel;
}

@ServiceActivator(inputChannel = "destination.group.errors")
public void subscribeErrorChannel(MessagingException e) {
  ...
}

org.springframework.cloud.stream.binder.BinderErrorChannel used by the binder by default are package-private, so you'll need to extend this class to fully reproduce the behavior.
public class BinderErrorChannelWrapper extends BinderErrorChannel {
}


Make sure to read the last snapshot and fix deserializing data

Issue 1: Even though the combination of start and backwards seems to make sense, this implementation was not correct. The EventStore returns the first snapshot in this case instead of the last snapshot. Unfortunately this doesn't seem to be covered by the Commanded Testsuite.
Issue 2: The snapshot.data was not decoded to a struct but just to a map, which caused the ProcessManager to not match any of the handle clauses.

No problem, thanks for taking a look! ☺


Bug: @available attribute is not added to Builder structs (v0.0.3)

@Mockable
protocol MyProtocol {
    @available(iOS 15, *)
    func foo()
}

And the generated code is below;
#if MOCKING
final class MockMyProtocol: MyProtocol, Mockable {
    private var mocker = Mocker<MockMyProtocol>()
    @available(*, deprecated, message: "Use given(_ service:) of MockableTest instead.")
    func given() -> ReturnBuilder {
        .init(mocker: mocker)
    }
    @available(*, deprecated, message: "Use when(_ service:) of MockableTest instead.")
    func when() -> ActionBuilder {
        .init(mocker: mocker)
    }
    @available(*, deprecated, message: "Use verify(_ service:) of MockableTest instead.")
    func verify(with assertion: @escaping MockableAssertion) -> VerifyBuilder {
        .init(mocker: mocker, assertion: assertion)
    }
    func reset(_ scopes: Set<MockerScope> = .all) {
        mocker.reset(scopes: scopes)
    }
    init() {
    }
    @available(iOS 15, *)
        func foo() {
        let member: Member = .m1_foo
        try! mocker.mock(member) { producer in
            let producer = try cast(producer) as () -> Void
            return producer()
        }
    }
    enum Member: Matchable, CaseIdentifiable {
        case m1_foo
        func match(_ other: Member) -> Bool {
            switch (self, other) {
            case (.m1_foo, .m1_foo):
                return true

            }
        }
    }
    struct ReturnBuilder: EffectBuilder {
        private let mocker: Mocker<MockMyProtocol>
        init(mocker: Mocker<MockMyProtocol>) {
            self.mocker = mocker
        }
        func foo() -> FunctionReturnBuilder<MockMyProtocol, ReturnBuilder, Void, () -> Void> {
            .init(mocker, kind: .m1_foo)
        }
    }
    struct ActionBuilder: EffectBuilder {
        private let mocker: Mocker<MockMyProtocol>
        init(mocker: Mocker<MockMyProtocol>) {
            self.mocker = mocker
        }
        func foo() -> FunctionActionBuilder<MockMyProtocol, ActionBuilder> {
            .init(mocker, kind: .m1_foo)
        }
    }
    struct VerifyBuilder: AssertionBuilder {
        private let mocker: Mocker<MockMyProtocol>
        private let assertion: MockableAssertion
        init(mocker: Mocker<MockMyProtocol>, assertion: @escaping MockableAssertion) {
            self.mocker = mocker
            self.assertion = assertion
        }
        func foo() -> FunctionVerifyBuilder<MockMyProtocol, VerifyBuilder> {
            .init(mocker, kind: .m1_foo, assertion: assertion)
        }
    }
}
#endif

See there is no @available attribute in ReturnBuilder, ActionBuilder and VerifyBuilder structs

@EnesKaraosman This is now fixed in 0.0.4


Use coherent formatting with spdlog

In GitLab by @tpaluszk on May 7, 2019, 12:01
Using the same formatting library as used in spdlog (fmt) should prevent issues with accidental passing of non-POD to the c++ string format.

In GitLab by @ksiero on Feb 14, 2020, 10:11
closed

In GitLab by @ksiero on Feb 14, 2020, 10:11
Yes, it is. I don't know how I missed this issue when I was looking at issue list.

@ksiero is this done?


Add search field + filters to Dataset Provider page

To this page:
https://landportal.org/book/sources
Please add search filters for:

organization type
organization name

Similar to the Library sources page: https://landportal.org/library/sources
Most intuitive way to search for sources. It might not be a super long list now, but it is going to be longer and this is much more intuitive.
Thanks!

@silvinabcn to do it.


Add instructions on how to commit separate logical changes

Give additional information on how to split a (large) change into separate (smaller) logical changes – before committing by using git add interactive mode  via the git add -p command.

#6 is also roughly the same idea as well.

The markdown linter in my editor only recognizes triple back ticks [for inline highlighting] I'm not sure why but I made another commit to change them to single ticks (Github gladly accepts them, thanks!). Using git add -p is all up to preference I guess as it states it bypasses the initial command menu and directly jumps to the patch subcommand so it's not exactly git add -i either way it's good to understand how to interactively add the changes you'd like to commit.

:+1: I think this is the better solution as it feels more user friendly.

@mstoiber This is how it felt to me as well. git add -p seems simpler to me which is why I made the pull request. It's a similar idea to #6 but easier on the developer imho.

@nathanielaozl Thanks for the idea! I've went with something simpler as I'd prefer not to expand on explaining how git commands work :)


Socket support

Not sure if anyone else would find this useful, but I would love the ability to be able to connect to a socket and send arbitrary data from the mock server.

:+1: +1

A simple solution for the start would be that the websocket fires an event when any data is updated. This way you would at least know if you had to reload the data.

i am also interested in this, can there be a event listener on lowdb then change happens to specific "find" or a query?

This feature would be awesome. Looking at Custom routes example it should be possible to integrate a websocket server implementation, too, right?

You can do this without any changes to json-server, here's how I did it:
const jsonServer = require('json-server')
const app = jsonServer.create()
const http = require('http')
const server = http.createServer(app);
const router = jsonServer.router('db.json')
const WebSocket = require('ws')
const wss = new WebSocket.Server({ server });
// .. etc basic jsonServer setup, for instance

app.use(jsonServer.rewriter({
  '/api/*': '/$1'
}))

app.use(router)

// websocket listener
wss.on('connection', (ws) => {
  ws.on('message', function incoming(message) {
    console.log('received: %s', message);
    // route your websocket messages
  });

  ws.send('Hi there, I am a WebSocket server');
});

server.listen(port, () => {
  console.log(`Server started on port ${server.address().port} :)`);
});

its very unclear what your solution is doing, how is the rewriter related to the WS?

its very unclear what your solution is doing, how is the rewriter related to the WS?

this was originally a question to someone who posted a code, but it got deleted.


/api/v2/delete requires orgID even if provided

InfluxDB version： 2.1.1
POST http://influxdb.mysite.com/api/v2/delete
Header:
Authorization: Token mytoken
Body:
{
"bucket": "Motest",
"bucketID":"3d03663e3f4e7a1d",
"org": "screeps",
"orgID": "4b3a0c5affadb853",
"start": "2022-01-01T00:00:00Z",
"stop": "2023-12-31T23:59:59Z"
}
response:
{
"code": "invalid",
"message": "Please provide either orgID or org"
}
req:

rep:

org name and id:

bucket name and id

header:

Okay.  The documentation makes me confused. I have figured out that I have to pass the org and bucket in the url instead of payload.


Update backend env vars in env.yml and remove request.body logging

Updates backend env vars and removes logging for request body.
🗣 Description

💭 Motivation and context

🧪 Testing

✅ Pre-approval checklist

[ ] This PR has an informative and human-readable title.
[ ] Changes are limited to a single goal - eschew scope creep!
[ ] All future TODOs are captured in issues, which are referenced
in code comments.
[ ] All relevant type-of-change labels have been added.
[ ] I have read the CONTRIBUTING document.
[ ] These code changes follow cisagov code standards.
[ ] All relevant repo and/or project documentation has been updated
to reflect the changes in this PR.
[ ] Tests have been added and/or modified to cover the changes in this PR.
[ ] All new and existing tests pass.

✅ Pre-merge checklist

[ ] Revert dependencies to default branches.
[ ] Finalize version.

✅ Post-merge checklist

[ ] Create a release.

Instead of explicitly putting the values in we should use the parameter store: ${ssm:/crossfeed/staging/REACT_APP_COGNITO_DOMAIN}
for each of them

But I guess it's already explicitly stated in stage.env and prod.env so I guess this is fine. We won't need the parameter store parameters anymore then


data: helloakash1701

Fixes Issue

Changes proposed

Check List (Check all the applicable boxes)

[ ] My code follows the code style of this project.
[ ] My change requires changes to the documentation.
[ ] I have updated the documentation accordingly.
[ ] All new and existing tests passed.
[ ] This PR does not contain plagiarized content.
[ ] The title of my pull request is a short description of the requested changes.

Screenshots

Note to reviewers

You seem to have created two PRs to create your Profile.
As your first PR has been merged (see: https://github.com/EddieHubCommunity/LinkFree/pull/7546/files) I will close this PR.
If you want to make changes to your Profile then please raise a new PR - you may also wish to take a look at our Editing Guide in Docs: https://linkfree.io/docs/how-to-guides/editing


Potential MouseTracker bug on touch devices (active pointer count not cleared)

I've encountered an issue where the active pointer count on innerTracker (and outerTracker as well) does not reset in some cases when using the SVG Overlay plugin (and potentially other similar plugins). To illustrate, I created a minimal demo: LINK.
Here's a step-by-step breakdown of the issue:
Device: I'm using an iPad, but it occurs on other touch-enabled devices as well.
Setup: The demo is a simple OpenSeadragon instance with SVG Overlay (the SVG plugin code is embedded directly in the JS tab)
Important Note: The SVG element (a red triangle) has pointer-events set to auto—this appears to be the key, as the issue does not occur with pointer-events: none.
Reproducing the Issue:
I added the following code to the demo:
setInterval(() => {
  document.getElementById("count").innerHTML = "Active pointer count: " + viewer.innerTracker.getActivePointerCount();
}, 300);
....
overlay.onClick(d3Rect.node(), function() {
  setTimeout(() => d3Rect.remove(), 1000);
});

The first snippet logs the active pointer count.
The second snippet removes the SVG polygon 1 second after it’s clicked.
Steps to Trigger:

Click the triangle.
Immediately, with 1-2 fingers on the triangle and one off, perform a pan/zoom gesture continuously.
When the triangle disappears and fingers are released, the getActivePointerCount() does not reset and may stay at 1 (or sometimes 2).
This leads to the pointer count remaining "stuck," which in turn disrupts gesture functionality.

@msalsbery What do you think? Would you mind taking a look?

@msalsbery What do you think? Would you mind taking a look?

Yes! 👍


How can I add CustomButtons

The Options let me to add custombuttons, but is not possible to correctly configure the 'click' property.
How can I manage this?
Thank you in advance!
Elias.

Its new features, I will implement it in the next release.

this issue deprecated.
<EMAIL_ADDRESS>released without Jquery,
try use<EMAIL_ADDRESS>with fulcalendar plugins
and see demo


updated validations.py script

Fixes #<issue_number_goes_here>

It's a good idea to open an issue first for discussion.

[ ] Tests pass
[ ] Appropriate changes to README are included in PR

@googlebot I signed it


feat: Added 3 workflows for GitHub Actions

GSSOC'23 Contributor
Fixes Issue No : #84
Proposed Changes

Added 3 workflows in workflows Sub-Folder inside .github Parent Folder.

For Reviewers

I did not add deno.yml File. Because this is not Suitable for Current Project Requirements.
In my Issue , issues.yml File has wrong Description. Sorry for that. Otherwise Remaining 3 Files are added Conveniently.

Hi @sazamansari . Please Review on this PR as soon as Possible. Thank You !


minor: Fix docs for create_default_catalog_and_schema

Which issue does this PR close?
re https://github.com/apache/arrow-datafusion/issues/4517 and  https://github.com/apache/arrow-datafusion/pull/4771
Rationale for this change
Noticed by  @DDtKey when published: https://github.com/apache/arrow-site/pull/301/files#r1083440675
What changes are included in this PR?
Fix what looks like a copy/paste error introduced in https://github.com/apache/arrow-datafusion/pull/4771
Are these changes tested?
No
Are there any user-facing changes?
Fix bug on https://arrow.apache.org/datafusion/user-guide/configs.html

"no space left on device" errors should be fixed by merging up from master to get https://github.com/apache/arrow-datafusion/pull/5047

Oops

The reviewer (yours truly) was asleep at the switch ;)


txn: only collapse rollback with smaller for_update_ts

What have you changed?
WIP
What is the type of the changes?
Bugfix
How is the PR tested?
WIP

Does this PR affect documentation (docs) or should it be mentioned in the release notes?
No
Does this PR affect tidb-ansible?
No
Refer to a related PR or issue link (optional)
Benchmark result if necessary (optional)
Any examples? (optional)

/run-integration-tests


Messages with nested enums are not generated to JS

Right now the messages that contain enums do not generate the corresponding JS classes.
This is apparent in the generated known_types.js, which errors due to null class paths when loaded by the browser.

@dmitrykuzmin please have a look. This one may be done already.

This issue is no longer reproducible.
The Proto JS plugin unit tests verify that the plugin itself works correctly in this case.
However, we could also consider adding smoke tests for the Proto JS plugin to ensure that the JS code generation process works correctly in general.


Add functions to get all of fixed|free, scaled parameter values

Do we really need both the properties and the functions? Can live with it, but seems a bit bloated.

yeah, don't need the properties, but did not want to destroy backward compatibility in amici+pypesto atm

Codecov Report

Merging #273 into develop will not change coverage.
The diff coverage is 20%.

@@           Coverage Diff            @@
##           develop     #273   +/-   ##
========================================
  Coverage    71.01%   71.01%
========================================
  Files           22       22
  Lines         1718     1718
  Branches       372      372
========================================
  Hits          1220     1220
  Misses         418      418
  Partials        80       80

Impacted Files
Coverage Δ

petab/problem.py
53.8% <20%> (ø)
:arrow_up:

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 202118f...c6dfeb6. Read the comment docs.


Add API enpoint to return WP resources from different url alias

Create a WP API endpoint to receive an alias slug and return the proper WP object or an external url redirect if it match with any.

To Review

[ ] Go to http://{DOMAIN}/wp-json/tw/v2/alias?slug={SLUG_OR_PATH} and confirm the object or message returned is the expected one.

@rpeterman-gp or @brandonhundt is it ok? can I merge this? or if you can do that it would be great. Thanks


Added support from multi-directory choosers.

Code change lgtm! 👍
Just looks like it's missing the entry in languages/english.json that _('choose_folders') is referencing.


Cloudwatch logs agent is returning hostname instead of instance id

Hi,
The latest AMI build for Linux was built with awscli-cwlogs version 1.4.4.  This is causing an issue with
log naming in cloudwatch, where the hostname is used instead of the Instance ID.
The issue seems to be fixed by updating to version to 1.4.6
see here for more info https://forums.aws.amazon.com/thread.jspa?threadID=312234

I’ve just confirmed on the most recent version of the Elastic CI Stack AMI and this appears to have been updated some time in the past. Thank you for opening this issue 😁 please let us know if you see any further problems with the CloudWatch agent on your Elastic CI Stack instances 🙇♂


Is this middleware beneficial?

I'm curious, what are the benefits of using this middleware when Raven is designed to capture exceptions at the window scope out of the box (assuming the following known issue is fixed): https://github.com/getsentry/raven-js/issues/424

It also passes the Redux store to Sentry. Some issues with Sentry not being able to handle large messages though.

What you mentioned. Passing Redux store to Sentry. I could see that being useful in the recreation of errors assuming state can be properly reconstructed from the object passed. The risk involved is that it's more likely sensitive data, which could be temporarily stored in app state, such as Personally Identifiable Information or passwords, could also be passed inadvertently if that info is not redacted from the payload prior to transmission.


typo menu_select def

standart should be standard

Codecov Report

Merging #386 into master will increase coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #386      +/-   ##
==========================================
+ Coverage   94.48%   94.49%   +0.01%
==========================================
  Files          49       49
  Lines       19775    19775
==========================================
+ Hits        18685    18687       +2
+ Misses       1090     1088       -2


Add top-p sampling for text generation

Implementation adapted from here
Partially fixes https://github.com/ml-explore/mlx-examples/issues/218.

Thanks for the contribution!
@mzbac what do you think, should we include this here? It might make sense to have the HTTP server call this function since the two generates are almost identical?

Yeah, it makes sense to move the top_k into the generate_step and update the server script to use the generate_step directly. The reason I didn't use it when creating the server script was because the repetition_penalty was pending, trying to avoid conflict. I will update the server script once this is merged.


request: have two word lists, one for answers and one for allowed guesses

the file for answers should be a strict subset of the one for guesses.  allowed_guesses.txt should contain plurals, that way the user can guess plurals

fixed it, awesome idea man!  great profile pic too!


Cannot get Ingress working "like I always did" in the past

This week I tried to install and use the current rancher/rancher:stable (which is the same as rancher/rancher:latest). On my "old" Rancher setup which I created two years ago, I had
18.09 docker
rancher1.13.4-rancher1-1
rancher server
v2.1.7

Everything is running on Hetzner Cloud.
What kind of request is this (question/bug/enhancement/feature request):
Question
Question: How to use Ingress (at Hetzner Cloud)
Steps to reproduce (least amount of steps as possible):

Create a Rancher instance rancher/rancher:stable
Not sure if this also happening on other platforms too
install Node Driver https://github.com/mxschmitt/ui-driver-hetzner
TD/RL

Download URL | https://github.com/JonasProgrammer/docker-machine-driver-hetzner/releases/download/3.3.0/docker-machine-driver-hetzner_3.3.0_linux_amd64.tar.gz
Custom UI URL | https://storage.googleapis.com/hcloud-rancher-v2-ui-driver/component.js
Whitelist Domains | storage.googleapis.com

add a cluster with Hetzner API within Rancher

node: name system, count 1
node name worker, count 2

kept all options default (like I always did)

I can see that there are new options added in "v2.5.8" compared to my old Rancher (v2.1.7) (like ingress)

add workload nginx or rancher/hello-world with two pods

I tried NodePort (it is reachable, of course)
as well ClusterIP

add an ingress pointing to that workload (I also tried service)

wait for xip.io address

click the xip.io address

Do I have to check/uncheck something (like "Nginx Ingres" or "Nginx Default Backend") to get the Ingress working?
Result:
nginx.default.MY_IP.xip.io address is not reachable:
DNS_PROBE_POSSIBLE
Expected Result:
show nginxor rancher/hello-world page in browser
Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI):
Installation option (single install/HA):

v2.5.8
all current / unchanged settings
Cluster information

Cluster type (Hosted/Infrastructure Provider/Custom/Imported):

Hetzner

Machine type (cloud/VM/metal) and specifications (CPU/memory):

CX11

Kubernetes version (use kubectl version):

Client Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.7", GitCommit:"1dd5338295409edcfff11505e7bb246f0d325d15", GitTreeState:"clean", BuildDate:"2021-01-13T13:23:52Z", GoVersion:"go1.15.5", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"20", GitVersion:"v1.20.8", GitCommit:"5575935422cc1cf5169dfc8847cb587aa47bac5a", GitTreeState:"clean", BuildDate:"2021-06-16T12:53:07Z", GoVersion:"go1.15.13", Compiler:"gc", Platform:"linux/amd64"}

Docker version (use docker version):

20.10.7
--

Xip.io was recently turned off by its owners.  https://github.com/rancher/rancher/issues/32500


Pull systest image in vagrant setup

image used in max_pod scale test often fails to pull in time
Signed-off-by: samuel.elias<EMAIL_ADDRESS>

Coverage remained the same at 75.288% when pulling 0b96d94997061ba4da5f14f13b75a200663b6307 on samelias:vagrant into 5c3d29178c4d81959bcf2248eba86ee7bc729173 on contiv:master.


This extension won't appear when intalled

This extension won't appear when intalled,
A1111 SD  1.70
how to solve?

Are any errors displayed on your terminal?

Are any errors displayed on your terminal?

I am not so sure this error is the reason,for the generate has no problem.

It looks like tensorflow is borken that is required by other extension.
So, try reinstalling tensorflow.
pip uninstall tensorflow

Then start the webui and reinstalling tensorflow should start with an extension that depends on it.
If the error was not solved, I recommend that you reset your python environment.
Refs:

https://stackoverflow.com/questions/77582620/tensorflow-pywrap-tf2-importerror-dll-load-failed
https://discuss.tensorflow.org/t/dll-load-failed-error-when-importing-tensorflow-pywrap-tfe/16567

It looks like tensorflow is borken that is required by other extension. So, try reinstalling tensorflow.
pip uninstall tensorflow

Then start the webui and reinstalling tensorflow should start with an extension that depends on it.
If the error was not solved, I recommend that you reset your python environment.
Refs:

https://stackoverflow.com/questions/77582620/tensorflow-pywrap-tf2-importerror-dll-load-failed
https://discuss.tensorflow.org/t/dll-load-failed-error-when-importing-tensorflow-pywrap-tfe/16567

When update python to newest version,it shows,thanks for reply.


Typegoose binding reference to polymorphic model

I have a situation with polymorphic models
interface IEvent {
    title: string;
}
class SubscribeEvent implements IEvent {
    @prop()
    title: string;
    @prop({ref: User})
    user: IUser;
}
class NewsEvent implements IEvent {
    @prop()
    title: string;
    @prop({ref: Post})
    post: IPost;
    @prop({ref: User})
    user: IUser;
}
class OrderEvent implements IEvent {
    @prop()
    title: string;
    @prop({ref: Order})
    order: IOrder;
}

Now I created a typegoose model:
class Card extends Typegoose {
    @prop()
    name: string;
    @prop()
    events: IEvent[];
}

How do I correctly map and extract the Card instance with populated references?
Need a 2 solution, when events is list of embedded documents, and when events stored in another collection.
Thanks.
StackOverflow Question

@prop()
events: IEvent[];

you should change it to
@prop({ ref: Event }) // cant use interfaces for this
events: Ref<Event>[] // you could use interfaces for this, but shouldnt

Note: you cant use interface for this

Need a 2 solution, when events is list of embedded documents, and when events stored in another collection.

Not possible with reasonable type completion. (by design)

with v6, you can use mongoose's discriminators
@Ben305 this can be closed as "stale" and "solved?"


Add withRenderProps

From this tweet. Let me know if there's anything missing.

Super! Thank you, I will check at sunday|monday, seems like travis is broken now.

Is TravisCI broken now?

Thanks, Ill add flowtypings and make release.

What are the use cases and benefits of withRenderProps? I asked this question on SO  but did not get any answer. I understand the render prop pattern. What I'd like to know is when/why I would convert some of recompose's HOCs (or my own HOCs) this way, using withRenderProps.


Deploy XC3 in the Dev environment according to the provided guide document

User stories
#1 As a DevOps Engineer, I have to deploy XC3 in dev environemnt to make sure provided guide for installtion of XC3 is correct.
Acceptance Criteria
What must be achieved to consider this story complete?

[x] Clone with XC3 repo
[x] Deploy XC3 in Dev environemnt using installtion guide.
[x] Fix issue if find one.

Deployment was done successfully withoutany error in Dev environment.


docker-compose app gives error while using cli

I started mojito with default docker-compose. Can login, looks ok. But as soon as I run mojito repo-create -n Repo it gives me
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'commandHelper': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.box.l10n.mojito.rest.client.RepositoryClient com.box.l10n.mojito.cli.command.CommandHelper.repositoryClient; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'repositoryClient': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.box.l10n.mojito.rest.resttemplate.AuthenticatedRestTemplate com.box.l10n.mojito.rest.client.BaseClient.authenticatedRestTemplate; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authenticatedRestTemplate': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.box.l10n.mojito.rest.resttemplate.ResttemplateConfig com.box.l10n.mojito.rest.resttemplate.AuthenticatedRestTemplate.resttemplateConfig; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'resttemplateConfig' defined in URL [jar:file:/usr/local/Cellar/mojito-cli/0.86/libexec/mojito-cli-0.86.jar!/lib/mojito-restclient-0.86.jar!/com/box/l10n/mojito/rest/resttemplate/ResttemplateConfig.class]: Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: javax/xml/bind/ValidationException

@vicmosin this is most likely due to the Java version, you can check that doc for troubleshooting: http://www.mojito.global/docs/guides/open-source-contributors/#caused-by-javalangnoclassdeffounderror-javaxxmlbindvalidationexception
Note that the version of Mojito coming with docker-compose is old. I can look at updating if you need. Let me know!

@aurambaj Thanks for feedback. Yeah, it would be nice to have updated version of docker-compose although it's not causing any issues yet. My problem actually the following - I am using java 10 already so maybe you could migrate the app as well. I am not sure yet I want to use it cause I couldn't really test it as I can't event create a repo

We can't support java 10 in the short term. you need to install java 8 to use Mojito


Composer calling 2 times

Hi! If the person did not click on the button, but wrote the text, I have to resend the text with the button so that he clicks in order to continue
When my bot restarts, the entire session is cleared, so I save the step in the scene in the database. Therefore, at the beginning, I check at which step I stopped and continue from that moment.  With this method, I have 2 times called composer. Is there any other way to do this?

scene.step(async (ctx) => {
  const nextStepKey = ctx.session.nextStep // step-1

  if (nextStepKey) {
    ctx.scene.goto(nextStepKey)
  }
})

// there are more steps before

scene.wait("step-1").setup((scene) => {
  scene.on('callback_query:data', async (ctx) => {
    console.log("success"); // go next
  })

  scene.on('message:text', async (ctx) => {
    // this code calling 2 times
    console.log('CURRENT STEP step-1')
  })
})

Console:

CURRENT STEP step-1
CURRENT STEP step-1

I didn't fully grasp what you're doing with the session/context, but I think you're misusing it. grammy-scenes saves the current step on its own, it's supposed to gracefully handle bot restart.
On each wait, it saves the execution stack (current step position):
https://github.com/IlyaSemenov/grammy-scenes/blob/7337c7fdc19e4769fe5677be26f667c34c7ede5f/src/scenes-manager.ts#L170-L174
which means simply putting it to the session:
https://github.com/IlyaSemenov/grammy-scenes/blob/7337c7fdc19e4769fe5677be26f667c34c7ede5f/src/scenes-manager.ts#L133
The session is supposed to be persisted with something like https://github.com/grammyjs/storages.
Then in the middleware, on the next user event (possibly after bot restart), it resumes from where it wait'ed:
https://github.com/IlyaSemenov/grammy-scenes/blob/7337c7fdc19e4769fe5677be26f667c34c7ede5f/src/scenes-composer.ts#L37-L39

If you still want to abuse the scene runner workflow, I suppose you could add a pre-step doing nothing:
scene.label("pre-step-1").step(async (ctx) => {
  // Do nothing. Use it for goto.
})

scene.wait("step-1").setup(() { /* do as before */ })

Then if you goto to it, it won't run whatever handlers are defined in wait().setup() until the next event.

1 case: For example, When the user has an active scene and waits for "step-1" at that moment the bot restarts (for whatever reason). In this case, after the user writes he will receive the next step?

For example, When the user has an active scene and waits for "step-1" at that moment the bot restarts (for whatever reason). In this case, after the user writes he will receive the next step?

If the scene stopped on wait, the bot restarted, and then the user sends a message, the scene manager will execute whatever handlers (middlewares) are defined inside setup() that immediately follows wait(). You should not handle bot restart yourself, that works fully transparently.
That, of course, assumes that the grammy sessions are using some kind of persistent storage backend.

I think it's not working. After bot restart no active scene, that's why i use middleware to enter scene. In this case, the step is reset
bot.use(async (ctx, next) => {
  const tgId = ctx.session.tgId ?? ''
  const startedScene = ctx.session.startedScene
  const lastSceneDate = ctx.session.lastSceneDate
  if (
    startedScene  && !getActiveScene(tgId)
  ) {
    await ctx.scenes.enter(getSceneDayKey(startedScene))
    setActiveScene(tgId, getSceneDayKey(startedScene))
    await next()
    return
  }
  await next()
})

I think I've told everything above and I'm not following what else do you want. The scenes module does not store any local variables and it is thus agnostic to bot restarts. It keeps its state in ctx.session.scenes (you don't overwrite it by chance?) and relies on its persistence.
The active scene is invoked here:
// Actually run scenes
bot.use(scenes)

You may check if the control flow comes there and if the stack is valid (if it points to the correct step):
bot.use((ctx, next) => {
  console.log('resuming scene from', ctx.session.scenes)
  return next()
})
// Actually run scenes
bot.use(scenes)

One thing I would have checked is if you're not forgetting to use await. See, if you call an async handler without awaiting it, the middleware will return immediately and the session will be persisted too soon (the scene stack will be put into a session object that've been already persisted).
Unless you come up with a proper reproduction (the code that I could run and repeat the problem), I won't be able to assist further.

By the way, in the code that you've included, you're probably mistaken in that you're calling await ctx.scenes.enter(...) followed by await next(). In grammy, you're supposed to call next() only if you didn't handle the event. However, as you've called scene enter, you're presumably achieved what you wanted and should not have called next.
That itself unlikely has something to do with your problem, but this kind of mistake (if that is a mistake — sorry if it's there for a reason) shows probable lack of understanding of how middleware stack together. Which means something similar could be causing the original problem.

As I already mentioned three times, the scenes module relies on persisted sessions.
This code does not persist sessions, they are gone on bot restart:
bot.use(
  session({
    initial: () => ({})
  })
)

This (for example) does:
import { PsqlAdapter } from '@grammyjs/storage-psql';

bot.use(
  session({
    initial: () => ({}),
    storage: await PsqlAdapter.create({ tableName: 'sessions', client }),
  })
);


Pre r40 (?) doesn't work with SAMPCTL

Spoke to Southclaw and he mentioned it having something to do with the way versioning is on this git?

Duplicate of #201. Please use that existing issue for any questions or discussions.


Sometimes Numpad Divide key acting as PageUp key when working via RDP (with xrdp)

Issue Type: Bug
Sometimes VSCode starts to process Numpad Divide ("/") key as if I press PageUp key. At the same time xev correctly shows that Numpad Divide key is pressed and in other applications (for example Firefox, gnome-terminal) symbol / is printed when I press Numpad Divide

Press and release Numpad Divide, then press and release PageUp
$ xev
Outer window is 0x4c00001, inner window is 0x4c00002

PropertyNotify event, serial 8, synthetic NO, window 0x4c00001,
    atom 0x27 (WM_NAME), time 97918150, state PropertyNewValue

PropertyNotify event, serial 9, synthetic NO, window 0x4c00001,
    atom 0x22 (WM_COMMAND), time 97918150, state PropertyNewValue

PropertyNotify event, serial 10, synthetic NO, window 0x4c00001,
    atom 0x28 (WM_NORMAL_HINTS), time 97918150, state PropertyNewValue

CreateNotify event, serial 11, synthetic NO, window 0x4c00001,
    parent 0x4c00001, window 0x4c00002, (10,10), width 50, height 50
border_width 4, override NO

PropertyNotify event, serial 14, synthetic NO, window 0x4c00001,
    atom 0xef (WM_PROTOCOLS), time 97918150, state PropertyNewValue

MapNotify event, serial 15, synthetic NO, window 0x4c00001,
    event 0x4c00001, window 0x4c00002, override NO

ConfigureNotify event, serial 28, synthetic NO, window 0x4c00001,
    event 0x4c00001, window 0x4c00001, (0,0), width 178, height 178,
    border_width 0, above 0x80000b, override NO

PropertyNotify event, serial 28, synthetic NO, window 0x4c00001,
    atom 0x180 (_NET_WM_ALLOWED_ACTIONS), time 97918160, state PropertyNewValue

ReparentNotify event, serial 29, synthetic NO, window 0x4c00001,
    event 0x4c00001, window 0x4c00001, parent 0x800e73,
    (0,0), override NO

PropertyNotify event, serial 29, synthetic NO, window 0x4c00001,
    atom 0x103 (_NET_FRAME_EXTENTS), time 97918165, state PropertyNewValue

ConfigureNotify event, serial 29, synthetic NO, window 0x4c00001,
    event 0x4c00001, window 0x4c00001, (10,45), width 178, height 178,
    border_width 0, above 0x0, override NO

PropertyNotify event, serial 29, synthetic NO, window 0x4c00001,
    atom 0x15c (_GTK_EDGE_CONSTRAINTS), time 97918165, state PropertyNewValue

PropertyNotify event, serial 31, synthetic NO, window 0x4c00001,
    atom 0x106 (_NET_WM_DESKTOP), time 97918168, state PropertyNewValue

PropertyNotify event, serial 32, synthetic NO, window 0x4c00001,
    atom 0xf2 (WM_STATE), time 97918169, state PropertyNewValue

PropertyNotify event, serial 32, synthetic NO, window 0x4c00001,
    atom 0x10b (_NET_WM_STATE), time 97918169, state PropertyNewValue

PropertyNotify event, serial 32, synthetic NO, window 0x4c00001,
    atom 0x15c (_GTK_EDGE_CONSTRAINTS), time 97918169, state PropertyNewValue

PropertyNotify event, serial 34, synthetic NO, window 0x4c00001,
    atom 0x15c (_GTK_EDGE_CONSTRAINTS), time 97918171, state PropertyNewValue

PropertyNotify event, serial 34, synthetic NO, window 0x4c00001,
    atom 0x15c (_GTK_EDGE_CONSTRAINTS), time 97918179, state PropertyNewValue

PropertyNotify event, serial 34, synthetic NO, window 0x4c00001,
    atom 0x10b (_NET_WM_STATE), time 97918180, state PropertyNewValue

PropertyNotify event, serial 34, synthetic NO, window 0x4c00001,
    atom 0x15c (_GTK_EDGE_CONSTRAINTS), time 97918180, state PropertyNewValue

MapNotify event, serial 34, synthetic NO, window 0x4c00001,
    event 0x4c00001, window 0x4c00001, override NO

VisibilityNotify event, serial 34, synthetic NO, window 0x4c00001,
    state VisibilityUnobscured

Expose event, serial 34, synthetic NO, window 0x4c00001,
    (0,0), width 178, height 10, count 3

Expose event, serial 34, synthetic NO, window 0x4c00001,
    (0,10), width 10, height 58, count 2

Expose event, serial 34, synthetic NO, window 0x4c00001,
    (68,10), width 110, height 58, count 1

Expose event, serial 34, synthetic NO, window 0x4c00001,
    (0,68), width 178, height 110, count 0

FocusIn event, serial 34, synthetic NO, window 0x4c00001,
    mode NotifyNormal, detail NotifyNonlinear

KeymapNotify event, serial 34, synthetic NO, window 0x0,
    keys:  68  0   0   0   0   0   0   0   16  0   0   0   0   0   0   0
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0

PropertyNotify event, serial 34, synthetic NO, window 0x4c00001,
    atom 0x10b (_NET_WM_STATE), time 97922437, state PropertyNewValue

PropertyNotify event, serial 34, synthetic NO, window 0x4c00001,
    atom 0x15c (_GTK_EDGE_CONSTRAINTS), time 97922437, state PropertyNewValue

PropertyNotify event, serial 34, synthetic NO, window 0x4c00001,
    atom 0x10b (_NET_WM_STATE), time 97922437, state PropertyNewValue

PropertyNotify event, serial 34, synthetic NO, window 0x4c00001,
    atom 0x15c (_GTK_EDGE_CONSTRAINTS), time 97922437, state PropertyNewValue

KeyPress event, serial 34, synthetic NO, window 0x4c00001,
    root 0x38a, subw 0x0, time 97926800, (-27,755), root:(42,819),
    state 0x10, keycode 112 (keysym 0xffaf, KP_Divide), same_screen YES,
    XLookupString gives 1 bytes: (2f) "/"
    XmbLookupString gives 1 bytes: (2f) "/"
    XFilterEvent returns: False

KeyRelease event, serial 37, synthetic NO, window 0x4c00001,
    root 0x38a, subw 0x0, time 97926920, (-27,755), root:(42,819),
    state 0x10, keycode 112 (keysym 0xffaf, KP_Divide), same_screen YES,
    XLookupString gives 1 bytes: (2f) "/"
    XFilterEvent returns: False

KeyPress event, serial 37, synthetic NO, window 0x4c00001,
    root 0x38a, subw 0x0, time 97928407, (-27,755), root:(42,819),
    state 0x10, keycode 99 (keysym 0xff55, Prior), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 37, synthetic NO, window 0x4c00001,
    root 0x38a, subw 0x0, time 97928479, (-27,755), root:(42,819),
    state 0x10, keycode 99 (keysym 0xff55, Prior), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

ClientMessage event, serial 37, synthetic YES, window 0x4c00001,
    message_type 0xef (WM_PROTOCOLS), format 32, message 0xee (WM_DELETE_WINDOW)

This is happend only if I connect via RDP from Windows 10 to Ubuntu (18.04 and 20.04 is affected) using xrdp from repositories.
Sometimes everything is going well but then suddenly stops working. I can't see when this is happening. Just once again when you press Numpad Divide, the cursor jumps one page up.
VS Code version: Code 1.51.1 (e5a624b788d92b8d34d1392e4c4d9789406efe8f, 2020-11-10T23:31:29.624Z)
OS version: Linux x64 5.4.0-56-generic

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz (8 x 3719)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offopengl: enabled_onprotected_video_decode: unavailable_offrasterization: disabled_softwareskia_renderer: enabled_onvideo_decode: unavailable_offvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
1, 1, 1

Memory (System)
31.06GB (5.40GB free)

Process Argv
3.2.17.diff --no-sandbox --crash-reporter-id 9971e083-5d53-4fa6-9ebd-ad3924f8b78d

Screen Reader
no

VM
0%

DESKTOP_SESSION
undefined

XDG_CURRENT_DESKTOP
GNOME

XDG_SESSION_DESKTOP
undefined

XDG_SESSION_TYPE
x11

Extensions (30)

Extension
Author (truncated)
Version

rainbow-brackets
2gu
0.0.6

better-comments
aar
2.1.0

toml
be5
0.5.1

search-crates-io
bel
1.2.1

ini-for-vscode
Dav
0.0.4

confluence-markup
den
0.1.8

seito-openfile
Fr4
1.8.7

pegjs-syntax
fut
0.1.1

gc-excelviewer
Gra
3.0.40

svn-scm
joh
2.13.5

rainbow-csv
mec
1.8.0

xml-format
mik
1.0.2

vscode-language-pack-ru
MS-
1.51.2

jupyter
ms-
2020.11.392013122

hexeditor
ms-
1.3.0

sqltools
mtx
0.23.0

java
red
0.71.0

rust
rus
0.7.8

scala
sca
0.4.5

crates
ser
0.5.3

vscode-fileutils
sle
3.4.2

code-spell-checker
str
1.10.2

code-spell-checker-russian
str
0.2.9

markdown-jira-links
Tom
1.0.0

markdown-jira-preview
tra
0.0.1

json2yaml
tux
0.2.0

vscodeintellicode
Vis
1.2.10

rainbow-tags
vol
0.3.2

vscode-java-debug
vsc
0.29.0

vscode-java-pack
vsc
0.11.0

Please configure "keyboard.dispatch": "keyCode"
Please see https://github.com/microsoft/vscode/wiki/Keybinding-Issues#troubleshoot-linux-keybindings

Thanks, that fixes my problem.


A Chunk Contain Create Block Becoma Permanent Dark

Describe the Bug
Whenever I build anyhing from create then teleport to any place (creative mode) then teleport back there a chunk that contain create block become permanent dark (screenshot included)
Reproduction Steps

Build Create Object
Teleport
Teleport back to created object
...

Expected Result
No problem
Screenshots and Videos

Crash Report or Log
No response
Operating System
Win 11
Mod Version
0.4.1
Minecraft Version
1.18.2
Other Mods
No response
Additional Context
No response

#318 or #355

#318 or #355

Already fixed by using Starlight instead of Phospor.


Problem with the check: "polymer 3 webjar is on the classpath, indicating compatibility mode:"

karibu-testing 1.2.7
I don't leverage compatibility mode (see more below), but still have polymer:jar in the dependencies and on classpath.
npm is leveraged to populate node_modules and to build vaadin front-end stuff (*.gz, *.js)
...
                    <plugin>
                        <groupId>com.vaadin</groupId>
                        <artifactId>vaadin-maven-plugin</artifactId>
                        <version>${vaadin.version}</version>
                        <executions>
                            <execution>
                                <goals>
                                    <goal>prepare-frontend</goal>
                                    <goal>build-frontend</goal>
                                </goals>
                            </execution>
                        </executions>
                    </plugin>

...
application.properties
...
vaadin.compatibilityMode=false
...
maven dependency tree fragment, demonstrating presence of org.webjars.bowergithub.polymer:polymer:jar:2.6.1:compile
without compatibility mode.
...

Hello! Since you're using (p)npm mode, those webjars are not being used in your app at all, and only increase the size of your application. The best way is to exclude them from the vaadin-core dependency as follows:
        <dependency>
            <groupId>com.vaadin</groupId>
            <!-- Replace artifactId with vaadin-core to use only free components -->
            <artifactId>vaadin-core</artifactId>
            <exclusions>
                <!-- Webjars are only needed when running in Vaadin 13 compatibility mode -->
                <exclusion>
                    <groupId>com.vaadin.webjar</groupId>
                    <artifactId>*</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.webjars.bowergithub.insites</groupId>
                    <artifactId>*</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.webjars.bowergithub.polymer</groupId>
                    <artifactId>*</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.webjars.bowergithub.polymerelements</groupId>
                    <artifactId>*</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.webjars.bowergithub.vaadin</groupId>
                    <artifactId>*</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.webjars.bowergithub.webcomponents</groupId>
                    <artifactId>*</artifactId>
                </exclusion>
            </exclusions>
        </dependency>

Please see https://github.com/mvysny/karibu10-helloworld-application-maven/blob/master/pom.xml for more details.

Hello! Since you're using (p)npm mode, those webjars are not being used in your app at all, and only increase the size of your application. The best way is to exclude them from the vaadin-core dependency as follows:
        <dependency>
            <groupId>com.vaadin</groupId>
            <!-- Replace artifactId with vaadin-core to use only free components -->
            <artifactId>vaadin-core</artifactId>
            <exclusions>
                <!-- Webjars are only needed when running in Vaadin 13 compatibility mode -->
                <exclusion>
                    <groupId>com.vaadin.webjar</groupId>
                    <artifactId>*</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.webjars.bowergithub.insites</groupId>
                    <artifactId>*</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.webjars.bowergithub.polymer</groupId>
                    <artifactId>*</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.webjars.bowergithub.polymerelements</groupId>
                    <artifactId>*</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.webjars.bowergithub.vaadin</groupId>
                    <artifactId>*</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.webjars.bowergithub.webcomponents</groupId>
                    <artifactId>*</artifactId>
                </exclusion>
            </exclusions>
        </dependency>

Please see https://github.com/mvysny/karibu10-helloworld-application-maven/blob/master/pom.xml for more details.

Thank you !  It works now.

Thank you !  It works now.

Perfect, good to know! Closing this issue, please feel free to reopen if you think Karibu should detect the pnpm mode in a different way.

Perfect, good to know! Closing this issue, please feel free to reopen if you think Karibu should detect the pnpm mode in a different way.

To add more information to the ticket, in hopes that it may be useful to someone in the future.
Karibu-Testing doesn't support compatibility mode anymore (the webjar mode which Vaadin 13 and lower used to use). Karibu-Testing tests the presence of the compatibility mode by trying to figure out whether the polymer 2 webjar is on the classpath. The test is rather simple: we try to load the META-INF/resources/webjars/polymer/polymer.html resource from the classpath, failing if it exists. The file is present in the org.webjars.bowergithub.polymer:polymer:2.7.0 jar file.
If you're absolutely sure that you're not using compatibility mode but Karibu-Testing still fails, please make sure that the polymer-2.7.0.jar is not on your testRuntime classpath. This jar is pulled transitively by Vaadin 14, therefore you should be able to get rid of the file by excluding it from the vaadin-core dependency as shown above.
However, you might be using some Vaadin add-ons which transitively depend on vaadin-core and aren't excluding the webjars; the webjars are then pulled in as a transitive dependency for those Vaadin add-ons.
You can examine where the polymer.jar is coming from, by running either ./gradlew dependencies or mvn dependency:tree, then excluding the polymer.jar from all of those places. Alternatively, you could upgrade to Vaadin 22+ since newer Vaadins don't depend on webjars at all.


Move crypto from VM to interops

Following NEO 3.0 changes we need to remove crypto-related opcodes from VM and move them into interop functions. This will also affect verification scripts.
See also:
https://github.com/neo-project/neo-vm/pull/146
https://github.com/neo-project/neo-vm/pull/149

We should probably wait until https://github.com/neo-project/neo/pull/1419/ is finalized and merged.

I don't think so. To me that one is essentially an extension of the previous work. And it might not get merged or merged in a different way.

@fyrchik --- isn't this one done already?


[Tailwind CSS] ...

Extension
https://www.raycast.com/vimtor/tailwindcss
Raycast Version
1.77
macOS Version
Sequoia beta 1
Description
Searching for text decoration / underline offset results in a 404.
https://tailwindcss.com/docs/text-decoration-underline-offset
Steps To Reproduce

Use the extension to search in docs
Search for "Underline offset"
Select the result
Falls onto a 404

Current Behaviour
Goes to https://tailwindcss.com/docs/text-decoration-underline-offset
Expected Behaviour
Should be https://tailwindcss.com/docs/text-underline-offset#basic-usage
This should probably update automatically.

Working now!
@raycastbot close this issue


armandino: second submission

Check List:

[x] Tests pass (./test.sh <username>)
[x] All formatting changes by the build are committed
[x] Output matches that of calculate_average_baseline.sh

Execution time:

real    0m44.224s
user    1m14.223s
sys     0m7.502s

Execution time of reference implementation: ~5min

Can you please rebase this to current main to resolve the merge conflict? Thx.

Having problems with rebase. I'll close this and submit a new PR.


3.1.102 release broke build using Microsoft.Win32

3.1.102 release broke build working on 3.1.101
I use dot.net sdk image to build my app inside Docker, using image tagged as mcr.microsoft.com/dotnet/core/sdk:3.1-alpine
My application has TargetFramework set to netcoreapp3.1
Previous version used for build was 3.1.101 and code using type Registry from assembly Microsoft.Win32 was build without any problems on Linux containers, targeting runtimes win10-x64 and osx.10.11-x64.
Today our build server downloaded new version of image - 3.1.102 and now build is broken for both runtimes mentioned earlier.
Build error:
Infrastructure/Networking/INetSettings.cs(32,37):
error CS0103: The name 'Registry' does not exist in the current context

Sticking my Docker build environment to image mcr.microsoft.com/dotnet/core/sdk:3.1.101-alpine solves the problem, but I don't see anything in Release Notes for version 3.1.102 which I should care about, I think it's may be a bug.

I've just run into this issue on my pipelines. Pinning to 3.1.101 has solved it for me too.

To chime in: I also just encountered this on our build pipelines, which we worked around by adding <PackageReference Include="Microsoft.Win32.Registry" Version="4.5.0" /> as a dependency... everywhere.

@leecow

Possibly related to https://github.com/dotnet/aspnetcore/issues/19133.

This will be fixed with the next release (3.1.3).

@leecow I'm confused by your proposed fixing release. This appears to break by updating from 3.1.101 to 3.1.102 (a service release to the .NET Core SDK). A 3.1.3 release doesn't seem to line up with the release versioning. Wouldn't the fix be in 3.1.103? Or are you talking about some other package we have to reference to get the fix?

@AArnott - yes, the fix will be in the 3.1.103 SDK but we tend to refer to the releases by Runtime version. Sorry for the confusion.

Thanks, @leecow. Was there a bug in the runtime version too such that a new release of the runtime is necessary? I thought this was just an SDK bug.

@AArnott - Not for this specific issue though there are runtime and library fixes included in 3.1.3

coreclr
corefx
aspnetcore

Hi folks, same situtation for 3.1.300


Flashing to V2: fails to choose partial flashing when it could. Spontaneous DFU mode and full flashes

Samsung SM-T580, Android 8.1
micro:bit app 2.8.8
micro:bit V1.5, USB flashed from MakeCode.
Fresh start: reinstalled the app, removed pairings in Settings/Connections/Bluetooth, and USB flashed micro:bit from MakeCode.
Pairing went OK.
Created a simple "on start, show number" project in MakeCode, updating the number and project name for each Download.
A+B+RESET then tap Download,
Download 1: full flash
Download 2: full flash
Download 3: partial flash
After A+B+RESET, ready for Download 4, micro:bit jumped into DFU mode (+), as I was tapping Download, before answering "Do you want to flash.."
Download 4: full flash
After A+B+RESET, ready for Download 5, before tapping Download, micro:bit jumped into DFU mode and did a full flash
Download 5: partial flash
Download 6: full flash
After A+B+RESET, ready for Download 7, before tapping Download, micro:bit jumped into DFU mode and did a full flash
After A+B+RESET, ready for Download 7, as I tapped Download, micro:bit jumped into DFU mode, showing +
Download 7: full flash

After A+B+RESET, ready for Download 7, as I tapped Download, micro:bit jumped into DFU mode, showing +

I've seen a few issues on support where the micro:bit is showing a `+' symbol so this seems to be a more common occurrence @microbit-sam

After A+B+RESET, ready for Download 7, as I tapped Download, micro:bit jumped into DFU mode, showing +

I've seen a few issues on support where the micro:bit is showing a `+' symbol so this seems to be a more common occurrence @microbit-sam

More users reporting the + symbol Flashing via USB resolves this, so I have updated https://github.com/microbit-foundation/microbit-android/issues/8. Is the + symbol an error state? If so, could we indicate this to the user in the same way we do others eg with ( : XXX?

https://github.com/microbit-foundation/v2-bootloader/blob/master/bootloader/main.c#L214
The "+" symbol indicates DFU mode, when the client hasn't connected yet or has disconnected. If the "+" still shows after a reset, it indicates that there is no valid application to boot. This state can be reached when a DFU fails part way through. From memory, micro:bit will be advertising with open security.
A Bluetooth symbol is shown when the client app connects, and an X when DFU fails. DFU error codes are sent to the client app. Showing a numeric code on the LEDs would make the bootloader bigger.
The actual problem in this issue, with regard to the "+" symbol, is that the Android app was spontaneously reconnecting before being asked and causing a reboot to DFU mode, followed by a full flash. I seem to remember, the original Android app used a BLE connection mode that stays connected and attempts to reconnect automatically. It seems likely that an automatic reconnection is incorrectly triggering a DFU event handler.


How can I integrate material-dashboard-react with laravel preset with react scaffolding ?

Prerequisites
Please answer the following questions for yourself before submitting an issue.

[ ] I am running the latest version
[ ] I checked the documentation and found no answer
[ ] I checked to make sure that this issue has not already been filed
[ ] I'm reporting the issue to the correct repository (for multi-repository projects)

Expected Behavior
Please describe the behavior you are expecting
Current Behavior
What is the current behavior?
Failure Information (for bugs)
Please help provide information about the failure if this is a bug. If it is not a bug, please remove the rest of this template.
Steps to Reproduce
Please provide detailed steps for reproducing the issue.

step 1
step 2
you get it...

Context
Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.

Device:
Operating System:
Browser and Version:

Failure Logs
Please include any relevant log snippets or files here.

Hello there @momo-barro ,
Thank you for your interest in working with our products.
Here are a few tutorials that I've just found on how to use React with Laravel:

https://blog.pusher.com/react-laravel-application/
https://code.tutsplus.com/tutorials/build-a-react-app-with-laravel-restful-backend-part-1-laravel-5-api--cms-29442
https://www.youtube.com/watch?v=P8Ic_kTv3Xg

Hope this information helps you.
Best,
Manu

Hello @EINazare thanks for your answer.
My problem is not how to build a restful react / laravel app but how to integrate your template in a react / laravel environment. When I execute the "npm i material-dashboard-react" command, everything about your template is installed in the "node modules", with the "material-dashboard-react" as a dev dependency in the "package.json". Since react components should be in "ressources/js/components" how can I display the dashboard if there is no component in that folder but in the "node modules" ?
Best,
Momo

Hello there @momo-barro ,
I am not an expert in Laravel, and none of my colleagues are - since we are a front-end company, we kind of do not know that much back-end, and I really can not assist you in this.
I will leave the issue opened, and maybe someone with Laravel and React knowledge will come to your help.
A small guidance that I can give, is to simply copy and paste our components into ressources/js/components.
Best,
Manu

@momo-barro I haven't tested this, but the way I would do it is to create a build / production version of the application by running npm build. This command should create a build folder with minified .js and .css files and other static resources that you can then copy in the resources folder from Laravel. You shouldn't need other React files besides the build.

@anghelalexandra thanks for your help ! I'm gonna try that.

Hey @momo-barro , Have you tried ?

@anghelalexandra
Can you please look into this and provide the better solution

Hello there @aakhan89 ,
Thank you for your interest in working with our product.
As I've stated in my last comment on this thread I haven't worked with Laravel and do not know what working with Laravel and React requires, I am betting that you know more about this than me.
If it were up to me, I would just copy and paste the components that I needed inside the ressources/js/components folder.
Best,
Manu

hey @aakhan89 keep me updated to buddy.  :) I think the biggest challenge of @EINazare approche is to get all the template dependencies all in place without having in your google console this nasty error; https://stackoverflow.com/questions/52988076/react-laravel-uncaught-error-target-container-is-not-a-dom-element/


can we set maxCount

can we set maxCount , when the count > maxCount , it displays  just like 99+

fixed with #38


make Kitsunebi do not crash in iOS12 simulator

make Kitsunebi will no play animation in iOS12 simulator

Please make a dummy layer class complianced by CAMetalLayerInterface.

I fixed this issue.
https://github.com/noppefoxwolf/Kitsunebi/commit/566d1765e4949b5a7804b32efff9c804a167daab
Thank you for contribute!


Support BPF program symbolization

As part of the effort of improving our kernel symbolization logic, we would like to support symbolization of addresses mapping to BPF programs. Here is a brain dump roughly outlining what (I think) is necessary to support such symbolization. Everything and anything could be wrong ...

in /proc/<pid>/maps / PROCMAP_QUERY BPF programs would be represented with a "name" of bpf_prog_<some-hex-number>; some-hex-number seems to be the program's "tag" and can be used for finding more information
use bpf_prog_get_next_id to iterate over loaded programs and find the one with matching the tag
use bpf_prog_get_fd_by_id to retrieve program file descriptor
use bpf_obj_get_info_by_fd to retrieve program information using said file descriptor
use bpf_prog_info.{nr_jited_line_info, jited_line_info, line_info_rec_size} and similar, in conjunction with the kernel's BTF information, to retrieve function name and source code path

I'd hope there are examples floating around for this, but haven't checked

In terms of integration into blazesym, a good starting point to look at would probably be https://github.com/libbpf/blazesym/blob/40a46a48fd83be25b6b32b3401837a8907d23301/src/symbolize/symbolizer.rs#L896
What data to cache (and at what level) is somewhat of an open question. At the very least I'd say we should be remembering the result for a given address and reuse that on repeated symbolization. But perhaps a more coarse grained approach (e.g., caching at the function level, if there is such a thing, or remembering what BPF program maps to what tag) may be useful as well. I have no idea of performance characteristics of any of the APIs we need to interface with.
As I mentioned above, I think we may need some basic BTF support (mostly for string lookup?) as well as BPF syscall bindings. Usage of libbpf-rs is a possibility (should contain both), though I don't know if we really want to add a dependency to libbpf-rs and libbpf longer term. But we can think about that once a POC is working.
We would also require some prerequisite work introducing proper kernel testing infrastructure to be able to test this symbolization on injected programs as well. At this point I think it mostly comes down to loading BPF programs, as we already support testing on arbitrary kernels using vmtest. Again, this should be provided by libbpf-rs, which I think is a no brainer to use in a testing context.

cc @jfernandez

Very interested in this work, happy to review and test any PRs! :)

This is now out for review https://github.com/libbpf/blazesym/pull/854
@javierhonduco feel free to try it out and report back. Also, let me know if you have any questions.

Great stuff @danielocfb! Thanks for the heads up! This week I won't have too much time to take a look a this, but will make sure to do it early next week.


Keybase is not starting up on Windows

Keybase GUI Version: 6.2.8-20240305123615+5381dd5b22

same issue for version 6.2.5-20231231232650+3bdf76f84a

Exactly what @Alexangelj said...

Version 6.2.8-20240305122718+5381dd5b22
Hangs when starting
keybase ping in PowerShell gets it to start
but K: drive does not appear, and files are not accessible in the GUI (forever "Loading")

I have sent logs - log ID  fd8d9155b5a00b270d56701c

Can confirm, this issue is still present in 6.2.8-20240305122718+5381dd5b22 💢
Here is my log, for refence:
$ tail C:/Users/***/AppData/Local/Keybase/Keybase.app.log -n 25
Info,2024-05-11T06:16:29.920Z,Hide main window: true
Info,2024-05-11T06:16:29.920Z,Hide dock icon: false
Info,2024-05-11T06:16:30.719Z,Received open-file or open-url event on Windows but did not get filePath or url from process.argv
Info,2024-05-11T06:16:41.979Z,Showing menu: {"x":1674,"y":1002} {"x":0,"y":0,"width":1920,"height":1032}
Info,2024-05-11T06:16:41.979Z,- start menu on bottom -
Info,2024-05-11T06:16:42.018Z,Showing menubar at {"x":1498,"y":392,"width":360,"height":640}
Info,2024-05-11T06:16:42.018Z,Clicked tray icon: {"x":1658,"y":975,"width":40,"height":40}
Info,2024-05-11T06:16:37.116Z,skipping
Info,2024-05-11T06:16:41.980Z,Inbox refresh due to widgetRefresh
Action,2024-05-11T06:16:45.574Z,type: route-tree:switchTab:  {"payload":{"tab":"tabs.gitTab"},"type":"route-tree:switchTab"}
Action,2024-05-11T06:16:45.605Z,type: waiting:batchChangeWaiting:  {"payload":{"changes":[{"error":null,"increment":true,"key":"git:loading"}]},"type":"waiting:batchChangeWaiting"}
Info,2024-05-11T06:16:45.639Z,bail on no selected conversation
Info,2024-05-11T06:16:45.641Z,bail on no selected conversation
Action,2024-05-11T06:16:46.120Z,type: waiting:batchChangeWaiting:  {"payload":{"changes":[{"error":null,"increment":false,"key":"git:loading"}]},"type":"waiting:batchChangeWaiting"}
Info,2024-05-11T06:16:46.290Z,bail on no selected conversation
Info,2024-05-11T06:17:02.540Z,bail on no selected conversation
Info,2024-05-11T06:17:02.542Z,bail on no selected conversation
Info,2024-05-11T06:17:10.218Z,bail on no selected conversation
Info,2024-05-11T06:17:10.227Z,bail on no selected conversation
Info,2024-05-11T06:17:11.230Z,bail on no selected conversation
Info,2024-05-11T06:17:11.230Z,bail on no selected conversation
Info,2024-05-11T06:17:12.613Z,bail on no selected conversation
Info,2024-05-11T06:17:12.928Z,bail on no selected conversation
Info,2024-05-11T06:17:15.100Z,bail on no selected conversation
Info,2024-05-11T06:17:15.101Z,bail on no selected conversation


test: run suite safari-dart2js-html-engine fails on macOS 13 in CI

There are a couple of issues with this test:

00:04 +167 ~9 -1: semantics/semantics_test.dart: container container node compensates for rect offset [E]
  Expected: '0px 0px 0px'
    Actual: '0px 0px'
     Which: is different. Both strings start the same, but the actual value is missing the following trailing characters:  0px

https://chromium-swarm.appspot.com/task?id=65338d305cfeb910
Similar to https://github.com/flutter/flutter/issues/136274

00:13 +646 ~21 -2: text_editing_test.dart: text editing styles invisible element [E]
  Expected: contains 'transparent'
    Actual: 'none'

https://chromium-swarm.appspot.com/task?id=65338d305cfeb910

At least once, it was unable to start server and timed out:

Running on MacOS. Will check the file and user limits.
User limits too low increasing the user limits
Problem changing the user limit. Please try to reboot to use the higher limits. error: \n/Volumes/Work/s/w/ir/cache/builder/src/flutter/lib/web_ui/dev/felt: line 118: ulimit: max user processes: cannot modify limit: Operation not permitted
Running `dart pub get` in 'engine/src/flutter/lib/web_ui'
/Volumes/Work/s/w/ir/cache/gold/goldctl auth --work-dir /Volumes/Work/s/w/ir/cache/builder/src/flutter/lib/web_ui/.dart_tool/skia_gold/safari-dart2js-html-engine/temp --luci
[Webdriver][Error] Unable to start the server: Operation not permitted
[safari-dart2js-html-engine] Running...

00:00 +0: loading initialization_test.dart
00:00 +0: loading initialization_test.dart
Failed to connect to webdriver process. Retrying in 100 ms
Failed to connect to webdriver process. Retrying in 100 ms
Failed to connect to webdriver process. Retrying in 100 ms
...

https://ci.chromium.org/ui/p/flutter/builders/try/Mac Engine Drone/439886/overview

This is a blocker for https://github.com/flutter/flutter/issues/134736


Couch Co-Op Example

Mirror Couch Co-Op example demo.
Start game, click to add a player, add as many local couch players as you want.
Works across internet, join via another client, also add as many players as you want, 4 vs 1, 2 vs 2, 99 vs 999 (ive only setup 4 keyboard inputs, for more players, add more controls).
Jump keys are numbers 1, 2,3,4, depending on which player you are.
Then AD, FG, HJ, KL for movement, all can be customised on the CouchPlayerManager script.
(everyone joint uses arrow keys and space bar for quick fun testing of all local couch players)

Super simplistic setup to allow users to learn and adjust from.

Video teaser.
(forgive me for lame video, its hard to control multiple players by yourself  :D )
Left we have hosts device, 2 local couch players join.
Right we have a remote player (another device), and they have 4 local couch players join.
Players are labeled remote or local, and given player numbers.
https://github.com/MirrorNetworking/Mirror/assets/57072365/649a02c0-e581-4f35-825c-fee9f7d478bd

great. could you copy the important parts of the above text into a _README.txt file similar to the other examples?


incorrect parsing comparison operators not in lowercase

Hello, I've noticed that it does not parse equality operators if they written not in lowercase.
Powershell is case-insensetive so -like, -liKE, -Like, -LIKE etc are all the same for it
error.ps1:
$wordToComplete = "valu"
$IsEqualFlag = ($WordToComplete -Like "--*=*" )
#                                ^--- ERROR

works.ps1:
$wordToComplete = "valu"
$IsEqualFlag = ($WordToComplete -like "--*=*" )

Hello, as powershell is case insensitive, we choose to parse only lowercase. So please put the input text as lowercase before.
I know is not the perfect answer but I didn't find a way to manage properly case insensitive with tree-sitter...

Hello, as powershell is case insensitive, we choose to parse only lowercase. So please put the input text as lowercase before.

I think I can't, I made tree-sitter queries for nvim and I don't think there's some way to automatically prepare input before parsing.

I know is not the perfect answer but I didn't find a way to manage properly case insensitive with tree-sitter..

Understand, I guessed that answer will be like that cause I also did not find a way to make it case-insensetive without making regular expressions like
(F|f)(o|O)(r|R)(c|C)(e|E)

Normally it works !

Nice, many thanks!

Tested new parser with queries, nothing broken 🎉