General Question Added [LeetCode Problem]

Hello,
This PR to add a new general question for a LeetCode problem.
I hope this help other developers.
Thanks

Looks good to me :)

Thanks @smv1999

@TawfikYasser Please note that it is always recommended to commit to a new branch instead of master (main) branch and then push your changes and make a PR. Please refer to Contributing Guidelines if you need help in this regard.

@TawfikYasser Please note that it is always recommended to commit to a new branch instead of master (main) branch and then push your changes and make a PR. Please refer to Contributing Guidelines if you need help in this regard.

Sorry for that, I will consider it next time.

No problem @TawfikYasser . Please make a note of this for the next PR that you make.


FW-580. Port iot-lab_M3 board with IAR

https://openwsn.atlassian.net/browse/FW-580
The following projects were ported with IAR:

bsp_timer
bsp_leds
bsp_radio_tx
bsp_radio_timer
bsp_uart
drv_opentimers
oos_mercator
oos_openwsn

The projects compile without warning but have not been tested with experimentation.
IAR version: 6.60.2 (for ARM)

@keomabrun  just left two comments on this PR, once it's solved I will merge it :-)

Note that the projects are only compiling. There have not been tested on the motes yet.

@keomabrun is that possible that I compile the project with iar toolchain?

I've never tried using scons


Add Empire Node 2015

These are the details of this conference:
http://2015.empirenode.org

@fer Thanks :) I've added it


Potential infinite loop in sound mixer

Following wav file causes infinite loop in the mixer when approaching the end of the playback, possibly because remaining number of data is less than expected:
random6.zip
The location in the code where it occurs:
https://github.com/icculus/mojoAL/blob/bfaf2f24034c5776c930a5575e115ee561f372b7/mojoal.c#L1423-L1430
What causes infinite loop is this:

const int framesput = (buffer->len - src->offset) / bufferframesize - in this expression (buffer->len - src->offset) appears to be less than bufferframesize, and this framesput equals zero.
because of that src->offset never advances, and while exit condition will be never met.

Note that mojoal cannot play this wav as-is, the file format is 24-bit PCM, we decode it using SDL_Sound, which returns it as AUDIO_S32LSB, and in our program we convert it to AUDIO_F32SYS using SDL's resampler (SDL_ConvertAudio) before passing into mojoAL.
At this moment, I cannot tell whether the problem originates in a bad file data, or a mistake in SDL_Sound (or elsewhere in our program). But I suppose that mojoAl needs at least a safety check there, to not hang in that loop.

Ah, actually, after writing this ticket, I realized this may be another case of buffer length being non-compliant to requirements, similar to #18. So from our side this may be fixed by forcing buffer length always a sensible value, even if real data is less.

@icculus I think following line may also break something in case of irregular sized buffer:
data += bytesput / sizeof (float);
I ended up with a following temp hotfix for now (hopefully, the math is right...):
                const int bytesleft = (buffer->len - src->offset);
                const int framesput = (bytesleft + (bufferframesize - 1)) / bufferframesize;
                // [HOTFIX] ensure bytesput is positive even if remains are less than bufferframesize
                const int bytesput = SDL_min(SDL_min(framesput, 1024) * bufferframesize, bytesleft);
                FIXME("dynamically adjust frames here?");  /* we hardcode 1024 samples when opening the audio device, too. */
                SDL_assert(bytesput > 0);
                SDL_AudioStreamPut(src->stream, data, bytesput);
                src->offset += bytesput;
                data += (bytesput + (sizeof (float) - 1)) / sizeof (float);

@icculus this is the only thing we currently have different from mojoAL upstream (this commit), it would be nice if at least the hotfix could be in at least until some better fix is done.


Add with-ie11 example

Shows how to add IE11 support.
Fixes #975
@developit, @rauchg mentioned you know a 1kb Promise polyfill. Could you point out which one has your preference? :heart:

@timneutkens This is the one: https://github.com/taylorhakes/promise-polyfill

@timneutkens We don't need to add a specific polyfill.
For our code, it's added by babel.
We need to find the root and fix it.
So, no one need to use the polyfill.

Closing in favor of: https://github.com/zeit/next.js/pull/1344

Okay, that would allow it to be removed on zeit.co too 👍


Constantly rate limited

Hi!
I personally am constantly being rate limited on the website due to the API key, so it might be worthwhile to have multiple, and cycle through them until one that isn't rate limited is found.  This would make the experience a lot easier for a lot of players.
Thanks!

We have no way to fix this other than waiting for hypixel to expand our key. We made an announcement in our discord, here it is if you haven't seen it.


Improve sigmoid_cross_entropy

Do you have a  script to check efficiency?

I think that hard to check.
This PR includes the deletion of synchronization .
https://github.com/pfnet/chainer/pull/898/files#diff-783b42248bd19bcd63b880b723ec0357R35

This patch improve performance about 30%.
This is my test code and its result on my GTX970 environment.
% cat test_sigmoid.py
import chainer
import cupy

x = chainer.Variable(cupy.zeros((1000, 1000), cupy.float32))
y = chainer.Variable(cupy.zeros((1000, 1000), cupy.int32))

for i in range(1000):
    chainer.functions.sigmoid_cross_entropy(x, y)

improved:
% time python test_sigmoid.py
python test_sigmoid.py  1.54s user 1.04s system 95% cpu 2.707 total

original:
% time python test_sigmoid.py
python test_sigmoid.py  2.25s user 0.52s system 99% cpu 2.769 total

Thank you for the benchmark!

LGTM!


Install is broken...

Hello there,
I tried installing your app but somehow it fails. See below:
 pip install django-multipleformwizard
Downloading/unpacking django-multipleformwizard
  Downloading django-multipleformwizard-0.2.12.tar.gz
  Running setup.py egg_info for package django-multipleformwizard
    Traceback (most recent call last):
      File "<string>", line 16, in <module>
      File "/home/noss/.virtualenvs/noss/build/django-multipleformwizard/setup.py", line 7, in <module>
        import multipleformwizard
      File "multipleformwizard/__init__.py", line 5, in <module>
        from .views import (SessionMultipleFormWizardView, CookieMultipleFormWizardView,
      File "multipleformwizard/views.py", line 10, in <module>
        from django.shortcuts import redirect
      File "/home/noss/.virtualenvs/noss/lib/python2.7/site-packages/django/shortcuts/__init__.py", line 11, in <module>
        from django.db.models.base import ModelBase
      File "/home/noss/.virtualenvs/noss/lib/python2.7/site-packages/django/db/models/__init__.py", line 5, in <module>
        from django.db.models.query import Q
      File "/home/noss/.virtualenvs/noss/lib/python2.7/site-packages/django/db/models/query.py", line 17, in <module>
        from django.db.models.deletion import Collector
      File "/home/noss/.virtualenvs/noss/lib/python2.7/site-packages/django/db/models/deletion.py", line 4, in <module>
        from django.db.models import signals, sql
      File "/home/noss/.virtualenvs/noss/lib/python2.7/site-packages/django/db/models/sql/__init__.py", line 4, in <module>
        from django.db.models.sql.subqueries import *
      File "/home/noss/.virtualenvs/noss/lib/python2.7/site-packages/django/db/models/sql/subqueries.py", line 12, in <module>
        from django.db.models.sql.query import Query
      File "/home/noss/.virtualenvs/noss/lib/python2.7/site-packages/django/db/models/sql/query.py", line 22, in <module>
        from django.db.models.sql import aggregates as base_aggregates_module
      File "/home/noss/.virtualenvs/noss/lib/python2.7/site-packages/django/db/models/sql/aggregates.py", line 9, in <module>
        ordinal_aggregate_field = IntegerField()
      File "/home/noss/.virtualenvs/noss/lib/python2.7/site-packages/django/db/models/fields/__init__.py", line 116, in __init__
        self.db_tablespace = db_tablespace or settings.DEFAULT_INDEX_TABLESPACE
      File "/home/noss/.virtualenvs/noss/lib/python2.7/site-packages/django/conf/__init__.py", line 54, in __getattr__
        self._setup(name)
      File "/home/noss/.virtualenvs/noss/lib/python2.7/site-packages/django/conf/__init__.py", line 47, in _setup
        % (desc, ENVIRONMENT_VARIABLE))
    django.core.exceptions.ImproperlyConfigured: Requested setting DEFAULT_INDEX_TABLESPACE, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 16, in <module>

  File "/home/noss/.virtualenvs/noss/build/django-multipleformwizard/setup.py", line 7, in <module>

    import multipleformwizard

  File "multipleformwizard/__init__.py", line 5, in <module>

    from .views import (SessionMultipleFormWizardView, CookieMultipleFormWizardView,

  File "multipleformwizard/views.py", line 10, in <module>

    from django.shortcuts import redirect

  File "/home/noss/.virtualenvs/noss/lib/python2.7/site-packages/django/shortcuts/__init__.py", line 11, in <module>

    from django.db.models.base import ModelBase

  File "/home/noss/.virtualenvs/noss/lib/python2.7/site-packages/django/db/models/__init__.py", line 5, in <module>

    from django.db.models.query import Q

  File "/home/noss/.virtualenvs/noss/lib/python2.7/site-packages/django/db/models/query.py", line 17, in <module>

    from django.db.models.deletion import Collector

  File "/home/noss/.virtualenvs/noss/lib/python2.7/site-packages/django/db/models/deletion.py", line 4, in <module>

    from django.db.models import signals, sql

  File "/home/noss/.virtualenvs/noss/lib/python2.7/site-packages/django/db/models/sql/__init__.py", line 4, in <module>

    from django.db.models.sql.subqueries import *

  File "/home/noss/.virtualenvs/noss/lib/python2.7/site-packages/django/db/models/sql/subqueries.py", line 12, in <module>

    from django.db.models.sql.query import Query

  File "/home/noss/.virtualenvs/noss/lib/python2.7/site-packages/django/db/models/sql/query.py", line 22, in <module>

    from django.db.models.sql import aggregates as base_aggregates_module

  File "/home/noss/.virtualenvs/noss/lib/python2.7/site-packages/django/db/models/sql/aggregates.py", line 9, in <module>

    ordinal_aggregate_field = IntegerField()

  File "/home/noss/.virtualenvs/noss/lib/python2.7/site-packages/django/db/models/fields/__init__.py", line 116, in __init__

    self.db_tablespace = db_tablespace or settings.DEFAULT_INDEX_TABLESPACE

  File "/home/noss/.virtualenvs/noss/lib/python2.7/site-packages/django/conf/__init__.py", line 54, in __getattr__

    self._setup(name)

  File "/home/noss/.virtualenvs/noss/lib/python2.7/site-packages/django/conf/__init__.py", line 47, in _setup

    % (desc, ENVIRONMENT_VARIABLE))

django.core.exceptions.ImproperlyConfigured: Requested setting DEFAULT_INDEX_TABLESPACE, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.

----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /home/noss/.virtualenvs/noss/build/django-multipleformwizard
Storing complete log in /home/noss/.pip/pip.log

Why is it trying to load django's settings ?

Hi!
Thank you for your issue notification.
Can you tell me which python and Django versions you are running the install against? Then I can setup my environment accordingly.
Thanks in advance!

I've pushed an update which should address your problem. Could you verify if it works now?
https://pypi.python.org/pypi/django-multipleformwizard


Using AWS signature for authentication

Hi.
I use IAM service accounts in k8s to give correct permissions to each pod talking to AWS systems. I could not find a documentation for how to do this for Glue schema registry. Is there a plan to add this functionality?
Currently, I need to add the permission to the worker node's IAM role, which is not ideal.

@dexter-mh-lee What sort of Kubernetes are you using?  What process are you using to apply the policies to your IAM service accounts?

We are using AWS EKS, and usually for our other use cases (Elasticsearch, MySQL, and so on), we can create a IAM service account with the permissions to access the AWS resources, and the AWS Signature v4 APIs run on each pod automatically picks up these policies (from the service account attached to the pod) and decides whether the pod has permissions to do certain actions. We couldn't find anything like this for Glue schema registry, so we had to give such permissions to the worker nodes of our EKS cluster directly, which is not ideal.

