[WIP] - Numberfield blog

Closes
✅ Pull Request Checklist:

[ ] Included link to corresponding React Spectrum GitHub Issue.
[ ] Added/updated unit tests and storybook for this change (for new code or code which already has tests).
[ ] Filled out test instructions.
[ ] Updated documentation (if it already exists for this component).
[ ] Looked at the Accessibility Practices for this feature - Aria Practices

📝 Test Instructions:

🧢 Your Project:

Can't push to this branch for some reason, will close and reopen


Chore/upgrade pytest with anyio#2

Progress merged back into https://github.com/didx-xyz/aries-cloudapi-python/pull/314


Fixes to the Priority Hints article

What's changed, or what was fixed?
In the Get Ready for Priority Hints article,

Replaced _de_prioritized with *de*prioritized so that this renders as italic "de" + roman type "prioritized", rather than literally _de_prioritized.
Added missing closing parenthesis.

CC: @petele

:tada: This has been pushed live to https://developers.google.com/web/


Rearrange front end for usability

Items include:

[ ] Remove measure/ruler button from bottom bar
[ ] wire the annotation [A] button to display textual name somewhere
[ ] Move animation button/slider from side-toolbar to bottom.
[ ] make animation slider and control more accessible so a viewer without side-toolbar are functional reducing footprint

@AlbertoCasasOrtiz in case you're interested in any of these

I just self assigned this, I will take care of it after the winter break!

I just self assigned this, I will take care of it after the winter break!

Hi @aymanhab, I don't undestand the second point. Should it display the textual name of the model somewhere?

@AlbertoCasasOrtiz I think we should have an (i) icon somewhere in the ui that expands to the info: Model, publication, simulation settings that we can embed-into/extract-from the gltf as we discussed earlier for #141
Separately, objects have names as seen on the scene tree, if we can have a fixed, readonly text box somewhere on the screen showing what's selected without needing to expand the side panel that would be great. Not entirely clear on how it looks like but maybe the annotation button is a toggle that opens a small panel with the textbox, or a selected:xxx textbox in bottom bar. Thoughts?

Sure, I am working on the (i) icon and I have already a floating icon that shows a floating window (empty for now) when clicked. I'll have it soon showing the model information.

Hi @aymanhab, I think this is finished. The main changes are:
The animation controls are now in the bottom bar.
Removed animation tab from side bar.
Removed speed.
Added info tooltip at top right (not populated until we have metadata in the gltf)
Let me know if I forgot something or something is not right.


Codes of August Lunchtime

assign this to me

Okay Assigned
@saty-a
Happy Contributing

Closed as completed by @saty-a


Update conferences.yml

I'm sorry, currently we're only looking to include list top-tier conferences in AI as per http://www.conferenceranks.com.


Dependency with Rails request.js

I am not sure it matters, but updating my App to @rails/request.js to version 8 then generated this warning:
warning " ><EMAIL_ADDRESS>has incorrect peer dependency "<EMAIL_ADDRESS>Probably does not matter, but would be nice to see clean builds I guess.

Ping<EMAIL_ADDRESS>has incorrect peer dependency "<EMAIL_ADDRESS>


CJS defaults export

Just passing this trick along which allows us to just require the project in CJS without having to do one of the following:
> require('quoted-string-space-split')
{
  default: [Getter],
  splitSpacesExcludeQuotes: [Getter],
  splitSpacesExcludeQuotesDetailed: [Getter]
}

See https://github.com/ladjs/multer/blob/%40ladjs/multer/cjs-wrapper.cjs and https://github.com/ladjs/multer/blob/%40ladjs/multer/package.json#L37.
This makes it so by default the require in CJS would be .default.

