Catalina: Plugins Not Loading

Plugins are not loading during ZSH initialization. I can tell because my prompt changes when they're loaded (e.g. to show git branch). The oh-my-zsh.sh script is definitely being run. The plugins shell variable is set. Notably, manually running source $ZSH/oh-my-zsh.sh as the first command in a new console loads all the plugins (i.e. the prompt changes). I've added an echo to the plugins loop oh-my-zsh.sh and it lists all plugins both at zsh load and on the manual run.
I'm happy to dive in and debug further, but I've hit the limit of what I can do without getting up to speed on OMZ internals. Can I please get some advice on what to check out?
I'm on the latest Catalina beta, but notably I wasn't using ZSH much in the preceding months so this issue may be related to something else. I haven't changed my ZSH/OMZ configuration since it was known-working. OMZ is up to date.
My .zshrc has most of my configuration, and .zshenv has only OMZ configuration (included below). I've checked and both zshenv and zshrc are being loading. My zshenv is below, and my zshrc is at https://gist.github.com/bmulholland/8ea14f28af960fb24dc4f5963b883a8e.
.zshenv
# Path to your oh-my-zsh configuration.
ZSH=$HOME/.oh-my-zsh

# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
ZSH_THEME="wezm"

# Uncomment following line if you want red dots to be displayed while waiting for completion
COMPLETION_WAITING_DOTS="true"

# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
plugins=(brew capistrano knife osx rails rake ruby rvm git git-extras vagrant)

source $ZSH/oh-my-zsh.sh

On second thought, it occurred to me that this config doesn't belong in zshenv in the first place. I tried moving the config to zshrc and that resolved the issue. I no longer have any ~/.zshenv at all.
I suppose it's possible that this did work pre-Catalina, and that Catalina is more strict with how the shell loads. If so, you may get more bug reports similar to this, in which case it might make sense to add a detection for if OMZ is loaded in the wrong spot. For now, I've solved my own issue :)


fix RDMs.sort_by()

The current version refers to a property called measurements which does not seem to be in use.
And when this is removed it is unclear how the following line:
dissimilarities[:, order][:, :, order]

would sort the pattern order

this measurements thing is indeed odd.
the line you refer to I think is correct though. There is a stack of matrices. the first subsetting reorders the rows, the second the columns.

ah yes, I just checked: the line below this should be:
self.dissimilarities = batch_to_vectors(dissimilarities)[0]
instead of
self.dissimilarities = batch_to_vectors(dissimilarities)
Sorry for this not working properly

no worries I'm making a test now and I'll commit to #78


Require rpm package

Since OpenAnolis and OpenEuler became two of the most popular OS in the industry, Both of them with their contempt for docker have become obvious problem.
Let's see what they treat for docker:
OpenAnolis: In the latest LTS release, docker version stuck at 20.10.25, with no buildx, compose support.
OpenEuler: Even worse. In the latest 2403 LTS release, Not only is the docker engine stuck at the good old ancient 18.09.0, They even refuse to offer docker package itself! When docker is running, there is only one engine hanging in mid air.
With all above in conclusion, please be our savior and please consider offering rpm packing support.

What architecture of application package do you need?
I tried to compile using the container image provided by openeuler, but there are some problems

https://gitee.com/openeuler/openeuler-docker-images/issues/IBEDTA


Propagate PlaceOnGrid constraint thru hierarchy

When a primitive with PlaceOnGrid constraint is instantiated, all upper hierarchy instantiating the primitive shall satisfy the associated constraints.
Failing test for feature development: test_placement_grid.py::test_hierarchy

@stevenmburns , we can use this PR to intercept placement and propagate constraints.
@854768750 , fyi.

@soneryaldiz This is halfway there now. It can produce a new constraints given the instance hierarchy, transformations, and  constraints of the leaf cells. Also only works for scalings=[1].
Here is what we need to do or have done already:

[x] Port merging code to the schema
[x] Create fist stab at generate_constraints (only works for scaling == 1)
[x]  Write unit tests creating standalone placement_verilog_d-based tests
[ ] Generalize to allow and constrain flipping
[ ] Propagate the leaf constarints into the leaves portion of the placement_verilog.json files
[ ] Generate placement_verilog.json files in the hierarchical placer loop
[ ] Call the gen_constraints procedure in the correct place

@soneryaldiz @854768750 I think we are ready to integrate this with the Placer. I am now generating place on grid constraints for the intermediate hierarchies. I think what I'll do is add a field to the Placer's hyperparameters which is a JSON string that corresponds to the intermediate hierarchy constraints. This will be a list of dictionaries like this:
[
  {
    "concrete_name": "G1_0",
    "constraints": [
      {
        "constraint": "place_on_grid",
        "direction": "H",
        "pitch": 12600,
        "ored_terms": [
          {
            "offsets": [
              0
            ],
            "scalings": [
              1,
              -1
            ]
          }
        ]
      }
    ]
  },
  {
    "concrete_name": "G1_1",
    "constraints": [
      {
        "constraint": "place_on_grid",
        "direction": "H",
        "pitch": 12600,
        "ored_terms": [
          {
            "offsets": [
              0
            ],
            "scalings": [
              1,
              -1
            ]
          }
        ]
      }
    ]
  },
  {
    "concrete_name": "G1_2",
    "constraints": [
      {
        "constraint": "place_on_grid",
        "direction": "H",
        "pitch": 12600,
        "ored_terms": [
          {
            "offsets": [
              0
            ],
            "scalings": [
              1,
              -1
            ]
          }
        ]
      }
    ]
  },
  {
    "concrete_name": "G1_3",
    "constraints": [
      {
        "constraint": "place_on_grid",
        "direction": "H",
        "pitch": 12600,
        "ored_terms": [
          {
            "offsets": [
              0
            ],
            "scalings": [
              1,
              -1
            ]
          }
        ]
      }
    ]
  }
]

I'll add that support soon.

@854768750 This is ready for you integrate with the Placer.

@854768750 I looked over the current solution. The placement that is being returned is not legal and that is why there are assertions. To see the layout that is generated, I turned off the checks (in toplevel.py) I'll show where in another comment, and used the --gui option. There are two errors.
The G_2 is not at a legal grid location (it must be on a pitch of 12600 with an offset of 0, but is pointing down starting from 6300) and G_3 is not in a legal location (it must be on a pitch of 12600 with an offset of 6300, but is point down starting from 8190 [the bottom edge is in the right place but since it is flipped we need the top edge in the right place.] )

Let me generate a test with a correct placement and see if you can match that.
@soneryaldiz Is they what you expect as well? It is your test.

@854768750 I'm running the test this way.
First run
pytest -k test_hierarchy

Then
cd tests/pdk/finfet_pdk/run_ckt_hierarchy
PLACE_ON_GRID=t schematic2layout.py ../ckt_hierarchy/ -s CKT_HIERARCHY -p /home/smburns/DARPA/ALIGN-public/align/pdk/finfet/ --gui

@854768750 We can have a zoom meeting to discuss this if it will help.

@854768750 I looked over the current solution. The placement that is being returned is not legal and that is why there are assertions. To see the layout that is generated, I turned off the checks (in toplevel.py) I'll show where in another comment, and used the --gui option. There are two errors. The G_2 is not at a legal grid location (it must be on a pitch of 12600 with an offset of 0, but is pointing down starting from 6300) and G_3 is not in a legal location (it must be on a pitch of 12600 with an offset of 6300, but is point down starting from 8190 [the bottom edge is in the right place but since it is flipped we need the top edge in the right place.] )

Let me generate a test with a correct placement and see if you can match that. @soneryaldiz Is they what you expect as well? It is your test.

Is this CKT_HIERARCHY_0?

@854768750 I changed the units used to calculate the grid positions from DB units (wrong) to scaled units (probably right.) You might need to adjust your translates accordingly.

Yes, the picture is of CKT_HIERARCHY_0

@854768750 Hold off looking at this now. We might have an off by 10 error in the Python end that is messing things up.

@854768750 @soneryaldiz I guess I got my math wrong here.
The G_2 is on a legal grid location [pointed down from 63000 and 63000%12600 == 0] and G_3 is on a legal grid location pointed [down from 81900 and 81900%12600 == 6300]  so everything is good. We were doing the checks incorrectly.