@dexter-mh-lee Did you see these?  https://docs.aws.amazon.com/glue/latest/dg/using-identity-based-policies.html#access-policy-examples-aws-managed (specifically the AWSGlueSchemaRegistryReadonlyAccess managed policy, which feels like a good fit for your use case)

We are already using this. Problem is that I have to give such permission to our EKS worker nodes, meaning every single pod in the cluster has access to the schema registry. This is against the principles used by the rest of the AWS ecosystem.

I apologize, I am not an expert in IAM - do you have a link to the process/documentation you are using for your other use cases where you are able to apply this at a pod level?  I'm struggling to understand why you cannot apply this only to specifically labeled pods rather than the entire node.

https://docs.aws.amazon.com/eks/latest/userguide/iam-roles-for-service-accounts.html
This is the usual way of attaching roles to pods.
On Mon, Sep 20, 2021 at 1:07 PM Brian Likosar @.***>
wrote:

I apologize, I am not an expert in IAM - do you have a link to the
process/documentation you are using for your other use cases where you are
able to apply this at a pod level? I'm struggling to understand why you
cannot apply this only to specifically labeled pods rather than the entire
node.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/awslabs/aws-glue-schema-registry/issues/69#issuecomment-923113749,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAG2ZMI3PNDK4S45WKLUZTLUC5S4HANCNFSM5B76HLPA
.

My humblest apologies for not responding sooner.  I think it might be best for you to open a support case so we can investigate what is happening on the service side of both EKS and Glue Schema Registry to see if there isn't a solution.

As suggested by Liko, you can get better help on this by reaching out to EKS AWS support team. Please let us know if there is something specific to GSR is not working. Closing this for now, please feel free to re-open or open a new issue if required.
Thanks!

Please don't close this. This has nothing to do with EKS. This is basic auth to access schema registry that is analogous with other AWS components. This hast to be implemented inside the schema registry. I don't understand what EKS team will do about this.

Apologies for closing this. Looking at the documentation, are you facing issues creating IAM role with GSR policies in them? Or creating a service account. If you can share the replication steps for this problem, that would be very helpful. Please also consider opening a support case if you prefer to share information privately.

FWIW: I've asked our dev-ops team to escalate this with AWS support and the EKS team, as this is a blocker for adopting EKS.
To my understanding, there needs to be made changes on both sides. For the Glue Schema Registry we need support for STS to make it work.

@dexter-mh-lee  Have you found the work around for this ? I am facing the similar issue

I've the same issue. The serdes classes try to connect with the node user/ARN instead of the EKS service account role.

This issue is may be probably caused by #120. Basically, the WebIdentityTokenFileCredentialsProvider fails silently when both the URL and Apache HTTP clients are present. The default provider fallback to the InstanceProfileCredentialsProvider and ends up using the EC2/node role. Trying enabling SDK logs to see if that is the case, it is for me.


Changing the Vec attributes of evaluators to array's?

Hi I was wondering something when I was watching through the repo. Is there a particular reason why Vec's are used as the attributes of the Evaluator struct. Since making these attributes dynamic allocates memory too the heap on something it is otherwise a fixed size piece of data(the dat file tables).

Would it be better to make these array's instead of vectors. And if so how could I go about it.
I'm trying too print the length of the vectors so that I could possibly attempt to transform them into a fixed size array but so far every single place I try to print the length doesn't get printed when I run code that's supposed to execute the evaluation function.

You could modify the gen_eval_table crate source code to generate text files with the array values.
File would end up looking like this:
pub const PERF_HASH_OFFSETS: [u32; 8191] = [
    /// Your values here
]

After you generate the 3 files, you wouldn't need the evaluator as you could just create methods for the hand struct like this:
use crate::lookups::{PERF_HASH_OFFSETS, LOOKUP};

impl Hand {
    #[inline(always)]
    pub fn evaluate_without_flush(&self) -> u16 {
        let rank_key = self.get_rank_key();
        let offset = unsafe { *PERF_HASH_OFFSETS.get_unchecked(rank_key >> PERF_HASH_ROW_SHIFT) };
        let hash_key = (rank_key as u32).wrapping_add(offset) as usize;
        unsafe { *LOOKUP.get_unchecked(hash_key) }
    }
}

Thank you, I already changed them more or less like you described.


RangeError: byte length of Uint32Array should be a multiple of 4