This issue just brung to my attention that my package I did for my own small discord bot framework (which I don't even work on anymore) is actually being used by other people! I'll actually have to keep an eye out for this repo now haha
Thanks for the trick, but I think I'll simply move to a better build system to compile to both ESM and CJS at the same time which could actually resolve this very issue.
I started using tsup in my relatively more active projects (example here) which I believe would prevent using this workaround, even if it's an interesting workaround!
Thanks for bringing this up, I'll be a bit more proactive on this repo from now on :)


Beautifiying prevents tab switching when autosave is activated

Description
When I have the Beautify on Save option activated alongside autosave and click to another tab before saving, the beautification process prevents tab switching. I am not sure it this comes from atom-beautify or from Atom itself.
Edit: I can’t reproduce this issue anymore. This is quite strange, as I did nothing.
Edit 2: I can reproduce it again and edit this message to precise the case (only from foo.h to foo.c).
Input Before Beautification
Not applicable.
Actual Output
Not applicable.
Steps to Reproduce

Activate the Beautify on Save option.
Activate the autosave package.
Open a foo.c and foo.h files in two tabs.
Edit the foo.h file.
Click on the other tab.

Actual result
The beautification process works and the file is saved, but the tab is not switched. However, it works correctly if the .h and .c doesn’t start with the same name.
Expected result
The clicked tab should be activated.
Debug
Nothing to see in the console.
Checklist
I have:

[x] Tried uninstalling and reinstalling Atom Beautify to ensure it installed properly
[x] Reloaded (or restarted) Atom to ensure it is not a caching issue
[x] Searched through existing Atom Beautify Issues at https://github.com/Glavin001/atom-beautify/issues
so I know this is not a duplicate issue
[x] Filled out the Input, Expected, and Actual sections above or have edited/removed them in a way that fully describes the issue.
[ ] Generated debugging information by executing Atom Beautify: Help Debug Editor command in Atom and added link for debug.md Gist to this issue

Can you provide a link to the autosave package you're using?

@szeck87 This is the core atom/autosave package: https://github.com/atom/autosave

So it only happens when the files have the same name (ignoring extension)?

Yes. And only when editing the .h and then clicking the .c.

Ok, I'll look at this when I get back home in a couple days. Was this working up until Atom Beautify 0.30.9?
My guess as order of events:

User makes changes to file and clicks another file
Autosave kicks in and tells Atom to save it
Atom Beautify is told a save is being requested, and beautifies the file before it's saved
Atom Beautify returns a resolved promise and Atom saves

So there's a disconnect somewhere when files are the same name.

Was this working up until Atom Beautify 0.30.9?

I don’t know. I enabled Beautify on Save on Thursday evening, used it a bit but not a full day of work. Then, Beautify on Save was broken yesterday morning and working back in 0.30.9. I noticed the problem only since this morning. Sorry if I can’t help about that :(

Even more strange: the problem does not occur on all files. On files named led.c/h and blink.c/h I have the problem. On another named ihm.c/h, no problem. The issue is reproducible after restarting Atom and closing / re-opening the files.

Can you uninstall Atom Beautify and install 0.30.6?  apm install<EMAIL_ADDRESS>and try?

Ok, so:

The bug is 100% reproductible on the specific files in the project where the problem occurs on version 0.30.6.
The bug does not occur on the very first tab switch after Atom startup.
If there was another tab switch before trying to reproduce the bug, it occurs.
The bug is not reproductible if I copy the project directory elsewhere and open it there.

It seems hard to debug, so :( But it remains 100% reproductible on the very files on that very project at its location, even when I close and re-open them.


Update dependencies

Update all the dependencies to the latest version and worked perfectly.

 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.:x: paul-phan sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

I suggest reaching out to @Dependabot to see if they'd be willing to provide free services for this repo. They monitor outdated dependencies and provide automatic pull requests with the updates.

@welkie why not https://greenkeeper.io ?

I'm going to close this PR - I've merged a lot of smaller dependency updates just now which don't necessarily come to this PR but it's enough that someone can built off them instead. It's been a year and also adds a yarn lockfile. Open to fresh versions of this PR though!.
Thanks for the time!
Re: Dependabot, personally I've found them to be too noisy. I'm much more a fan of offering more people commit access if they've shown to care a lot. I don't know if this is something Microsoft does, but I'll ask around what we do WRT external contributors for certain repos.

@ora you can configure dependabot to create PRs not immediately, but after some time or major version, but personally it’s nice and secure to have deps up to date


Validate if imcp redirects are working

pinging the pod cider of another nodes yields this:
kubernikus-m34-medium-kgn51 ~ # ping <IP_ADDRESS>
PING <IP_ADDRESS> (<IP_ADDRESS>) 56(84) bytes of data.
From <IP_ADDRESS>: icmp_seq=1 Redirect Host(New nexthop: <IP_ADDRESS>)
64 bytes from <IP_ADDRESS>: icmp_seq=1 ttl=64 time=1.47 ms
From <IP_ADDRESS>: icmp_seq=2 Redirect Host(New nexthop: <IP_ADDRESS>)
64 bytes from <IP_ADDRESS>: icmp_seq=2 ttl=64 time=1.07 ms
From <IP_ADDRESS>: icmp_seq=3 Redirect Host(New nexthop: <IP_ADDRESS>)
64 bytes from <IP_ADDRESS>: icmp_seq=3 ttl=64 time=1.15 ms
...

So the router sends icmp redirects.
I would expect that these redirects stop as the ping packets gets routed to the next hop directly but they don't. So it looks to me like redirects are not accepted by the node executing the ping.
Redirects are enabled and should be working:
kubernikus-m34-medium-kgn51 ~ # cat /proc/sys/net/ipv4/conf/ens32/accept_redirects
1
kubernikus-m34-medium-kgn51 ~ # cat /proc/sys/net/ipv4/conf/ens32/secure_redirects
1

I even tried disabling secure_redirects which didn't change anything.
I would like to have redirects working to avoid sending in-cluster communication through the router unnecessary. We should validate if it is working or make it so otherwise.

@SchwarzM Do we have sysctl -w net.ipv4.conf.all.accept_redirects=1 in the ignition template by now?

no not yet because i am unsure how to package that right if we want to update it at some point later we might need to use a daemonset or something more tangible then a systemd unit file


feat: Add Session Sections

Fixes #1646
Changes: Added Session Sections along with micro-location and session-type
Screenshots for the change:

@iamareebjamal need some suggestion for the layout horizontal recyclerview or vertical recyclerview for the list of session

Good job but this is a major addition. It will take some time for me to get back on it

Shouldn't be there different fragment for sessions info . All info in event Details frag is too much info.
Just have session option -> clicked -> session fragment. More concentrated on sessions.
I agree it's major work .

@theLimitBreaker I'm thinking of redesigning the entire event detail fragment after this PR is merged with Tab Layout and also there will be seperate detailed fragment for the session along with track details and speaker associated with the session and any other data in relationship with session

Tab layout is great. But if you first merge this PR. It would make the EventDetailsFragment excessive  information in fragment.
Also if you make fragment right away now. You could use it in tab layout when you redesign
Benefit

Even after this PR merged UX would be good, and no excessive information
When you redesign , use these fragments again

@theLimitBreaker I'm thinking of redesigning the entire event detail fragment after this PR is merged with Tab Layout and also there will be seperate detailed fragment for the session along with track details and speaker associated with the session and any other data in relationship with session

Can I work on adding separate sessions fragment if you don't mind?

@angmas1 I've already done that work just waiting for this PR to be merged first

@iamareebjamal any update for this ?

@iamareebjamal @nikit19 resolved conflicts

@nikit19 anything left?

@aggarwalpulkit596 looks good to me.
Let @iamareebjamal review, will merge after that

Hide the calendar icons if there is no info

@iamareebjamal actually I wanted to ask that how to get the time according to current time zone

@iamareebjamal updated


Feat/swiper cell

🤔 这个 PR 的性质是？

[ ] 日常 bug 修复
[x] 新特性提交
[ ] 文档改进
[ ] 演示代码改进
[ ] 组件样式/交互改进
[ ] CI/CD 改进
[ ] 重构
[ ] 代码风格优化
[ ] 测试用例
[ ] 分支合并
[ ] 其他

🔗 相关 Issue

https://github.com/TDesignOteam/tdesign-flutter/issues/106
💡 需求背景和解决方案

📝 更新日志

fix(组件名称): 处理问题或特性描述 ...

[ ] 本条 PR 不需要纳入 Changelog

☑ 请求合并前的自查清单
⚠ 请自检并全部勾选全部选项。⚠

[ ] 文档已补充或无须补充
[ ] 代码演示已提供或无须提供
[ ] Changelog 已提供或无须提供

 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.


How to use this repo with docker-compose ?

Hi,
Sorry this it not really an issue.
I'm currently still using the official (dead) commento with the official docker-compose.yml
Is there a chance I could just replace "registry.gitlab.com/commento/commento:SET_VERSION" to an URL to this repo to make it works ?
Thanks

Hey,
No problem! You can use this repo with docker-compose but you just need to replace that line with build: . :) Have updated the repo for you, remember to add in the rest of the environment variables!

Hey,
No problem! You can use this repo with docker-compose but you just need to replace that line with build: . :) Have updated the repo for you, remember to add in the rest of the environment variables!

Thanks, that was a really fast answer.
Everything works just fine.
Good work and thanks for keep this project alive

Thanks, that was a really fast answer.
Everything works just fine.
Good work and thanks for keep this project alive


Hide tasks (by default) until its start date(time) has passed

Tasks with a start date should be hidden until then. A new option like --ignore-start or something would be nice to be able to continue showing them if needed.

I think you need --startable. From todo list --help:
  --startable               Show only todos which should can be started today
                            (i.e.: start time is not in the future).

Thanks. Is there a way to bind this as a default flag for the arg-less todo command?

You should be able to by adding this to your config file:
default_command = list --startable

However, I noticed a breakage there, and that won't break on the current release. I'll try to address this during this week.

Ah, thanks. Looking at the repo, I see confspec.in, but no mention of that in the docs anywhere which is why I guess I didn't notice that it was an available configuration knob.

Breakage has been fixed, but this is still no clearly documented.


Expectations chapter needs research staff section fleshed out

The research staff section of the expectations chapter needs adding to.
Ashleigh, can you help?

Added some content - is this enough?
I'm wondering if there should be a separate section for Lab Manager. Not sure if future research staff you bring in will also fill the lab manager role?

Thanks. I like these. I think I will change further to make a bit more generic and refer to specific duties and responsibilities are outlined in the position descriptions. These positions are a little different from say students where language in the university RAship contracts are more fuzzy.


PREST: Transform the output

Hi
I would like to transform my output from the prest API url, like below.
My API: http://localhost:3000/my_database/my_schema/my_view
Generated output:
{
    "my_column_table_field":[
        123,
        [
            "abc",
            "def"
        ]
    ]
}

Desired Output: (Here I want the output to be transformed to remove the column field "my_column_table_field" of the view from the result.)
[
    123,
    [
        "abc",
        "def"
    ]

]

Is there a way to achieve this in prest?

@alan-francis I like the proposal,
We can have a configuration in TOML to call a template file (go template) to use as ETL.
Can you implement it?

@alan-francis @avelino seems it's somehow related to #520 no?

@alan-francis @avelino seems it's somehow related to #520 no?

@fabriziomello yep


Can't create an ENUM column

System information:

Windows 10
DBeaver 7.3.2
Java v8 update 191

Connection specification:

MySQL Ver 14.14 Distrib 5.5.62, for Win64 (AMD64)
MySQL?
Nope, localhost

Describe the problem you're observing:
I try to create a new table, I want a column that's an enum. Can't alter the values when I create the column. When I hit save it tries to create the enum with null, get an error that says null isn't valid. Afterwards the table is non-interactable, when I got the error I couldn't even delete it because DBeaver probably didn't realize that the table actually didn't get created in the DB, now when trying to reproduce at least it allows me to remove it.
Steps to reproduce, if exist:
Right click tables, create table, right click in the tables proprties tab & select create new column, set data type as enum, hit OK, hit save, SQL preview is:
CREATE TABLE are.NewTable ( 	Column1 ENUM NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
Hit persist, get back:
 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci' at line 2

It would also be nice for a better way to edit enums in the property tab. The small input field overflows easily & a wrong move & it clears all your work in what seems like an effort to filter among the different data types.

It would also be nice for a better way to edit enums in the property tab. The small input field overflows easily & a wrong move & it clears all your work in what seems like an effort to filter among the different data types.

UI doesn't offer an option to assign ENAM values when you create such column, and the error appears.
Please create it via SQL Editor to avoid the error https://dev.mysql.com/doc/refman/8.0/en/enum.html

UI doesn't offer an option to assign ENAM values when you create such column, and the error appears.
Please create it via SQL Editor to avoid the error https://dev.mysql.com/doc/refman/8.0/en/enum.html

I have what I think is the same issue with postgresql
CREATE TYPE public.notification_types AS ENUM ('new_user_account_registration');

CREATE TABLE public.notifications (
  notifcation_type notifcation_types NULL
);

SQL Error [42704]: ERROR: type "notifcation_types" does not exist
``


more fixes in Russian localization.

more dots and capital letters. thx @toby3d .
@akien-mga please .pot file requires updating, because the new line "Reload scripts" has been added.

@DimOkGamer I've squashed the two commits together as the second one was somewhat poorly named ;) So it means your branch will have diverged with upstream now, make sure to use a new branch or reset the current one for the next PR :)


⚠ Minecraft has degraded performance

In db66ecb, Minecraft (https://www.minecraft.net) experienced degraded performance:

HTTP code: 200
Response time: 1381 ms

Resolved: Minecraft performance has improved in bcee5b9.


docs: Minor changes to logging

Some minor changes

Thank you for your contribution and for using Prowler @Fennerr !
For the next time, please remember to use the PR template without removing paragraphs.


Stellae does not update the Wallpaper

Stellae worked fine since the update with the resolution filter. After that, doesn't matter what I do, it does not update anything.
Maybe it's something wrong with the Subreddit I wrote. But even a reset of the Subreddit List, or even restore RootFS nothing helped.
Tweak/Theme:
Stellae
Version:
1.2
Device:
iPhone X
iOS Version:
12.1

I downgraded to Tweak Version 1.1, now everything works.


new endpoints receive no traffic when min_weight_percent is 1

Description:
Whether in or beyond the slow start window, the new endpoints never receive traffic when min_weight_percent is 1.
(there are 130 Pods in the upstream service and then scale out 2 new Pods.)
Repro steps:

install the latest contour 1.25.2 which is using envoy image tag 1.26.4-debian-11-r20
Configure HTTPProxy with slowStartPolicy.minWeightPercent=1

  routes:
    - services:
        - name: test
          port: 80
          slowStartPolicy:
            window: 3m
            minWeightPercent: 1
      loadBalancerPolicy:
        strategy: WeightedLeastRequest

the generated envoy cluster config will be
      "lb_policy": "LEAST_REQUEST",
      "least_request_lb_config": {
        "slow_start_config": {
          "slow_start_window": "180s",
          "aggression": {
            "default_value": 1,
            "runtime_key": "contour.slowstart.aggression"
          },
          "min_weight_percent": {
            "value": 1
          }
        }
      },

let target upstream service scale out replicas (I'm using Nginx as target upstream services with 130Pods)
run fortio with 100qps to access envoy service
find the access logs in both old and new target Pods
also check the envoy access logs
no any traffic in new target Pods and envoy only route to old Pods
continue to run fortio after the slow start window but still no traffic

cc: @yanavlasov @adisuissa

I just tried to run fortio with 1000qps and the envoy slow start mode can work (there are 130 Pods in the upstream service and then scale out 2 new Pods.). I'm worrying about this limitation. Since we want to scale out the deployment when qps is small and also want to use the slow start mode to warm up our java service.
Is the slow start mode still planned to improve?

This is a limitation of EDF scheduler, with minWeightPercent: 1 and sufficiently enough endpoints in the cluster to balance over, endpoints in slow start will have too large deadline to be picked by EDF scheduler. And hosts weights are only recomputed on host pick in EDF scheduler. If increasing minWeightPercent does not work for your scenario, you could try using another type of scheduler. Am not up to date which other schedulers are available, there is a possibility you will need to implement one. cc @tonya11en

Some more context: https://github.com/envoyproxy/envoy/issues/19526

What's the rationale behind setting minWeightPercent to 1?

What's the rationale behind setting minWeightPercent to 1?

We wants fewer qps to warm up JAVA JIT to prevent request timeout. Especially in the peak time, some new Pods are scaled out  by HPA and require smaller minWeightPercent than 1%, like 0.1% or even 0.001%.
Also the minWeightPercent won't be changed once it's set. This means that we hope it can work whether in the peak time or not.
Here in my testing env, I just set minWeightPercent = 1 to simulate the off-peak time and test if it can work in the low qps scenario.

This is a limitation of EDF scheduler, with minWeightPercent: 1 and sufficiently enough endpoints in the cluster to balance over, endpoints in slow start will have too large deadline to be picked by EDF scheduler. And hosts weights are only recomputed on host pick in EDF scheduler. If increasing minWeightPercent does not work for your scenario, you could try using another type of scheduler. Am not up to date which other schedulers are available, there is a possibility you will need to implement one. cc @tonya11en

So minWeightPercent is impacted by endpoints number and qps, right？Then we cannot assign it with a fixed value and must change it as endpoints number and qps changes.

The minWeightPercent is essentially just the starting point for the slow-start adjusted weight. It doesn't have anything to do with the number of endpoints or QPS. If you set it too low, you'll basically starve out the nodes that are slow-starting and they will never get a chance to ramp up traffic.
What's wrong with the default value of 10%? I would recommend starting there and only lowering it if the nodes receive too much traffic at startup.
As @nezdolik pointed out earlier, there is more context on what you're running into in https://github.com/envoyproxy/envoy/issues/19526.

I just tried to run fortio with 1000qps and the envoy slow start mode can work (there are 130 Pods in the upstream service and then scale out 2 new Pods.). I'm worrying about this limitation. Since we want to scale out the deployment when qps is small and also want to use the slow start mode to warm up our java service.
Is the slow start mode still planned to improve?

I wouldn't really call this a limitation of slow start mode. If you're sending 130 QPS to 130 nodes, that's 1 QPS per node. If you try to scale down the original weight to 1% or .0001% as you mentioned above, it will be several minutes before the slow-starting node would receive a single request.
Weighted least request load balancing should scale back traffic to the nodes that are running slower because the JIT compiler hasn't warmed up. I'd wager that would be sufficient in conjunction with the default 10% starting point for slow start. There are ways to circumvent the EDF scheduler limitations by using a different scheduling discipline for weighted round robin scheduling, but that is a lot of work for something we'd likely solve with a configuration change. That being said, I'm happy to chat with you about what the PR would look like and review anything you send over.


crash: thread 'main' panicked at 'Failed to setup up sled store for Matrix SDK: ...'

Sometimes when starting iamb, I get the following error (here it is with backtrace env var set):
thread 'main' panicked at 'Failed to setup up sled store for Matrix SDK: State(Backend(StoreError(Backend(Io(Custom { kind: Other, error: "could not acquire lock on \"/home/(my username)/.config/iamb/profiles/(profile name)/matrix/matrix-sdk-state/db\": Os { code: 11, kind: WouldBlock, message: \"Resource temporarily unavailable\" }" })))))', /home/(my username)/.cargo/registry/src/github.com-1ecc6299db9ec823/iamb-0.0.7/src/worker.rs:562:14
stack backtrace:
   0: rust_begin_unwind
             at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library/std/src/panicking.rs:575:5
   1: core::panicking::panic_fmt
             at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library/core/src/panicking.rs:65:14
   2: core::result::unwrap_failed
             at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library/core/src/result.rs:1791:5
   3: iamb::run::{{closure}}
   4: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
   5: iamb::main
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

iamb will keep crashing with this error for a while, then suddenly it will open properly.
Often iamb will freeze during use, and when I close/reopen my terminal and try to start it again, this problem will happen.

Oh, I'm pretty sure this is due to a crashed iamb process not fully exiting/releasing a lock before I try to start a new one. The underlying problem is whatever causes iamb to freeze/crash; this is collateral that I can fix with a quick killall iamb.


Add file-check utility to ensure number of files in destination matches the source Takeout directory

Right now, there is no easy way to verify all the tracks have been successfully sorted into their respective directories. My proposed solution is to count the number of tracks in each subdirectory of dest, where dest is the destination directory root.
Some potential issues, though:

Symbolic links should not be counted, as they are considered duplicate data/shortcuts.
Tracks that don't have an album but have an artist should be counted in a way that ignores symbolic links.
I don't remember if this is accurate, but I recall some files in the Takeout archive were duplicate tracks. I will have to keep track of how many duplicates were encountered.

It appears that track.replace(dest) may not catch duplicates. According to the Python docs:

On Unix, if target exists and is a file, it will be replaced silently if the user has permission.

This is somewhat problematic, as tracks with duplicate metadata may be doubly counted when checking the number of processed files.


get_ Keypoints？

Hello, I have a very confused question about your jhmdb.py's handling of JHMDB dataset tags. The experiment is very urgent. I hope to get your reply. In jhmdb.py, you define a function: get_ Keypoints (self, idx, im_w, im_h, orig_boxes), return kpts_ Boxes, which is the largest bboxes of the original real bbox iou, right? But I see your code boxes=BoxList (boxs_sensor, (im_w, im_h), mode="xywh"). convert ("xyxy"), while orig_ Boxes=boxes. bbox,Description orig_ Boxes was originally in the xywh format and needs to be converted to the xyxy format, but in get_ During keypoints processing, idx_ to_ Keep=np.argmax (iou (orig_boxes, boxes), 1), you directly calculated the iou value and returned the index. Boxes has not been converted to xyxy. I know it is my understanding problem, but I don't know what went wrong. Can you tell me?

Because the boxes retrieved by detectron are already in xyxy format
On Sun, Feb 19, 2023, 01:02 yan-ctrl @.***> wrote:

Hello, I have a very confused question about your jhmdb.py's handling of
JHMDB dataset tags. The experiment is very urgent. I hope to get your
reply. In jhmdb.py, you define a function: get_ Keypoints (self, idx, im_w,
im_h, orig_boxes), return kpts_ Boxes, which is the largest bboxes of the
original real bbox iou, right? But I see your code boxes=BoxList
(boxs_sensor, (im_w, im_h), mode="xywh"). convert ("xyxy"), while orig_
Boxes=boxes. bbox,Description orig_ Boxes was originally in the xywh format
and needs to be converted to the xyxy format, but in get_ During keypoints
processing, idx_ to_ Keep=np.argmax (iou (orig_boxes, boxes), 1), you
directly calculated the iou value and returned the index. Boxes has not
been converted to xyxy. I know it is my understanding problem, but I don't
know what went wrong. Can you tell me?
—
Reply to this email directly, view it on GitHub
https://github.com/joslefaure/HIT/issues/14, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALOMSBCRK674QLVCSAWZTF3WYD6BHANCNFSM6AAAAAAVAOLC7Q
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Thank you for your positive reply, but I still have questions, in https://github.com/joslefaure/HIT/blob/master/hit/dataset/datasets/jhmdb.py Of the 170 to 181 lines, 177 lines, your code is boxes=BoxList (boxs_sensor, (im_w, im_h), mode="xywh"). convert ("xyxy"), and then to 193 lines orig_ Boxes=boxes. bbox, here is the converted form. Convert xywh to xyxy, and I compared jhmdb_ train_ gt_ Min.json and jhmdb_ train_ person_ bbox_ The value of "bbox" in the same "image_id" in the two kpts.json files is similar. Should the GT value also be in the form of xyxy，No conversion?

Fixed in the last commit.
It's nice that you have opened a new issue for this question. It's difficult to track the issues when the questions asked are unrelated to the original issue title

ok, thank you.


Add grace period to missing deployment template

Pull Request Test Coverage Report for Build 517075197

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 70.797%

Totals

Change from base Build 517072172:
0.0%

Covered Lines:
1137

Relevant Lines:
1606

💛  - Coveralls

Pull Request Test Coverage Report for Build 517075197

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 70.797%

Totals

Change from base Build 517072172:
0.0%

Covered Lines:
1137

Relevant Lines:
1606

💛  - Coveralls


Add VSSDK005 "Use JoinableTaskContext singleton"

Closes #28

Codecov Report

Merging #60 into master will increase coverage by 0.43%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #60      +/-   ##
==========================================
+ Coverage   94.44%   94.88%   +0.43%
==========================================
  Files           9       10       +1
  Lines         432      469      +37
==========================================
+ Hits          408      445      +37
  Misses         24       24

Impacted Files
Coverage Δ

src/Microsoft.VisualStudio.SDK.Analyzers/Types.cs
93.93% <100%> (+0.6%)
:arrow_up:

...Microsoft.VisualStudio.SDK.Analyzers/Namespaces.cs
100% <100%> (ø)
:arrow_up:

...VSSDK005UseJoinableTaskContextSingletonAnalyzer.cs
100% <100%> (ø)

Continue to review full report at Codecov.

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

While analyzer is good, I wonder if it would also make sense to add methods to Threading library so that product (VS for example) can lock down creation of JoinableTaskContext instance once it sets up its own instances. That way it would be guarded for extensions that don't use analyzers etc

@BertanAygun Feel free to file an issue over on vs-threading to track your suggestion about runtime enforcement. I'm leaning against that, at the moment.


WebOptimizer package from LigerShark

The LigerShark's WebOptimizer middleware package may be a better "asp.net core-friendly" solution ?

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

ID: 36f55e9a-cd3f-83a0-f142-969dc10d3ceb
Version Independent ID: f6845f70-1ac6-2036-f213-a3b665b3d8bf
Content: Bundle and minify static assets in ASP.NET Core
Content Source: aspnetcore/client-side/bundling-and-minification.md
Product: aspnet-core
Technology: aspnetcore-clientside
GitHub Login: @scottaddie
Microsoft Alias: scaddie

Any runtime alternative to WebOptimizer in .NET 6?

Yes, Rick ... it doesn't look good ... weakly supported at best and probably broken for .NET 6 or later ...

Dot Net 6: Bundle/minify not working ligershark/WebOptimizer#239
[Bug] Does not work with .NET 6 ligershark/WebOptimizer#232

For visibility, I'll add the one at ...
https://github.com/ligershark/WebOptimizer/issues/210#issuecomment-1029860096
... as it might be a valid workaround for the time being.

This is sh$te, wasted lots of time, you removed working bundling lib from .Net Core and reference sth that doesn't work.


When I use CSS Modules in Webpack, reactstrap stops working.

Hi! I'm importing bootstrap from sass, and not from the index.js (the bootstrap.min.css) file like indicated in the documentation. The project uses postcss and css modules, but when I use configure webpack to use css modules, reactstrap stopped working.
It would be great if I could import Bootstrap from sass and use reactstrap at the same time.
This is how I load css and sass from webpack config:
            test: /\.css$/,
            use: ExtractTextPlugin.extract({
              fallback: 'style-loader',
              use: [
                {
                  loader: 'css-loader',
                  // options: {
                  //   modules: true,
                  //   localIdentName: '[name]__[local]___[hash:base64:5]'
                  // }
                },
                'postcss-loader',
              ],
            }),
          },
          {
            test: /(\.scss$|\.sass$)/,
            use: ExtractTextPlugin.extract({
              fallback: 'style-loader',
              use: [
                {
                  loader: 'css-loader',
                  options: {
                    modules: true,
                    sourceMap: true,
                    importLoaders: 2,
                    localIdentName: '[name]__[local]___[hash:base64:5]',
                  },
                },
                {
                  loader: 'sass-loader?minimize',
                  options: {
                    data: '@import "src/assets/scss/_custom.scss";',
                  },
                },
                'postcss-loader',
              ],
            }),
          },

You can import Bootstrap sass in custom sass while using reactstrap.
Try to move postcss-loader to the front of sass-loader in your webpack config.
{ test: /\.scss$/,  loaders: ['loaderOne', 'loaderTwo', 'loaderThree'] }
will execute as loaderOne(loaderTwo(loaderThree(style.scss)))


I am planning to translate the UI strings (in SmartRenameUI\SmartRenameUI.rc) into Russian for personal use.

I am planning to translate the UI strings (in SmartRenameUI\SmartRenameUI.rc) into Russian for personal use.
Relatedly, wanted to know if the localization support is planned — it would be great to have an easily localizable list of strings for other people to contribute translations.

Originally posted by @yochliu8 in https://github.com/chrdavis/SmartRename/issues/4#issuecomment-703340636

I don't have any plans on localization.  I wish I had more time to do so.


No Followers Are Returned

When getting a user via Profiles.ByName() and then trying to get followers using Followers(); no followers are shown up, without any errors.

Hi @dc0d.

Is selected profile private ?
Did you get any errors in Profiles.ByName().

        user, err := insta.Profiles.ByName("USERNAME")
        if err != nil {
              log.Println(err)
              return
        }
	followers := user.Followers()
	for followers.Next() {
                  // Do something here.
	}

It's work for me. If not please show us your code.

Perhaps I am doing something wrong - I am careful with limits and doing proper time spacing.
And it's the same code. I close this for now since I can not pinpoint the cause of this.


[ISSUE #8720] Support disable netty server worker group by config

Which Issue(s) This PR Fixes

Fixes #8720
Brief Description

How Did You Test This Change?

Codecov Report
Attention: Patch coverage is 33.33333% with 4 lines in your changes missing coverage. Please review.

Project coverage is 47.44%. Comparing base (0d6c94b) to head (19a0bce).

Files with missing lines
Patch %
Lines

...e/rocketmq/remoting/netty/NettyRemotingServer.java
0.00%
0 Missing and 2 partials :warning:

...che/rocketmq/remoting/netty/NettyServerConfig.java
50.00%
2 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             develop    #8721   +/-   ##
==========================================
  Coverage      47.43%   47.44%
  Complexity     11535    11535
==========================================
  Files           1279     1279
  Lines          89558    89562    +4
  Branches       11514    11516    +2
==========================================
+ Hits           42484    42493    +9
+ Misses         41839    41835    -4
+ Partials        5235     5234    -1

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


SQL Commands not detected in a python (.py) file

import xml.etree.ElementTree as ET
import sqlite3

conn = sqlite3.connect('trackdb.sqlite')
cur = conn.cursor()

# Make some fresh tables using executescript()
cur.executescript('''
DROP TABLE IF EXISTS Artist;
DROP TABLE IF EXISTS Album;
DROP TABLE IF EXISTS Track;

CREATE TABLE Artist (
    id  INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT UNIQUE,
    name    TEXT UNIQUE
);

CREATE TABLE Album (
    id  INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT UNIQUE,
    artist_id  INTEGER,
    title   TEXT UNIQUE
);

CREATE TABLE Track (
    id  INTEGER NOT NULL PRIMARY KEY
        AUTOINCREMENT UNIQUE,
    title TEXT  UNIQUE,
    album_id  INTEGER,
    len INTEGER, rating INTEGER, count INTEGER
);
''')

fname = input('Enter file name: ')
if ( len(fname) < 1 ) : fname = 'Library.xml'

# <key>Track ID</key><integer>369</integer>
# <key>Name</key><string>Another One Bites The Dust</string>
# <key>Artist</key><string>Queen</string>
def lookup(d, key):
    found = False
    for child in d:
        if found : return child.text
        if child.tag == 'key' and child.text == key :
            found = True
    return None

stuff = ET.parse(fname)
all = stuff.findall('dict/dict/dict')
print('Dict count:', len(all))
for entry in all:
    if ( lookup(entry, 'Track ID') is None ) : continue

    name = lookup(entry, 'Name')
    artist = lookup(entry, 'Artist')
    album = lookup(entry, 'Album')
    count = lookup(entry, 'Play Count')
    rating = lookup(entry, 'Rating')
    length = lookup(entry, 'Total Time')

    if name is None or artist is None or album is None :
        continue

    print(name, artist, album, count, rating, length)

    cur.execute('''INSERT OR IGNORE INTO Artist (name)
        VALUES ( ? )''', ( artist, ) )
    cur.execute('SELECT id FROM Artist WHERE name = ? ', (artist, ))
    artist_id = cur.fetchone()[0]

    cur.execute('''INSERT OR IGNORE INTO Album (title, artist_id)
        VALUES ( ?, ? )''', ( album, artist_id ) )
    cur.execute('SELECT id FROM Album WHERE title = ? ', (album, ))
    album_id = cur.fetchone()[0]

    cur.execute('''INSERT OR REPLACE INTO Track
        (title, album_id, len, rating, count)
        VALUES ( ?, ?, ?, ?, ? )''',
        ( name, album_id, length, rating, count ) )

    conn.commit()

I was trying to edit the above code in a .py file. The SQL Commands in triple quotes were not detected by VS Code although I have installed the mssql extension

Please open this issue on the extension's repo. Thanks!
/causedByExtension


An image can be used twice by a VM, but this breaks the used/ready logic

Author Name: Carlos Martín (Carlos Martín)
Original Redmine Issue: 3888, https://dev.opennebula.org/issues/3888
Original Date: 2015-07-24

If an image is used twice by the same VM, the image still has RUNNING_VMS = 1, because the list of VM IDs is a set.
If one of the disks is detached, the image now has 0 running VMs, and its state is set to ready.

Original Redmine Comment
Author Name: EOLE Team (EOLE Team)
Original Date: 2016-07-22T14:36:27Z

I confirmed on 5.0.2

Only 7 years to solve this simple issue, we are like a flash :-/
PRs to merge:

src
tests
docs


is viro migrated to AndroidX

Hi,
My project is migrated to Androidx, after that I cannot run the app, it fires error related to Viro lib
Supertypes of the following classes cannot be resolved. Please make sure you have the required dependencies in the classpath:
class com.viro.core.ViroView, unresolved supertypes: android.app.Application.ActivityLifecycleCallbacks
i am using virocore-release-v_1_17_0.aar sdk-common-1.180.0.aar  core-1.10.0.aar
please help. Do you support AndroidX project?

Hi @phathv try to add these lines in your gradle.properties file and rebuild your project.
android.enableJetifier=true
android.useAndroidX=true

Hi @phathv try to add these lines in your gradle.properties file and rebuild your project.
android.enableJetifier=true
android.useAndroidX=true

Thanks @iTruff, I already added them in the file, but it still fires the error. I guess the Virocore has not supported for AndroidX projects. Anyone has experience on this, please help! thanks

Hi @phathv, you are right ViroCore uses old dependency:
implementation 'com.android.support:appcompat-v7:28.0.0'
but that's why we should include:
android.enableJetifier=true android.useAndroidX=true
to make it work. From Jetifier docs:
A standalone tool that migrates a library's dependencies on the deprecated support library to equivalent AndroidX dependencies.
Also I'm developing AndroidX project with ViroCore right now and everything works fine. I'm using:
ARCore version - core-1.10.0.aar
ViroCore version - virocore-release-v_1_17_0.aar
You can grab these dependencies from sample project, also you can try to migrate sample project to AndroidX and it should work too. Don't forget to include:
androidx.appcompat:appcompat:1.2.0
as a replacement for old support appcompat dependency in ViroCore SDK.

Hi @iTruff  thanks for your guide.
I already did the exact thing you said. Does your project contain kotlin code? Yes, the sample works with java code. My real project contains both java and kotlin, maybe that (kotlin compiler...) fires the problem :(

Hi @phathv I'm also using Kotlin in my project. Maybe you will be able to share your project then I will try to reproduce your issue and help.

thanks @iTruff   Really appreciate
unfortunately, my project is confidential, i cannot public it. Can you send me the sample project that contains both java and kotlin files (that including kotlin compiler, gradle version...) please? I will compare the config to learn an important thing from that. Thanks a lot!

Hi @phathv You can try this project, it's just sample migrated to Kotlin. Just update ARCore and ViroCore dependencies and try to build it. If you will have problems even there I'll build small test project with ViroCore and Kotlin and send you via email.

Thanks so much @iTruff   i will try it

Hi @iTruff  can you please send me a test AndroidX project with virocore and kotlin? Thanks in advance

Hi @phathv I was very busy last few weeks. Do you still need my help?

Hi @iTruff  yes, I need your help, please!

Hi @phathv I've sent project to<EMAIL_ADDRESS>

thanks very much @iTruff  i will check it soon.

I @iTruff I'm also interested in this sample project, could you send me please at<EMAIL_ADDRESS>

@inveders Done.

What's about to have an active maintainer here, then we could convert this repo to Android-X


Improve react perf with memoized extractors

Change List

Export memoize from core
Avoid re-extracting JSX components if props are not changed

Coverage decreased (-0.007%) to 62.099% when pulling 8df5ebded6ab290a5403e90eabe01329759c3f2d on x/react-memoize into bd12236f05091ae2a1e4f2fab530ca33b15780df on master.

Did you test, how much perf could be improved with this memorize?

how much perf could be improved with this memorize

I can confirm that extractJSXLayers is no longer called every render. The perf improvements will depend on how many children <DeckGL> contains.


Update RDS to handle a list of service hostnames while aggregating routes per host basis

While building aggregated routes, RDS expects the hostnames returned by the call to MeshCatalog to be a string, with multiple hostnames being comma separated. This is hack and should be fixed to ensure a list of strings can be returned by the catalog instead of a comma separated hostnames in a string.
Scope (please mark with X where applicable)

[ ] New Functionality
[ ] Install
[ ] SMI Traffic Access Policy
[ ] SMI Traffic Specs Policy
[ ] SMI Traffic Split Policy
[ ] Permissive Traffic Policy
[ ] Ingress
[ ] Egress
[X] Envoy Control Plane
[ ] CLI Tool
[ ] Metrics
[ ] Certificate Management
[ ] Sidecar Injection
[ ] Logging
[ ] Debugging
[ ] Tests
[ ] CI System

Is there a reason we cannot get a list of domains and then call aggregateRoutesByHostName once per domain in the list?

Is there a reason we cannot get a list of domains and then call aggregateRoutesByHostName once per domain in the list?

It should be doable, don't know if the code handles it but it seemed like the code was written with the assumption that there will just be one hostname. Feel free to refactor as appropriate.

Is there a reason we cannot get a list of domains and then call aggregateRoutesByHostName once per domain in the list?

It should be doable, don't know if the code handles it but it seemed like the code was written with the assumption that there will just be one hostname. Feel free to refactor as appropriate.

@snehachhabria do you know offhand if anything is blocking this? I remember trying to do this and being told it wouldn't work. Otherwise, I can try it


Touch Bar add submenu/title/emoji picker support

Touch Bar add submenu/title/emoji picker support
Can now specify submenus. E.g. TouchBar.Debugger.Run. When trying to create a submenu it will first create a popover item and then only create the NSButton at the leaf.

Unfortunatley macOS currently can't do multiple levels of submenus (the API will allow it, but it doesn't really work), presumably for usability concerns. Limit it to only one level of nesting for now.

Add ability to set a title on a Touch Bar button, using tmenu. This allows us to override the displayed button name, and when an icon is specified the override name will still be shown alongside the icon.
Add emoji picker support, and add it to the list of default Touch Bar menus. Only enable it in modes where the user is typing (insert, command, terminal, etc).
Fixed up the internal implementation of Touch Bar management so it's easier to add metadata to it now.
Also, add documentation.
TODO:

Using tmenu after amenu doesn't really work (unless it's specified in vimrc). This is because MacVim hasn't implemented gui_mch_menu_set_tip. Should fix it by adding support for it. For now, the user can just call tmenu before amenu.
Disabling menus currently just hides the menu. Since the user can already do aunmenu to hide, should change the disable behavior to show the button but disabled instead, similar to how toolbars and normal menus work.

Just some examples what it looks like.
Here's some example configs in a vimrc:
an                                          TouchBar.-flexspace1- <Nop>
amenu icon=NSTouchBarSkipToStartTemplate    TouchBar.GoFirst :cfirst<CR>
tmenu TouchBar.GoFirst First
amenu icon=NSTouchBarGoBackTemplate         TouchBar.GoPrev :cprev<CR>
amenu icon=NSTouchBarGoForwardTemplate      TouchBar.GoNext :cnext<CR>
amenu icon=NSTouchBarSkipToEndTemplate      TouchBar.GoLast :clast<CR>
tmenu TouchBar.GoLast Last
amenu TouchBar.Debug›.▶Run <Nop>
amenu TouchBar.Debug›.🛑Stop <Nop>

It looks like this (note that GoFirst and GoLast have both icons and text):

Tapping into Debug› will expose the submenus:

When in Insert mode, the character emoji picker shows up:

And you can select emoji to enter:

Any way to add custom icons?

Yup. @DesantBucie, see :help macvim-touchbar-icon:

You can specify icons for Touch Bar buttons the same way for toolbar icons. Touch Bar icons should ideally be 36x36 pixels, and no larger than 44x44 pixels.

Also, see :help macvim-toolbar:

Toolbar icons should be tiff, png, icns, or heic, of dimension 32x32 or 24x24 pixels.

What the above means is you just use the builtin Vim functionality to do something like:
 anoremenu icon=/my/path/to/icon.png TouchBar.DoSomething :echo 'Hello!'<CR>

Currently you can't specify an image as a "template image" (see https://developer.apple.com/design/human-interface-guidelines/macos/touch-bar/touch-bar-icons-and-images/). If you want that feature, feel free to file another issue on it.

Thank you very much.


Why isn't jsonpatch applied?

This patch looks to me like it's correct and it's showing up on my Kustomization but it is not being applied to the helmrelease and when I look at the kustomize controller it says the helmrelease is unchanged
{"level":"info","ts":"2024-01-09T23:06:04.777Z","msg":"server-side apply completed","controller":"kustomization","controllerGroup":"kustomize.toolkit.fluxcd.io","controllerKind":"Kustomization","Kustomization":{"name":"kafka","namespace":"strimzi"},"namespace":"strimzi","name":"kafka","reconcileID":"d51f6125-1777-4385-ba01-28fd4b2f094a","output":{"HelmRelease/strimzi/strimzi-kafka-operator":"unchanged","HelmRepository/strimzi/strimzi":"unchanged"},"revision":"main@sha1:58876872dcb5a3500eb543c019da60b838ea6224"}

This is pretty hard to troubleshoot with no error message.
---
apiVersion: kustomize.toolkit.fluxcd.io/v1beta1
kind: Kustomization
metadata:
  name: kafka
  namespace: strimzi
spec:
  interval: 1m0s
  path: ./applications/kafka
  prune: true
  sourceRef:
    kind: GitRepository
    name: applications
    namespace: flux-system
  targetNamespace: strimzi
  validation: client
  patches:
    # TODO remove these tests
    - target:
        namespace: strimzi
        kind: HelmRelease
        name: strimzi-kafka-operator
      patch: |-
        - op: add
          path: /spec/values/test
          value: testvalue
    - target:
        namespace: strimzi
        kind: HelmRelease
        name: strimzi-kafka-operator
      patch: |-
        - op: replace
          path: /spec/interval
          value: 1m0s
---
apiVersion: v1
kind: Namespace
metadata:
  name: strimzi

➜ kubectl get helmrelease -n strimzi strimzi-kafka-operator -o yaml
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
  annotations:
    simbachain.com/chartLink: https://github.com/strimzi/strimzi-kafka-operator/tree/main/helm-charts/helm3/strimzi-kafka-operator
  creationTimestamp: "2023-12-18T15:10:24Z"
  finalizers:
  - finalizers.fluxcd.io
  generation: 1
  labels:
    kustomize.toolkit.fluxcd.io/name: kafka
    kustomize.toolkit.fluxcd.io/namespace: strimzi
  name: strimzi-kafka-operator
  namespace: strimzi
  resourceVersion: "9579344"
  uid: 4771cd17-bf99-413c-9864-fa4214d19905
spec:
  chart:
    spec:
      chart: strimzi-kafka-operator
      reconcileStrategy: ChartVersion
      sourceRef:
        kind: HelmRepository
        name: strimzi
      version: '*'
  install:
    remediation:
      retries: -1
    timeout: 25m0s
  interval: 5m0s
  timeout: 35m0s
  upgrade:
    remediation:
      retries: -1
  values:
    annotations:
      ad.datadoghq.com/strimzi-cluster-operator.checks: |
        {
          "strimzi": {
            "instances":[
              {
                "cluster_operator_endpoint": "http://%%host%%:8080/metrics"
              }
            ]
          }
        }
    dashboards:
      enable: true
    watchAnyNamespace: true
status:
  conditions:
  - lastTransitionTime: "2023-12-21T09:49:35Z"
    message: Release reconciliation succeeded
    reason: ReconciliationSucceeded
    status: "True"
    type: Ready
  - lastTransitionTime: "2023-12-21T09:49:35Z"
    message: Helm upgrade succeeded
    reason: UpgradeSucceeded
    status: "True"
    type: Released
  helmChart: strimzi/strimzi-strimzi-kafka-operator
  lastAppliedRevision: 0.39.0
  lastAttemptedRevision: 0.39.0
  lastAttemptedValuesChecksum: 755650c7b5d5aa130c2daec5cd6eb06cc3337e46
  lastReleaseRevision: 2
  observedGeneration: 1

This kustomize.toolkit.fluxcd.io/v1beta1 is very old, we offer no support for deprecated version. Can you please upgrade the Flux controllers to latest and the API to kustomize.toolkit.fluxcd.io/v1 and see if it fixes your issue.

That worked, thanks!


'Connections' tab in console doesn't show connections

Time to time when console is opened in browser for longer time without interaction (on addresses tab) then after click to "Connections" tab nothing happen. Switching between "Dashboard"<->"Addresses" seems to work fine.
After refresh the page is printed "Access denied" message and user is not able to log in.
After removing session_state string from url: "?session_state=2d55e29b-e6a8-4faf-9579-9731ee621915#/addresses" and refresh the page everything work as expected.
Manual steps to reproduce:

create standard address space via service catalog
open console via Dashboard link in provisioned Services
use Openshift credentials to login
create some addresses (in my case 3 addresses in following order (sharded queue, anycast, sharded queue)
left the screen for few minutes without interaction, then come back and try to click to "connections" tab

Reproduced on standard address space created via service catalog, using Openshift credentials.
I wasn't able to reproduce locally without/with service catalog (on standard/brokered) with keycloak-credentials. Anyway the session_state string is presented after log in using Keycloak-credentials as well.
Could be an issue with expired http session.
Will continue in attempts to reproduce it and provide reproducer.

reproduced locally with standard address space (via service catalog)

in this case all tabs weren't accessible and after refresh access denied again + attached html request
access_denied.log
after removing session_state and refresh the page:
tooltipsJson_after_remove_session_state_and_refresh.log


generate systemd: add network dependencies

Add network dependencies to generated systemd services to allow for
enabling them at system startup and have a working network if needed.
Fixes: #4130
Signed-off-by: Valentin Rothberg<EMAIL_ADDRESS>

LGTM

Note that this will allow the services to be enabled and start at system boot. networ-online.target is sufficient (at least for root). Will further investigate rootless.
@baude @giuseppe PTAL

/lgtm


Datepicker-Months and DatePicker-Years styling really messed up.

When I load the datepicker, the days viewmode works great and looks beautiful. However, if I use the months or Year viewmode, the content of the container extends way out of the container.
I would insert a picture, but I can't so below is an illustration represents what I'm talking about.  The container is there and the correct size. It's the DatePicker's content that is ignoring its parent container.
I am using this with latest BootStrap.
|-----------------------------|
|<----------2015--------->|
| Jan  Feb Mar Apr M|ay June July August Sept - Dec
[_________________|

can you provide a screenshot or even better an working example?

here is the html. I do notice that it is putting them all in the same row instead of splitting it

ok, debugging a screenshot is not possible, so i request you to give us a link to that page or a jsfiddle of tha problem

Lol, I'm an idiot. I had looked in bootstraps and bootstrap-datepicker's css and extensively debugged the bootstrap-datepicker.js file.  BUT in my wonderful local css, I had something that had
td {white-space:nowrap}
which was causing all of the problems.  Thank you hebbet for helping me try to figure it out.


net/http: setting a timeout on http requests that use TLS can result in excessive requests to server

What version of Go are you using (go version)?
go version go1.20.2 darwin/amd64
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
GOARCH="amd64"
GOOS="darwin"
What did you do?
When running a large number of concurrent requests to Amazon S3 with a request timeout set (either in the http.Client instance or a context directly set on the request), we noticed an unexpectedly large amount of long running requests. When we  removed the timeout, the number of long running requests dropped. The long running requests were not directly caused by the timeout being hit - all requests completed in under the timeout.
We created a standalone program to reproduce the problem and added logging via httptrace. In the output from httptrace we observed a large number of requests that were reported with the error context cancelled to the TLSHandshakeDone callback in our trace. These requests did not cause failed requests as reported by the http client.
Digging into the http Transport code, it appears that when a connection is not immediately available for use in the connection pool, the runtime starts a race between obtaining a connection returned to the pool and dialing a new connection. In our case, the "obtain connection returned to the pool" was generally winning the race. The behavior on the losing side of the race differed depending on whether the request used a timeout or not. On requests without a timeout, the losing leg of the connection continued through the TLS handshake, and was then placed into the pool as a valid connection. On requests with a timeout, the losing leg was aborted mid-TLS-handshake due to the cancellation of the request context as the request completed using the connection that was returned to the pool.
The net result of this behavior was that whenever a request legitimately required a new connection to be established, it was often queued up (probably at the server end) behind a large number of TLS handshakes that would be cancelled in flight. This manifested as excessive time to complete the request and noticeably lower throughput.
What did you expect to see?
Client does not produce a large volume of aborted TLS handshakes to server.
What did you see instead?
Slowness caused by excessive TLS handshakes to server
I created a gist that reproduces this at https://gist.github.com/mpoindexter/f6bc9dac16290343efba17129c49f9d5. If you uncomment the timeout on line 56 you can see the throughput of the test drop and stall periodically, but if the timeout remains commented throughput remains steady.
To test the analysis above, I implemented a custom DialTLSContext function that did the TLS dial using a new context if a deadline was set on the original context. This resolved the problem.
func ApplyFix(transport *http.Transport) {
	dialer := &tls.Dialer{
		Config: transport.TLSClientConfig,
	}

	transport.DialTLSContext = func(ctx context.Context, network, addr string) (net.Conn, error) {
		deadline, hasDeadline := ctx.Deadline()
		var dialCtx context.Context
		if hasDeadline {
			timeout := deadline.Sub(time.Now())
			if timeout > 0 {
				var cancel context.CancelFunc
				dialCtx, cancel = context.WithTimeout(context.Background(), timeout)
				defer cancel()
			} else {
				dialCtx = ctx
			}
		} else {
			dialCtx = ctx
		}

		return dialer.DialContext(dialCtx, network, addr)
	}
}

cc @neild

same question when using nginx as the server

We shouldn't be using an individual request's context to dial a connection which may be reused for many requests, to avoid problems exactly like this.
I suspect that someone is relying on passing values down to the dial via the context, however, so we likely need to decouple the request context's values from its cancelation. (Conveniently, #40221 has been implemented now, so this is feasible.)
I'm not certain what the correct cancelation behavior is. Perhaps cancel a dial once there are no requests blocked on it? There might still be some access patterns where we repeatedly cancel an in-progress dial, but this would at least avoid the scenario where we cancel a dial call that a request was hoping to make use of.

We shouldn't be using an individual request's context to dial a connection which may be reused for many requests

This would probably fix #50798 as well.

Using the ApplyFix outlined by @mpoindexter, we saw a significant drop in the number of aborted TLS handshakes and efficient utilization of those previously aborted connections that are now pooled. Red line is the deploy of that fix:

I suspect that someone is relying on passing values down to the dial via the context

The transport itself uses it for client trace (but it could be propagated from transportRequest if necessary)
https://github.com/golang/go/blob/27f41bb15391668fa8ba18561efe364bab9b8312/src/net/http/transport.go#L1629-L1639
Also means that "ApplyFix" workaround likely breaks client tracing.

Using context.WithoutCancel, it's fairly straightforward to change the transport dial to inherit the values from the request context, but not the cancelation. This seems like a decent balance between backwards compatibility (we still pass through values from the request context) and reasonable behavior (we don't cancel a dial just because a cached connection became available).
I have one question which I'm not sure on the answer to: How, if at all, should we bound the lifetime of dials? If a user creates a Transport, makes a request, and cancels the request, should the dial call continue indefinitely? Or should there be some way of cleaning up stale in-progress dials?

Maybe we can introduce an optional TLSDialTimeout to control the default timeout of TLS dialing process?


plotjuggler: 2.1.0-1 in 'melodic/distribution.yaml' [bloom]

Increasing version of package(s) in repository plotjuggler to 2.1.0-1:

upstream repository: https://github.com/facontidavide/PlotJuggler.git
release repository: https://github.com/facontidavide/plotjuggler-release.git
distro file: melodic/distribution.yaml
bloom version: 0.7.2
previous version for package: 2.0.7-0

plotjuggler
* minor change
* stylesheet fix
* Cheatsheet added
* fixing style
* improved magnifier ( issue #135)
* added zoom max
* Contributors: Davide Facont, Davide Faconti

Holding for sync: https://discourse.ros.org/t/preparing-for-melodic-sync-2019-02-06/7766

No problem, but I will withdraw it... by the end of the weekend I will probably have version 2.1.1 ;)


Token Renew failure

Describe The Bug:
When i open the URL to renew the token on the server or another computer i get the error: Proxy-Error: Error: getaddrinfo ENOTFOUND www.amazon.com

To Reproduce:

Expected behavior:

Logs:
Show the Homebridge logs here, remove any sensitive information.

Plugin Config:
{
    "bridge": {
        "name": "Homebridge E7CE",
        "username": "xxx",
        "port": 51859,
        "pin": "xxx",
        "advertiser": "avahi"
    },
    "accessories": [
        {
            "name": "Nono",
            "ip": "xxx",
            "token": "xxx",
            "serviceType": "switch",
            "waterBox": false,
            "dustBin": false,
            "dustCollection": false,
            "disableCareServices": false,
            "silent": false,
            "pause": false,
            "pauseWord": "pause",
            "findMe": false,
            "findMeWord": "where are you",
            "goTo": false,
            "goToWord": "go to coordinates",
            "goToX": 25500,
            "goToY": 25500,
            "dock": false,
            "cleanword": "cleaning",
            "roomTimeout": 0,
            "autoroom": false,
            "accessory": "XiaomiRoborockVacuum"
        }
    ],
    "platforms": [
        {
            "name": "Config",
            "port": 8581,
            "platform": "config"
        },
        {
            "name": "deCONZ",
            "platform": "deCONZ"
        },
        {
            "name": "Hue",
            "anyOn": true,
            "effects": true,
            "lights": true,
            "nativeHomeKitLights": true,
            "nativeHomeKitSensors": true,
            "resource": true,
            "sensors": true,
            "users": {
                "xxx": "xxx"
            },
            "platform": "Hue"
        },
        {
            "addresses": [

            ],
            "name": "Tapo Smart Platform",
            "email": "xxx",
            "password": "xxx",
            "platform": "HomebridgeTPLinkTapo"
        },
        {
            "name": "Alexa",
            "username": "xxx",
            "password": "xxx",
            "pin": "xxx",
            "routines": false,
            "blind": false,
            "door": false,
            "debug": false,
            "deviceListHandling": "allow",
            "platform": "Alexa"
        },
        {
            "name": "Govee",
            "username": "xxx",
            "password": "xxx",
            "switchDevices": [
                {
                    "label": "TV Bars",
                    "deviceId": "xxx"
                }
            ],
            "platform": "Govee"
        },
        {
            "refreshToken": "xxx",
            "platform": "Ring"
        },
        {
            "devices": [
                "Luft Quality Wohnzimmer"
            ],
            "excludeDevices": [],
            "auth": {
                "refreshInterval": 4,
                "proxy": {
                    "clientHost": "<IP_ADDRESS>",
                    "port": 8999
                }
            },
            "amazonDomain": "amazon.de",
            "language": "de-DE",
            "performance": {
                "cacheTTL": 300,
                "backgroundRefresh": true
            },
            "debug": false,
            "_bridge": {
                "username": "xxx",
                "port": 38876
            },
            "platform": "HomebridgeAlexaSmartHome"
        },
        {
            "name": "Tuya",
            "options": {
                "projectType": "2",
                "endpoint": "https://openapi.tuyaeu.com",
                "accessId": "xxx",
                "accessKey": "xxx",
                "countryCode": 49,
                "username": "xxx",
                "password": "xxx",
                "appSchema": "tuyaSmart",
                "deviceOverrides": [
                    {
                        "id": "xxx",
                        "schema": [
                            {
                                "code": "25"
                            }
                        ]
                    }
                ],
                "debug": false
            },
            "_bridge": {
                "username": "xxx",
                "port": 31459
            },
            "platform": "TuyaPlatform"
        }
    ],
    "disabledPlugins": [
        "homebridge-tp-link-tapo",
        "homebridge-alexa"
    ]
}.

Screenshots:

Environment:

Plugin Version:
Homebridge Version:
Node.js Version:
NPM Version:
Operating System:

Without seeing your homebridge config, I am unable to help you

I updated it

So when you open the url on another computer, you go to: http://<IP_ADDRESS>:8999. Is that correct? Based on the proxy settings you have that’s what it would be.
Also, to confirm, when you go to the homebridge UI on a computer, do you go to: http://<IP_ADDRESS>:8581?

Yes, 8581 works, but 8999 i get the error: Proxy-Error: Error: getaddrinfo ENOTFOUND www.amazon.com

For some reason your device cannot access amazon.com. That is a requirement to use this plugin. You will need to do some investigating in your homebridge server to make sure DNS is configured properly.
Please confirm if your homebridge server can curl amazon.com using the terminal.

Closing due to no response.


Add a new document in collection "something" V9 work for me

Add a new document with Todo App

@blackboldse Can you explain your issue a little more?


Core calculus definition (using Ott tool).

Fumola is defined in terms of a core calculus, a distillation of its implementation into something mathematically "manageable" (perhaps with some more tools) and precise.
This PR gives an initial definition of this core calc, using Ott to rule out certain classes of typos and other mistakes that otherwise require tedious, continual spot checking.

Update: #2 merged, so unlike when this PR was created, there is now an executable reference implementation.
Consequently, we can run "syntactic and semantic experiments" in a way that was not possible earlier.
To make further progress on this PR, we should try to align its definitions with this reference implementation, and capture this implementation as our formal judgements and inference rules (via Ott).  Doing so will require adjusting the contents of the PR as it stands now.


Add tests

To make sure https://github.com/vuejs/babel-preset-vue-app/issues/3 and such will never happen again 😂

Added


Don’t allocate internal memory via external allocator (+ don’t allocate via a WA)

Initially filed and discussed here: https://github.com/Intel-Media-SDK/samples/issues/13. Since this is not samples issue (at least not only), moved to track in Media SDK library repo.
As of now we need to:

Make sure that no mediasdk codecs allocate internal memory via external allocator. Suspected codec is HEVC encoder
Consider deletion of external memory allocation for bitstreams.

FFmpeg hevc works!  Thanks a lot for your support!
One question, how about the status of other codecs? For example, vp9 hw encoder (though hasn't implemented in ffmpeg, I will add it soon).

VP9 still need to be updated.

So, would you please create a new issue to check vp9 encoder since this one has been closed? @artem-shaporenko @dvrogozh

Let's track vp9e in https://github.com/Intel-Media-SDK/MediaSDK/issues/762.


feat: auto-resolve parents task when sub-task is WONTFIX

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Feature

What is the current behavior? (You can also link to an open issue here)
A subtask that is WONTFIX won't wake up the parent task, hence, the parent task can sleep for one hour before getting resolved.

What is the new behavior (if this is a feature change)?
Parent task is now waked up

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
No

Other information:
ping @Alkorin

CDS Report test#1181.0 ✘

tests and lint

golangci-lint ✔
unit-test and integration-tests ✘

CDS Report package#1188.0 ✘

Stage 1

Docker build ✘


read later link missing in the more option on Free E-book section # navbar is repeating#google translation missing

Describe the feature
1)in the more option on the Free E-books page read later link is not visible.
2) also I can add the google translation element in the navbar.
3)also the navbar is repeating due to some error in the code.
i can solve these issues.Please assign me this work under gssoc'24.
Add ScreenShots

Record

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

Assigned!
Make sure to attach before & after screenshots in your PR and include the issue number.
Also, please star the repo before working on it. Happy open-source contributing!


[Android Add2App] Crash when trying to create a flutter fragment with RenderMode.texture

When trying to create a Flutter fragment with RenderMode.texture, I get a crash at launch of the flutter view.
From code inspection, I found this in FlutterView.java
private FlutterView(
      @NonNull Context context,
      @Nullable AttributeSet attrs,
      @NonNull FlutterSurfaceView flutterSurfaceView) {
    super(context, attrs);

    this.flutterSurfaceView = flutterSurfaceView;
    this.renderSurface = flutterSurfaceView;

    init();
  }

  private FlutterView(
      @NonNull Context context,
      @Nullable AttributeSet attrs,
      @NonNull FlutterTextureView flutterTextureView) {
    super(context, attrs);

    this.flutterTextureView = flutterTextureView;
    this.renderSurface = flutterSurfaceView;

    init();
  }

In the second constructor, the second line should be this instead:
this.renderSurface = flutterTextureView;

@matthew-carroll @dnfield

flutter doctor -v
[✓] Flutter (Channel dev, v1.16.2, on Mac OS X 10.14.6 18G4032, locale en-US)
• Flutter version 1.16.2 at /Users/danny.valente/Library/flutter/1.16.2-dev
• Framework revision 58cad787d8 (10 days ago), 2020-03-23 08:33:41 -0700
• Engine revision 2d42c74a34
• Dart version 2.8.0 (build 2.8.0-dev.16.0 ba8baa46b4)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at /Users/danny.valente/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-29, build-tools 29.0.2
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
• All Android licenses accepted.
[!] Xcode - develop for iOS and macOS (Xcode 11.3.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 11.3.1, Build version 11C505
! CocoaPods 1.7.5 out of date (1.8.0 is recommended).
CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
Without CocoaPods, plugins will not work on iOS or macOS.
For more info, see https://flutter.dev/platform-plugins
To upgrade:
sudo gem install cocoapods
[✓] Android Studio (version 3.6)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 44.0.2
• Dart plugin version 192.7761
• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)

We.. need a test covering this :\

@dnfield Seeing this is in the engine, it's really hard for us to work around this, and we can't seem to get any Talkback borders showing without using a texture view. Any idea when this could possibly get worked on?
Thanks

I have a fix for it.

We unfortunately had a test that would have caughtt his, but it was disabled :(

Thanks @dnfield . Can I switch to master and get this fix now? Or do I need to wait for the new engine to land in the Flutter master channel?

This will still have to roll into the framework - which should happen sometime in the next few hours/dayish.
If you know how to build your own engine, the patch is pretty trivial to apply locally as well.
You can follow the builds for this patch here: https://ci.chromium.org/p/flutter/g/engine/console (it's currently building).  Once all those boxes are green, @engine-flutter-autoroll will end up opening a PR to roll it into the framework.

Thanks @dnfield. I'll check it out tomorrow.


Psg 4891 repo templates

Pull Request Template
What's New?
Uses repo templates to format README, LICENSE, and remove community files in favour of using organization community files.
Screenshots (if appropriate):
(Note Passage logo will adhere to system theme, screenshot taken from vscode preview)

Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[X] Documentation update

Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have manually tested my code thoroughly
[ ] I have added/updated inline documentation for public facing interfaces if relevant
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing integration and unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

Jira Ticket
Please add the Jira ticket number and link.

[ ] Jira Ticket: PSG-XXXX

Additional context
Add any other context or screenshots about the pull request here.

@jenn-macfarlane there is a Passage logo that works in the template. Can that not be used here for some reason?

@rickycpadilla any idea why these integration tests for android would be failing? I can't think of why my changes would cause this 🤔

Waiting to merge until the Android ticket is done. Reason being this way I will have a README for Android/authentikit to link to in the products comparison table instead of just the folder in github.


Streaming incompatibility with Dubbo

[x] I have searched the issues of this repository and believe that this is not a duplicate.
[x] I have checked the FAQ of this repository and believe that this is not a duplicate.

Environment

Dubbo version: 2.7.1
Operating System version: Centos 7.4
Java version: 1.8.202

Steps to reproduce this issue
We are having an interface that scan records from HBase and return a stream of records.
Stream<CustomRecord> scan(String startRow, String stopRow);
We have learnt that the Duddo protocol does not support Stream, but it can handle the stream of objects when it is converted into java.io.InputStream.
However, when using ByteArrayInputStream as the replacement of the Stream<CustomRecord> for our interface, we got an OutOfMemory exception, since the stream grows too large and exceeds the heap size (ByteArrayInputStream keeps the byte[] in memory).
Our question
Our question is: What would be the best approach for this issue? Do you have an alternative InputStream implementation for this use case? Or do you know of any already-used solution in Dubbo community?

One of the solution that we can think of is to write down the stream of objects to a local file. Then the interface returns a FileInputStream of that local file.
However, this solution really kills the beauty of java.util.stream.
We bet that the Dubbo community, with years of experience working with remote method invocation, would have a more efficient and adequate solution for this issue.

https://github.com/apache/incubator-dubbo/tree/3.x-dev/dubbo-rpc/dubbo-rpc-rsocket
I think you need a Stream pipeline between the Client and the Server. This feature in 3.0.0 may meet your requirement.

Dear @chickenlj, Thanks you for your exciting information.
After quickly checking the branch, I have several questions:

Do you have any documentation regarding this new protocol? Or they are not available yet?
For Stream pipeline, AFAIU the serialization of the stream is handle by the protocol. Is that right?
Do you know when will be the expectation of the the 3.x Dubbo release?

the stream support is basing on rsocket ,  you can find doc for rsocket at  http://rsocket.io/
for now , dubbo-rpc-rsocket is just draft code for demo.

@uglycow, thanks for your information.
Regarding the dubbo-rpc-rsocket, do you know if there exists any roadmap for the release? As I understand, this module will be added in version 3.x.

The triple protocol in dubbo3 support bidirectional streaming, which may meet your needs


can not change baseline in ttf

I am trying to escape fontastic.me by importing this SVG font to fontello: https://github.com/ornicar/lila/raw/master/public/font70/fonts/lichess.svg
It seems that the em size is 512 units, 480 ascent, -32 descent.
However when I export the font and view the ttf on the web (e.g. http://webfont-test.com/), the baseline seems to be different. In fact any baseline I set in the webinterface seems to be completely ignored.
When I export a ttf from the same SVG using fontforge the baseline is correct.
Hints are much appreciated. Anything else I could try or extra info I can provide?

Input font metrics are used only to extract svg images.
Go to menu -> advanced font settings and setup the same params for output font.
Let me know if problem still exists.

Yes, that's exactly what I tried. It seems any values  I set in that dialog habe no effect on the generated TTF. (I even tried setting crazy values.)

That's easy to check:

reset everything
select some fontello icons
change accent/descend % via advanced menu
download font
open in FontForge and check result.

PS. But everything should be ok.


Script to delete empty folders in a directory

Description
Simple script to delete all the empty folders in a given directory
Technologies and Languages
Python
Additional Work
None
Comments
It will be a simple yet efficient tool to be needed when doing some file cleanup, minimizing all tedious manual work
If you think this project is eligible for the repo, please assign it to me

Good one. Go ahead. Looking forward to see the PR soon 🚀


Gradle Multi-project example

Hello all,
I'm struggling to make it work - can you please provide Gradle + Jacoco + CodeCov example?
I'm able to generate reports for all subprojects, XML & HTML in root\build folder,
But CodeCov does not seem to see my generated files.
Using gradle 3.1, Travis-Ci.
So far i've ended up with something like:
allprojects {
    apply plugin: 'java'
    apply plugin: 'maven'
    apply plugin: 'jacoco'

    version = '0.21.0'

    sourceCompatibility = 1.8
    targetCompatibility = 1.8

    repositories {
        mavenLocal()
        mavenCentral()
        jcenter()

        maven { url "http://repo.maven.apache.org/maven2" }
        maven { url "http://repo1.maven.org/maven2/" }
        maven { url "https://repo.spring.io/libs-release" }
        maven { url "https://plugins.gradle.org/m2" }
    }
}

subprojects {
    dependencies {
        compileOnly "org.projectlombok:lombok:1.16.10"

        if (!project.name.equals("QueueServer")) {
            compile group: 'org.slf4j', name: 'slf4j-api', version: '1.7.21'
            compile group: 'org.slf4j', name: 'slf4j-log4j12', version: '1.7.21'
        }

        testCompile group: 'org.apache.commons', name: 'commons-lang3', version: '3.4'
    }

    tasks.withType(JavaCompile) {
        options.encoding = 'UTF-8'
    }

    test.useTestNG()
}

task codeCoverageReport(type: JacocoReport) {
    // Gather execution data from all subprojects
    // (change this if you e.g. want to calculate unit test/integration test coverage separately)
    executionData fileTree(project.rootDir.absolutePath).include("**/build/jacoco/*.exec")

    // Add all relevant sourcesets from the subprojects
    subprojects.each {
        sourceSets it.sourceSets.main
    }

    reports {
        xml.enabled true
        html.enabled true
        html.destination "${buildDir}/reports/jacoco"
        csv.enabled false
    }

}

codeCoverageReport.dependsOn {
    subprojects*.test
}

Issue was in report name - bash file was looking for one of *.xml files by mask - i just had to update xml report to have correct name.


samples: board: 96b_argonkey: remove led blinking

The LED part is taking too much time. Let's skip the
led blinking part.
Signed-off-by: Armando Visconti<EMAIL_ADDRESS>

@galak
This PR is affecting the ArgonKey sample only.

Codecov Report

Merging #8808 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #8808   +/-   ##
=======================================
  Coverage   52.34%   52.34%
=======================================
  Files         195      195
  Lines       24723    24723
  Branches     5139     5139
=======================================
  Hits        12941    12941
  Misses       9708     9708
  Partials     2074     2074

Continue to review full report at Codecov.

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

Just curious what you mean by it takes too much time, why is that an issue?

@galak
OK, let's be honest. For some reason the LP3943 driver when doing the 'led blinking' operation is not operating correctly. The issue seems to be inside the lp3943_set_dim_states() routine, where a LP3943 register gets updated. It seems that the issue showed up after  committing the cc4191666b (i2c: stm32: check messages before starting transmission), but I think that this commit just revealed some weaknesses already present somewhere. Actually I do not have much time to dedicate to this issue, but the Argonkey BSP is now broken and I wanted to quickly fix it. On the other hands would be nice to report the issue to the zephyr community, but I'm not sure exactly who to report the issue to, as it is not clear to me what is happening. Apparently the issue seems to be related to some weaknesses into the STM32 i2c driver.

@galak
I also noticed similar issues in the past when using the vl53l0x driver. At that time I noticed that the system stuck during i2c operations. Currently the driver seems to work fine. I also discussed the issue with @erwango, but he didn't have any clue and never experienced same issue. So, my proposal is to fix the ArgonKey BSP removing the 'blink led' part and to open a new PR (I can do that) with the intention to debug this issue.

@galak
Any comment here?

@galak
Any comment here?

Do we have an issue opened up for the problem you described.  If so reference here (if not open one) and than I will approve and merge.

@galak
I just opened the issue #8915
I may dedicate some time later on, or if someone is able to replicate it somehow can start to debug it.

@galak
Please do not forget this issue

@galak
Can you approve this PR?
I will work with @erwango to debug the I2C issue


Persisting data to skip setup

I'm running Cachet using Docker Cloud, which uses a similar syntax to Docker Compose files, but it's not identical.
My question is, how would I make sure that I can persist data in a volume, as well as pass the correct environment variables, so that I could replicate an identical Cachet setup at any point, as long as my data (including database) was still there?
Essentially, I'd like to know what paths on Cachet's side I'd have to mount (if any), and what env vars I'd have to define to skip the initial setup. I know that at least previously I had to define APP_KEY etc. but it seems like the format/encryption for that has changed?

Actually, from what I can tell, I no longer need to set APP_KEY, from what I can tell. I'm currently setting the following env vars:
- APP_ENV=development
- APP_DEBUG=true
- APP_URL=http://url
- DB_DRIVER=mysql
- DB_HOST=mysql
- DB_DATABASE=cachet
- DB_USERNAME=cachet
- DB_PASSWORD=pass
- CACHE_DRIVER=apc
- SESSION_DRIVER=apc
- QUEUE_DRIVER=database
- CACHET_EMOJI=true
- MAIL_DRIVER=smtp
- MAIL_HOST=mailtrap.io
- MAIL_PORT=2525
- MAIL_USERNAME=user
- MAIL_PASSWORD=pass
- MAIL_ADDRESS="no-reply@url"
- MAIL_NAME="Status"
- MAIL_ENCRYPTION=tls
- REDIS_HOST=null
- REDIS_DATABASE=null
- REDIS_PORT=null
- GITHUB_TOKEN=null

That is a good question. I messed with this a bit but was not able to figure out how to skip the setup wizards.

Possible fix in #166

I am going to go ahead and close this, as #166 should make this work better.


[Search] Expose AliasesRestClient operations from SearchindexClient

API changes have been detected in Azure.Search.Documents. You can review API changes here

API changes have been detected in Azure.Search.Documents. You can review API changes here

cc: @tg-msft

API changes have been detected in Azure.Search.Documents. You can review API changes here

API changes have been detected in Azure.Search.Documents. You can review API changes here

API changes have been detected in Azure.Search.Documents. You can review API changes here


OutlierDetector components

This PR added outlier detection approaches. The sub classes can be applied to any astropy column of shape (n_entries, n_channels, n_pix) returning an outlier mask of the same shape. The code utilizing this components later need to handle multiple instances and therefore combine the returning outlier masks.
–––
Related: #2542

This Pr needs to be rebased and "outlier files" have to moved to the monitoring module once #2554 is merged.


register capi types with  manager

Signed-off-by: Chuck Ha<EMAIL_ADDRESS>What this PR does / why we need it:
This PR registers the capi types with the manager
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #158
Special notes for your reviewer:
Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.
Release note:

/lgtm


Test-Path inconsistency when both file and folder match a pattern

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.
[X] Refer to the FAQ.
[X] Refer to Differences between Windows PowerShell 5.1 and PowerShell.

Steps to reproduce
When using wildcards in a Test-Path expression, if a pattern could match a file, then -PathType Leaf will return True but -PathType Container will return False, even if a folder would also match the pattern.
See expected/actual behaviour.
Expected behavior
mkdir blah1
New-Item -ItemType File blah2

Test-Path -PathType Container -Path blah*
True*
Test-Path -PathType Leaf -Path blah*
True*

*You could make the case for both being true or both being false, but they should both be the same result.

Actual behavior
mkdir blah1
New-Item -ItemType File blah2

Test-Path -PathType Container -Path blah*
False
Test-Path -PathType Leaf -Path blah*
True

Error details
No response
Environment data
PSVersion                      7.2.2
PSEdition                      Core
GitCommitId                    7.2.2
OS                             Microsoft Windows 10.0.22000
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0ÔÇª}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Visuals
No response

This is still an annoying issue as of 7.4.2.
Any plan on fixing it?
Providing some description would be nice; Why, What, and possibly When?


indent: 2.2.12 -> 2.2.13, add patches for CVE-2023-40305

Description of changes
https://nvd.nist.gov/vuln/detail/CVE-2023-40305
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Delayed because I don't think the fix is complete, am chasing upstream.

Turns out that other bug is pre-existing and a fix should be coming. In the meantime this fix won't make it worse and will fix the more serious OOB write.

Oops.  I forgot to retarget branch, and the UI here got confusing.  (also GitHub skipped the PR mention)
I had merged this PR to staging-next in aa240b058d39e4

Ah this is https://savannah.gnu.org/bugs/?64751 which I'm still pursuing. Should disable the related test till that's fixed.


Provide timezone customization

The current message implementation sends the timezone as UTC, we should provide a configuration option to adjust printed time

bug when gitlab push time message not convert correctly
output
Push on dag_script by Faishal Nuruz Zuhri
at 2019-07-18T15:56:45Z
on branch refs/heads/fais-etl-stag:
...

I think this issue can be closed


[K3s] Update airgap docs to mention both airgap install methods

Separate out the Manually Deploy Images method from the Private Registry method
-- Explain the caveat with manual image deployment (could be unmanagable for larger clusters)
Show separate tabs for installing in a single server configuration or HA configuration
Update the upgrade section to include the system upgrade controller
Various tweaks throughout to improve readability

Resolves https://github.com/rancher/k3s/issues/1547

Got approval from Craig -- merging this.


Change inner-documentation html links to use Rust paths

Fixes #1711. I converted remaining html links to use Rust module paths, which should hopefully prevent this from happening in the future (rustdoc gives a warning when a path-item isn't found).

Looks good to me.

@Rua Thank you for your help in documentation improvement! It's always very welcome! :)


Add strict option

This PR adds the option described in #29.

Coverage increased (+0.001%) to 99.881% when pulling e10c4467b1f65eab30137a63fd14aaffaa15b92a on f-mer:feature/strict-option into 42263a07610f94f8cb0efc26304f0702911aae48 on davydovanton:master.

hey, thanks for your PRs, I'll check it tomorrow (don't have time today :( )

Great!! Thanks!
Any tentative date for next release?


Add support of react components in markdown

With this lib https://github.com/christianalfoni/markdown-to-react-components is possible do in md this:
## my markdown

(link)[http://www.google.com]
(MyReactComponentName)[param1, param2, param3]

Addition of this to phenomic should be incredible improvement! It will add support of React components in MD.

Please track #434 for this.


first attempt at adding arithmetic evaluations

ref: #25
Not sure if I did everything right: I was getting log-likelihoods of -10 for 2-digit addition with GPT-2.  (I think the accuracy test doesn't work yet since the GPT2 model here returns a hardcoded False)

I'll test this code after I implement the accuracy code for GPT2

I'll test this code after I implement the accuracy code for GPT2

I'll test this code after I implement the accuracy code for GPT2

Cool, thanks!  Does the code (particularly process_results and process_results) look like I implemented it correct-ishly?

I'll test this code after I implement the accuracy code for GPT2

Cool, thanks!  Does the code (particularly process_results and process_results) look like I implemented it correct-ishly?

process_results looks fine. The main thing I think that needs to be changed is the data: for consistency with OpenAI, we want to use the task data here, rather than generate our own: https://github.com/openai/gpt-3/tree/master/data

process_results looks fine. The main thing I think that needs to be changed is the data: for consistency with OpenAI, we want to use the task data here, rather than generate our own: https://github.com/openai/gpt-3/tree/master/data

whoops I don't know how to use git

whoops I don't know how to use git

tested by running python main.py --model gpt2 --tasks arithmetic_1dc --provide_description --num_fewshot 2 and got ```
{
"arithmetic_1dc": {
"acc": 0.03
}
}

tested by running python main.py --model gpt2 --tasks arithmetic_1dc --provide_description --num_fewshot 2 and got ```
{
"arithmetic_1dc": {
"acc": 0.03
}
}

Looks good to me!

Looks good to me!