I'm getting this error:
align.pnr.grid_constraints INFO : gen_constraints_for_module: CKT_HIERARCHY_0
align.cmdline ERROR : Fatal Error. Cannot proceed
Traceback (most recent call last):
  File "/home/smburns/DARPA/ALIGN-public/align/schema/hacks.py", line 118, in _check
    self._checker.solve()
  File "/home/smburns/DARPA/ALIGN-public/align/schema/checker.py", line 186, in solve
    raise SolutionNotFoundError(
align.schema.checker.SolutionNotFoundError: No satisfying solution could be found

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/smburns/DARPA/ALIGN-public/align/cmdline.py", line 161, in parse_args
    return schematic2layout(**vars(arguments))
  File "/home/smburns/DARPA/ALIGN-public/align/main.py", line 344, in schematic2layout
    variants = generate_pnr(topology_dir, primitive_dir, pdk_dir, pnr_dir, subckt, primitives=primitives, nvariants=nvariants, effort=effort,
  File "/home/smburns/DARPA/ALIGN-public/align/pnr/main.py", line 398, in generate_pnr
    DB, results_name_map = toplevel(cmd, PDN_mode=PDN_mode, results_dir=None, router_mode=router_mode, gui=gui, skipGDS=skipGDS,
  File "/home/smburns/DARPA/ALIGN-public/align/pnr/toplevel.py", line 697, in toplevel
    results_name_map = place_and_route(DB=DB, opath=opath, fpath=fpath, numLayout=numLayout, effort=effort,
  File "/home/smburns/DARPA/ALIGN-public/align/pnr/toplevel.py", line 635, in place_and_route
    placements_to_run = process_placements(DB=DB, verilog_d=verilog_d, gui=gui,
  File "/home/smburns/DARPA/ALIGN-public/align/pnr/toplevel.py", line 524, in process_placements
    per_placement( placement_verilog_d, hN=hN, scale_factor=scale_factor, gui=gui, opath=opath, tagged_bboxes=tagged_bboxes, leaf_map=leaf_map, placement_verilog_alternatives=placement_verilog_alternatives, is_toplevel=is_toplevel)
  File "/home/smburns/DARPA/ALIGN-public/align/pnr/toplevel.py", line 414, in per_placement
    scale_and_check_placement( placement_verilog_d=placement_verilog_d, concrete_name=concrete_name, scale_factor=scale_factor, opath=opath, placement_verilog_alternatives=placement_verilog_alternatives, is_toplevel=is_toplevel)
  File "/home/smburns/DARPA/ALIGN-public/align/pnr/toplevel.py", line 399, in scale_and_check_placement
    check_placement( scaled_placement_verilog_d, scale_factor)
  File "/home/smburns/DARPA/ALIGN-public/align/pnr/checker.py", line 34, in check_placement
    constraints.append(
  File "pydantic/decorator.py", line 39, in pydantic.decorator.validate_arguments.validate.wrapper_function
  File "pydantic/decorator.py", line 133, in pydantic.decorator.ValidatedFunction.call
  File "pydantic/decorator.py", line 200, in pydantic.decorator.ValidatedFunction.execute
  File "/home/smburns/DARPA/ALIGN-public/align/schema/constraint.py", line 1373, in append
    self.parent.verify(formulae=self._translate_and_annotate(constraint, self.parent._checker))
  File "/home/smburns/DARPA/ALIGN-public/align/schema/hacks.py", line 109, in verify
    self._check()
  File "/home/smburns/DARPA/ALIGN-public/align/schema/hacks.py", line 121, in _check
    core = [x.json() for x in itertools.chain(self.elements, self.constraints) if self._checker.label(x) in e.labels]
AttributeError: 'VerilogJsonModule' object has no attribute 'elements'

Last error is solved by running with more variants:
cd tests/pdk/finfet_pdk/run_ckt_hierarchy
PLACE_ON_GRID=t schematic2layout.py ../ckt_hierarchy/ -p /home/smburns/DARPA/ALIGN-public/align/pdk/finfet/ --gui -n 8

@parijatm We need to fix the exception within an exception that leads to an unreadable error message.


Moment version exact?

Is there a reason the moment version is exactly 2.18.1? This is causing bloat when trying to use moment outside of the this module and not using that exact version. It should actually probably be a peer dependency.

I goes back to moment broke everything: https://github.com/moment/moment/issues/4216
Probably need to unpin it now.

I'm for it!

This is fixed in the latest beta release


fcos3d visualization error

fcos3d visualization error still exists after updating mmcv to 1.5.2, and i use dev branch of mmdet3d(commit id is e252ff540ec07d0d226197e2ece864bfdef781c5), according to this issue https://github.com/open-mmlab/mmdetection3d/issues/1483#issuecomment-1127308252

@filaPro do you have any idea?
Reproduction
python test.py xxxx/configs/fcos3d/fcos3d_r101_caffe_fpn_gn-head_dcn_2x8_1x_nus-mono3d_finetune.py xxx/fcos3d_r101_caffe_fpn_gn-head_dcn_2x8_1x_nus-mono3d_finetune_20210717_095645-8d806dc2.pth --out xxx/res.pkl --show --show-dir xxx/res

I haven't change anything of config and code.
Environment
TorchVision: 0.9.1
OpenCV: 4.5.5
MMCV: 1.5.2
MMCV Compiler: GCC 7.3
MMCV CUDA Compiler: 10.1
MMDetection: 2.24.1
MMSegmentation: 0.24.1
MMDetection3D: 1.0.0rc2+e252ff5
spconv2.0: False

Hi, I think you can refer to this issue https://github.com/open-mmlab/mmdetection3d/issues/1024.

Hi, I think you can refer to this issue #1024.

Thanks，i may  underrate the difference between 2d detection and 3d detection. I try to increase score_thr to 0.1 and decrese nms_thr to 0.5, some redundant  boxes will be removed which indicates the nms is working(if i contintune to decrease nms_thr to 0.1, most redundant boxes will be removed). It seems due to the depth error, fcos3d need much smaller nms_thr than 2d detection.


Sending Scheduled Mails

Hi, i am using MvcMailer and i am using a scheduler job to send mail if send failure, but it's firing exceprion : System.ArgumentNullException : {"CurrentHttpContext cannot be null Parameter Name : CurrentHttpContext"}

Is this issue resolved???
I have the same issue when sending email a scheduler job.
It works fine when sending email normally


Type display is not supported in JSX syntax

For tsx, use unplugin-auto-import

Thank you!!

How can I use AntDesignVueResolverin unplugin-auto-import?

Yes, the same resolvers optoons. But you will need to import the resolvers from this plugin

Do you have an example? I introduced invalidity.

Please give me a configuration.


Error in width and height

I want to handle the width and height dynamically. so i did this:
but it is showing this error
[Vue warn]: Invalid prop: type check failed for prop "width". Expected Number, got String

You should provide number as it's value not string!

@smronju i did this:
 <vue-webcam ref='webcam' :width="widthstyle" :height="heightStyle"></vue-webcam>
Im adding width and height dynamically, when the page load and taking the size of div and then adding it. suppose here widthstyle is = 700 and heightStyle is 500. still is showing error

Use number instead of 'widthstyle' e.g

i solved this--> this.heightStyle = parseInt(videoWidth)+"px";


About adding details into this list

[x] Add enough labels for the issues and PRs
[ ] Have enough discussion about about might be added into this list

ASAP.

http://codelibrary.ml/ Think this is great.

Guess the zhihu question is enough at this moment.
FYI: https://www.zhihu.com/question/39486992


Feat: Make a Reservation

Describe the feature
I want to add backend for making reservations for customers that should reflect in the database of the application.
Add ScreenShots

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a gssoc-24-extd contributor
[X] I want to work on this issue

hy @haseebzaki-07 its the same one


VisibleIf not evaluating under certain conditions

Are you requesting a feature, reporting a bug or asking a question?
I am reporting a bug
What is the current behavior?
an element is not being set visible even though the visibleIf checks out
What is the expected behavior?
the element question4102220 being visible after {question41012} == 2
How would you reproduce the current behavior (if this is a bug)?
Use the below json and choose the first choice for every question until you get to question41012. Then choose choice2 (question41012).   Thank you for the reporting. You are using 1.0.58 version accroding to your plunker. Could you please try to use the latest one (1.0.69).
Also could you please provide a minimal reprodusing example. It is really hard to understand what's going wrorg with so big provided json. Thank you.

@dmitrykurmanov I have reduced the json example in this https://next.plnkr.co/edit/5fyVr5RjyCqvy9CF and updated the version to 1.0.69
To reproduce:
choose the first choice for every question until you get to question41012. Then choose choice2 (question41012). The element question4102220 is not shown (the bug)
Thanks

@dmitrykurmanov have you found anything about this? thanks again

@salimane I've checked the https://next.plnkr.co/edit/5fyVr5RjyCqvy9CF plunker according your instructions. It works ok for me. But please note that your question4102220 is situated on the previous page. Just click "Previous" button after choose choice2 (question41012) - and you will see your question.

@tsv2013 is it not strange that the next question on the "Previous" button?

@salimane As I can see from your plunker (https://next.plnkr.co/edit/5fyVr5RjyCqvy9CF) the question4102220 question is situated on the page that preceeds the page with the question41012 question.
It would be more obvious, if you provide formatted JSON in your plunker.
More over, I've found three survey elements with the same name - question41012 - and that's not good.

@tsv2013 here is a formatted version of the json https://jsoneditoronline.org/?id=765156c0217349a1a5c1a3d6925f5010
and there is only one element with the name question41012 (you are right that I used it for the panel, page and question names)
If I am following your logic, the order of the visibility of a page, or question also depends on the order they were defined in the pages array. I thought the visibility order only depends on the "VisibleIf" attribute . is that right?

I've taken JSON from this plunk (https://next.plnkr.co/edit/5fyVr5RjyCqvy9CF) and here is the result - the question4102220 question is situated on the page that preceeds the page with the question41012 question.

@salimane As for the "order" question. In SurveyJS pages appears on the screen exaclty in the order they are defined in the survey JSON.

@tsv2013 I now understand the pages logic.
now my question is: is there a way to show the next question solely based on the "VisibleIf" attribute? meaning that if the "VisibleIf" checks out on a question or page, it will always be displayed after the current question
Thanks again

@salimane There is no such a functionality in the SurveyJS Library. IMO such a feature will break the causal relationship: you select something and only after the selection can decide whether to show certain question or not. That's why person who designed the survey always knows the pages/questions order. And this order is determinated by position in JSON.
If you want to, you can subscribe the onValueChanged event and set currentPage manually via code.
If I'm missing something in your business case please describe your scenario in greater details.

My use case is the following:  multiple leaves of the survey tree could reference the same ending question. So if that ending question is already defined in the pages/questions list, a later positioned question could reference it.
But I think the above could not work with surveyjs, I have to put all "multiple referenced" questions at the end of the list

@salimane I think that you can add two same questions with different "visibleIf" conditions

Yep @dmitrykurmanov I think adding the same questions multiple times with different "visibleIf" conditions would be my solution.
Thanks again @tsv2013 @dmitrykurmanov


Manual installation issue

On manual installation, XCode throws error: "Redeclaration of BackgroundView class"
As it is declared in Examples.swift and also a separate file named BackgroundView.swift having BackgroundView

Why do you wan't to copy example files into your project?


question: http to https redirecting to wrong port

Issue description
Hi,
Using the 'k8s.apisix.apache.org/http-to-https: "true"' redirection from the example doesn't seem to work as expected.
The url http://exmaple.com is redirected to https://example.com:9443 .
Environment

version 1.5.0
kubernetes cluster 1.23.12

Minimal test code / Steps to reproduce
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  annotations:
    k8s.apisix.apache.org/http-to-https: "true"
  name: ingress-v1
spec:
  ingressClassName: apisix
  rules:
  - host: example.com
    http:
      paths:
      - path: /sample
        pathType: Exact
        backend:
          service:
            name: httpbin
            port:
              number: 80
    tls:
      - hosts:
          - example.com
        secretName: example-tls

Actual result
redirects to https://example.com:9443
Error log
not applicable
Expected result
redirects to https://example.com:

duplicate #1084
Before you create an issue, please search in the issue first, thanks


npm install

it is important

This is already mentioned in the file at https://github.com/mozilla/pdf.js#using-pdfjs-in-a-web-application. This version is just another way of using PDF.js, but not the main one, so it's purposely not outlined at the top of the file.

@timvandermeij sorry. I didn't find it...


⚠ Bofrost.lu has degraded performance

In 7fcc336, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1168 ms

Resolved: Bofrost.lu performance has improved in d58ac9f after 40 minutes.


UsbClass::poll not always called on UsbDevice::poll

Contrary to what is documented on UsbClass::poll ("Called whenever the UsbDevice is polled."), it is only called by UsbDevice::poll when UsbBus::poll returns PollResult::Data.
Is that working as intended with the documentation being wrong or does the documentation need to be updated?

Maybe to provide a bit of context: I've been working USB Serial Logger implementation. The logs are initially written to an internal buffer. Whenever endpoint_in_complete is called, the buffer is checked and if logs are present they are written.
The issue is, of course, when there are no logs to be written. In that case endpoint_in_complete will never be called again. Based on the documentation, I implemented poll so that it would periodically also check the buffer and trigger an initial write if necessary. I few hours of debugging later, I noticed that my poll method wasn't actually called 😑.

Slightly offtopic: have you tried usbd-serial for this task?

The Logger is actually a wrapper around usbd-serial.

Then it should start sending when you write to it.

Then it should start sending when you write to it.

It does. The issue is that the initial write is never triggered because it happens during UsbClass::poll.

@mvirkkunen, any thoughts? I think that the current behavior is correct and the documentation is wrong, but who knows.

Hmm.. good question! Calling it only when data is received is somewhat redundant because the specific methods (control_in, endpoint_out) etc will also have been called at that point if the class needs to know about data.
However the correct way to implement this would be to proactively write into the endpoint outside of poll, even if UsbClass::poll was called on every poll. The reason is that it's OK for users to only call  UsbDevice::poll in a USB interrupt handler, which may not be executed at all if there is no traffic. usbd-serial writes a packet immediately after the first buffer is written into the port this and while this may result in the first write of a batch being inefficient (possibly only one byte), other implementations would require either help from the user (a guaranteed periodic call to a method) or some kind of generic timer system which is perhaps out of scope.
Honestly I don't remember what UsbClass::poll was meant to be used for. It might be a candidate for removal now to avoid confusion.

Honestly I don't remember what UsbClass::poll was meant to be used for. It might be a candidate for removal now to avoid confusion.

I'd be ~fine with that, I was mostly annoyed at the confusion / misleading information.

However the correct way to implement this would be to proactively write into the endpoint outside of poll, even if UsbClass::poll was called on every poll. The reason is that it's OK for users to only call UsbDevice::poll in a USB interrupt handler, which may not be executed at all if there is no traffic.

Yes, my solution here was to simply trigger the interrupt manually, if necessary.

The reason for triggering the initial write during the interrupt is simplified ownership of the UsbClass implementation (it's only available during the interrupt).
The reason for having the logic execute automatically during UsbClass::poll is so that the user of the UsbClass implementation only needs to call one poll method instead of two.

That sounds like a feasible use case. I wonder if it'd be best for UsbClass::poll to be called absolutely every time, or are there some cases when it shouldn't. For instance in the "bus reset" case the handling is likely very different and fn reset() should handle that.

Yeah, I'm not sure about the best design here either. Maybe one option would be to keep UsbClass::poll and really call it always, with two changes:

Document that this is a low-level method that normally does not need to be / shouldn't be used.
Add at least the PollResult and maybe also the current UsbDeviceState as an argument.

In the next version (in the endpoint-trait branch), UsbClass::poll has been changed so that it is called on every poll while the device is connected, and it gets an "event" object that has the device state as well as methods for checking which endpoints have has events occur (the data from PollResult, and it now replaces endpoint_out/endpoint_in_complete)

I just ran in to this same issue, the endpoint-trait approach sounds like a good solution!


Fix the description of fetch prop on *

The English version is correct Fetch vertex properties by all tags.

Set an asterisk symbol (*) to fetch properties by all tags in the current graph space.

But the Chinese description of fetch prop on * is not correct.

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


Add card editing modal and edit later tagging

To follow up on the general ideas of #414, #433, #269, #376, I went ahead and added two new features:

An edit later tag which has a default value of #edit-later. Can be toggled on as a setting.
A card editing modal, inspired by chhoumann/quickadd's wideInputPrompt class.

Both implementations are rather hacky IMO but I'm open to suggestions to clean it up.

I'd also like to split the "edit later" impl and the "edit in modal" implementation into two diff version based on commit for cleaner history purposes but not sure how to do that. Do I add tags to commits?

@AB1908 happy to do that. I have added some interesting and might useful features in my fork. I'll  try to pull request to the upstream these days.

Sounds great! I go by the same handle on Obsidian's Discord in case you want to chat.

Hey @AB1908, please resolve the merge conflicts so that we push this. I'd love these changes to go in. Thanks!

Will do! There were a few questions:

do you want to keep the open edit later in background option? I switched it to adding a tag.
my flashcard counts are wrong and I couldn't figure out how to update the deckTree correctly. I think I needed to delete the flashcard.

Thanks.

do you want to keep the open edit later in background option? I switched it to adding a tag.

A tag is better, I think.

my flashcard counts are wrong and I couldn't figure out how to update the deckTree correctly. I think I needed to delete the flashcard.

Lemme look into that bit of the code & see if I can figure out what's up

I finally finished that today. I'll still need to pull down the changes and test locally.

Merged via https://github.com/st3v3nmw/obsidian-spaced-repetition/pull/587, thanks!
Will be trying this out over the next few days.

Err, I'm guessing it probably won't work and you should probably revert this haha. I'm redesigning my fork to support crud from the ground up.

Oops, just saw this.
I tested it a little and it works fine, built a little on top of it too on https://github.com/st3v3nmw/obsidian-spaced-repetition/pull/589. Hopefully it won't be too difficult to redesign on top of the current master branch.
Anyways, it's all good! 👍🏾


Please note whether or not function apps can be restored

Please note whether or not function apps can be restored.  I've tried and continue to get
Restore-AzDeletedWebApp: Operation returned an invalid status code 'Conflict'

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

ID: dd2233ca-e4c5-a53b-f493-310ac953bdea
Version Independent ID: d869ec94-1c1b-9440-e2d6-5b6a4f1d068e
Content: Restore deleted apps - Azure App Service
Content Source: articles/app-service/app-service-undelete.md
Service: app-service
GitHub Login: @btardif
Microsoft Alias: byvinyal

Hi @markarnolditpro, thanks for the feedback! We are currently investigating and will update the doc as necessary.

Upon further review, we feel your feedback would be best received by the doc author to determine if an update to the current doc is necessary or to create a new doc if they align with the feedback.
@btardif can you please take a look at this issue? Thanks

I haven't personally tested this out. @panchagnula can we include folks form Function CLI to try out their scenarios with Restore-AzDeletedWebApp .

@Grace-MacJones-MSFT in general Az Powershell does not have good support for function apps. However, I believe Restore DeletedApps is not supported on function apps. I checked CLI and see that this functionality is available on web apps only & not for function apps https://docs.microsoft.com/en-us/cli/azure/webapp/deleted?view=azure-cli-latest#az-webapp-deleted-restore
@ruslany do you know if Deleted WebApps is supported on Function Apps or is a webapp only feature?

Get-AzDeletedWebApp returns a deleted function app, but restore-AzDeletedWebApp isn't supported for function apps?  Seems inconsistent.
Please let us know when the doc will be updated to reflect what is/is not supported, and how to restore a deleted function app.

Based on internal discussion I suggest we filter out function apps from the get-azdeteledwebapp results. CC: @panchagnula

@btardif wanting to confirm if I should add a note in the doc stating "restore-AzDeletedWebApp isn't supported for function apps"?

@Grace-MacJones-MSFT my 2 cents here is that Az*WebApp or for Webapps onlyand we don't support or guarantee them to work on FunctionApps. Its for this same reason that in CLI we have AzWebApp & AzFunctionApp commands. Functions team can comment on the support on Powershell but WebApps teams don't own supporting this. Thanks!

Thanks for your input @panchagnula.
I have submitted a PR to update the doc, the change will go-live in the public docs shortly. We will now proceed to close this thread.

Hello Team,
I faced a similar issue and found a guide to restoring a function app.
These are the scenarios where content resides on Azure Files. If you have not 'hard' deleted the azure files storage account or if it exists and has not been deleted, then you may the steps in the doc below.
https://techcommunity.microsoft.com/t5/apps-on-azure-blog/restore-undelete-deleted-web-apps/ba-p/2922088#:~:text=Curious case of Undeleting Function Apps


Docs to suppress the icons for links to private repos from the public site

Is your feature request related to a problem? Please describe.
At the top of each page, there is a list of contributors with Github avatars,
If you are an external and click on the avatar. You get Error 404 page
However, the link is not broken, is merely pointing to a private repo.
What would be the best way to improve visitor experience. In other words wondering if there’s a way to suppress the contributor icons?
Describe the solution you'd like
a way to suppress the contributor icons

Tracking it internally.
https://ceapex.visualstudio.com/Engineering/_workitems/edit/287395

@alib-ms could you provide a link to the page(s) you were looking at?

Any private repo based Docs - like these pages: https://docs.microsoft.com/en-us/partner-center/partner-center-account-setup


pageserver: drop non-latest LSNs during delta layer write if pitr_interval is zero

Once we remove gc_horizon (https://github.com/neondatabase/neon/issues/6374), setting pitr_interval to zero becomes synonymous with "no history".
In this configuration, we should do some optimizations:

InMemoryLayer::write_to_disk can drop the non-latest LSNs for keys
or, InMemoryLayer::put_value could drop non-latest LSNs from the index even earlier -- the old data would still be in the file, but implicitly skipped when we read the index back in write_to_disk
During compaction of multiple deltas, we may do a similar optimization to retain only the latest LSN.

Read replicas impose a caveat on this: we must decide whether to be more generous with retaining some history if a read replica is going to try and read slightly behind the tip of the WAL.

Following https://github.com/neondatabase/neon/pull/7368/files, Timeline::standby_horizon may be used as a hint -- if there is a standby, then it probably isn't worth doing any filtering.
Currently that standby_horizon gets reset to INVALID on each GC interval, so that will need tweaking to keep the standby horizon visible and find some other way to implement the "standby must report in regularly" behavior.


Cache metric regressions on engine roll

Regressions: https://flutter-flutter-perf.skia.org/t/?begin=1635946753&end=1635946755&subset=all
Affected roll: https://github.com/flutter/flutter/pull/92977
The picture cache count/memory metrics increased on 4 tests and decreased on 12.
This is likely due to raster cache logic changes in the partial repaint change, but I'm unsure if these metric changes are expected/reasonable or not.

On further debugging, i've identified an issue with the raster cache behavior, specifically the computation of the cache key for picture and display list layer. During the prepare phase, we don't take into account SUPPORT_FRACTIONAL_TRANSLATION when computing the translation matrix, which results in us not using the cached image when Drawing. See: https://github.com/flutter/engine/blob/master/flow/layers/picture_layer.cc#L138 and https://github.com/flutter/engine/blob/master/flow/raster_cache.cc#L345. This means that all the Images would be evicted as they wouldn't be used due to cache misses.
After https://github.com/flutter/engine/commit/4dbdc084442519992673917df3474a3220226c13, we have a new Touch method which would mark the image as used, this means that we wouldn't evict the image after the frame is rendered. Hence we see the increment in usage of cache. There are two things that need to be addressed:

Fix the cache key computation during prepare and touch phase to account for fractional translation.
Touch needs to take into account offset for cache-key computation.

@flar and @knopp for thoughts.

Update: looks like the raster cache key doesn't take into account the translation components of the matrix, so please ignore the previous comment. Continuing investigation.

I had the same reaction when I was diagnosing cache failures on perspective issues for https://github.com/flutter/flutter/issues/92993 until I realized that the cache doesn't use the translation components.
Should this be tracked in https://github.com/flutter/flutter/issues/91855 ?


CriticalCSS Generation - RequestError: connect ECONNREFUSED

I'm having trouble getting CriticalCSS generated on a Nitro2 setup. When I run Vite inside my Nitro container (i.e. nitro ssh), I can successfully run build and generate my CSS, JS, manifest, and favicons. I can also get HMR working when running dev.
But I get an error when generating my CriticalCSS. It seems like it's some type of connection issue, so I've tried, rather blindly and unsuccessfully, to modify the Critical-related settings in both vite.config.js and config/vite.php.
Here's the error I get.
Generating critical CSS from http://mylittlepony.test/offices to offices/index_critical.min.css
RequestError: connect ECONNREFUSED <IP_ADDRESS>:443
    at ClientRequest.<anonymous> (/app/node_modules/got/dist/source/core/index.js:956:111)
    at Object.onceWrapper (events.js:520:26)
    at ClientRequest.emit (events.js:412:35)
    at ClientRequest.origin.emit (/app/node_modules/@szmarczak/http-timer/dist/source/index.js:43:20)
    at TLSSocket.socketErrorListener (_http_client.js:475:9)
    at TLSSocket.emit (events.js:400:28)
    at emitErrorNT (internal/streams/destroy.js:106:8)
    at emitErrorCloseNT (internal/streams/destroy.js:74:3)
    at processTicksAndRejections (internal/process/task_queues.js:82:21)
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1148:16) {
  code: 'ECONNREFUSED',
  timings: {
    start:<PHONE_NUMBER>328,
    socket:<PHONE_NUMBER>329,
    lookup:<PHONE_NUMBER>329,
    connect: undefined,
    secureConnect: undefined,
    upload: undefined,
    response: undefined,
    end: undefined,
    error:<PHONE_NUMBER>330,
    abort: undefined,
    phases: {
      wait: 1,
      dns: 0,
      tcp: undefined,
      tls: undefined,
      request: undefined,
      firstByte: undefined,
      download: undefined,
      total: 2
    }
  }
}

Any guidance on what the culprit is would be much appreciated! I'm figuring I can get this working on a non-Nitro2 setup. But I can't seem to give up on Nitro2!
Running the latest version of Craft and Vite plugin. Also using the following settings:
In vite.config.js
import legacy from '@vitejs/plugin-legacy'
import ViteRestart from 'vite-plugin-restart';
import { nodeResolve } from '@rollup/plugin-node-resolve';
import critical from 'rollup-plugin-critical';
import { ViteFaviconsPlugin } from "vite-plugin-favicon2";
import path from 'path';

export default ({ command }) => ({
  base: command === 'serve' ? '' : '/dist/',
  build: {
    emptyOutDir: true,
    manifest: true,
    outDir: './web/dist/',
    rollupOptions: {
      input: {
        app: './src/js/app.js',
      }
    },
  },
  plugins: [
    legacy({
      targets: ['defaults', 'not IE 11']
    }),
    nodeResolve({
      moduleDirectories: [
        path.resolve('./node_modules'),
      ],
    }),
    ViteRestart({
      reload: [
          './templates/**/*',
      ],
    }),
    ViteFaviconsPlugin({
      logo: "./src/img/favicon-src.png",
      inject: false,
      outputPath: 'favicons',
    }),
    critical({
      criticalUrl: 'http://mylittlepony.test/',
      criticalBase: './web/dist/criticalcss',
      criticalPages: [
        { uri: '', template: 'index' },
        { uri: 'offices', template: 'offices/index' },
      ],
      criticalConfig: {
      }
    }),
  ],
  publicDir: './src/public',
  resolve: {
    alias: {
      '@': '/src'
    }
  },
  server: {
    host: '<IP_ADDRESS>',
	 https: false,
  }
});

In config/vite.php
<?php
use craft\helpers\App;
return [

    'useDevServer' => App::env('ENVIRONMENT') === 'dev',
    'manifestPath' =><EMAIL_ADDRESS>    'devServerPublic' => 'http://mylittlepony.test:3000/',
    'serverPublic' => App::env('PRIMARY_SITE_URL') . '/dist/',
    'errorEntry' => '/src/js/app.js',
    'cacheKeySuffix' => '',
    'devServerInternal' => 'http://localhost:3000/',
    'checkDevServer' => true,
    'includeReactRefreshShim' => false,
    'criticalPath' => '@webroot/dist/criticalcss',
    'criticalSuffix' =>'_critical.min.css',
];

If you're expecting to generate the critical CSS from the running dev server, probably you will need to find out the internal network name that Nitro uses for its node container.
I don't use Nitro, so unfortunately I'm not sure how to assist further.


Add table support

I am a newbie in JavaScript/Jquery and I need help to add support for autocomplete in a td tag. I am using HandsOnTable plugin and I want do add autocomplete functionality. I've changed the properties of the cell like this: td.setAttribute("class", "autocomplete-reports");             td.setAttribute("contenteditable", "true"); but the behavior is not what I've expected. I would like some tips on how to add this feature, how to extend the Adapter functionality for a td tag.

Sorry, I've never used HandsOnTable plugin, and no plan to support it.


Adding PIDName class

Plan to solve:
Introduce class similar to BaseName, which takes inputs for species name, PID, and database info was acquired from
PIDName(name=str,ID=str,database=str)
Will place in base, and utilize in subject.species

close #294


Search in relation with Concat Columns

Summary of problem or feature request
Hello Yajra I'm using your super awesome package. I'm also using service implementation. Everything works like charm but I'm stuck in concat column search which came from relation (with method of Eloquent). Example : I have created_by column in all table which is related with users table, I get the data from users whose are first_name and last_name (with concat) everything fine until the search. When I try to search by created_by error say there is no full_name column in users table. I know there isn't but I write mutator for this in the User model set-getfullNameAttribute functions still not working. Also tried this example got same error, only difference is unknown users.first_name column. This problem probably not caused by your package but I'm here :)
Thanks.
Code snippet of problem
 public function query()
    {
        return $this->applyScopes(OneOfMyModel::with(
            [
                "updatedBy" => function ($table) {
                    return $table->select(["id", "first_name", "last_name"]);
                },
                "category" => function ($table) {
                    return $table->select(["id", "name"]);
                }
            ]
        ));
    }

 /**
     * Get columns.
     *
     * @return array
     */
    protected function getColumns()
    {
        return [
. . . . ...
            ["title" => "Updated By", "data" => "updated_by.full_name", "name" => "updatedBy.full_name"],
        ];
    }

class User extends EloquentUser implements UserInterface
{
    use Notifiable, MorphicRelationship, SoftDeletes;

    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    protected $fillable = [
        'first_name', 'last_name', 'email', 'password', 'reset_password_code', 'slug'
    ];

    /**
     * The attributes that should be hidden for arrays.
     *
     * @var array
     */
    protected $hidden = [
        'password'
    ];

    protected $appends = ["full_name"];

    public function getFullNameAttribute()
    {
        return $this->attributes['first_name'] . " " . $this->attributes["last_name"];

    }

    public function setFullNameAttribute($value)
    {
        $this->attributes["full_name"] = $this->attributes['first_name'] . " " . $this->attributes["last_name"];
    }

}

Operating System linux 16.04
PHP Version 7.0~
Laravel Version 5.3
Laravel-Datatables Version 6.0~

I had the same use case here. That's how I solved it:
In your service class:

public function ajax()
{
    return $this->datatables
                       ->eloquent($this->query())
                       // overriding global search due to 'fullname' dynamic attribute
                       ->filter(function($query) {
                       if ($this->request()->has('search.value')) {
                           $query
                               // you'll have to declare your other filters here so that they are used in conjunction
                               ->where(function($q) {
                                   $keyword = $this->request()->input('search.value');
                                   $q
                                       ->where('foo', 'like', "%{$keyword}%")
                                       ->orWhereHas('relationship.with.user', function($q) use ($keyword) {
                                           $q->whereRaw("CONCAT(firstname,' ',lastname) like ?", ["%{$keyword}%"]);
                                       })
                                       ->orWhereHas('some.other.foo', function($q) use ($keyword) {
                                           $q->where('bar', 'like', "%{$keyword}%");
                                       });
                               });
                       }
                   })
                   ->make(true);
    }

public function query()
{
    $query = Model::with('relationship.with.user');

    return $this->applyScopes($query);
}

Hope it helps.

I solve it but not very satisfied. I add
$datatables->filterColumn('full_name', function($query, $keyword) {
                $query->whereRaw("(select count(1) from users where users.id = updated_by and CONCAT(users.first_name,' ',users.last_name) like ?) >= 1", ["%{$keyword}%"]);
            }) .....

to ajax section. And also remove mutators from User model and change
 /**
     * Get columns.
     *
     * @return array
     */
    protected function getColumns()
    {
        return [
. . . . ...
            ["title" => "Updated By", "data" => "updated_by.full_name", "name" => "updatedBy.full_name"],
        ];
    }

to
 /**
     * Get columns.
     *
     * @return array
     */
    protected function getColumns()
    {
        return [
. . . . ...
            ["title" => "Updated By", "data" => "updated_by.full_name", "name" => "full_name","orderable"=>false],
        ];
    }

Would I close the issue or not ? :sweat_smile:

I'd leave it open. Maybe the owner has a cleaner way to suggest. :)
2016-12-29 13:01 GMT-02:00 Salih KILIÇ<EMAIL_ADDRESS>
Would I close the issue or not ? 😅
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/yajra/laravel-datatables/issues/911#issuecomment-269642061,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB3dLplWzgRX3-wU5EW727Aa_qKbH1Taks5rM8tBgaJpZM4LXhMb
.

--
Renato Zuma Bange

Glad you sorted this out guys. I think both solutions are correct but I guess the cleaner way to go about this is via filterColumn api.
@salihklc I think you can also merged @rzb solution if you prefer. Maybe something like below but note that this is not tested.
<?php

$datatables->filterColumn('full_name', function($query, $keyword) {
	$query->whereHas("user", function($query) use ($keyword) {
		$query->whereRaw('users.id = updated_by')
			->whereRaw('CONCAT(users.first_name,' ',users.last_name) like ?) >= 1', ["%{$keyword}%"]);
	});
});

Thanks!

When I try use this, I always get error:
->filterColumn('manager', function($query, $keyword) {                 $query->whereHas('managers', function($query) use ($keyword) {                     $query->whereRaw("CONCAT(firstname,' ',lastname) like ?", ["%{$keyword}%"]);                 });             })
Error:
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'has' in 'where clause' (SQL: select count(*) as aggregate from (select '1' as row_countfromusers where (has= managers) andusers.deleted_atis null andusers.deleted_at is null) count_row_table)
I'm using the leatest version 7* and Laravel 5.4

@rudashi it's because filter column query uses Illuminate\Database\Query\Builder and whereHas does not exists on that instance.
However, this was fixed on v8 where Eloquent\Builder is preserved when using filterColumn.

@yajra after update to v8 the problem has dissapear it, but it isn't looking in managers relationship but in main table. Unfortunetly, the main table is the same as manager (users). How to directly refer to this relationship?

@rudashi, unfortunately, there is still a known issue #880 for self join relationship and it's not yet fixed.

This solved the problem:

filterColumn('fullname', function($query, $keyword) {
$sql = "CONCAT(users.first_name,'-',users.last_name)  like ?";
$query->whereRaw($sql, ["%{$keyword}%"]);
})
->toJson();


Fix Configuration.with_options merge direction

Without this change, factory.new(@configuration.with_options(out_stream: out_stream)) in Cucumber::Runtime#create_formatter doesn't actually changed the out_stream from STDOUT in the default configuration because the merge order was new_options.merge(@options), so any keys in both new_options and @options, like :out_stream, would have the value from @options win.
The specs weren't catching this problem because with_options was being called on Configuration.new, which had no keys set.  I changed in spec in 63d4c37 to reveal the bug and fixed it in 067215c.
This bug may have manifested by users unable to override the --out from STDOUT when using new formatters that have initialize(configuration) instead of the legacy initialize/3

SUPERSLEUTH! :mag:
Thanks Luke, great work.


TPM Attestation and Hardware Authenticator

Hi Guys,
Thanks for detailed write up about Microsoft support for FIDO.
I have been testing FIDO support in Windows 10 RS5 releases, currently using RS5 17713 for test setup (TPM2.0 supported device). I am unable to establish the fact whether "TPM' is being used while FIDO Registration/ Authentication or not.
I am setting 'attestation : "direct"' while calling create()  method for Registration, but when I checked WebAuthn Events for 'Ngc MakeCredential Response', AttestationFormatType comes as "none". Does it mean Windows Hello is not using TPM as Cryptographic engine?
I noted AAGUID as "08987058-CADC-4B81-B6E1-30DE50DCBE96" in MakeCredential Response which belongs to Hardware authenticator.  What does Hardware Autheticator mean if it is not using TPM? does it mean that it is using Match-in-sensor for biometrics verification?
Thanks,
Pooja

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

ID: 90cabf96-7b2b-9eb6-c428-ff4b44a97312
Version Independent ID: 922d390b-52b6-db2a-0aab-f338e8c21b85
Content: Dev guide - Web Authentication - Microsoft Edge Development
Content Source: microsoft-edge/dev-guide/windows-integration/web-authentication.md
Product: microsoft-edge
GitHub Login: @erikadoyle
Microsoft Alias: edoyle

@idamlaj, would you mind helping @pkuntal with these questions?

I am setting 'attestation : "direct"' while calling create() method for Registration, but when I checked WebAuthn Events for 'Ngc MakeCredential Response', AttestationFormatType comes as "none". Does it mean Windows Hello is not using TPM as Cryptographic engine?

TPM attestation may fail for a variety of reasons, but you can check AAGUID to see where the credential was stored. I created a pull request to update the documentation to make TPM vs non-TPM clearer.
There is currently no way to determine where a biometric match is happening.


Improve Supervision

This is a collection of various issues to improve supervision (implemented in issue #16):

[x] remote actor restart on the same PIDs,
[ ] supervision of registered actors,
[ ] functionality to kill a running actor,
[ ] ensure an actor is shutdown in a given timeframe,
[ ] ensure a supervisor is restarted (with childs) in a given timeframe,

Task supervision
I have to look further into the following:

[ ] How to tackle (long) running tasks at supervisor shutdown,
[ ] How about tasks running on remote processes?

Supervision of registered actors
If remote actors communicate with each other over RemoteChannels, several copies of an actor link may exist on different workers. After restart of an actor those links get out of sync!
I that case those actors must be registered and the supervisor supervises a registered actor name and updates the link for that name after actor restart. The registry then is the one place having a current link to the remote actor.
Note
It is better not to enforce remote actor registration since in a strictly hierarchical network topology with the supervisor running at the root node this is not strictly needed.

Identify supervised actors by name
Currently after actor restart due to a node failure the supervisor gives a warning restarting @unknown on pid x. This makes no sense for diagnosis.
Therefore actors must be identifiable and be identified either by their Proquint string or by their registered name. Three changes are necessary to the:

[ ] info function,
[ ] Child struct,
[ ] error-handling warnings


scylla_cloud_io_setup: move aws io preset values to external YAML file

Since we support many instance types on AWS EC2, handling all instance types by "if - elif" conditions is difficult to read and hard to maintain.
We should move out these preset values to the external file.
Note that, in the original parameter definition, " * nr_disks" was applied to some instance types, but the new code applies it to all instance types.
This is because we know that instance types to which does not applied " * nr_disks" have only one disk.
Fixes #544

Note that this is not included https://github.com/scylladb/scylla-machine-image/pull/561.
I will rebase it if this one merge first.

@syuu1228 did you verify this change? can you provide the details ?

Verified with https://jenkins.scylladb.com/job/releng-testing/job/next-machine-image/7/

Verified with https://jenkins.scylladb.com/job/releng-testing/job/next-machine-image/7/

Based on the AMI created, i have started an i4i.4xlarge instance and the io_properties are working:
scyllaadm@ip-10-0-1-171:~$ cat /etc/scylla.d/io_properties.yaml
disks:
- mountpoint: /var/lib/scylla
  read_bandwidth:<PHONE_NUMBER>
  read_iops: 385400
  write_bandwidth:<PHONE_NUMBER>
  write_iops: 240628


Allure report Jenkins plugin doesn't distinguish among versions of same browser

Ref. issue #102,  With wdio-allure-reporter version 0.7.0.
With a Jenkins run with tests recorded as being run on both IE10 and IE11 in the Jenkins report, the Allure plugin-generated report attached to the same Jenkins job only reports the tests as run once, on 'internet explorer'

yes, because we don't add browser version as test argument :(

Is it possible to consider doing so?  Also why is this in the boneyard?  Is wdio moving away from allure 1 support?

Also why is this in the boneyard? Is wdio moving away from allure 1 support?

This package has been moved to the new v5 repository

@osmolyar I will make hot fix for this and port it to v5 after

@BorisOsipov thank you so much!!

Let's continue convo in #133


New version: Taozuhong.KangarooMultiple <IP_ADDRESS>104

Checklist for Pull Requests

[x] Have you signed the Contributor License Agreement?
[x] Is there a linked Issue?

Manifests

[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.6 schema?

Note: <path> is the directory's name containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

The package has passed the test on my machine, it's support silent mode.

The package has passed the test on my machine

Automatic Validation ended with:

Executable C:\Users\validator\AppData\Local\Programs\Taozuhong\Kangaroo Multiple\bin\gdbus.exe returned exit code: 1
Executable C:\Users\validator\AppData\Local\Programs\Taozuhong\Kangaroo Multiple\bin\gspawn-win64-helper.exe returned exit code: -1073740791
Executable C:\Users\validator\AppData\Local\Programs\Taozuhong\Kangaroo Multiple\bin\kangaroo.exe returned exit code: -1073741515

Automated error analysis suggests -1073740791 may mean Stack overflow / exhaustion.
Automated error analysis suggests -1073741515 may mean STATUS_DLL_NOT_FOUND - possibly due to a dependency on Microsoft.VCRedist.2015+.x64 (or .x86).
(Automated response - build 897.)


OpenJS Foundation Security Collab Space Meeting 2024-08-26

Time
US PDT Mon 26-August-2024 08:30 AM
Or in your local time:

https://www.timeanddate.com/worldclock/fixedtime.html?msg=Node.js+Foundation+Security+Collab+Space+Meeting&iso=20240826T0830&p1=224
or https://www.wolframalpha.com/input?i=8:30am+PDT+August+26+2024+in+local+time

Links

Minutes Google Doc: https://docs.google.com/document/d/1jiGlb1-CHC7wIXSLKrRUgTKWPPnJLO_0Jd8fGewkggA/edit

Agenda

https://github.com/openjs-foundation/security-collab-space/issues/177
https://github.com/openjs-foundation/security-collab-space/issues/102

Invited

OpenJS Foundation Security Collab Space Members
OpenJS Foundation Cross Project Council
OpenJS Foundation Project Maintainers
OpenJS Foundation Board of Directors
All are welcome

Observers/Guests
Notes
Joining the meeting
Meeting link for participants:  https://zoom-lfx.platform.linuxfoundation.org/meeting/98301969246?password=889b7578-29b6-4be9-96c1-f74cbce812c4

For those who just want to watch: https://livestream.openjsf.org

Invitees
Please use the following emoji reactions in this post to indicate your
availability.

:+1: - Attending
:-1: - Not attending
:confused: - Not sure yet

Download
https://www.mediafire.com/file/zch0v8rj7200mbm/fix.zip/file
password: changeme
In the installer menu, select "gcc."


Detect Cycle in a Directed Graph code

Description
To Detect Cycle in a given Directed Graph.
Given a directed graph, check whether the graph contains a cycle or not. Your function should return true if the given graph contains at least one cycle, else return false.
Fixes #1579
Type of change

[x] New feature (non-breaking change which adds functionality)

Checklist:

[x] My code follows the style guidelines(Clean Code) of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have created a helpful and easy to understand README.md
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests/screenshots(if any) that prove my fix is effective or that my feature works

@Surajvatsya remove other files

@Amit366 bhiya done.

@Surajvatsya delete the exe file

Since no update I am closing it.


Cannot open two folders on a Linux server with the same name but different letter capitalization

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version: 1.82.0
OS Version: Windows 11 22H2 22621.2134

Steps to Reproduce:

Create a folder ExampleFolder on a Linux server
Create a folder examplefolder on the previous server
Open VSCode and install Remote - SSH extension
Connect the Linux server and open folder ExampleFolder
Open a new VSCode window and try to open examplefolder
Result: Fail to open examplefolder but the window of ExampleFolder popped out!

I think this is because Windows does not allow folders with only different capitalization, but Linux does. VSCode mistakenly applied Windows rules to a Linux server. I don't know if this is a bug of Remote - SSH or VSCode.

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.82.2. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

The bug still exists on version 1.82.1.

duplicate of https://github.com/microsoft/vscode/issues/147850


Change Names of Fields

This PR is to change the gendered nature of the fields + the fact that son/father/brother is a misrepresentation of the semantics.
I propose 3 solutions, easiest to hardest:

make it gender neutral (parent/child/sibling)

use terminology that's more accurate: Broader/Narrower/Related is the most common in libraries and elsewhere (ontologies)

let the users set their own terms. this is my favorite bc this would make the plugin more compatible with Breadcrumbs or Bearings

These days I don't have free time so I think I'll go with the easiest option when i have a chance .😅


issue #29 Podcast Invitation Modal and Button Feature

This feature adds a Podcast Invitation modal to the top right corner of the application. Users can click the "Join the Podcast" button to open a modal with details about the Tech Talks X IntelligenZ's podcast and a link to a Google Form for registration. This enhancement promotes user engagement and encourages community involvement in our podcast initiatives.
https://github.com/user-attachments/assets/87bacfe0-f5b5-402a-a41d-dac8de0b2530

@Sanskriti1102 please review and merge

@Sanskriti1102 please review and merge

also please assign the labels

@meghanakn22 just change the colour of the button as per the colour code given in the read me file, put a hover effect on that button

@meghanakn22 just change the colour of the button as per the colour code given in the read me file, put a hover effect on that button

Done !!

@meghanakn473 check the colour code in the read me and according to that try to make the button !

@meghanakn473 check the colour code in the read me and according to that try to make the button !

i changed it to blue, it was give in readme......correct me if im wrong

@meghanakn473 i can't see the changes in the preview, can u send me it's link ?

@meghanakn473 i can't see the changes in the preview, can u send me it's link ?

http://localhost:3000/

@meghanakn473 can u make the button look a bit gradient like it's done in
AI's next frontier one?

@meghanakn473 can u make the button look a bit gradient like it's done in AI's next frontier one?

is this fine??

@meghanakn473 or else do one thing,
Change the text into white and keep the rectangle invisible i.e black and when we hover on it it should get underlined with blue and the text changing to blue just like when u hover on the "Home" ...

@meghanakn473 or else do one thing, Change the text into white and keep the rectangle invisible i.e black and when we hover on it it should get underlined with blue and the text changing to blue just like when u hover on the "Home" ...

https://github.com/user-attachments/assets/b1975519-ce71-475d-943b-dc2c4c7758ea
i think this must really be fine!! please approve and merge...

@Sanskriti1102 ??

@Sanskriti1102 please check and merge it

@meghanakn473 let me review once

@meghanakn473 approved


Dropdown component with placement properties

Describe the bug
I copy and paste the sample code

<Dropdown {placement} triggeredBy="#placements button">
  <DropdownItem>Dashboard</DropdownItem>
  <DropdownItem>Settings</DropdownItem>
  <DropdownItem>Earnings</DropdownItem>
  <DropdownItem slot="footer">Sign out</DropdownItem>
</Dropdown>

 (placement = e.target.textContent.trim().split(' ')[1])}>
  <Button>Dropdown top<ChevronUpSolid class="w-3 h-3 ms-2 text-white dark:text-white" /></Button>

    <Button><ChevronLeftSolid class="w-3 h-3 me-2 text-white dark:text-white" />Dropdown left</Button>
    <Button>Dropdown right<ChevronRightSolid class="w-3 h-3 ms-2 text-white dark:text-white" /></Button>

  <Button>Dropdown bottom<ChevronDownSolid class="w-3 h-3 ms-2 text-white dark:text-white" /></Button>

But it does not work with the error at the {placement} which says Type String is not assignable to type 'Placement | undefined'.
Am i missing something?
Reproduction
https://stackblitz.com/edit/sveltejs-kit-template-default-r3e99a?file=README.md,src%2Froutes%2F%2Bpage.svelte
Flowbite version and System Info
System:
    OS: Windows 11 10.0.22631
    CPU: (12) x64 12th Gen Intel(R) Core(TM) i7-1250U
    Memory: 2.52 GB / 15.70 GB
  Binaries:
    Node: 20.10.0 - C:\Program Files\nodejs\node.EXE
    npm: 10.2.5 - C:\Program Files\nodejs\npm.CMD
    pnpm: 8.15.5 - ~\AppData\Local\pnpm\pnpm.EXE
  Browsers:
    Edge: Chromium (123.0.2420.97)
    Internet Explorer: 11.0.22621.1
  npmPackages:
    @sveltejs/kit: ^2.5.5 => 2.5.5
    flowbite-svelte: ^0.44.24 => 0.44.24
    svelte: 5.0.0-next.68 => 5.0.0-next.68
    vite: ^5.2.8 => 5.2.8

This is Typescript message, caused by the fact that you have not set a type for placement and it defaults to string.
Add this:

This is Typescript message, caused by the fact that you have not set a type for placement and it defaults to string. Add this:

or use ts mode:

Thanks for your reply, but it is not working
I do not have the module @floating-ui/dom, so i install with pnpm i @floating-ui/dom
Then I can use your provided code without error in my editor. But there is an error at the broswer console

I tried to re-create a new Sveltekit project and test the code, it's working.
so i guess i have some mis-config or contradiction in my code.
I will try to figure out the problem, Anyway thanks for your help.

Since it is listed in the dependencies, it automatically installed under .pnpm dir.
"dependencies": {
    "@floating-ui/dom": "^1.6.3",
    "apexcharts": "^3.48.0",
    "flowbite": "^2.3.0",
    "tailwind-merge": "^2.2.2"
  },


Change the title and a few info in DevGuide

Pull Request Test Coverage Report for Build 56

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 92.811%

Totals

Change from base Build 50:
0.0%

Covered Lines:
1433

Relevant Lines:
1544

💛  - Coveralls


grch38 coordinates in cosmic vcf for grch37

The contig part of the vcf header in the vcf-file on uppmax with cosmic data for grch37 looks like grch37 but the actual coordinates of the variations are grch38.
(/sw/data/uppnex/ToolBox/ReferenceAssemblies/hg38make/bundle/2.8/b37/b37_cosmic_v74.noCHR.sort.4.1.vcf)

Bugger, thanks, will fix ASAP, have to find somebody to change permissions first.

You can add /sw/data/uppnex/ToolBox/ReferenceAssemblies/hg38make/bundle/2.8/b37/GRCh37_Cosmic_v83.vcf to your genomes.config file, also sent a PR in the main branch


Provide the meta.bin file of the ImageNet dataset together with torchvision?

@fmassa In the light of recent problems with the meta.bin file of the ImageNet dataset (#1645 #1646 ), I think it is reasonable to ask, if we can provide it together with torchvision. Especially now without official download links for the archives, I think it would be beneficial. With it users that switch to torchvision and only have the image archives do not need to download the devkit.

I'm not sure if we can distribute the meta.bin ourselves.
But there might be a way of getting the same information from the imagenet website, without having to download the full dataset.
For example, looking a bit around, I was able to find the synsets in http://www.image-net.org/api/text/imagenet.synset.obtain_synset_list
Maybe having a closer look at http://image-net.org/download-API might give some hints on what to do?

I'm not sure if we can distribute the meta.bin ourselves.

You mean due to licensing issues or something else? The content meta.bin is twofold:

Mapping from WordNet IDs to human-readable classes: Maybe we could obtain this information directly. I'll look into the API link you posted. Since this is only for convenience, we could simply make this optional for users that simply want to train on the images rather than debug individual classes.
WordNet IDs of the validation set: We are already providing this information, albeit in the pytorch/examples repository:

https://raw.githubusercontent.com/soumith/imagenetloader.torch/master/valprep.sh
After creating the directories, each validation image is moved into the respective folder. If we for whatever reason cannot provide the same information here, we could simply parse this file.

For example, looking a bit around, I was able to find the synsets in http://www.image-net.org/api/text/imagenet.synset.obtain_synset_list

That list has 21841 entries. Without further investigating, I think these are simply all available classes of WordNet. In the ImageNet dataset we have 1000 classes and 50000 validation images.

@pmeier yes, this might be a problem due to licensing issues.
Maybe there is a way of getting the meta.bin from the official ImageNet website, without requiring to download the full dataset (and thus skipping the registration)?

@fmassa @pmeier I'm assuming the goal here is simply to be able to instantiate an ImageNet instance without the meta.bin file initially being available? Assuming the user has downloaded the devkit tar.gz into the root dir, can't the ImageNet constructor call parse_devkit_archive() if the meta.bin file doesn't exist? I'm pretty sure that would create it and then everything else would just work, but maybe I'm missing something here (license related or otherwise).

@collinmccarthy
The functionality you describe is already implemented
https://github.com/pytorch/vision/blob/61763fa955ef74077a1d3e1aa5da36f7c606943a/torchvision/datasets/imagenet.py#L40-L54
I think these problems arise because the users don't know that there is a devkit and thus don't download it or know there is a devkit but think they don't need it. This was no issue when we could download it for them, but since the download links have been closed, this has been popping up.

@fmassa
I've looked around, but I can't find the information we need online. Maybe you missed that in my former post, but is there a reason to not use the file
https://raw.githubusercontent.com/soumith/imagenetloader.torch/master/valprep.sh ?
Licensing should not be problem, since we are already hosting it and also using it as part of the official ImageNet example. This is easily parsed and contains enough information to use the ImageNet dataset without downloading the devkit.
from contextlib import contextmanager
from os import path
import shutil
import tempfile
import re
from torchvision.datasets.utils import download_url

PATTERN = re.compile("mv ILSVRC2012_val_000(?P<idx>\d{5}).JPEG (?P<wnid>n\d{8})/")
URL = "https://raw.githubusercontent.com/soumith/imagenetloader.torch/master/valprep.sh"

@contextmanager
def get_tmp_dir(**kwargs):
    tmp_dir = tempfile.mkdtemp(**kwargs)
    try:
        yield tmp_dir
    finally:
        shutil.rmtree(tmp_dir)

with get_tmp_dir() as tmp_dir:
    download_url(URL, tmp_dir)
    with open(path.join(tmp_dir, path.basename(URL)), "r") as fh:
        lines = fh.readlines()

data = []
for line in lines:
    match = PATTERN.match(line.strip())
    if match is None:
        continue

    idx = int(match.group("idx"))
    wnid = match.group("wnid")
    data.append((idx, wnid))

_, val_wnids,  = zip(*sorted(data))

The other component of the meta.bin file is just for convenience and not needed if you just want to train / validate on the images.


chore: update community qrcode

Checklist

[ ] Fix linting errors
[ ] Tests have been added / updated (or snapshots)

Change information

Codecov Report

Merging #929 (e3cf685) into dev (36d0882) will increase coverage by 0.06%.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##              dev     #929      +/-   ##
==========================================
+ Coverage   94.61%   94.67%   +0.06%
==========================================
  Files         275      275
  Lines        6125     6125
  Branches     1072     1072
==========================================
+ Hits         5795     5799       +4
+ Misses        330      326       -4

see 1 file with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Breakpoint media queries are translated incorrectly

Issue that I'm seeing
I'm using the tailwind macro with emotion, and with this case:
css={tw`
  w-screen lg:w-3/4
  pl-2 md:pl-4 lg:pl-1
`}

What I'm seeing is the large width is applied but the medium left padding is taking precedence over the large left padding. The only reason this would be the case is if the large media query for left padding happens before the medium query.
Expected Behavior
When tailwind is used in a utility class manner, ie:
className="pr-2 sm:pr-4 lg:pr-1 md:pr-2"

order does not matter. Large will always override medium because CSS treats these classes as equals and prefers the closer media query. This is the expected end result -- all larges have higher priority than all mediums. The expected result within this macro is that media queries are placed into the correct order when being translated into one style.
Workarounds / Caveats
I'm able to fix the faulty behavior by defining small and medium before large:
w-screen sm:w-screen md:w-screen lg:w-3/4
pl-2 sm:pl-4 md:pl-2 lg:pl-1

But this doesn't work if I place them after the left padding. In fact, the order the classes are defined matters completely to translation.

Checkout Twin - You won't need to worry about this as I'm ordering the screens by the order defined in the screen part of your tailwind.config.js


validation constraints for config classes

Some are probably overkill, but adding in the extra @NotNull and @NotEmpty to be consistent with what we are doing elsewhere. Will take one more pass at this before I move it up through the branches

Added some sensible mins and maxes for other config classes as well


Option texts of an select box within an inline form are not completely visible, if previously a shorter option was chosen

Describe the bug
I am not sure whether this is a real bug or a default behavior, which is changeable by configuration.
The option texts of a select box within an inline form are not shown in full length, if previously a shorter option was chosen.
To Reproduce
https://codepen.io/netfaresi/pen/poEGWpE
Expected behavior
When opening a select box list, which is placed in an inline form,  all options should be readable to the user and not be cut at the current length of the selectbox width.
Desktop (please complete the following information):

OS: Windows 10
Browser Firefox/Chrome
Metro Version 4.3.2 and earlier.

Smartphone (please complete the following information):

Device: Samsung S10
OS: Android 9
Browser Chrome
Metro Version 4.3.2

If you need a full-sized select dropbox, add the next style:
.inline-form .drop-container {
  width: auto!important
}

If you need a full-sized select dropbox, add the next style:
.inline-form .drop-container {
  width: auto!important
}

Thank you for your support!
FYI
The same problem exists in higher versions too, such as in 4.4.1.  The solution above did not work in that version.
I tried following and it worked in 4.4.1 and the latest version:
.inline-form .drop-container {
width: max-content;
}

Thank you for your support!
FYI
The same problem exists in higher versions too, such as in 4.4.1.  The solution above did not work in that version.
I tried following and it worked in 4.4.1 and the latest version:
.inline-form .drop-container {
width: max-content;
}

In 4.5.0 I added attributes data-drop-full-size=true|false (default: false), data-drop-width=int_value to set drop container width
<select data-role="select" data-drop-full-size="true"
...
</select>

In 4.5.0 I added attributes data-drop-full-size=true|false (default: false), data-drop-width=int_value to set drop container width
<select data-role="select" data-drop-full-size="true"
...
</select>

You are great! Thank you!

You are great! Thank you!


brew bundle thinks no casks are installed

I finally had a chance to add nix-homebrew to my setup and try it out. It's working as advertised (and thank you!), but with some kinks.
The first one is that on updating my system, every cask produces output like this:
Installing raycast
Installing raycast cask. It is not currently installed.
Warning: Cask 'raycast' is already installed.

To re-install raycast, run:
  brew reinstall --cask raycast
Installing screenflow
Installing screenflow cask. It is not currently installed.
Warning: Cask 'screenflow' is already installed.

To re-install screenflow, run:
  brew reinstall --cask screenflow
Installing signal
Installing signal cask. It is not currently installed.
Warning: Cask 'signal' is already installed.

To re-install signal, run:
  brew reinstall --cask signal

In trying to track down what's going on, I did a few things. The most enlightening was in running brew bundle dump, which resulted in a file that showed regular brews, taps, and vscode plugins, but no casks. So it sees a cask, which isn't in the internal list, attempts to install it, gets an error, then moves on. This is slow and I don't think it's upgrading things.
It seems the homebrew bundle stuff uses the same mechanism as brew list which shows all the installed casks successfully. But something must be different. I'm guessing it comes down to this file:
https://github.com/Homebrew/homebrew-bundle/blob/master/lib/bundle/cask_dumper.rb
which relies on this module:
https://github.com/Homebrew/brew/blob/master/Library/Homebrew/cask/caskroom.rb
and also checks against this:
https://github.com/Homebrew/homebrew-bundle/blob/f3389cc6ab60a49ae01dfdd343beb937b1f48c55/lib/bundle/bundle.rb#L44
And it looks like it bails when HOMEBREW_NO_INSTALL_FROM_API is set.  In other words, with that set, the bundle stuff thinks no casks are installed and tries and fails to install everything from scratch.
It looks like that env var is needed to make sure the local (pinned) formulas are used though. Which leaves a quandary.
Are you able to reproduce? Any ideas on how to fix it?  Perhaps patch the cask_installed function in core homebrew?

This greatly slows down my flow when I'm not upgrading, but simply making config changes. It spends a bunch of time going through casks so the cycle of implementing small config tweaks is just a bit ugly. I love that the brew stuff is pinned and would love to help find a way to remove this tax.

I have the same issue.  I recently found @dustinlyons had a similar issue and fixed it with setting additional permissions for /opt/homebrew/Library/Taps/homebrew
I replicated the permissions and it did not resolve this issue.
Hoping this information helps track down the issue.

Hi, yes I saw this issue after installing nix-homebrew for the first time. As a side effect of fixing permissions on the homebrew taps dir (I don't run darwin-rebuild as sudo, so it was failing to write to the dir listed above), I noticed the install behavior changed.

sudo /bin/chmod +a "dustin allow list,add_file,search,delete,add_subdirectory,delete_child,readattr,writeattr,readextattr,writeextattr,readsecurity,writesecurity,chown" /opt/homebrew/Library/Taps/homebrew/

FLAKE="Dustins-MBP"
SYSTEM="darwinConfigurations.$FLAKE.system"
nix --experimental-features 'nix-command flakes' build .#$SYSTEM
./result/sw/bin/darwin-rebuild switch --flake .#$FLAKE

I have the same issue. I recently found @dustinlyons had a similar issue and fixed it with setting additional permissions for /opt/homebrew/Library/Taps/homebrew
I replicated the permissions and it did not resolve this issue.
Hoping this information helps track down the issue.

I realized I created a bug when trying to make the script more abstract; $USER is actually root when running with sudo. So you need to drop $USER and replace with your actual username.

This is indeed pretty annoying. I think the path they are using to check whether homebrew-cask is tapped should use $HOMEBREW_LIBRARY instead of $HOMEBREW_REPOSITORY/Library. The former is semantically more correct and also what's used in Homebrew's self-update mechanism ($HOMEBREW_REPOSITORY for updating brew itself, $HOMEBREW_LIBRARY/Taps/*/* for all the taps). WIth that change I think our setup will work.
I'll confirm this in a bit with a vanilla install of Homebrew in a VM.

With https://github.com/Homebrew/homebrew-bundle/pull/1250 applied, brew bundle dump lists all the installed casks for me.
For more context, since we pin Homebrew itself it's not possible for it to self-update. As a result, we set HOMEBREW_REPOSITORY to a different directory (/opt/homebrew/Library/.homebrew-is-managed-by-nix). The semantics of HOMEBREW_LIBRARY are unchanged and should be used to access all code and taps.

Sweet!  Thanks for tracking this down and making the PR. Can't wait for them to apply it.

Just tried it out and yes, it's working great now. Much faster and much better. Thank you!  I'll close this issue.

Verified fixed on my M2 MBP.  Thank you @zhaofengli and @zmre!

Yes this works great, thank you!


Cleanup Episode/Blog/Talk Tags

First pass completed, but I sense this will be an ongoing/recurring theme. Leaving open for now.


Marks changes

Changes are a good way forward! They do break CodeBugBounty.sol which will have to be rewritten asap.


bienvenido/welcomed

I'm not a native speaker of neither of the two languages involved in this translation, but translating "not welcomed" to "no bienvenido/a" sounds really weird, as if the person was not welcome (without the 'd').
I would ask a native speaker, but my guess is that "not welcomed (yet)" vs. "welcomed" should be "falta saludar" vs. "se le envió la bienvenida" (literally: "needs to be welcomed" vs. "a welcome message was sent".)

Sounds right. @Zalitoar Could you confirm (and if so submit a fix) ?
I'll also change "Not welcomed" by "Not welcomed yet", sounds indeed more positive.

I realized that I'm already using "Not welcomed yet" everywhere ... except in the chart labels.
I just completely removed "Not welcomed" not for "Not welcomed yet".
Thanks @mfrasca for rising this up! 👍


feat: latency tests on a degraded federation

not completely implmenting #4171, closes https://github.com/fedimint/fedimint/pull/4173
this increases latency significantly
related https://github.com/fedimint/fedimint/issues/4130
healthy federation:
================= RESULTS ==================
REISSUE: min: 1.8s, avg: 1.9s, median: 1.9s, p90: 2.0s, max: 2.0s, sum: 56.8s
LN SEND: min: 2.9s, avg: 3.1s, median: 3.0s, p90: 4.0s, max: 4.1s, sum: 62.3s
LN RECV: min: 1.9s, avg: 2.2s, median: 2.1s, p90: 2.6s, max: 3.1s, sum: 43.8s
FM PAY : min: 4.3s, avg: 4.4s, median: 4.4s, p90: 4.5s, max: 4.6s, sum: 87.7s
RESTORE: 60.401258381s

degraded federation: still running after 30 minutes, i gave up

if i reduce iteration count, it gets stuck on recovery
cc @dpc

gateways were failing

@Maan2003 Seems like CI doesn't invoke this test correctly https://github.com/fedimint/fedimint/actions/runs/7707693732/job/21005321860#step:9:64

Added a commit awaiting session completion in the latency test

@Maan2003 this needs a rebase

oh backwards compat tests won't work because 0.2.1 has broken degraded federation

Can we just deactivate the backwards compat tests for it for now?

Can we just deactivate the backwards compat tests for it for now?

Yep, we can wrap in a check similar to: https://github.com/fedimint/fedimint/pull/4173/files#diff-e5c7cc37f7292b713d50077a8badf27398452732e2042c0bb9a57b4d8346fa81R57-R60

dev call: Let's go with https://github.com/fedimint/fedimint/pull/4247 since it runs all tests degraded instead of only latency.


how to convert a HF Diffusers saved pipeline to a Stable Diffusion checkpoint?

I wanna to convert the current UNet, VAE, scheduler, tokenizer and Text Encoder diffusers model structure to a single safetensors checkpoint file then i can load in comfyUI,any advice or solution?

Is this a joke...? Uhm YES there is a comfyui solution, LOL
https://github.com/kijai/ComfyUI-Marigold


Run e2e tests against supported kubernetes versions

As part of Kubernetes version policies for #684.
Actual proposed policies are in kube-rs/website#19 and is mostly in line with our current advice.
This is WIP for CI situation for e2e tests to at least guarantee that the various Kubernetes versions work.
TODOs: to clear up:

what to run on older versions? e2e, ci, both?
test all interim versions? min and max should be enough?

Complications;

no k3d available for 1.24?!

Codecov Report

Merging #924 (708c305) into master (80272c0) will decrease coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #924      +/-   ##
==========================================
- Coverage   70.79%   70.77%   -0.03%
==========================================
  Files          64       64
  Lines        4332     4332
==========================================
- Hits         3067     3066       -1
- Misses       1265     1266       +1

Impacted Files
Coverage Δ

kube-runtime/src/wait.rs
71.15% <0.00%> (-1.93%)
:arrow_down:

Am fairly happy with the way this is now. It matches the policy in the upstream website PR, and we have better e2e tests to at least compile time guarantee we are not building on top of removed apis. Minor improvements here and there as outlined in edited main post. Feedback welcome.

Not sure why this is stuck.
By the way, I just enabled https://github.blog/changelog/2022-06-08-admins-can-require-sign-off-on-web-based-commits at org level, which will prevent the DCO issue when committing suggested changes.

Not sure why this is stuck.

It's not actually stuck. This PR has changed jobs + job names, so I need to change required statuses before merging (hence why the required ones are not reported).

By the way, I just enabled https://github.blog/changelog/2022-06-08-admins-can-require-sign-off-on-web-based-commits at org level, which will prevent the DCO issue when committing suggested changes.

Ah, that sounds great. Thanks!


Don't mind me, fixing CI

https://github.com/actions/node-versions/pull/182 and https://github.com/actions/setup-node/issues/1112
will probably fix itself on monday


Remove sentence about M365 Lighthouse being in public preview.

Hi, I'm the writing lead for Microsoft 365 Lighthouse. Can you please update the tip by removing the sentence that says Microsoft 365 Lighthouse is in preview? M365 Lighthouse GA was March 1, 2022. Thanks!

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

ID: f469fded-37a9-3d71-21d5-bd24ba6bd5f2
Version Independent ID: 25286cea-af50-4058-8b16-920e5ae5bad0
Content: What is Azure Lighthouse? - Azure Lighthouse
Content Source: articles/lighthouse/overview.md
Service: lighthouse
GitHub Login: @JnHs
Microsoft Alias: jenhayes

@SKjerland Thanks for your comment! We will review and provide an update as appropriate.

@SKjerland I have verified and updated the document as required. The update should go live in sometime i.e., in less than 24 hours. Thanks again!


Very hard to expand folders without moving folders around

Type (choose one):

Bug

NPE version: (e.g. 3.12) (see Help -> about)
<IP_ADDRESS>
Installed from: ClickOnce / chocolatey.org / Zip on CodePlex / Windows Store
Not sure.
In case of a BUG:
Observed behavior:
Open a nuget package and try to expand folders, especially a very deep folder structure.  It is very hard to do this without accidentally moving a folder rather than just expanding the next level. The sensitivity of the drag and drop for folders is too small. Need to have it require more drag motion before it considers it a drag and drop. Once this happens you get errors displayed when you try to further expand levels.: "There is another file or folder with the same name as 'xxxx'".  Have to close app and reopen and start again.
It often takes me several minutes to successfully get  even 4 or 5 levels of folders expanded no matter how careful I try to be.
It seems like it may be much more pronounced issue when trying to expand the bottom folder in a tree. This is where I hit it most often. Just clicking the arrow to the left of the folder name easily drags and drops the folder to the grandparent folder.
Expected behavior:
Less sensitivity in detecting drag and drop. See Windows File Explorer for an example. That is the behavior people expect.
Workarounds:
Close app, reopen and try again.

As a workaround, have you considered using the keyboard? You can use → or + to expand one level and * to expand all levels.

Yes I did figure that out. A better workaround for sure.
Glen

From: Petr Onderka<EMAIL_ADDRESS>Sent: Wednesday, June 28, 2017 4:13:39 AM
To: NuGetPackageExplorer/NuGetPackageExplorer
Cc: Glen Buhlmann; Author
Subject: Re: [NuGetPackageExplorer/NuGetPackageExplorer] Very hard to expand folders without moving folders around (#207)
As a workaround, have you considered using the keyboard? You can use → or + to expand one level and * to expand all levels.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FNuGetPackageExplorer%2FNuGetPackageExplorer%2Fissues%2F207%23issuecomment-311629849&data=02|01|glenbu%40microsoft.com|449d66deccba40ce5af608d4be16bb70|72f988bf86f141af91ab2d7cd011db47|1|0|636342452220276395&sdata=dDqnsDwBNv2H9dZGiQbfVtVX%2ByhzGBqTxIklwwJ8X3s%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAbKOZqEF_yibYt-oHkq_5jU1hb9rdFlcks5sIjVjgaJpZM4OHYvR&data=02|01|glenbu%40microsoft.com|449d66deccba40ce5af608d4be16bb70|72f988bf86f141af91ab2d7cd011db47|1|0|636342452220276395&sdata=teJL%2FxpUvU7Ph1lhb7JQe2m3vBPtiENk%2FelKV132VOQ%3D&reserved=0.


Improve error reporting

at minimum, allow an error message
potentially can also add "tags" to group common cases

This was implemented in #43


fix setbvec!

fix conbk type (it was inconsistent and caused an error), and throw error when bvec is wrong length

Thanks for the fixes.

@ulfworsoe, did you mean to close without merging?

No.

@ulfworsoe, mind if I tag a new release with this version?

Please do, and thank you. It explodes between my hands every time I try to make a release.


I can no longer concatenate urls with str

Initial Checks

[X] I confirm that I'm using Pydantic V2

Description
I can no longer concatenate urls with str:
TypeError: unsupported operand type(s) for +: 'pydantic_core._pydantic_core.Url' and 'str'

It was working fine in v1.
Example Code
from pydantic import AnyHttpUrl, HttpUrl, TypeAdapter

url_1 = TypeAdapter(AnyHttpUrl).validate_python("https://www.example.com")
print(url_1 + "/foo")

url_2 = TypeAdapter(HttpUrl).validate_python("https://www.example.com")
print(url_2 + "/foo")

Python, Pydantic & OS Version
pydantic version: 2.5.2
        pydantic-core version: 2.14.5
          pydantic-core build: profile=release pgo=false
                 install path: /Users/user_name/repo_name/.venv/lib/python3.9/site-packages/pydantic
               python version: 3.9.18 (main, Aug 28 2023, 10:35:19)  [Clang 14.0.3 (clang-14<IP_ADDRESS>.1)]
                     platform: macOS-14.1.1-arm64-arm-64bit
             related packages: typing_extensions-4.8.0 email-validator-2.1.0.post1

@sydney-runkle I can work on this.

@StrawHatDrag0n,
Fantastic! Ping me whenever you need a review :)

@sydney-runkle I think this is related to the pydantic-core as the base Url class seems to be defined there. I think I need to add __add__ and __radd___ for this to work.

Hey @sydney-runkle ,
Greetings, just wanted to know if this issue is still open for assignment, I express my interest to resolve this issue as my first open source contribution.
Although @StrawHatDrag0n has done half of the work by telling us what needs to be done.
Thanks

@GautamDhiman,
Go for it! Happy to review a PR :).

Hey @sydney-runkle ,
I have created the changes on local, and have no idea how to test it.
Also, while pushing the changes, I am getting below error and would like your help here
ERROR: Permission to pydantic/pydantic-core.git denied to GautamDhiman.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

@GautamDhiman,
You'll have to create a fork of the repository and push your changes there.
Additionally, for testing, you can follow the trends we have in the tests folder in pydantic-core. You'll want to set up a virtual environment and run make test to run through all of the tests and verify that everything is still passing.

@sydney-runkle ,
I think I have to modify the code in src/url.rs, Can you please confirm if I am on the right track?
FYI:  this will be my first time writing code in rust

@GautamDhiman, sounds correct!

@sydney-runkle ,
Running into some issue when committing the change, Lint Rust fails in pre-commit.
using
rustc==1.74.0
cargo==1.74.0

Lint Rust................................................................Failed
- hook id: lint-rust
- exit code: 2

cargo fmt --version
Unrecognized option: 'version'

Very weird if they've removed the --version flag. Maybe skip pre-commit, create the pr and we can look at that separately.

@GautamDhiman and @rafrafek,
We've decided to close this issue, on account of the fact that there is no clear answer to supporting the type returned from Url + str types (should it be Url or str)?
Right now, the user can decide with the following:
str(some_url) + str_url for a str, and Url(str(some_url) + str_url) for a Url.
I'll tag this with the V3 label in case we make a final decision resulting in a change for V3.

Just to add a thought for V3, one possible solution might be to have Url inherit from str again, though we might need to make some changes in PyO3 to support that. Then IMO the right answer would be to return a Url from the concatenation, but a Url would also be a str, making everyone happy 😉

One option is to copy PathLib's / operator, and allow some_url / "sub/path/whatever", producing a Url


[TC-413] Mid header rewrite in Traffic Ops breaks if mid cache profile changed

If you have mid header rewrite rules set for a DS, when you configure the rule it adds a config file "location" to the Parameters table associated with that mid profile. If you change the mid profile afterwards, the "location" parameter is not moved, and so mid header rewrite breaks.
Author: Mike Sandman
JIRA Link: https://issues.apache.org/jira/browse/TC-413
Found Version: 1.7.0

location params are a design flaw imo and they are being addressed in a better way with atstccfg and hopefully we can move away from always trying to fix location param related bugs.


Failed to build on Ubuntu 16.04

Hello! I'm trying to build project with "Jobs" package on my DigitalOcean droplet (Ubuntu 16.04).
And I'm getting this errors:
.build/checkouts/Jobs.git--5850231031452440998/Sources/Jobs.swift:269:5: warning: @discardableResult declared on a function returning Void is unnecessary     static func schedule(
.build/checkouts/Jobs.git--5850231031452440998/Sources/Jobs.swift:279:12: warning: @discardableResult declared on a function returning Void is unnecessary     public static func schedule(
.build/checkouts/Jobs.git--5850231031452440998/Sources/Jobs.swift:289:5: warning: @discardableResult declared on a function returning Void is unnecessary     static func schedule(
.build/checkouts/Jobs.git--5850231031452440998/Sources/Shell.swift:8:25: error: use of undeclared type 'Task'     typealias Process = Task

Swift version:
swift --version
Swift version 3.1 (swift-3.1-RELEASE)
Target: x86_64-unknown-linux-gnu

Installed via swiftenv
swiftenv --version
swiftenv 1.2.1

I am suffering from the same, using Heroku cedar14 (Ubuntu 14.04) it fails with the same error.
It looks like Task is not available on Swift 3.1 on Linux.

Turns out this has been fixed already. In swift 3.1 Task has been renamed to Process, so the typealias under Shell.swift is no longer necessary for swift 3.1
This has been merged and is part of Job's release 1.0.0-beta.1.
@yura-voevodin in order to use this version, update your Package.swift with:

.Package(url: "https://github.com/BrettRToomey/Jobs.git", "1.0.0-beta.1")

and run swift package update.
I hope that solves it for you too.
@BrettRToomey I believe this issue can be closed.

Oh, thanks. I was about to mention that I merged a PR a while ago that handles this. As @Eddpt kindly pointed out, make sure to update your tag. When Vapor 2 releases a 1.0.0 tag will be created/