ERR byte length of Uint32Array should be a multiple of 4: RangeError: byte length of Uint32Array should be a multiple of 4
    at new Uint32Array (<anonymous>)
    at fromLittleEndianBuffer (file:///Users/jrieken/Code/vscode/out/vs/workbench/api/common/shared/semanticTokensDto.js:42:20)
    at Object.decodeSemanticTokensDto (file:///Users/jrieken/Code/vscode/out/vs/workbench/api/common/shared/semanticTokensDto.js:105:21)
    at MainThreadDocumentSemanticTokensProvider.provideDocumentSemanticTokens (file:///Users/jrieken/Code/vscode/out/vs/workbench/api/browser/mainThreadLanguageFeatures.js:613:45)
    at processTicksAndRejections (internal/process/task_queues.js:85:5)

This was spotted by @jrieken when working. There are no steps to reproduce because this has to do with how a specific part of an extension host message (the semantic tokens dto) aligns on bytes in the underlying nodejs stream.
I can reproduce through unit testing.
This can lead to semantic tokens becoming stale and not updating.

The fix is now in master and also in release/1.44

There is a unit test for this case and there are no steps to verify => giving verified label.


jazzband.co SSL certificate expired on 30/12/2023

Server snafu, I fixed this now and reactivated automatically updating the cert.


centos6.9 .accesslog error report

What happened:
1.In centos6.9  access fs, the .accesslog report below:
2023.09.21 13:57:20.307112 [uid:0,gid:0,pid:32700] lookup (1,x86_64): no such file or directory <0.000593>
2023.09.21 13:57:20.307672 [uid:0,gid:0,pid:32701] lookup (1,x86_64): no such file or directory <0.000519>
2023.09.21 13:57:20.308205 [uid:0,gid:0,pid:32700] lookup (1,libselinux.so.1): no such file or directory <0.000499>
2023.09.21 13:57:20.308701 [uid:0,gid:0,pid:32701] lookup (1,libdl.so.2): no such file or directory <0.000459>
2023.09.21 13:57:20.309313 [uid:0,gid:0,pid:32700] lookup (1,tls): no such file or directory <0.000569>
2023.09.21 13:57:20.309821 [uid:0,gid:0,pid:32700] lookup (1,tls): no such file or directory <0.000457>
2023.09.21 13:57:20.310248 [uid:0,gid:0,pid:32701] lookup (1,tls): no such file or directory <0.000387>
2023.09.21 13:57:20.310762 [uid:0,gid:0,pid:32700] lookup (1,x86_64): no such file or directory <0.000476>
2023.09.21 13:57:20.311314 [uid:0,gid:0,pid:32701] lookup (1,tls): no such file or directory <0.000510>
2023.09.21 13:57:20.311922 [uid:0,gid:0,pid:32700] lookup (1,libc.so.6): no such file or directory <0.000566>
2023.09.21 13:57:20.312507 [uid:0,gid:0,pid:32701] lookup (1,x86_64): no such file or directory <0.000540>
2023.09.21 13:57:20.313037 [uid:0,gid:0,pid:32700] lookup (1,tls): no such file or directory <0.000488>
2023.09.21 13:57:20.313604 [uid:0,gid:0,pid:32701] lookup (1,libm.so.6): no such file or directory <0.000524>
2023.09.21 13:57:20.314084 [uid:0,gid:0,pid:32700] lookup (1,tls): no such file or directory <0.000446>
2.use "df -h" can't show up the mountpoint
!951 # df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda3       557G  366G  191G  66% /
devtmpfs         94G     0   94G   0% /dev
tmpfs            94G   12K   94G   1% /dev/shm
tmpfs            94G  1.7G   93G   2% /run
tmpfs            94G     0   94G   0% /sys/fs/cgroup
/dev/sda2      1014M  119M  896M  12% /boot
/dev/sda1       500M   12M  489M   3% /boot/efi
/dev/sdb1        11T  8.2T  2.4T  78% /data
tmpfs            19G     0   19G   0% /run/user/1100
tmpfs            19G     0   19G   0% /run/user/0
JuiceFS:binlog  1.0P   52K  1.0P   1% /data/binlog  This line does not appear in centos6.9
What you expected to happen:
no error report and mountpoint can be show  when run cmd  'df -h'
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?
Environment:

JuiceFS version (use juicefs --version) or Hadoop Java SDK version:
v1.0.4

Cloud provider or hardware configuration running JuiceFS:
hardware configuration running JuiceFS

OS (e.g cat /etc/os-release):
CentOS release 6.9 (Final)

Kernel (e.g. uname -a):
Linux BJ-YZ-2FM1-B04-DB-12-1 2.6.32-696.el6.x86_64 #1 SMP Tue Mar 21 19:29:05 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

Object storage (cloud provider and region, or self maintained):
Cos

Metadata engine info (version, cloud provider managed or self maintained):
mysql (self maintain)

Network connectivity (JuiceFS to metadata engine, JuiceFS to object storage):

Others:

The errors in .accesslog are normal. This line:
2023.09.21 13:57:20.307112 [uid:0,gid:0,pid:32700] lookup (1,x86_64): no such file or directory <0.000593>
says that the process with pid 32700 was trying to find a file named x86_64 under the JuiceFS mount point, but can't find it.

how about these lines "xx.so" , eg: libc.so.6 no such file or directory， further  why  “df - h” dose not  return the filesystem mountpoint

how about these lines "xx.so" , eg: libc.so.6 no such file or directory

It's application behavior, so you'd better check what the process accessing JuiceFS wants to do. These errors have nothing to do with the JuiceFS itself.

further why “df - h” dose not return the filesystem mountpoint

Not sure about this issue. Since JuiceFS is not well tested on CentOS 6, I recommend you trying CentOS 7 or higher.


qrtr: upgrade recipe version

upstream has fixed multilib/multiarch, so update recipe accordingly
also fixes "QA Issue: No GNU_HASH in the elf binary"

Signed-off-by: Nicolas Dechesne<EMAIL_ADDRESS>

Without this patch, builds for qmi-gps-proxy and rmtfs will get below error:
aarch64-linaro-linux-gcc --sysroot=<builddir>/tmp-rpb-glibc/sysroots/dragonboard-410c -o gps_proxy qmi_gps.o qmi_tlv.o gps_proxy.o util.o -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -L<builddir>/tmp-rpb-glibc/sysroots/dragonboard-410c/usr/lib64 -lqrtr
| <builddir>/tmp-rpb-glibc/sysroots/x86_64-linux/usr/libexec/aarch64-linaro-linux/gcc/aarch64-linaro-linux/5.2.1/ld: cannot find -lqrtr
| collect2: error: ld returned 1 exit status
| make: *** [gps_proxy] Error 1
| WARNING: exit code 1 from a shell command.
| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile (log file is located at <builddir>/tmp-rpb-glibc/work/aarch64-linaro-linux/qmi-gps-proxy/0.0+0+df3b976-4-r0/temp/log.do_compile)
ERROR: Task #### (<builddir>/conf/../../layers/meta-variscite/recipes-support/qmi-gps-proxy/qmi-gps-proxy_0.0+0+df3b976-4.bb, do_compile) failed with exit code '1'

thanks for finding this out. can you please add a signed-off-by with your name/email, even though you backport one of my patch, you tested it, so a signed-off is needed. even better if you can cherry-pick with "-s -x".

You're welcome. :) Patch is updated.


Merged fixes

Removed graduated test and moved some categories around

We fixed the image but it will take another day or two for @ZeusTheTrueGod to fix the tests.
https://github.com/lf-edge/lfedge-landscape/blob/fc5c4b07ef473c3031bf817565f3a0ecec02bba5/hosted_logos/logo-eve-wtext.svg


"invalid" known_device in list.

**Home Assistant release (hass --version): ** 0.14.2
Python release (python3 --version): 3.4.2
Component/platform: device_tracker
Description of problem:
I have a weird "known" device that just started appearing in my list:
eolt:
  name: EO�&lt
  mac: RX�
  picture:
  track: yes
  hide_if_away: no

This is marked as "Home" but when logging into my router I see no unexpected connections. The only errors I see on the about page are talking to my wink hub (I think).
16-03-02 15:33:02 netdisco.ssdp: Error fetching description at https://<IP_ADDRESS>:8888

I removed the entry from known_devices and restarted hass and it came right back.
Expected:
known_devices shows real devices with mac addresses
Problem-relevant configuration.yaml entries and steps to reproduce:

Traceback (if applicable):

Additional info:

Can you post the configuration entries for device trackers
On Wed, Mar 2, 2016, 07:51 petey<EMAIL_ADDRESS>wrote:

**Home Assistant release (hass --version): ** 0.14.2
Python release (python3 --version): 3.4.2
Component/platform: device_tracker
Description of problem:
I have a weird "known" device that just started appearing in my list:
eolt:
name: EO�&lt
mac: RX�
picture:
track: yes
hide_if_away: no
This is marked as "Home" but when logging into my router I see no
unexpected connections. The only errors I see on the about page are talking
to my wink hub (I think).
16-03-02 15:33:02 netdisco.ssdp: Error fetching description at https://<IP_ADDRESS>:8888
I removed the entry from known_devices and restarted hass and it came
right back.
Expected:
known_devices shows real devices with mac addresses
Problem-relevant configuration.yaml entries and steps to reproduce:

Traceback (if applicable):
Additional info:
—
Reply to this email directly or view it on GitHub
https://github.com/balloob/home-assistant/issues/1461.

device_tracker:
    platform: netgear
    host: <IP_ADDRESS>
    username: admin
    password: [REDACTED]
    consider_home: 1800

And your router model?
On Wed, Mar 2, 2016, 09:11 petey<EMAIL_ADDRESS>wrote:

device_tracker:
platform: netgear
host: <IP_ADDRESS>
username: admin
password: [REDACTED]
consider_home: 1800
—
Reply to this email directly or view it on GitHub
https://github.com/balloob/home-assistant/issues/1461#issuecomment-191329245
.

Netgear Nighthawk AC1900 R700 With latest official firmware.
It is worth mentioning that I never saw this issue until I updated from hass 0.14.0 to 0.14.2, with no changes to the router or device_tracker config. I never saw this issue on earlier versions of hass, either.

We have not made any changes to the netgear platform or even the device
tracker.
Could you install the standalone pynetgear package and see the output?
pip3 install https://github.com/balloob/pynetgear/archive/master.zip
python3 -m pynetgear password host user
On Wed, Mar 2, 2016 at 9:47 AM, petey<EMAIL_ADDRESS>wrote:

Netgear Nighthawk AC1900 R700 With latest official firmware.
It is worth mentioning that I never saw this issue until I updated from
hass 0.14.0 to 0.14.2, with no changes to the router or device_tracker
config. I never saw this issue on earlier versions of hass, either.
—
Reply to this email directly or view it on GitHub
https://github.com/balloob/home-assistant/issues/1461#issuecomment-191346805
.

--
PaulusSchoutsen.nl
It's nice to be important but it's more important to be nice.

Here's the troublesome line:
Device(signal=None, ip='<IP_ADDRESS>', name='EO�&lt', mac='RX�', type='74:75:48:43:8A:3B', link_rate=None)

Looks like a kindle.

It looks like the pynetgear parser breaks at that line.
On Thu, Mar 3, 2016, 07:17 petey<EMAIL_ADDRESS>wrote:

Here's the troublesome line:
Device(signal=None, ip='<IP_ADDRESS>', name='EO�&lt', mac='RX�', type='74:75:48:43:8A:3B', link_rate=None)
Looks like a kindle.
—
Reply to this email directly or view it on GitHub
https://github.com/balloob/home-assistant/issues/1461#issuecomment-191810797
.

It is the Amazon Echo. It is possible that the software for the echo changed. I imagine the weird mojibake is causing your parser issues.

I restarted the echo and it is no longer producing the screwed up device name.


chore(race): convert race specs to run mode

Description:
This PR converts race unit tests to run mode.

Related issue (if exists):
None

Thank you, @tmair


Using whitespace as a closing delimiter

Having unique open and close delimiters are possible; if I replace 0x20 with 0x21 and the last token.markup to "!", then x^n! works as expected: xn
  ...

  while (state.pos < max) { // find closing whitespace
    if (state.src.charCodeAt(state.pos) === 0x20) {
      found = true; break
    }

    state.md.inline.skipToken(state)
  }

  ...

  // found!
  content = state.src.slice(start + 1, state.pos)

  state.posMax = state.pos
  state.pos = start + 1

  token         = state.push('sup_open', 'sup', 1)
  token.markup  = '^'

  token         = state.push('text', '', 0)
  token.content = content

  token         = state.push('sup_close', 'sup', -1)
  token.markup  = " "

  state.pos = state.posMax + 1
  state.posMax = max
  return true

  ...

But as per the snippet above, I cannot simply do the same with a space (x^n )
Does token.markup not accept whitespace? Is there something else I'm doing wrong?

token.markup is completely irrelevant
Possible issue is that skipToken will skip over spaces, because they are part of text token.
Maybe instead of skipToken, you'd just use state.pos++?

Thank you! Closer now... if I use state.pos++ and set token.markup empty (''), then I can get x^n     a to be xn a, but some non-whitespace character is required after
Also, I was able to get x^[n + m] = xn + m, but I cannot get x^(n + m) to work. Might this be a conflict with an existing rule? I'm currently using md.inline.ruler.before('emphasis', ...

Barebones plugin example:
module.exports = function sup_plugin(md) {
  md.inline.ruler.before('text', 'sup', (state, silent) => {
    let max = state.posMax,
        start = state.pos

    if (state.src.charCodeAt(start) !== 0x3A /* : */) return false

    console.log(state.src) // want to see this printed

    while (state.pos < max) {
      // ...
      state.pos++
    }

    return true
  })
}

A character like the colon (0x3A) works fine. Switch it with, say, a zero (0x30), and it's only recognized if it appears at the beginning of a state string (0test but not tes0t); try a forward slash (0x2F), and it won't work anywhere.

Yes, text rule skips over these, because they are not expected to be tokens. This is intentional, and done for performance reasons.

A character like the colon (0x3A) works fine.

But in your case the starting character of the rule is ^, is it not?

But in your case the starting character of the rule is ^, is it not?

In my first code snippet, yes. My last example doesn't look for any common delimiters.
That's a shame! How would you get around this?

Is it a public package, or your own project?
if it's inside your own project:

disable text rule (this has performance penalties)
or replace with a custom text rule

if you're writing a package that's used by others:

explain in full detail what plugin you're writing, maybe we can include that character in text rule (but its very unlikely at this point due to stability concerns)
maybe you can find other people that have similar issue, or already solved this

Several public packages under one monorepo. Slightly dated, but spec ideas are listed here—open to feedback, ofc ^_^
A case without common tokens would be simple fractions, e.g. 1/2 → 1⁄2 → 1⁄2

Close - possible resolutions explained.


image create now accepts a storage-sku.

image create now accepts a storage-sku. Unused if source vm specified, due to service side issue.
Also updated help text and changed some model imports to use get_models
closes #7115

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR has modified HISTORY.rst describing any customer-facing, functional changes. Note that this does not include changes only to help content. (see Modifying change log).

[ ] I adhere to the Command Guidelines.

@tjprescott, I added some test coverage for the parameter I added to image create and opened the issue to track the service end bug. Also @yugangw-msft  and I got to the bottom of the profile issue we were discussing before scrum.
If CI passes, this should be good to merge.

A question: as this is used to create images, how are people supposed to take advantage of --storage-sku if it's ignored when specifying a source VM: I mean, isn't that a mandatory parameter to create an image? How would one create an image without a source VM?


Cannot perform npm install or update

I have switched to ozcan branch
Tried to npm update & npm install
It is failing due to sf-core version in package.json
npm ERR! notarget No compatible version found<EMAIL_ADDRESS><2.0.0'
npm ERR! notarget Valid install targets:
npm ERR! notarget ["1.0.0","1.1.1","1.1.2","1.1.3","1.1.4","1.1.5","1.1.6","1.1.7","1.1.8-beta.0","1.1.8-beta.1","1.1.8-beta.2","1.1.8-beta.3","1.1.8-beta.4","1.1.8-beta.5","1.1.8-beta.6","1.1.8","1.1.9-beta.0","1.1.9-beta.1","1.1.9-beta.2","1.1.9-beta.3","1.1.9-beta.4","1.1.9","1.1.10-beta.0","1.1.10-beta.1","1.1.10-beta.2","1.1.10-beta.3","1.1.10-beta.4","1.1.10-beta.5","1.1.10-beta.6","1.1.10-beta.7","1.1.10-beta.8","1.1.10-beta.9","1.1.10-beta.10","1.1.10-beta.11","1.1.10-beta.12","1.1.10-beta.13","1.1.10-beta.14","1.1.10-beta.15","1.1.10-beta.16","1.1.10","1.1.11-beta.0","1.1.11","1.1.12-beta.0","1.1.12-beta.1","1.1.12-beta.2","1.1.12-beta.3","1.1.12-beta.4","1.1.12-beta.7","1.1.12-beta.8","1.1.12-beta.9","1.1.12-beta.10","1.1.12-beta.11","1.1.12-beta.12","1.1.12-beta.13","1.1.12-beta.14","1.1.12-beta.15","1.1.12-beta.16","1.1.12-beta.17","1.1.12-beta.18","1.1.12","1.1.13-beta.0","1.1.13-beta.1","1.1.13-beta.2","1.1.13-beta.3","1.1.13-beta.4","1.1.13-beta.5","1.1.13","1.1.14-beta.0","1.1.14","1.1.15-beta.0","1.1.15-beta.1","1.1.15-beta.2","1.1.15-beta.3","1.1.15-beta.4","1.1.15-beta.5","1.1.15-beta.6","1.1.15-beta.7","1.1.15-beta.8","1.1.15","1.1.15-beta.9","1.1.16-beta.1","1.1.16-beta.0","1.1.16-beta.2","1.1.16","1.1.17","1.1.18-beta.0","1.1.18-beta.1","1.1.18-beta.2"]
npm ERR! notarget
npm ERR! notarget This is most likely not a problem with npm itself.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

1.1.18 is not live yet, it should be fixed now on related branch.


List index out of range for one specific citation

I get an index out of range error when citing a specific article (all other citations are fine):
@inproceedings{cao-etal-2018-retrieve,
    title = "Retrieve, Rerank and Rewrite: Soft Template Based Neural Summarization",
    author = "Cao, Ziqiang  and
      Li, Wenjie  and
      Li, Sujian  and
      Wei, Furu",
    booktitle = "Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)",
    month = jul,
    year = "2018",
    address = "Melbourne, Australia",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/P18-1015",
    doi = "10.18653/v1/P18-1015",
    pages = "152--161",
}

This is a snippet of the sentence in the paper: [...] Work on template-based~\cite[e.g.,][]{cao-etal-2018-retrieve} and [...]
The error is:
File [...]/aclpubcheck/name_check.py", line 106, in extract_names
    additional+1, new_paper_authors[additional+1])
IndexError: list index out of range

I did a bit of debugging and it seems that it parses the title as the authors. Line 100 in name_check.py: new_paper_authors = [['rerank', 'Retrieve'], ['rewrite']]

I think it is related to the new function introduced by @pranav-ust

Yes, it works now, thanks!
Closing the issue.


gtkmm3: 3.24.5 -> 3.24.6

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for gtkmm3 is: "C++ interface to the GTK graphical user interface library"
meta.homepage for gtkmm3 is: "https://gtkmm.org/"
meta.changelog for gtkmm3 is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 3.24.6 with grep in /nix/store/pyx1i7l2ri6ywb8zwz8qfyy83k9fd0sz-gtkmm-3.24.6
found 3.24.6 in filename of file in /nix/store/pyx1i7l2ri6ywb8zwz8qfyy83k9fd0sz-gtkmm-3.24.6

Rebuild report (if merged into master) (click to expand)

114 total rebuild path(s)

85 package rebuild(s)

85 x86_64-linux rebuild(s)
29 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
adapta-gtk-theme
adriconf
arc-theme
arx-libertatis
asciidoc-full
asciidoc-full-with-plugins
astroid
ayu-theme-gtk
blueberry
capitaine-cursors
cherrytree
cinnamon.cinnamon-screensaver
cinnamon.iso-flags-png-320x420
cinnamon.iso-flags-svg
clevis
dablin
dblatexFull
disorderfs
eiciel
emojione
fim
gImageReader
glom
gnome.gnome-documents
gnome.gnome-system-monitor
gobby
goocanvasmm2
gparted
gsmartcontrol
gtkmm3
gtksourceviewmm
gtksourceviewmm4
gtkspellmm
guitarix
horizon-eda
inkscape
inkscape-extensions.applytransforms
inkscape-with-extensions
iso-flags
jstest-gtk
jucipp
k40-whisperer
kabeljau
kakounePlugins.rep
lifeograph
luksmeta
mate.mate-system-monitor
mate.mate-utils
mojave-gtk-theme
nemiver

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/pyx1i7l2ri6ywb8zwz8qfyy83k9fd0sz-gtkmm-3.24.6 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A gtkmm3 https://github.com/r-ryantm/nixpkgs/archive/0081b479c4183c80cf80a28662210a2dd8affd46.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/pyx1i7l2ri6ywb8zwz8qfyy83k9fd0sz-gtkmm-3.24.6
ls -la /nix/store/pyx1i7l2ri6ywb8zwz8qfyy83k9fd0sz-gtkmm-3.24.6/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
nixpkgs-review took longer than 45m and timed out

Maintainer pings
cc @7c6f434c for testing.

Change looks okay: https://gitlab.gnome.org/GNOME/gtkmm/-/compare/3.24.5...3.24.6

Gtk:

TreeValueProxy: Declare copy constructor =default, avoiding warnings from the clang++ compiler
Object::_release_c_instance(): Unref orphan managed widgets

Demos:

SizeGroup demo: Set active items in the combo boxes, so something is shown

Build with Meson:

MSVC build: Support Visual Studio 2022
Specify 'check' option in run_command()
Check if Perl is required for building documentation
Don't use deprecated python3.path() and execute(..., gui_app: ...)

All four build failures are already failing on master.
Result of nixpkgs-review pr 171385 run on x86_64-linux 1

3 packages marked as broken and skipped:

gnome.gnome-documents
jucipp
synfigstudio

4 packages failed to build:

spring
springLobby
subtitleeditor
workrave

76 packages built:

adapta-gtk-theme
adriconf
arc-theme
arx-libertatis
asciidoc-full
asciidoc-full-with-plugins
astroid
ayu-theme-gtk
blueberry
capitaine-cursors
cherrytree
cinnamon.cinnamon-screensaver
cinnamon.iso-flags-png-320x420
cinnamon.iso-flags-svg
clevis
dablin
dblatexFull
disorderfs
eiciel
emojione
fim
gImageReader
glom
gnome.gnome-system-monitor
gobby
goocanvasmm2
gparted
gsmartcontrol
gtkmm3
gtksourceviewmm
gtksourceviewmm4
gtkspellmm
guitarix
horizon-eda
inkscape
inkscape-extensions.applytransforms
inkscape-with-extensions
iso-flags
jstest-gtk
k40-whisperer
kabeljau
rep (kakounePlugins.rep)
lifeograph
luksmeta
mate.mate-system-monitor
mate.mate-utils
mojave-gtk-theme
nemiver
nextcloud-client
numix-cursor-theme
numix-solarized-gtk-theme
nwg-launchers
open-vm-tools
paprefs
pavucontrol
pdfchain
pdfslicer
plata-theme
pop-gtk-theme
pulseeffects-legacy
python310Packages.diagrams
python310Packages.inkex
python39Packages.diagrams
python39Packages.inkex
rawtherapee
snes9x-gtk
solvespace
tang
udiskie
waybar
wayfire
wayfirePlugins.wf-shell (wayfireApplications-unwrapped.wayfirePlugins.wf-shell)
wayfireApplications-unwrapped.wcm
wcm
whatsapp-for-linux
wpa_supplicant_gui


I generated a pedestrian navigation mesh and the file path was correct, but the pedestrian could not be loaded

Hi@Yang-Zi97,
Can you provide more information about it ?
I suppose that you check our documentation right ?https://carla.readthedocs.io/en/latest/tuto_D_generate_pedestrian_navigation/#rebuild-the-navigation-binary

hi！xavi.
Thank you for your reply.
We made the map using 3DMAX. According to step in the document, we have changed the names of all models, which are similar to Road_Road_Mesh_1...,
using NoExport to export the unwanted model.
Using the executable program for Recast&Detour,run:python spawn_npc.py.But only vehicles are generated, no pedestrians。After debugging, I know that pedestrians can generate pedestrians, but they will not appear on the navigation grid. I think there is something wrong with recast & detour .
I hope you can help me.thinks
------------------ 原始邮件 ------------------
发件人<EMAIL_ADDRESS>发送时间: 2020年12月2日(星期三) 凌晨1:41
收件人<EMAIL_ADDRESS>抄送<EMAIL_ADDRESS><EMAIL_ADDRESS>主题: Re: [carla-simulator/carla] I generated a pedestrian navigation mesh and the file path was correct, but the pedestrian could not be loaded (#3639)
Hi@Yang-Zi97,
Can you provide more information about it ?
I suppose that you check our documentation right ?https://carla.readthedocs.io/en/latest/tuto_D_generate_pedestrian_navigation/#rebuild-the-navigation-binary
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Hi, pedestrians can only spawn and walk on special areas (meshes) that have the proper nomenclature. So, you need to be sure that you have meshes starting with the name Road_Sidewalk, Road_Grass (optional) or Road_Crosswalk (optional). Pedestrians always spawn in areas named Road_Sidewalk, and they are the priorized ares where they walk. The Road_Grass are areas with less priority to walk but they will if the path is shorter walking on them, and the Road_Crosswalk are the areas they will walk if they need to cross a road. Be sure you have at least a Road_Sidewalk mesh. So:

Road_Sidewalk is a must
Road_Grass is optional
Road_Crosswalk is optional

Regards,
Bernat


get the name of augmentation applied

is it possible to get the name of the augmentation that is applied when selected random_order=True

Do you mean that you want to get the augmenters in the order that they were executed? If so, you can achieve something like that using hooks. Example:
import imgaug as ia
from imgaug import augmenters as iaa

image = ia.quokka(size=(128, 128))
seq = iaa.Sequential([
    iaa.Fliplr(0.5, name="flip"),
    iaa.Multiply((0.5, 1.5), name="multiply"),
    iaa.Dropout(0.05, name="dropout")
], random_order=True, name="seq_random_order")

def postprocessor(images, augmenter, parents):
    print(augmenter.name)
    return images

hooks = ia.HooksImages(
    postprocessor=postprocessor
)

for i in range(10):
    print("")
    print(i)
    _ = seq.augment_images([image], hooks=hooks)

Output:
0
flip
multiply
dropout
seq_random_order

1
flip
multiply
dropout
seq_random_order

2
flip
multiply
dropout
seq_random_order

3
flip
dropout
multiply
seq_random_order

4
flip
dropout
multiply
seq_random_order

5
multiply
flip
dropout
seq_random_order

6
flip
dropout
multiply
seq_random_order

7
multiply
dropout
flip
seq_random_order

8
flip
multiply
dropout
seq_random_order

9
dropout
multiply
flip
seq_random_order

The parameters before sampling are attributes of the augmenters, e.g. for Dropout it is .p, so the function would have to be changed to something like
def postprocessor(images, augmenter, parents):
    print(augmenter.name)
    if augmenter.name == "dropout":
        print(augmenter.p)
    return images

But I guess you want to have the values that were sampled from these parameters? That is currently not possible, unless you want to reimplement the sampling routines of each augmenter and "replay" them manually.


Request for Empty It! mod

https://github.com/keallu/CSL-EmptyIt

ok
https://github.com/kurema/CitiesSkylinesModsRepoForEpicUsers/releases/tag/26-June-2023

Thank you


sidenav delay loading additional books

fixes sidenav filter not working until all additional books are hovered
fixes book title overflowing after filter use

Fix #89
Test URLs:

Before: https://main--prisma-cloud-docs-website--hlxsites.hlx.page/prisma/prisma-cloud/en/compute/pcee/admin-guide/access-control/rbac
After: https://delayed-books--prisma-cloud-docs-website--hlxsites.hlx.page/prisma/prisma-cloud/en/compute/pcee/admin-guide/access-control/rbac

loading all books on demand, either on focus or mouseover of the filter input

Sounds good to me I'll update the PR accordingly


[Backport v2.7.11] Pin Fleet version

Issue: fleet#1979
Problem
Configuring a given Fleet version number via CATTLE_FLEET_MIN_VERSION does not reliably lead to that version being installed, with updates to the latest available version breaking predictability.
Solution
See rancher/rancher#42304 (merged) and rancher/rancher#43498 (approved, scheduled for merging in 2.8.3), sources of this backport.
Deprecate CATTLE_FLEET_MIN_VERSION in favour of CATTLE_FLEET_VERSION for backward compatibility, both settings being treated as exact version settings:

new versions becoming available in the system charts repository will not be automatically installed anymore
manual updates via the web UI are still possible, while downgrades are not.

Testing
Engineering Testing
Automated Testing

Test types added/modified:

Unit tests for happy paths, updates, as well as nonexistent versions

Regressions Considerations

install tests added to release/v2.8 via this commit are not added here, as they would be tricky to backport. Only interface definitions are cherry-picked from that commit, as newly added test cases for version pinning rely on mocking those interfaces.

This will not be merged into Rancher 2.7.11 (release/project management decision).


jiti doesn't work with yarn berry

Environment
Node 21.5.0, yarn 4.0.2, macOS 14.2.1 (23C71)
Reproduction
See the steps detailed here https://github.com/nksaraf/vinxi/issues/43, vinxi fixed yarn berry compat by disabling jiti when not using a typescript vite.config.ts file, but it's still broken due jiti calling require.resolve with the wrong import conditions in the default setup (having a .ts config file)
Describe the bug
See also the linked issue above and run the reproduction steps
daniel@mmmmmmmmmm my-app % yarn dev
Error: Package subpath './lib/chunks' is not defined by "exports" in /Users/daniel/.yarn/berry/cache/vinxi-npm-0.0.54-94f4086925-10c0.zip/node_modules/vinxi/package.json imported from /private/tmp/solid-start-x/my-app/.yarn/__virtual__/@vinxi-server-functions-virtual-824b5314c0/5/Users/daniel/.yarn/berry/cache/@vinxi-server-functions-npm-0.0.51-9542aa8426-10c0.zip/node_modules/@vinxi/server-functions/
Require stack:
- /private/tmp/solid-start-x/my-app/.yarn/__virtual__/@vinxi-server-functions-virtual-824b5314c0/5/Users/daniel/.yarn/berry/cache/<EMAIL_ADDRESS>    at require$$0.Module._resolveFilename (/private/tmp/solid-start-x/my-app/.pnp.cjs:12657:13)
    at Function.resolve (node:internal/modules/helpers:187:19)
    at _resolve (/Users/daniel/.yarn/berry/cache/jiti-npm-1.21.0-baebd5985a-10c0.zip/node_modules/jiti/dist/jiti.js:1:251148)
    at jiti (/Users/daniel/.yarn/berry/cache/jiti-npm-1.21.0-baebd5985a-10c0.zip/node_modules/jiti/dist/jiti.js:1:253746)
    at /private/tmp/solid-start-x/my-app/.yarn/__virtual__/@vinxi-server-functions-virtual-824b5314c0/5/Users/daniel/.yarn/berry/cache/@vinxi-server-functions-npm-0.0.51-9542aa8426-10c0.zip/node_modules/@vinxi/server-functions/client.js:3:15
    at evalModule (/Users/daniel/.yarn/berry/cache/jiti-npm-1.21.0-baebd5985a-10c0.zip/node_modules/jiti/dist/jiti.js:1:256443)
    at jiti (/Users/daniel/.yarn/berry/cache/jiti-npm-1.21.0-baebd5985a-10c0.zip/node_modules/jiti/dist/jiti.js:1:254371)
    at /private/tmp/solid-start-x/my-app/.yarn/__virtual__/@vinxi-server-functions-virtual-824b5314c0/5/Users/daniel/.yarn/berry/cache/@vinxi-server-functions-npm-0.0.51-9542aa8426-10c0.zip/node_modules/@vinxi/server-functions/plugin.js:3:15
    at evalModule (/Users/daniel/.yarn/berry/cache/jiti-npm-1.21.0-baebd5985a-10c0.zip/node_modules/jiti/dist/jiti.js:1:256443)
    at jiti (/Users/daniel/.yarn/berry/cache/jiti-npm-1.21.0-baebd5985a-10c0.zip/node_modules/jiti/dist/jiti.js:1:254371)

Additional context
No response
Logs
No response

Investigating such issues with higher-order meta frameworks is time-consuming. I appreciate it if you can make a minimal reproduction (with jiti only). closing in the meantime.

@pi0 will creating a minimal reproduction (with jiti only) lead to the issue being fixed in a timely manner?

minimal reproduction it is a requirement to make valid issues.
priority is based on how common a feature/bug is.

Here's a minimal reproduction using only jiti.
Steps:

Unzip jiti-reproduction.zip
Go into the new directory
yarn install
yarn start

Also, read this comment https://github.com/solidjs/solid-start/issues/1177#issuecomment-1869484191, it might save you time
You should see this:
daniel@mmmmmmmmmm jiti-reproduction % yarn start
/private/tmp/jiti/jiti-reproduction/.pnp.cjs:13182
      Error.captureStackTrace(firstError);
            ^

Error: Package subpath './lib/chunks' is not defined by "exports" in /Users/daniel/.yarn/berry/cache/vinxi-npm-0.1.4-662cb08e69-10c0.zip/node_modules/vinxi/package.json imported from /private/tmp/jiti/jiti-reproduction/.yarn/__virtual__/@vinxi-server-functions-virtual-848940c2eb/5/Users/daniel/.yarn/berry/cache/@vinxi-server-functions-npm-0.1.2-ce18cd26d1-10c0.zip/node_modules/@vinxi/server-functions/
Require stack:
- /private/tmp/jiti/jiti-reproduction/.yarn/__virtual__/@vinxi-server-functions-virtual-848940c2eb/5/Users/daniel/.yarn/berry/cache/<EMAIL_ADDRESS>    at require$$0.Module._resolveFilename (/private/tmp/jiti/jiti-reproduction/.pnp.cjs:13182:13)
    at Function.resolve (node:internal/modules/helpers:187:19)
    at _resolve (/Users/daniel/.yarn/berry/cache/jiti-npm-1.21.0-baebd5985a-10c0.zip/node_modules/jiti/dist/jiti.js:1:251148)
    at jiti (/Users/daniel/.yarn/berry/cache/jiti-npm-1.21.0-baebd5985a-10c0.zip/node_modules/jiti/dist/jiti.js:1:253746)
    at /private/tmp/jiti/jiti-reproduction/.yarn/__virtual__/@vinxi-server-functions-virtual-848940c2eb/5/Users/daniel/.yarn/berry/cache/@vinxi-server-functions-npm-0.1.2-ce18cd26d1-10c0.zip/node_modules/@vinxi/server-functions/client.js:3:15
    at evalModule (/Users/daniel/.yarn/berry/cache/jiti-npm-1.21.0-baebd5985a-10c0.zip/node_modules/jiti/dist/jiti.js:1:256443)
    at jiti (/Users/daniel/.yarn/berry/cache/jiti-npm-1.21.0-baebd5985a-10c0.zip/node_modules/jiti/dist/jiti.js:1:254371)
    at /private/tmp/jiti/jiti-reproduction/.yarn/__virtual__/@vinxi-server-functions-virtual-848940c2eb/5/Users/daniel/.yarn/berry/cache/@vinxi-server-functions-npm-0.1.2-ce18cd26d1-10c0.zip/node_modules/@vinxi/server-functions/plugin.js:3:15
    at evalModule (/Users/daniel/.yarn/berry/cache/jiti-npm-1.21.0-baebd5985a-10c0.zip/node_modules/jiti/dist/jiti.js:1:256443)
    at jiti (/Users/daniel/.yarn/berry/cache/jiti-npm-1.21.0-baebd5985a-10c0.zip/node_modules/jiti/dist/jiti.js:1:254371)
    at /Users/daniel/.yarn/berry/cache/@solidjs-start-npm-0.4.9-2d183d4d01-10c0.zip/node_modules/@solidjs/start/config/index.js:1:188
    at evalModule (/Users/daniel/.yarn/berry/cache/jiti-npm-1.21.0-baebd5985a-10c0.zip/node_modules/jiti/dist/jiti.js:1:256443)
    at jiti (/Users/daniel/.yarn/berry/cache/jiti-npm-1.21.0-baebd5985a-10c0.zip/node_modules/jiti/dist/jiti.js:1:254371)
    at /private/tmp/jiti/jiti-reproduction/vite.config.ts:1:177
    at evalModule (/Users/daniel/.yarn/berry/cache/jiti-npm-1.21.0-baebd5985a-10c0.zip/node_modules/jiti/dist/jiti.js:1:256443)
    at jiti (/Users/daniel/.yarn/berry/cache/jiti-npm-1.21.0-baebd5985a-10c0.zip/node_modules/jiti/dist/jiti.js:1:254371)
    at file:///private/tmp/jiti/jiti-reproduction/index.js:21:18
    at ModuleJob.run (node:internal/modules/esm/module_job:218:25)
    at async ModuleLoader.import (node:internal/modules/esm/loader:329:24)
    at async loadESM (node:internal/process/esm_loader:28:7)
    at async handleMainPromise (node:internal/modules/run_main:120:12)

Node.js v21.5.0

Please understand that all I'm trying to do is build a website using solid-js and latest yarn (because solid-js is awesome) and I'm already multiple levels deep of debugging and opening issues. I would be very happy if you could fix this and very disappointed if you don't (although the mlly bug is more severe for me).
To give you some incentive, google "yarn berry" and read about everyone using it - don't you want to enable those people to use your library?

Thanks for making minimum reproduction 👍🏼

Some context:
jiti is an ESM+Typescript compatibility layer for Node.js. You might think ESM is stable and fully supported in Node.js but that's sadly not completely true. Node.js provides no stable loader mechanism (to support TS) nor an invalidation API for ESM Modules (to support reloading a config file without full process restart!). Because of this jiti is depending on Node.js CJS modules to resolve this limitations but also pushing ESM forward.
The import.meta.resolve() is also even till today not a stable feature from Node.js to rely on and when it ships, there is a time required until it is backported to other LTS Node.js versions we can rely on. Because of this, jiti uses mlly which uses wooorm/import-meta-resolve that is extracted from  Node.js native implementation and works really well in most of the cases.
Adding to the all complexity, yarn (which I love and used since early days!) pnp uses hacky methods to allow resolving from virtual modules and it (recently) supports a compatible polyfill for import.meta.resolve that works within it's environment.
I think the right solution for this might be relying on import.meta.resolve as a fallback but what makes it tricky to just do it as a "fix" is that import.meta.resolve was not stable until very recently and previously it was an async method(!). Considering huge ecosystem (33M downloads per month) doing so is risky but I would definitely consider it in v2 roadmap. PS: We need to hack webpack bundler to say there is a import.meta.resolve native method currently it strips import.meta entirely!
For jiti v1 that is used by solid, we might also enable this fallback support behind a flag but really a simpler solution is that vinxi's package.json could simply use default export condition. Combined with type: "module" that is already in there, this would be a much faster solution to this problem for solid's ecosystem. Also I would love to later talk with team, because /config subpath import is too much expensive for a type helper wrapper. If it was only type helper like Nuxt and Nitro, this issue wouldn't happen. /cc @nksaraf
Also for the follow up, I have tried to directly unplug vinxi and replace import": with "default":, there seems to be more issues within solid. @solidjs/start for example has implicit dependency on vite which breaks yarn pnpm. Fully supporting pnp is hard after all!

Thanks a lot for looking into this, explaining the context and giving recommendations to the solid-start team @pi0 :)
Great that you don't hate on yarn, I love it too. I just did yarn add vite to get @solidjs/start to work, but ofc best if solid-start adds it to peerDependencies or something.
Nice that you can fallback to import.meta.resolve in v2 and that it's synchronous now. I think the ball is rolling and I have some patches so solid-start works for me right now 🥳

Tested against jiti v2 nightly with new ESM API. pnpm had one new strange issue (https://github.com/unjs/jiti/commit/50e42807eaab19932b9ac4db3d22a642ada6d500) and also shows a warning if the extension is explicitly not set in import breaking internal try-catch of jiti and nothing fixable in jiti...
(tested against https://github.com/unjs/jiti/issues/204#issuecomment-1894236947)
import { createJiti } from "jiti"; // tested against jiti v2 nightly

const jiti = createJiti(import.meta.url);

// Note: Without explicit extension yarn pnp throws error even in internal try-catch block of jiti
const resolvedPath = jiti.esmResolve("./vite.config.ts");
console.log({ resolvedPath });

const mod = await jiti.import(resolve1);
console.log({ mod })


Custom Shortcuts For Collection Rules

This PR allows users to define their own custom shortcuts that can be used to improve readability/reuse in configuration. By associating a name with an action/trigger/limit/filter, the name can be referenced alongside the existing style of configuration when defining a collection rule, reducing the need to copy-paste blocks of frequently used configuration between multiple rules.

/backport to release/6.x


chore(protocol-parser): export decodeRecord, encodeField, encodeRecord

Current dependencies on/for this PR:

main

PR #1087   👈

PR #1074

This comment was auto-generated by Graphite.


Fix useIntersectionObserver bug by working with react-intersection-observer

Hi :)
I Found a bug on the example of infinite-scrolling in documentation, there was two fetch request on the first scroll because there is an issue with the useIntersectionObserver.js hook (the function onIntersect called twice and that is what cause for double fetching)
I was in touch with @TkDodo, he asked me to help him with the issue by using react-intersection-observer package instead of using the custom hook.
hope you will like it and approve my solution :)

:tada: This PR is included in version 3.34.17 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 4.0.0-alpha.22 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Implement eyedropper functionality

This PR implements an eyedropper tool. Use CTRL+Click to copy the graphic of the current layer from the selected tile in the map editor.

A few changes I'd want to make to this:

Don't use an independent timer for animation, but prefer frame or elapsed-time counting using the primary 60Hz animation timer (timer) instead, to avoid an interference pattern in frame redrawing if multiple animations are happening at once. The 2Hz frame animation timer probably should be implemented similarly, but for an idle timer there are power saving benefits to a separate timer.
Making non-floor tile selection pixel perfect instead of based on ground positions
Allowing selection of tiles that aren't on the same palette tab, though that gets messy in relation to the two wall types.
Highlighting the item to be selected in some way. Making everything alpha and leaving the highlighted item as 100% opacity, over-laying with a lightening blend mode, or doing an edge border around the object.
Jumping the palette to the selected tile, maybe
Indicate whether drawing or picking by an EO-like icon in the bottom left, if not a cursor, maybe


Added support for Capacitor 4.0 according to Capacitors upgrade guide

Did a quick test on iOS and Android - so far I couldn't experience any errors. @moberwasserlechner Can you verify, that this upgrade is fine to get published?
Btw: Thanks for this great plugin! 🙌

I think you might have missed some changes to gradle?

Thanks for the hint - then I'll close this PR.
Looking forward to get the update merged!


Adding buttons

Hello,
could you please write the correct way of adding custom buttons with tooltips to control bar. I'm trying to implement this plugin https://github.com/manelpb/videojs-brand
Thanks.

Hi,
You don't need to use any plugins to add logo to the control bar. It's a built-in feature of Hola Player. Here is an example: https://github.com/hola/hola_player/blob/master/examples/watermark.html

The problem is that when i click the logo in the control bar generated by built in plugin, it opens the new page over the player but the player is not paused.

is it also possible to add a tooltip to this logo like on other controls

Added in version 1.0.100


amdgpu: Semi-frequent freezing on 4.15

Issue description
Everything will freeze but my mouse and sound for a second to ~30 seconds every now and then, and sometimes frequently.
I only really notice this when I'm downloading and I'm using something like firefox.
dmesg | grep amdgpu
amdgpu 0000:2d:00.0: swiotlb buffer is full (sz: 2097152 bytes)
[ 5591.375008]  amdgpu_bo_do_create+0x184/0x3d0 [amdgpu]
[ 5591.375008]  ? amdgpu_fill_buffer+0x2e0/0x2e0 [amdgpu]
[ 5591.375008]  amdgpu_bo_create+0x3d/0x210 [amdgpu]
[ 5591.375008]  amdgpu_gem_object_create+0x6a/0xf0 [amdgpu]
[ 5591.375008]  ? amdgpu_gem_object_close+0x1b0/0x1b0 [amdgpu]
[ 5591.375008]  amdgpu_gem_create_ioctl+0x1c8/0x240 [amdgpu]
[ 5591.375008]  ? amdgpu_gem_object_close+0x1b0/0x1b0 [amdgpu]
[ 5591.375008]  ? amdgpu_gem_object_close+0x1b0/0x1b0 [amdgpu]
[ 5591.375008]  amdgpu_drm_ioctl+0x49/0x80 [amdgpu]
This repeats a lot of times.
I'm using the linux_testing_bcachefs kernel, and it did this even before my recent pull request #37905
Probably has something to do with gpu acceleration on firefox interacting badly with the kernel driver, because I can do something like play a game and there's no issue. Perhaps a linux kernel patch is needed? I don't think the bcachefs kernel source pulls the latest kernel updates.
Steps to reproduce
Have an AMD gpu that uses amdgpu driver with a 4.15 kernel and browse the web normally.
Possibly do this with a bcachefs kernel.
Technical details

system: "x86_64-linux"
host os: Linux 4.15.0, NixOS, 18.09.git.4167600 (Jellyfish)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.0
channels(root): "nixos, nixpkgs"
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs

Related bug report


Fix bitShift for non-positive results

Note that the new implementation still fails for negative receivers just like all other bit manipulation primitives (OSVM does support this). I'm not sure why this has been designed this way, but even though the primitive is marked as essential, the fallback code seems to handle negative receivers correctly.
However, the following example failed and simulated an infinite recursion without this fix:
Context runSimulated: [-256 - -2130444284].

I was not able to find a simpler way to reproduce this.

I committed a simpler fix. Thanks though!

Oh this broke stuff. Committing a real fix ...
BTW the reason I did not want to use null to indicate failure was so that the code stays monomorphic from the POV of the JS JIT.


Streamline plot crashes engine with h5nimrod data

Originally reported by Guoning Chen when I asked for clarification on issue #355. With 2.0.1 on windows, a default Streamline plot of variable B from phi.h5nimrod yields no data. Changing to using a plane source yields a plot. With trunk, a default Streamline plot crashes the engine. Performed a few tests on Linux: With trunk version on Linux, a default Streamline plot yields no data, changing to using a plane source yields no data. Changing the plane parameters appears to hang VisIt, but checking the engine logs, the engine SEGV'd. I haven't tested with any other data formats.
-----------------------REDMINE MIGRATION-----------------------
This ticket was migrated from Redmine. As such, not all
information was able to be captured in the transition. Below is
a complete record of the original redmine ticket.
Ticket number: 368
Status: Pending
Project: VisIt
Tracker: Bug
Priority: Normal
Subject: Streamline plot crashes engine with h5nimrod data
Assigned to: -
Category: -
Target version: -
Author: Kathleen Biagas
Start: 08/27/2010
Due date:
% Done: 0%
Estimated time:
Created: 08/27/2010 05:20 pm
Updated: 10/05/2010 03:42 pm
Likelihood: 3 - Occasional
Severity: 4 - Crash / Wrong Results
Found in version: trunk
Impact:
Expected Use:
OS: All
Support Group: DOE/SciDAC
Description:
Originally reported by Guoning Chen when I asked for clarification on issue #355. With 2.0.1 on windows, a default Streamline plot of variable B from phi.h5nimrod yields no data. Changing to using a plane source yields a plot. With trunk, a default Streamline plot crashes the engine. Performed a few tests on Linux: With trunk version on Linux, a default Streamline plot yields no data, changing to using a plane source yields no data. Changing the plane parameters appears to hang VisIt, but checking the engine logs, the engine SEGV'd. I haven't tested with any other data formats.
Comments:
This happens with silo data, too.On Windows, I ran through the debugger, and Visual Studio complains about a Run-Time check error, stack corruption,occurring in avtCellLocatorBIH, celltree_builder::split routine. I've attached the sample silo file, and Windows debugger output, callstack and disassembly. Hope something here helps.

0381_Streamline_test_disassembly_celltree_builder_split.txt
0381_Station_012000.silo.zip
0381_Streamline_test_callstack.txt
0381_Streamline_test_debugger_output.txt


Return values for dump() and load() are unnecessary, and could be misleading

Completed in version_0_4_0 merge


Python Version Issue

Hi I think this is a Python version issue but I get the following error when I run this command
Analyze.cosmic_fit(samples="path/to/vcfs",
output='signatures',
input_type='vcf',
context_type='96',
genome_build='GRCh38',
cosmic_version=3.3)
AttributeError: 'DataFrame' object has no attribute 'append'
Specifically related to this line
-> 2924     trans = trans.append(a)
Python Version I use
Python 3.10.12 | packaged by conda-forge

Sorry I think this is a Pandas issue not a Python issue.

I know this is closed, but I've run into the same thing and it's worth posting a fix.
The "append" method was deprecated in later versions of pandas, so there is a python version ceiling on this suite. In general, you should create your own environment for sigprofiler as it will prevent you from working with up-to-date versions of other modules.


Class AMSupportURLConnectionDelegate is implemented in both /usr/lib/libauthinstall.dylib

Running pod install...                                           1,461ms
Running Xcode build...
Xcode archive done.                                         23.1s
Failed to build iOS app
Error output from Xcode build:
↳
objc[63300]: Class AMSupportURLConnectionDelegate is implemented in both /usr/lib/libauthinstall.dylib (0x209d07ad8) and
/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x10ca442c8). One of the two will be used. Which one
is undefined.
objc[63300]: Class AMSupportURLSession is implemented in both /usr/lib/libauthinstall.dylib (0x209d07b28) and
/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x10ca44318). One of the two will be used. Which one
is undefined.
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device }
{ platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:00008103-000565321439001E }
{ platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Any iOS Simulator Device }
{ platform:iOS Simulator, id:298C0C7A-C571-4CD7-9D6E-BA1506F3DF21, OS:15.2, name:iPad (9th generation) }
{ platform:iOS Simulator, id:BF835FB3-EE7B-4C45-871C-1042D84E755A, OS:15.2, name:iPad Air (4th generation) }
{ platform:iOS Simulator, id:E5BA892D-4BFF-4969-8643-5E9BE7717885, OS:15.2, name:iPad Pro (9.7-inch) }
{ platform:iOS Simulator, id:69AFCB3D-EB6C-4B8A-A1CD-82915102A40F, OS:15.2, name:iPad Pro (11-inch) (3rd generation) }
{ platform:iOS Simulator, id:C9F39227-699B-4E98-B729-DBC47C75B94F, OS:15.2, name:iPad Pro (12.9-inch) (5th generation) }
{ platform:iOS Simulator, id:69B9560D-0300-40BF-9711-E6A86B1D70B2, OS:15.2, name:iPad mini (6th generation) }
{ platform:iOS Simulator, id:41D8D073-F41E-4573-A71C-A147D238E7EE, OS:15.2, name:iPhone 8 }
{ platform:iOS Simulator, id:2E078DDB-6B13-4E3E-9E82-A12CFBE87875, OS:15.2, name:iPhone 8 Plus }
{ platform:iOS Simulator, id:F73797BE-B618-4F6F-9525-368FD1AE93BA, OS:15.2, name:iPhone 11 }
{ platform:iOS Simulator, id:2A78A029-4B47-4168-B3A2-38F46DE68636, OS:15.2, name:iPhone 11 Pro }
{ platform:iOS Simulator, id:53D2A7F0-A742-472D-B272-FFA447CD2693, OS:15.2, name:iPhone 11 Pro Max }
{ platform:iOS Simulator, id:6F69CC33-309D-4398-8C03-7BAA78B860CC, OS:15.2, name:iPhone 12 }
{ platform:iOS Simulator, id:6042B214-C5B0-4E77-9751-70C8B705B8CC, OS:15.2, name:iPhone 12 Pro }
{ platform:iOS Simulator, id:650E6247-27A3-4F01-9BCB-9AA335ABE256, OS:15.2, name:iPhone 12 Pro Max }
{ platform:iOS Simulator, id:6485BA48-9423-42C2-A282-EF5C20D188BE, OS:15.2, name:iPhone 12 mini }
{ platform:iOS Simulator, id:9C8E4C3E-F409-4E78-A56E-E43DF8003E5F, OS:15.2, name:iPhone 13 }
{ platform:iOS Simulator, id:AA44180A-9E13-4202-9CE0-0D609EE1A214, OS:15.2, name:iPhone 13 Pro }
{ platform:iOS Simulator, id:50C3E9D8-EE4D-4728-BF91-9BA8A09E4CA0, OS:15.2, name:iPhone 13 Pro Max }
{ platform:iOS Simulator, id:1EF38719-1B37-4639-B461-A377955BECA6, OS:15.2, name:iPhone 13 mini }
{ platform:iOS Simulator, id:0145972E-A2E1-42D3-91F7-7C67B11403A3, OS:15.2, name:iPhone SE (2nd generation) }
{ platform:iOS Simulator, id:7CC0F961-695D-447D-AEEE-14252AAB71C1, OS:15.2, name:iPod touch (7th generation) }
** ARCHIVE FAILED **
Xcode's output:
↳
error: the following command failed with exit code 1 but produced no further output
Run custom shell script 'Run Script'
error: the following command failed with exit code 0 but produced no further output
CompileC
/Users/dahanjsy/Library/Developer/Xcode/DerivedData/Runner-dxuakpszbekgthhjdrjkctejaryd/Build/Intermediates.noindex/ArchiveIntermediate
s/Runner/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/Reachability.build/Objects-normal/arm64/Reachability.o
/Users/dahanjsy/jsy/flutter/wzxt/ios/Pods/Reachability/Reachability.m normal arm64 objective-c
com.apple.compilers.llvm.clang.1_0.compiler (in target 'Reachability' from project 'Pods')
../../../flutter/.pub-cache/git/flutter_jsy_lib-6fba9dae94615491b9df9dc5e7ab36143380b2f3/lib/extension/foundation/route.dart:7:42:
Error: The method 'firstWhereOrNull' is defined in multiple extensions for 'List<GetPage>' and neither is more specific.
- 'List' is from 'dart:core'.
- 'GetPage' is from 'package:get/get_navigation/src/routes/get_route.dart'
('../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/get-4.6.1/lib/get_navigation/src/routes/get_route.dart').
Try using an explicit extension application of the wanted extension or hiding unwanted extensions from scope.
GetPage? page = Get.routeTree.routes.firstWhereOrNull(
^^^^^^^^^^^^^^^^
../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/get-4.6.1/lib/get_utils/src/extensions/internacionalization.dart:15:6: Context:
This is one of the extension members.
T? firstWhereOrNull(bool Function(T element) test) {
^^^^^^^^^^^^^^^^
../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/get-4.6.1/lib/get_navigation/src/root/parse_route.dart:182:6: Context: This is one
of the extension members.
T? firstWhereOrNull(bool Function(T element) test) {
^^^^^^^^^^^^^^^^
Failed to package /Users/dahanjsy/jsy/flutter/wzxt.
Command PhaseScriptExecution failed with a nonzero exit code
note: Using new build system
note: Planning
note: Build preparation complete
note: Building targets in dependency order
/Users/dahanjsy/jsy/flutter/wzxt/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to
8.0, but the range of supported deployment target versions is 9.0 to 15.2.99. (in target 'Reachability' from project 'Pods')
/Users/dahanjsy/jsy/flutter/wzxt/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to
8.0, but the range of supported deployment target versions is 9.0 to 15.2.99. (in target 'FMDB' from project 'Pods')

Any updates on this by chance? @jonataslaw just added GetX to a new project and hit this same error

Flutter version and get version, please.


Fix various Clippy lints

Also see #1776

I just love how it switches between some 1 error in the tests, then 1 error in the examples and back to the tests again...

My guess is the rustc version. Clippy lints can vary a lot.

Doesn't seem to trigger any more? At least not on the CI.


deploy-preview: Update helm version

Fixes #228

There is no CI here, how do we test this? I'm a JavaScript n00b.

Non technical person, huh? 🍸 npn run all should do the trick. You need node installed.

The compiled js code needs to be committed when the action is typescript 😶

The compiled js code needs to be committed when the action is typescript 😶

That is correct. When GitHub runs the action it checks out the preview repo and runs the transpiled JavaScript files. I guess this is why many GitHub actions use pure JavaScript and not TypeScript..


update packages

Can you please update Lodash to latest version there is Vulnerable module: lodash.merge in the current version

thanks for report
v1.3.5 will contain following updates :
 better-sqlite3   4.1.0  →   5.4.0
 fs-extra         6.0.1  →   7.0.1
 node-gyp         3.6.2  →   3.8.0
 randexp          0.4.9  →   0.5.3
 merge-deep       3.0.1  →   3.0.2
 tap             12.0.1  →  12.6.1

v1.3.5 published
thank you


Error when setting pyPath in writeScoreCode

When setting a folder with pyPath parameter in writeScoreCode, there is a TypeError:
ScoreCode.writeScoreCode(inputDF, targetDF, modelPrefix,'{}.predict_proba({})', modelPrefix + '.pickle',pyPath=zipFolder)
TypeError: unsupported operand type(s) for /: 'str' and 'str'

It seems that the function fails to generate the path.

Thanks for the bug report @sahbic. It looks as though if the path format provided to the writeScoreCode() function is not from the pathlib library, a TypeError will be generated.
A simple fix can be applied by changing line 72 to:
pyPath = Path(pyPath) / (modelPrefix + 'Score.py')
as the pathlib library converts provided paths into pathlib.

The pzmm has been removed from this repository, so closing this issue.
FYI - the pzmm code is located in the python-sasctl repository https://github.com/sassoftware/python-sasctl/blob/master/src/sasctl/pzmm/ repository.


bug: osx - logutil does not register /dev/log

Is this a bug report or feature request? (choose one):

Python Version (output of python --version): 2.7.13
Development or Deployment Environment?: Development
Release Tag or Master: master
Expected Behavior:
Logging should not throw exception of due to dir
What Actually Happened:
when we instantiate our sysloghandler, the address passed /dev/log does not exist in osx.
How to Reproduce the Issue (as minimally as possible):

install armada in osx
run armada -c file.yaml

Any Additional Comments:
The logging piece needs a conditional to handle the various systems. switching the value to /var/run/syslog seems to fix the issue with osx.

this issue is been taken care of in issue #25


LocalExecutor without atomic/mutex structure overhead?

Currently, LocalExecutor wraps Executor and uses Executor's State, which is designed to support multithreading and has the overhead of Mutex, Arc, ConcurrentQueue, and so on. It would be nice if there was a version of LocalExecutor that did not make this assumption and didn't have to pay for these structures in a strictly single-threaded context. Would this be possible to do now that https://github.com/rust-lang/rust/pull/95985/ is live in 1.68?

While Context is now !Send/!Sync, Waker still is, so unless Context adds more fields related to local wakeups this still can't be really done. I've actually experimented with executors without these synchronization primitives in the past and it usually breaks down when you have to create a Waker for these tasks.
One idea might be to wrap everything in a reentrant mutex and use that for polling and wakeups.

Ah, I see. I know there's been discussion of a LocalWaker (see this pre-RFC) but it seems a ways off still. Looking into it, the synchronization primitives go pretty deep -- async-io's Reactor and Source, polling's Poller, and so on all use them. It's a tricky problem to untangle.

Something I've been writing is an async framework that uses !Send/!Sync primitives. The idea would probably stop at the async-io level, but such a framework would be usable in the single-thread use case.

It is now available here.


How to use VSCodeNotify() instead of VSCodeNotifyRange() after recent breaking changes with 'editor.action.reindentselectedlines' command

Previously when I called VSCodeNotifyRange had several parameters it accepted. Here is an example of how I used it before from my Lua config:
-- change o to also use VS Code to auto indent
normalMap('o', "o<Cmd>call VSCodeNotifyRange('editor.action.reindentselectedlines', line('.'), line('.'), 1)<CR>")

The idea with this command is to change the behavior of o to both start a new line and get VSCode to indent it.
Currently if I just change it to use VSCodeNotify() and only pass the command, it leaves the line unindented. If I then manually run that reindentselectedlines command, it does indent the line.
I also tried using V to visually select the entire line before calling VSCodeNotify('editor.action.reindentselectedlines'), but it still doesn't work.
On the new, unindented line, I can also manually run (via :) call VSCodeNotify('editor.action.reindentselectedlines') and it will indent the line.

Thanks for this. I didn't realize there was a usecase for the function without simply forwarding visual mode. I'll re-introduce it shortly.

Actually, this is already possible. I'll still re-add because of https://github.com/vscode-neovim/vscode-neovim/issues/1351.
The problem is that the cursor update from o isn't sent to vscode by the time that the command is sent. I think I'll also solve this.

@still-dreaming-1 in the linked PR, using VSCodeNotify in your example will now work.

If updating the cursor after o is possible, enabling the use of VSCodeNotify() for this use case, that sounds like the best solution.

That is what the PR does.

Is this supposed to be fixed in v0.4.1 of this extension? I am currently on that version, and my mapping is running the 'editor.action.reindentselectedlines' command on the line the cursor started on instead of the line it is on at the time the command is run. I am basing this conclusion on the fact that the cursor is at the very start of the new line. Also, if I intentionally mess up the indention of the line the cursor is one before pression o, the indentation of that line does get fixed. Here is the mapping I am using from my init.lua:
vim.keymap.set('n', 'o', "o<Cmd>call VSCodeNotify('editor.action.reindentselectedlines')<CR>")

That is what the PR does.

Is this supposed to be fixed in v0.4.1 of this extension? I am currently on that version, and my mapping is running the 'editor.action.reindentselectedlines' command on the line the cursor started on instead of the line it is on at the time the command is run. I am basing this conclusion on the fact that the cursor is left at the very start of the new line. Also, if I intentionally mess up the indention of the line the cursor is on before pressing o, the indentation of that line does get fixed. Here is the mapping I am using from my init.lua:
vim.keymap.set('n', 'o', "o<Cmd>call VSCodeNotify('editor.action.reindentselectedlines')<CR>")

This workaround provided by @xiyaowong works. Actually they suggested using a delay of 20, but I noticed if I change it to 1 it still seems to resolve my issue.
vim.keymap.set('n', 'o', function ()
  vim.api.nvim_feedkeys('o', 'n', false)
  vim.defer_fn(function ()
    vim.fn.VSCodeNotify('editor.action.reindentselectedlines')
  end, 1)
end)

Based on that example, here is a mapping which I think illustrates the issue well. This will run the reindent on the original line instead of the new line:
vim.keymap.set('n', 'o', function ()
  vim.api.nvim_feedkeys('o', 'n', false)
  vim.fn.VSCodeNotify('editor.action.reindentselectedlines')
end)

It should be related to the event loop

The screenshot should already explain the issues. The defer placed the task on queue, and waits other events proccessed (I'm not familiar with the internal details of NVIM. Correct me if I understand incorrectly)
Without defer

With defer

Now asynchronous actions are automatically scheduled, so using vscode.action directly should work fine.
See https://github.com/vscode-neovim/vscode-neovim#lua
vim.keymap.set('n', 'o', function ()
  vim.api.nvim_feedkeys('o', 'n', false)
  require('vscode-neovim').action('editor.action.reindentselectedlines')
end)


Review Ticket Week #1

Lists and Loops Review Ticket (/5)
Team Pages (/2)

[x] initial requirements, contact info, derivative tangible plans

[x] Requirements and jobs assigned on scrum board, at least one in progress task

Individual Pages (/3)

[ ] 5.3 and 5.4 notes and actions

[ ] key learnings and code snippets; infoDBlists & loops, fibonacci

Team Pages (2/2)
Initial requirements

Contact info

Derivative tangible plans

Requirements and jobs assigned on scrum board
At least one in progress task
For both:

Really nice answer in ticket above.  But what is a "Hack Club"?  It would be nice if this was REALLY focused on Freshmen.  Nice if its connected to National Org.   Technical Plan on data and wires.
1.95/2


Format default value

Hi, I set json data to the component value after use JSON.stringify (because the value prop type is  string), it just looks like this:

How can I format json data in the component? thanks

You're looking for a "pretty print". it's built in to JSON.stringify as the third (space) parameter (ignore the second):
const obj = {a: 1, b: { c: 3, d: 4 } };

JSON.stringify(obj, null, 2);
/* result:
{
  a: 1,
  b: {
    c: 3,
    d: 4
  }
}
*/

^^ that's probably all you'll need but you can see the rest of the options for the space argument here: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify

As @njtrettel pointed out, you can format your input before specifying. Closing for now, please repoen should have have any more difficulty with this.


Added Typing Speed Test

This is my first PR , hope you like it.

Thanks for the PR. The website looks awesome and it does the job. It has been merged.
I will be glad if you can leave a star on this repository.


Is it possible to keep dbeaver JRE agnostic or is there a workaround for those stuck on version 1.8?

Hello,
Unfortunately, at my company, I have to keep working with DB2 mainframe z/OS.  I have to use a specific JRE (Java 1.8) or I can't query my tables containing timestamps due to a well known legacy EDIC/CP1027 encoding issue.  Prior to recent versions of dbeaver, I could just drop my JRE folder into dbeaver's root folder and then I'm good to go.  Now however, that is not possible.  Are there some additional modifications I can do to continue using my existing JRE with recent versions of dbeaver or am I stuck with version 7.3.0?  If there is no way to get my local JRE version to work with current versions of dbeaver, that is fine, but just wanted to make sure there isn't some other workaround.  I appreciate all the work that has been put into dbeaver!

I guess you could install an old enough eclipse version and Dbeaver 7.3.1 and newer as an eclipse plugin!

I guess you could install an old enough eclipse version and Dbeaver 7.3.1 and newer as an eclipse plugin!

@p91paul Thanks, that's good to know.

@p91paul Thanks, that's good to know.

@pybokeh Please ask to reopen the ticket if the advice above hasn't helped to you.

@pybokeh Please ask to reopen the ticket if the advice above hasn't helped to you.


feat(dropdown): add support for auto close functionality

This changes add support for the dropdown auto close behavior described here via autoClose attribute. This supports all the cases: default, manual, inside, and outside.
#297

+1

+1, thanks!

@bestguy can this be merged? I need this functionality for several different components I've been working on.


[FLINK-3530] Fix Kafka08 instability: Avoid restarts from SuccessExce…

This pull request is improving the Kafka tests stability.
These tests have one artificial test failure, the code should recover from, then, they throw a SuccessException once a stopping condition has been met.
With the number of restarts set to 3, the job was restarting two times due to the SuccessException's. Sometimes, the task cancellation takes a lot of time, letting the test exceed the timeout of 60 seconds.
This pull request sets the number of restarts to one: There will be one artificial test failure, then a success exception, finishing the tests.

Do you know where the canceling looses the time?

These are the relevant logs of the task:
20:11:35,397 INFO  org.apache.flink.runtime.taskmanager.Task                     - Attempting to cancel task Source: Custom Source -> Map -> Map (5/8)
20:11:35,398 INFO  org.apache.flink.runtime.taskmanager.Task                     - Source: Custom Source -> Map -> Map (5/8) switched to CANCELING
20:11:35,398 INFO  org.apache.flink.runtime.taskmanager.Task                     - Triggering cancellation of task code Source: Custom Source -> Map -> Map (5/8) (217f8fe570f1c82eb4ec8191e1a73291).
20:12:05,400 WARN  org.apache.flink.runtime.taskmanager.Task                     - Task 'Source: Custom Source -> Map -> Map (5/8)' did not react to cancelling signal, but is stuck in method:
 org.apache.flink.streaming.runtime.tasks.StreamTask.invoke(StreamTask.java:235)
org.apache.flink.runtime.taskmanager.Task.run(Task.java:587)
java.lang.Thread.run(Thread.java:745)

20:12:05,510 INFO  org.apache.flink.runtime.taskmanager.Task                     - Source: Custom Source -> Map -> Map (5/8) switched to CANCELED

And this is the code where its waiting: https://github.com/apache/flink/blob/e7586c3b2d995be164100919d7c04db003a71a90/flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/tasks/StreamTask.java#L235
I don't exactly know why the line numbers don't really match (I would expect the code to block at the synchronized block) . I've also checked the lines with the exact commit the error was triggered.
I was not able to reproduce this issue locally. I suspect that somebody is not releasing the lock...


Proper support for Consumer Groups

This will require heartbeats, group join semantics, etc.

Hi just wanted to let you know that I think it super cool that you took it on yourself to implement proper Kafka client for .net

Thanks -- much appreciated! :)

Finally realized that (in some scenarios?) there is a limit on the amount of parallelism on the server when dealing with consumer group stabilization. And this is based on the number of connections used to update state for a group.

The solution is to ensure that each member of the group (for group control requests) uses a separate connection. I've taken a stab at this via the router -- this way we still get to cache shared details about assignment through the same router, and different groups can use the same connections. It also enables other operations to leverage these existing connections (so as to reduce port exhaustion on the kafka servers).
The unfortunate side effect is a fair bit of added complexity inside the router. I'll need to add a good number of tests to help deal with the complexity.


Updates button readme.md

Updates button readme.md to include onMouseEnter property

🤦♂  , well that's embarrassing; sorry about that @Klathmon just fixed it 😄

Thanks!! :D


Fix name of template directory

The name of the template directory was changed to templates in
44e524d, which was incorrect as discussed in #120.  This commit fixes
issue #120 by using the singular form for this directory name and hence
fixes the test error being seen in t/101-cli.t.

I agree with you wrt refactoring the code.  However, should the highlights directory also be checked for existence on line 123 of CLI.pm6?  (It probably should be, but I'm not sufficiently experienced with this code to make that call).  Also, how to handle the extra Boolean condition for template at the end of line 123 (!"./template".IO.e and $v) which the other variables don't have?

I agree with you wrt refactoring the code. However, should the highlights directory also be checked for existence on line 123 of CLI.pm6? (It probably should be, but I'm not sufficiently experienced with this code to make that call). Also, how to handle the extra Boolean condition for template at the end of line 123 (!"./template".IO.e and $v) which the other variables don't have?

It most probably should...

Unfortunately, I think the Travis tests will still fail (I'm getting test failures about the render method not being found; also when I'm using documentable directly).  Nevertheless, the test which was failing on the missing template directory will still pass.

@JJ many thanks for your comments and feedback!  It's refreshing to have someone review my patches so closely!

@JJ many thanks for your comments and feedback! It's refreshing to have someone review my patches so closely!

To the point that documentation is mission-critical, this module is an essential part of that mission, so I guess it pays off to check out pull requests. Which, BTW, I really appreciate.


Add zipkin tracer initializer

Adding a new trace initializer for configuring Finagle's zipkin-tracer via a linkerd config file. Let me know if this is the appropriate place to put this code within the project or if it should go elsewhere.

lgtm

:star: lgtm, one tioli

:star: :memo: :penguin:


Can slide.addImage() use the default size of the image?

Can slide.addImage() use the default size of the image?
Currently by default it takes w and h as 1 inches, is there an option to not give w and h and work with the default width and height of the image.

The library would have to create a Canvas, load, render the image, then measure it.
I'd rather not do that.
For consistency, please provide the image size, the same way sizes are provided for every other object type.
Thanks.

@gitbrent  Thank you for your inputs. One question though.
The input is in inches and it would be very hard to know the w and h of the image in inches for a dynamic image. Is there a way to work around this?

Images are 96-300 px per inch.  Using 100 works most of the time.
However, unless you're trying to reproduce an image to scale, you normally do it the other way around: find the highest quality image you can, then fit it into the available space on that slide.
That way, it was looks good (aspect ration aside).  E.g.: Take a 1920x1080 image and use it as a background - dont use a smaller size that equals the available slide inches.


dev/zachary - REST API for members and member data

Added API endpoints for admins, pertaining to members and member data.
Listed below is each endpoint and the operations available under them.
/api/admin/members

GET : Returns all members. A single "filter" value and "filter type" can optionally be passed through the body, effectively acting as a "WHERE" clause.
POST : Create a new member.

/api/admin/members/[id]

GET : Returns the member with the given ID.
PUT : Updates the member with the given ID with any information you've passed through the body.
DELETE : Deletes the member with the given ID.

/api/admin/members/data

GET : Returns all MemberData. Fields can be passed through the body to act as "WHERE" clauses for the set of MemberData to be returned
POST : Creates a new MemberData entry. The creation of the corresponding member is optional.

/api/admin/members/data/[id]

GET : Returns the MemberData with the given ID.
PUT : Updates the MemberData with the given ID with any information you've passed through the body.
DELETE : Deletes the member with the given ID.


5.1.9 FTP_ITC_EXT.1.1

Change selection text from "remote administrators (as required by FTP_TRP.1.1 if selected in FMT_MOF_EXT.1.1 in the PP-Module)" to "remote administrators (as required by FTP_TRP.1.1 if selected in FMT_MOF_EXT.1.1 in the client or server PP-Module)".
The types of PP-Modules being referenced are missing. This also synchronizes the text with that presented by FTP_TRP.1.3.

Done,


plz upload a complete installation & implementation of skydive & its database and all basic pre-recruit

Dependencies#
Go >= 1.5
Elasticsearch >= 2.0
libpcap
libxml2
protoc >= 3.0
i really want to learn about skydive installation implementation troubleshooting managing network & all other feature ...
i hope you will make informative tutorial for beginners
please tag me if you can...!

Hi,
Yes we are going to provide more information. That said did you check the quick start guide, there are some way to quickly deploy skydive with all the dependencies (docker compose, vagrant, devstack, kubernetes, all-in-one binary) ?

Thanks sir...!
But i want a video lacture . If you able to do that.
My first praffence is video lacture and second praffence binary script. Cause i m beginner...!

Thanks sir...!
But i want a video lacture . If you able to do that.
My first praffence is video lacture and second praffence binary script. Cause i m beginner...!(i don't know proper command)


Kefir subclasses can't return same type

I have an ActionObservable that extends the built-in Kefir.Stream and adds an ofType method to it. When I have an instance of said ActionObservable, if I map over its values, it currently cannot return an instance of ActionObservable. I would return an instance of whatever I extended off of (in this case, Kefir.Stream).
It doesn't seem like there's an easy way to do this by even mucking about in the internals, so I'm wondering if this is a use-case we want to enable and if so, how would we go about doing so. Thoughts?

I'm not a big fan of encouraging sub-classing of Kefir classes. In my view, one of the pluses of Kefir over Bacon.js was the fact that Property and Stream have the same methods. In Bacon, it's not always very clear to users (and maybe maintainers) what type of class a multi-source transformation will return when different classes are used. In Kefir, you don't have to fret so much about what types of transformations will quietly take a Property and give a Stream. It was way too easy in a codebase using Bacon to swap out a Property for a Stream instance or vice-versa without realizing it even though the same kinds of values come through, with the swap possibly only happening in some conditional, and then you get bitten later when the code tries to use a method only present on one. A codebase introducing sub-classes of Kefir classes will reintroduce that pothole.
(Additionally I'd be surprised if there was a way to do it that wasn't very invasive or a performance hit.)

FWIW, I do think we have that problem a little bit (see #243, which I think is a result of merge returning a stream, not a property), although I think you're right that it's less of a problem. At a minimum, the behavior around whether a current value should flow is not always clear, although I think Kefir generally does a good job making that transparent to the user.

I'd be surprised if there was a way to do it that wasn't very invasive or a performance hit, but if there is a good way to do it and you're still interested then I wouldn't block it.

Yeah, I can't really see a way that isn't invasive at least; dunno from a performance perspective.

Though I think it's better to encourage users to make functions that take Kefir streams as input

Generally, I agree; the quirk is using the methods in combination with the streams. Writing cod like this:
doSomething(stream$.map(x => x + 1)).filter(x => x < 2);

can gets cumbersome if there are a number of functions involved here. The other thing I had previously considered but never pitched is something like the thru method from most.js, which is a really simple operator that takes a function that gets called with the stream itself. Literally this:
proto.thru = function (fn) {
  return fn(this);
};

So the ofType method I'm trying to add would become a function that gets passed into thru. Maybe that would be a better way of solving the problem?

I like to consider classes as internal implementation detail of Kefir that is used manly for performance reasons. We don't technically expose classes as public API, I mean there is no new in our docs.
On the other hand maybe we could dispatch to this.constructor... in all methods that are supposed return 'values of same type', but not sure it's a good idea.
I like the thru method!

One possible solution to custom function chaining would be the javascript bind operator proposal (available as a babel plugin), but there doesn't seem to be real progress on it, so thru sounds like a convenient idea.

We don't technically expose classes as public API, I mean there is no new in our docs.

We do export Observable, Stream, Pool, & Property on the public Kefir instance, and there was some discussion in #177 about documenting this.
I'm not a huge fan of the bind operator, personally, so I'm kinda glad it stalled, but that's just me.
Sounds like we have consensus on thru, since it's pretty simple, so I'll take a crack at that + tests + Flow types for it. It's certainly easier than trying to figure out how make the extension process work!
Also, just to throw it out there, this project has a couple neat ideas and is extending off of Property: https://github.com/calmm-js/kefir.atom So we certainly should be aware of and treat the exposed "classes" as public.