no-unused-modules reports missing exports for export *

The rule no-unused-modules incorrectly reports No exports found for files which only contain export * from 'foo' or export * as foo from 'foo' statements, if missingExports is set to true.
To be precise, all of the following files get reported as No exports found:
export * from 'foo';

export * from 'foo';
export * from 'bar';

export * as foo from 'foo';

export * as foo from 'foo';
export * as bar from 'bar';

export * from 'foo';
export * as bar from 'bar';

I've already spent multiple hours trying to fix it myself, but I never managed to get all tests to complete successfully, I only managed to break different ones... but I opened a PR (#2415) to add more tests (which are failing at the moment, of course).

I also just added my current version of the "fixed" tests with only 1 failing test to the PR to gather some input or as a jumping-off point for someone else.


Fix favicon

What do you need?
https://github.com/AusDTO/gov-au-content-guide/issues/144

Done, I think? @gazhands ?


modify makefile, config and main to parse igc

This is completed and tested on Adler. The results haven't been checked, yet.
They can be found in /data/felix/igc_data/tables on adler.
Original pull request by @ninewise on Thu Jun 25 2015 at 21:47.
Merged by @ninewise on Mon Feb 01 2016 at 14:23.

This strategy can be used in the future if we wish to add extra data sources.
Original comment by @ninewise on Mon Feb 01 2016 at 14:23.


Training anomalies exist

hi,Thanks for your excellent work, but I get stuck in some places when I train the module, when the video memory is occupied, but no gpu is called to participate in the calculation, I don't know how to deal with this situation, I hope you can give some advice

.

Hi, would you mind pressing ctrl + C to stop the program and providing the screenshot to help diagnose where it stops?

Hi, would you mind pressing ctrl + C to stop the program and providing the screenshot to help diagnose where it stops?

This is the message after the screenshot

It seems that the CUDA built has some issues. Please ensure your Pytorch version and CUDA lib version are compatible.
After that, see this issue and this post.

I close this issue temporally and please re-open if the above solution does not address your problem.


Use e.g. clang format for auto formatting

Similar to prettier.

I'm +1 on this.

What do you think about adding this as a pre-commit hook?
I just did a PR to https://github.com/ada-url/idna proposing it.
The PR is kinda duty because of the clang-format file changes but you can take a look at how is it here https://github.com/miguelteixeiraa/idna/tree/clang-format-contrib

Also which style base are we going to use? (in that PR I used the Google style base) There is also a clang-format style detector (based on the written code) but since it is a windows-based software I'm not able to try it now.


I ran into some problems when reproducing results of your article.

Hello,
After reading your article “Identifying tumor cells at the single-cell level using machine learning”, I was very interested in the Ikarus method because of its excellent performance in classifying Tumor and Normal cells. But when reproducing the results, I ran into some problems presented as below:

When selecting the gene signature, I used the create_all function in “gene_list.py” uploaded on Github, but I don’t know how to set label_upregs_list and label_downregs_list. I tried every possible setting I could think of, but it all turned out that the overlap of genes in signature and dataset to be smaller than 80%, so that AUCell couldn’t return scores.

It is presented in your article that “a user-defined number of top genes is selected (for our analyses, we used the top 300 genes)”, but if I set top_x as 300, I can’t get a gene signature of more than 1000 genes. Then I tried setting top_x as 1500, but AUCell still couldn’t return scores.

The screenshots of codes and their results are attached below.

Hello @Long-Wenxin,
It appears to me that you are setting label_upregs/downregs wrong. We suggest to use "major_hallmark_corrected" annotation.
For more detailed information, you could check a tutorial for gene list creation (could be found at the very bottom of the tutorial).

Thank you for your reply. I have solved that problem and created the gene list same to yours.
But there are problems with two datasets "livnat" and "ma". Their overlap with the gene signature is less than 80%, but your article shows that those two datasets can be trained and tested.
I wonder how you solved this problem.

Hi,
we also noticed that for a few datasets. The 80% restriction is coming from AUCell (last time I checked, it was not straight-forward to change is manually). We implemented a small helper function to circumvent that threshold (see check_signatures_overlap). It can be enabled when setting adapt_signatures to True in the Ikarus class definition. Note, only do this with caution and maybe check the overlap beforehand (as you did).

Okay I've understood. Thank you so much for your explanation!

Sorry to reopen, but I have a related issue, so I thought I would post it here rather than opening a new thread. I am trying to test ikarus on a dataset benchmarked in the original paper (Lambrechts, lung carcinoma). However, I am getting very low prediction accuracy and I was wondering what might be the reason for it.
My setup: I first downloaded the expression and annotation data from the E-MTAB-6149 ArrayExpress repository, normalized the counts using scanpy and log2(x+1)-transformed the normalized matrix. I then installed ikarus using the provided instructions and downloaded the core model and the signatures from this repository. Just to clarify: I specifically wanted to use a pre-trained version of the model.
This is how I then ran ikarus:
# model setup
signatures_path = "/home/ubuntu/sc_mal_dev/data/misc/ikarus_supp/signatures.gmt"
model_path = "/home/ubuntu/sc_mal_dev/data/misc/ikarus_supp/core_model.joblib"
out_dir = "/home/ubuntu/sc_mal_dev/data/misc/ikarus_supp/"

model = classifier.Ikarus(signatures_gmt=signatures_path, out_dir=out_dir, adapt_signatures=True)
model.load_core_model(model_path)

### load the gene expression data into adata, adata is log2(norm_counts+1)-transformed ###

# predictions
preds = model.predict(adata, 'E-MTAB-6149', save=False)

However, in the end, when comparing with provided annotations, I am getting very low balanced accuracy (around 0.5) and f1 score (<0.1). In the paper, the reported balanced accuracy is much higher. Do you see anything wrong with the setup?  I understand that there might be a myriad of issues, but I wonder if there is something obvious I am missing.

Hi!
Looks good, I think. Though, it's hard to tell.
It might be due to the label names and/or obs names in the adata object / dataset.
Could you maybe compare your adata object with this one (~480MB)?
In adata.obs there should be a "raw" column which should correspond to your labels, and a "tier_0" column just containing Tumor/Normal, which we used for training or testing.

Thank you!
I can confirm that while using your adata object, I can reproduce your results. However, I get very different results if I use the expression values obtained elsewhere. I think that points to the potential differences in preprocessing. Can I ask, how did you obtain the final gene expression values for this dataset (Lambrechts), did you process the raw data yourself?

Hi, sorry for not getting back to you earlier!
For the Lambrechts dataset we used the "all cells" .loom file from their resource page.
For example, something like this can be used for loading the loom file. The content should then be the same as in the anndata object I mentioned in my comment above (maybe a bit of restructuring of column and row names is needed.)
import anndata
import scanpy as sc
import pandas as pd
import numpy as np

path_to_loom_all_cells = '... .loom'
adata = anndata.read_loom(path_to_loom_all_cells, validate=False)

# Their labels:
print(adata.obs["ClusterName"].unique())
# > array(['CD4+ T cells ', 'CD8+ T cells ', 'mast cells ',
#    'Langerhans cells ', 'lower quality endothelial cell',
#    'macrophages', 'cancer cells pt 4', ..., 'cancer cells pt 5', ..., 'cancer cells pt 1',
#    ..., 'cancer cells pt 3', ..., 'cancer cells pt 2', ...
#    ],
#    dtype=object)

# From the labels in "ClusterName" we considered "cancer cells pt 1,2,3,4,5" to be cancerous
# and the rest to be normal.

# inplace preprocessing
sc.pp.normalize_total(adata, target_sum=1e4)
sc.pp.log1p(adata)

This helped! Can confirm that after following this last set of instructions I was able to reproduce your results and get high balanced accuracy using the pretrained model. I guess that indicates that there was an issue with the version of the input data I was using. Anyway, thank you again!


Relaxer App

Describe the project you want to add with tech stack
This app helps to relax by telling you when to breathe in, hold and breathe out.
Used Technologies:
HTML5
CSS3
JavaScript
Expected behavior

Screenshots (optional)

Additional context (optional )

@MohitGupta121 Please assign this issue to me under GSSoC'23

@TusharKesarwani Please assign this issue to me under GSSOC'23


Support for provisioned concurrency

Is there any way to provision concurrency for the Lambda@Edge routing proxy and the regional Next.js Lambdas? If I manually add provisioned concurrency configurations in the AWS Management Console, will the configs get overridden the next time I deploy my app?

Hi,
I thought about adding provisioned concurrency a few times, but in general I see no need in using it:

It's not supported on Lambda@Edge
It's pretty expensive
We may change our approach how many regional Lambdas we generate (Currently it's mostly only one, but when #86 is implemented, this could be much more (1 per route, als Vercel also does)
Cold start times of Lambdas are currently at ~ 200-400ms

What would be your use case for provisioned concurrency?

Thanks for reaching back out
The use case would simply be faster response times. This app's backend is also serverless (API Gateway + Lambda + Aurora). Response times vary from 0-10 seconds. I'm not sure whether Next.js or the backend is contributing more to cold start delays. Albeit pricy, I was considering provisioning since the Next.js Lambdas aren't per route, so there'd only be 1 to pay for. Looking for performance gains wherever possible.
Thanks for letting me know about Lambda@Edge not supporting provisioned concurrency, I was not aware of that.
I'm still in research mode right now. I'm thinking about testing how provisioning different parts of the app impact response times, including Tf-Next. If I find anything meaningful, I'll be sure to share. (I've really enjoyed using this tool, thanks for everything)

I'm going to close this issue because it has been inactive for 30 days ⏳. This helps to find and focus on the active issues.


Updates without refreshing

Hi,
Is there a way to have the "mint" button show up after the time runs out without having to do a force refresh? Same thing with each mint and displaying the NFT image itself.
Thanks!

Same thoughts..

Hey there - i replied above on issue #20 the following, might be true for you too?  Hey there - I run into the same issue. I think the answer was given in an earlier issue that the code is really designed for one off minting and you can pass multiples but it doesn't handle it well from the metaplex function. IOW - i don't think it's this repo's ability to handle. Max will probably jump in here to comment in a few. fwiw - i run into the same thing and just decided to use it for single mints. good luck!


Restructuring of the hierarchy of useful functions in the RPC crate

Restructuring of the hierarchy of useful functions in the RPC crate
Pull Request type

Refactoring (no functional changes, no API changes)

What is the current behavior?
What is the new behavior?

removing duplicate functions
restructuring of the files hierarchy

Does this introduce a breaking change?
No
Other information

🚧 State root doesn't match


Stereopy/docs/source/Tutorials  /Format_Conversion.ipynb fails

I have a saved h5ad that I want to convert to use in Seurat. However, its not easy nor does it actually work.
The code fails at this line, opening what it created above it:
object <- LoadH5Seurat(h5_file, misc=F)
I can see the h5seurat file it made... but cant open it obviously.
This entire conversion should be part of the stereopy implementation! the output should by default include a working Seurat object that also include the spatial object and image. When will this be implemented? Need it ASAP!

Specifically:
object <- LoadH5Seurat(h5_file, misc=F)
Validating h5Seurat file
Warning: Feature names cannot have underscores ('_'), replacing with dashes ('-')
Initializing Spatial with data
Error in CreateAssayObject():
! Feature names of data matrix cannot be empty
Run rlang::last_trace() to see where the error occurred.


Grafana VRM Changes

List of changes:

[x] Support for Dynamic Variables in Alerts
[x] User specific Alerts on Panels

Alert list panel will display Alerts specific to the logged in User

[x] OAuth login via Refurbify

Auto-login (when the user is already logged into Refurbify)
Auto-signup with dynamic Role and Organisation assignment

[x] Update to the default Kiosk mode (kiosk=tv) to restrict Users from navigating away from a specific Dashboard

Dashboard search disabled
Cycle view button removed

Changes specific to role Editor and Viewer:

[x] Sidemenu hidden
[x] Dashboard search disabled
[x] Can enlarge a Panel for detailed view
[x] Editor can create Alerts by going into Panel Editor

Please hold on merging this. Need to make a few fixes.

All fixes are in place now.


React.Component is not transformed

When i tried to transform https://github.com/ahfarmer/calculator/blob/master/src/component/App.js
its not working React.Component !== Component
see: https://github.com/vueact/babel-plugin-transform-react-to-vue/blob/master/index.js#L350
we should also check if imported Identifier is React and do additional checks in ClassDeclaration

@armano2, I think we can just hardcode React check since JSX forces you to use that :smile:

I never worked with react, i just was playing around with this tool 🗡

Done https://github.com/vueact/babel-plugin-transform-react-to-vue/pull/12


Doc: Update / Upgrade documentation

Tell us if you know the size of this feature.
Medium, it will take some times 🙌🏽
Expecting for this feature 🚀
Update / Upgrade the documentation of the project to explain exactly how can we use it
Any example or any resources 🗂
No response
Contact Details 📫
No response
Code of Conduct 😇

[X] I agree to follow this project's Code of Conduct

this repo is underrated. :O thanks! I'm thinking of using this for my future projects


UDP Wifi Vs Carrier Network Behavior

I'm trying to send UDP datagrams to a server. UDP is connectionless and so I should be able to just create the socket and send the datagram:
socket = try Socket.create(family: .inet, type: .datagram, proto: .udp);
try self.socket?.write(from: "Hello", to: Socket.createAddress(for: "xxx.xxx.xxx.xxxx", on: 1234)!)
The code works perfectly fine if my iOS device is on Wifi but if I switch back to my carrier network (T-Mobile), I get the following error code:
Error code: -9980(0x-26FC), Operation not permitted
If I add the connect command, which should not be necessary, it works perfectly fine (on both networks).
socket = try Socket.create(family: .inet, type: .datagram, proto: .udp);
try self.mVideoSocket?.connect(to: "xxx.xxx.xxx.xxxx", port: 1234)
try self.mVideoSocket?.write(from: "Hello")

Thanks. I think I figured it out. What I noticed is that when I connect to my Wifi and I call Socket.createAddress(...), the family property of the object returned is 'inet' (ipv4). When I toggle back to my carrier network, same property's value is 'inet6' (ipv6). So the assumption is T-Mobile is using ipv6. However, i'm using 'try Socket.create(family: .inet, type: .datagram, proto: .udp)' to create the socket. If I change the family parameter to inet6, it works.
My solution is to create the address object first, inspect the family property and if it == .inet then use .inet to create the socket, else use .inet6 to create the socket.

Ok. That makes sense. I’ll close this for now and you can re-open if necessary. Thanks.

I ran a test here doing the same thing and sure enough got the same results as you.  I'm thinking that most carriers now are using IPV6 as their default now.  I know that any of the stuff I've worked on lately (not Open Source) that potentially uses Wi-Fi always uses IPV6 for just that reason.  I must've been on Christmas overload 🤪 yesterday when I looked at your note or I would've realized what the problem was sooner and saved you some time.  I think I'm going to add a note in the README that talks a bit about that.  I'll also look at seeing if I can catch that and throw an appropriate exception.  Thanks.


Amiga 600 Vampire 2.2 chip memory test error.

When I ran your Amiga Test Kit program on my Amiga 600 with Vampire 2.2 and tested chip memory I got this...

I pulled the Vampire card out and ran your test program again.
No errors in chip memory on all tests.

So, I feel something is awry with your Vamp. When you reinstall(ed) is the error identical? Is the error always identical appearance to this?

I thought about this at first. I took the Vampire out of the Amiga, put in the original kickstart 3.2 rom.
The main reason is that I had flashed the Vampire 2 with the Amiga kickstart 3.2.1 rom and it seems redundant having both kickstart and flashed rom in a Amiga 600.
Booted from the ADF image Amiga Test Kit and tested the memory region from 00000000 to 001FFFFF.
I received no error reports. I pulled of the RTC clock module, just in case that was giving me problems and I still didn't get any errors.
It is only when I put the Vampire 2.2 card on then I received errors when scanning chip memory.
I double checked that the Vampire card was seated correctly.
I also checked the Vampire memory region and did not receive any errors.
I also used another program MBR-Test2 and made it run for 4 passes on both chip & expansion memory and received no errors.
My chip memory expansion is an A601 2MB expansion with RTC Clock and an extra clock port for USB expansion.
I am assuming I am getting this error because of memory speed issues. The Amiga's chip memory was never designed to be overclocked. (I am probably wrong in this statement).
It is no big issue. For the most part my Amiga 600 & Vampire 2.2 work very well. I have not experienced any Gurus and all the RTG games, like Duke Nukem, Diablo & Quake work very well.
Thank you...

Maybe someone else with a Vampire 2.2 can test this. I'll ask around.

I forgot to mention that the error only appears when scanning memory region 100000 - 1FFFFF expansion memory.
Thank you.

I purchased a brand new Amiga 600 A601 memory expansion from AmigaKit and it arrived today (Monday 10th Oct 2022).
I performed a memory test on the chip memory region 00000000 to 001FFFFF and received the same errors as initially described.
When I pulled the Vampire 2.2 card out and tested the memory, there were no errors.
Strange??

I'm confused. Did you not have a chip expansion to 2MB previously? The Vampire does not expand the A600's default 1MB chip.
Or are you saying the issue is independent of the RAM expansion itself, because you've tested two? This is unsurprising since the RAM expansions test okay when the Vampire is removed. So the issue resides with the Vampire.

Sorry, I should have elaborated.
Quite some time ago I purchased the A601 memory expansion together with a Rapid Road USB expansion interface.
When I installed the USB expansion I made the common mistake of not putting the 20 pin cable on the A601 clock port the right way around and I ended up damaging the USB expansion interface.
Since then I purchased the Vampire 2.2 accelerator to replace my Furia accelerator.
I some problems with my keyboard connection so I ran your AmigaTestKit to test all the hardware. It was then I discovered the memory fault as initially described.
I thought this might have been caused by the USB expansion that I had previously installed and caused hardware damage to the A601 memory expansion.
So to be on the safe side I removed the Vampire accelerator and tested the 2Mb chip memory region using your software. I didn't receive any errors.
After a long hard think I decided to replace the memory expansion, so I purchased a new one from AmigaKit.
I performed the same 2MB chip memory test without the Vampire card and did not receive any errors.
It is only after I installed the Vampire 2 card that I received identical errors as before and in the same memory region as pictured.
I have performed numerous memory tests on the Vampire accelerator expansion memory and your software cannot detect any faults.
Thank you...

Hello again...
I purchased the new MantiCore V4 for the Amiga 600, which is a great improvement over the Vampire 2.2 card.
This new card outputs AGA, ECS, & RTG modes with sound over the HDMI output. So need for an upscaler.
I ran your AmigaTestKit and I got the same results as with the Vampire 2.2 card.
The same memory fault in the 2MB expansion memory in exactly the same memory region.
Weird??

Perhaps the problem is with your 600's chip memory expansion? It is the common element here.

Ah you did try another chip ram expansion. Weird indeed then. However I very much doubt ATK is at fault in reporting an error in the middle of chip ram.

Possibly impractical, but try transplanting to another 600 if you can.

I thought about that. I did buy a new A601 memory expansion for AmiKit and got the results as noted above.
FYI, this does not happen if I remove the Vampire card and install the Kickstart 3.2 rom.
Could be a problem with the Vampire Card. I have raised this issue with Apollo Core and they are just as puzzled as I am.
It's being investigated. However it does not affect the overall operation. I have execute other memory testing problems like MBR-2 Memtest and everything appears normal.
I was thinking that it could be a memory clock issue?

I also thought on reflection escalating to Apollo Core makes most sense. They should have the hardware to do some broader testing and see if this is a wider issue. And if it is, they're the ones on the hook. If it's not, at least you know that swapping out even more hardware should fix it.


macOS: native display resolution reported incorrectly (when using a scaled resolution, very common on macOS)

General description of bug:

What happened:
fastfetch doesn't report the native display resolution correctly on macOS

I tried multiple different (scaled) resolutions on 2 different computers on 2 different macOS versions (macOS 14 beta and macOS 13)
Looks like "Display:" is using "scaled as" x 2 instead of the native resolution (when using a scaled resolution which is the default behavior on macOS).
Some examples:
(M1 MacBook Air (2020), the native resolution of the built-in display is 2560x1600)
scaled to look like 1024x640 (in System Settings / Displays):
Display: 2048x1280 @ 60Hz (as 1024x640)

"as 1280x800"
(now "Display: 2560x1600" is reported correctly, probably because it happens to be scaled x 2):
Display: 2560x1600 @ 60Hz (as 1280x800)

"as 1440x900" (I believe this is the default setting for M1 MacBook Air laptops):
Display: 2880x1800 @ 60Hz (as 1440x900)

"as 1680x1050":
Display: 3360x2100 @ 60Hz (as 1680x1050)

From the other computer (as 1920x1080, as 2560x1440, as 3008x1692, as 3360x1890, as 3840x2160 (native)
Native resolution of the monitor: 3840x2160
Display: 3840x2160 @ 60Hz (as 1920x1080)
Display: 5120x2880 @ 60Hz (as 2560x1440)
Display: 6016x3384 @ 60Hz (as 3008x1692)
Display: 6720x3780 @ 60Hz (as 3360x1890)
Display: 3840x2160 @ 60Hz

PS. I also tried on neofetch, which always (only) shows the scaled resolution, unless you "brew uninstall --ignore-dependencies screenresolution" (after that neofetch only shows the native resolution)

What should happen:
Should show the correct native resolution. I normally use "1440x900" so in my case it should be:

Display: 2560x1600 @ 60Hz (as 1440x900)

Did it work in an older version: didn't test
Where did you get the binary: homebrew ("brew install fastfetch")
Does this issue still occurs in the latest dev build? didn't test

Often helpful information:
Output of fastfetch --version:
fastfetch 1.12.2 (aarch64)

(clip)If this isn't possible (or too much work) for you, post the output of env NO_CONFIG=1 fastfetch --show-errors --stat --multithreading false --disable-linewrap false --hide-cursor false.
                     c.'<EMAIL_ADDRESS>                                                     0ms
                 ,xNMM.           --------------                                                       0ms
               .OMMMMo            OS: macOS Sonoma 14.0 23A5301h arm64                                 0ms
               lMM"               Host: MacBook Air (M1, 2020)                                         0ms
     .;loddo:.  .olloddol;.       Kernel: 23.0.0                                                       0ms
   cKMMMMMMMMMMNWMMMMMMMMMM0:     Uptime: 4 days, 13 hours, 44 mins                                    0ms
 .KMMMMMMMMMMMMMMMMMMMMMMMWd.     Packages: 91 (brew), 6 (brew-cask)                                   0ms
 XMMMMMMMMMMMMMMMMMMMMMMMX.       Shell: bash 5.2.15                                                   7ms
;MMMMMMMMMMMMMMMMMMMMMMMM:        Display: 2880x1800 @ 60Hz (as 1440x900)                             69ms
:MMMMMMMMMMMMMMMMMMMMMMMM:        DE: Aqua                                                             0ms
.MMMMMMMMMMMMMMMMMMMMMMMMX.       WM: Quartz Compositor                                                0ms
 kMMMMMMMMMMMMMMMMMMMMMMMMWd.     WM Theme: Blue (Dark)                                                0ms
 'XMMMMMMMMMMMMMMMMMMMMMMMMMMk    Theme: Not supported on this platform                                0ms
  'XMMMMMMMMMMMMMMMMMMMMMMMMK.    Icons: Not supported on this platform                                0ms
    kMMMMMMMMMMMMMMMMMMMMMMd      Font: .AppleSystemUIFont [System], Helvetica [User]                  4ms
     ;KMMMMMMMWXXWMMMMMMMk.       Cursor: Fill - Black, Outline - White (42px)                         0ms
       "cooc*"    "*coo'"         Terminal: iTerm 3.5.20230805-nightly                                 0ms
                                  Terminal Font: JetBrainsMonoNF-Regular (14pt)                        1ms
                                  CPU: Apple M1 (8)                                                    0ms
                                  GPU: Apple M1 (7)                                                    2ms
                                  Memory: 7.62 GiB / 16.00 GiB (47%)                                   0ms
                                  Disk (/): 162 GiB / 210 GiB (77%)
                                  Disk (/Volumes/x): 1.85 GiB / 2.33 GiB (79%)                3ms
                                  Battery: 93%                                                         1ms
                                  Power Adapter: not connected                                         0ms
                                  Locale: en_US.UTF-8                                                  0ms
                                                                                0ms
                                  ████████████████████████
                                  ████████████████████████                                             0ms

Output of fastfetch --list-features:
threads
vulkan
imagemagick7
chafa
zlib
sqlite3

That's expected behavior.
There are 3 resolutions:

The native (highest) resolution supported by hardware monitor.
The output resolution ( the image resolution generated by GPU ). It will be scaled to the native resolution by monitor.
The scaled resolution. It will be scaled to the output resolution by software (if the app you are using supports HIDPI) or system (if the app you are using doesn't support HIDPI)

What fastfetch detected is `output_resolution as (scaled_resolution)
2 here is scale factor, or devicePixelRadio. In macOS, it's always 2, which is called retina display, not customizable.
It is customizable in other platforms. For example, I'm using 1.5 in my Windows laptop, so it's detected as 2560x1440 (as 1707x960)

Just tested neofetch in Linux. It uses output resolutions for X11, but uses native resolutions for Wayland.

I don't know what other people expect here and I don't expect to change your mind, but I personally expect *fetch to mainly report hardware specs.
To me the "output resolution" is a weird implementation detail about what the system is imagining under the hood, and reporting it is like saying my system has 18 GB of RAM (because 16 GB physical + 2 GB Swap is obviously 18 GB).

I personally expect *fetch to mainly report hardware specs.

That's a hardware spec. You can choose a output resolution only if the hardware monitor suppots it.

my system has 18 GB of RAM (because 16 GB physical + 2 GB Swap is obviously 18 GB).

Fastfetch never reports the full physical memory sizes, but always the usable memory sizes. There are usually a few memory reserved for system use ( eg for intergrated GPU ). However it's the case for macOS, which seems to use a different strategy.
Fastfetch does support swap size detection by the way. Fastfetch decided to split them into 2 different modules because they are useful ( if your physical memory is full you can expect a major slow down ).
But it's not the case for native resolution, because a program can't make use of it without changing the output resolution.

It is the output resolution that decides how many details the displayed image has, not the native resolution.

I suspect if neofetch can report the native resolution, but can only report the highest resolution available. The highest output resolution is not always the native resolution supported by monitors, because there are many things can limit the maximum output resolution can make use of.
For example, if you use a HDMI 1.2 connection cable to connect a 4K monitor, you can't choose 4K as the output resolution
https://en.wikipedia.org/wiki/HDMI#Refresh_frequency_limits_for_standard_video
Will verify it tomorrow

Tested. If screenresolution is not available, neofetch always reports the native ( the same as highest available ) resolution for builtin retina display, and reports the output resolution for external display

Because of the inconsistant between different monitors, I'm sure that it's a bug of neofetch. I will submit a PR to neofetch to fix this.
I have no plan to change behavior of fastfetch. Closing

PR submitted: https://github.com/dylanaraps/neofetch/pull/2356

Added a new module Monitor
$ NO_CONFIG=1 ./fastfetch -s host:display:brightness:monitor -l none
Host: MacBook Pro (16-inch, 2021)
Display (Color LCD): 3456x2234 @ 120Hz (as 1728x1117) *
Display (U32J59x): 3840x2160 @ 60Hz (as 1920x1080)
Brightness (Color LCD): 87%
Monitor (Color LCD): 3456x2234 px - 344x223 mm (16.14 inches, 254.97 ppi)
Monitor (U32J59x): 3840x2160 px - 697x392 mm (31.48 inches, 139.94 ppi)


Move ast_node under shasta directory to prepare librarification

Also implement printing inside ast_node, stop using libdash

After this PR is merged, we can make this a library.
We probably want to rename a few things to have consistent clean naming before we do that.


[Event Request] Codeunit 90 add sender on event OnBeforePostItemTrackingLineOnPostPurchLine

Hi,
We need to add the sender on event OnBeforePostItemTrackingLineOnPostPurchLine to be able to change the way to posting specific purchase invoice line.
    [IntegrationEvent(true, false)]
    local procedure OnBeforePostItemTrackingLineOnPostPurchLine(PurchaseHeader: Record "Purchase Header"; PurchaseLine: Record "Purchase Line"; var IsHandled: Boolean; TempTrackingSpecification: Record "Tracking Specification" temporary; PurchInvHeader: Record "Purch. Inv. Header"; PurchCrMemoHdr: Record "Purch. Cr. Memo Hdr."; var RemQtyToBeInvoiced: Decimal; var RemQtyToBeInvoicedBase: Decimal)
    begin
    end;

Could you change the property to this event ?

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 42200.


add canalplus bot, unit test, travis and codecov

Current coverage is 100% (diff: 100%)

No coverage report found for master at ce90e81.

Powered by Codecov. Last update ce90e81...9ebc753


add fetch pda methods

Adds fetchPda and fetchMultiplePda methods to account namespace. Originally was thinking it would be nice to fetch pdas with the same minimal seeds passed to instructions with the seeds feature on, but I didn't see a way to relate the seeds retained in the idl to the account types. This ends up being just a convenience to not have to call findProgramAddress before calling fetch.
I added a test to the pda-derivation example and temporarily changed the anchor dependency in the tests package.json to file:../ts.

Hi, I wasn't sure I should resolve the conflicts. Changing pakcage.json to refer to a release will result in the example not work since it depends on the changes in the pr.

Closing as stale.


Add post-build to all jobs?

Is it possible to hook all jobs and send a post-build action to this plugin? We have a lot of jobs managed by different people and would like to get notifications (like email) when a job fails, without needing to modify each job

Hi @sharksforarms, this should be doable by editing you pipelines (which your jobs are based of off) and is out of scope for this plugin.


[WIP] mirror update button #2018

Fixes #2018
Stuff left to do:

[ ] Don't use models.MirrorUpdate()...

Another PR should move all existing mirror-settings to the new panel. Though I don't wanna bloat this PR with that...
Obligatory image for UI-changes:

Better implementation with quite a bit code refactoring pushed..


Compilation Issue

After executing 'source ./upmem-2021.3.0_opt/upmem_env.sh'.
I am compiling the GNN benchmarks with 'make all', and get the following error:
/bin/sh: 1: dpu-pkg-config: not found
host/app.c:5:10: fatal error: dpu.h: No such file or directory
5 | #include <dpu.h>
|          ^~~~~~~
compilation terminated.

Hi,
I apologize for the late reply.
It seems that the $UPMEM_HOME path hasn't been set correctly.
Have you typed in the proper absolute path for your 'upmem-2021.3.0_opt' directory?


How can custom connector be used with Azure Analysis Services

Hi,
I have a built a connector that works nice in Power BI. However, I cannot find where to place the connector to make it available in the get data experience of the Analysis Services Designer in Visual Studio. We would want to deploy the model to Azure Analysis Services.
regards
Felix

@CurtHagenlocher
Can we get an update on using custom connectors in AAS (or in the visual studio tabular IDE to be exact)?  I'm stuck in a catch 22 where Power BI desktop won't let me manage custom partitions, and the Visual Studio IDE for AAS won't let me use my custom connectors.  Hopefully these tools will improve after the reorganization of the team under the umbrella of Synapse.  All these Microsoft tools may need to be updated at some point.  They have large and conspicuous gaps that never seem to be filled.
I'm deploying my models to Power BI premium endpoints, not AAS.

Hey!
Currently, Power Query custom connectors are supported in Power BI Desktop and in the Power BI service for refreshing datasets. Later this year Power BI Dataflows will also be able to use custom connectors,
For other products, the recommendation is to reach out to those product teams and provide the feedback through their appropriate channels. For the Analysis Services implementation, you can get provide your feedback using the link below:
https://feedback.azure.com/d365community/
Best!


refactor(app+main): comment out the search and everything related to resources (DSP-1291)

resolves DSP-1291

@kilchenmann about the 2 PRs, should we merge them into main or in a new branch, e.g. dsp-admin?

@kilchenmann about the 2 PRs, should we merge them into main or in a new branch, e.g. dsp-admin?

@kilchenmann about the 2 PRs, should we merge them into main or in a new branch, e.g. dsp-admin?

This is the question. But how could we do a release and a build from this specific branch?

@kilchenmann about the 2 PRs, should we merge them into main or in a new branch, e.g. dsp-admin?

This is the question. But how could we do a release and a build from this specific branch?

@kilchenmann could you check the changes in the readme file? done in 52e90f2

@kilchenmann could you check the changes in the readme file? done in 52e90f2

@flavens wouldn't it be better to mark this PR as breaking change? Because we have significantly reduced the functionality of the app. In this case we will get a new version (4.0.0) and we know, that this version is the dsp-admin version only.

@flavens wouldn't it be better to mark this PR as breaking change? Because we have significantly reduced the functionality of the app. In this case we will get a new version (4.0.0) and we know, that this version is the dsp-admin version only.


Medical Doctor guidebook.

About the PR
Adds a guide for medical doctor, there's an alternative PR right now of a similar nature, but it's been sitting for about two weeks, and I figured I'd take a crack at it.
Aha, found it. This would be an alternative to: #15432
The errant Chemistry page in the first few screenshots is fixed, I just didn't want to re-take them. (I was originally going to do all of it at once, but just Medical Doctor by itself was rough.)
Media

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog

:cl:

add: Adds Medical Doctor Guidebook

you forgot about cauterization

isnt the cloning system getting sacked soon?

I thought that cloning was just moved off to science. It is still pretty important knowledge to know, so I would keep it.

at a glance, all the info looks fine. Consider splitting Cryogenics and Cloning into separate articles, considering how long the single page is. It'd also make them easier to find.

also use GuideHelp components for cloner, biomass reclaimer, scanner, cryopod, and other medical items in the guide.


Graphs sometimes render misaligned bars

See this example:

I'm not sure what the cause is, but I think I've only observed this on pages that have been left open for a while, so suspect the redraw isn't working quite correctly.

Haven't noticed this yet on my side. Gathering information on this.


BMI088 on Teensy 4.0

I wired the bmi088 to my teensy board, but im getting a  -1 (ID) error code for both acceleration and gyro.
When can this fail?

I didnt explicitly soder the sdo pin to gnd. Maybe thats why


ARROW-225 Make a top level Contributing Guide

Docs failure is expected because the linked document is being added in this PR.

How do I make suggestions as a git diff / commit?

See "Optionally, to suggest a specific change to the line or lines, click , then edit the text within the suggestion block."  here.


Many packages in the database have a mismatched PackageRegistration.DownloadCount

Presumably the sum of downloads on all (non-deleted?) versions of an ID should be the valuer of PackageRegistration.DownloadCount.
This is not the case.
SELECT * FROM (
    SELECT pr.Id, MAX(pr.DownloadCount) AS PersistedDownloadCount, SUM(p.DownloadCount) AS CalculatedDownloadCount
    FROM Packages p
    INNER JOIN PackageRegistrations pr ON p.PackageRegistrationKey = pr.[Key]
    WHERE p.PackageStatusKey = 0
    GROUP BY pr.Id
) a WHERE a.PersistedDownloadCount != a.CalculatedDownloadCount

In most cases the persisted value is greater than the calculated value, but that's not always the case.

@joelverhagen , what's the customer impact?

Not sure right now. We should assess

How PackageRegistration.DownloadCount is used (perhaps used in Manage Packages page?)
How Package.DownloadCount is used -- I think only in non-hijacked OData but not sure.
Which value is correct?

@joelverhagen , perhaps the root cause is the bug you fixed a few months back that counted 404s as valid package versions.


Refactor, clean up, and minor logic changes

Hello, this is my first PR to a GO project.
Refactor Go Package and HTML/JavaScript Code for Improved Readability and Best Practices
This pull request introduces some improvements to the Go package and the HTML/JavaScript code used in the project. The primary focus has been on enhancing readability, error handling, and adhering to best practices in both Go and the web part.
Changes to the Go Package:

Enhanced Error Handling: Errors are now properly returned instead of using os.Exit, allowing for more graceful error handling at higher levels.
Logging Improvements: Replaced fmt.Println with log for better logging control.
Refactored HTTP Requests: Simplified repetitive code by introducing a function for common HTTP header setup.
Improved Readability: Streamlined functions and structured the code for better readability and maintainability.
Constants Usage: Centralized constants for API URLs and other frequently used strings.

Changes to HTML/JavaScript:

Improved HTML Semantics: Added a DOCTYPE declaration and included a <title> tag for better SEO and accessibility.
CSS Refactoring: Introduced a .hidden class for element visibility control and improved the specificity of other CSS selectors.
JavaScript Refactoring:

Ensured DOM is fully loaded before script execution.
Improved token extraction using URLSearchParams.
Enhanced error handling with more user-friendly error messages.
Used classList API for adding/removing classes.

Rationale:
Making the code more readable and maintainable. Also trying to learn Golang :)

Seems like there is a mixture of indentation types. Did you run this through gofmt before making the PR. I was under the impression that tabs were the idiomatic indentation style but I see them changed to spaces in a few places.


Different SM IO capabilities for different roles not supported

As far as I can see there is a global configuration for IO capabilities: ble_hs_cfg.sm_io_cap
I need to support different IO capabilities in different roles, e.g. BLE_HS_IO_KEYBOARD_ONLY in peripheral role and BLE_HS_IO_DISPLAY_ONLY in central role. I can work around it by setting the global configuration prior to initiating a central connection, and then setting it back, but that means if in the mean time a peripheral connects to my device it would not work.
Any possibility to set the IO capabilities per role or connection?

Hi,
In general IO capabilities describes what devices is able to do and is global by design. So currently it is not possible to override this per connection.
But I'd like to understand why you need this in first place,  stacks should be able to pick up best pairing method regardless of role on connection...

Yes, I agree that IO capabilities in general are global per device, so in a normal case the design choice of NimBLE is sensible, although not flexible.
In my case I am implementing an automatic passkey algorithm between devices from the same manufacturer, based on some shared secret, and in order for the passkey exchange to happen I have to use matching capabilities e.g. display on one side and keyboard on the other side. May not be the best way, but I need it for compatibility with already existing devices.
I assume that the capabilities are negotiated on a connection basis, so if the capabilities were stored by connection, or asked by callback from the application (like passkey) then we could implement more flexible schemes...

Querying for io caps like in the same way as for passkey would be ok, but the problem is that this adds an extra step in pairing process and existing apps will likely fail to handle it properly. I'd rather add a callback to ble_hs_cfg to query for SM settings, it will be used by SM if set by app or global settings will be used otherwise so compatibility with existing apps is retained.
IO caps per connection doesn't seem to have any justification in core spec so this would be a quirk rather than proper API.

Yes I understand, I'm also not really pushing for you to include this quirk, but on the other hand I believe NimBLE could benefit from more flexibility, especially when it's relatively easy to implement. Thank you


jumping css while rendering the page in production

yarn start
It start like this:

and it render like this:

This is a big issue I think. Do you have any idea what is the problem here?

It seems that the SSR is not doing all the work on the server-side.
Usually I can disable js on the client with SSR app and the app should render perfectly.
Here this is the result of disabling js:

The head tag is kind of empty.

Do you know how to get the full SSR behavior with with boilerplate

I see what you're saying. I'll need to play around with styled-components some more. What's going on is the stylesheet generated by styled-components isn't populating in the head with JS disabled.

but this work should be done on the ssr side right? yeah ssr make it a little more complicated.
I found this boilerplate that does exactly that on the redux-ssr branch:
https://github.com/diegohaz/arc
It looks very nice.

@rolele Nearly have a perfect implementation in place. Should be finished later this afternoon.

that is a great news. I like this starter very much. and I like to know that it is the basis of your boldr repo ( so it is a proof that it scales) thanks for the good work. I will test that and study your commit as soon as it is done.

Any news on this one?

@rolele You should not have any more issues with css not loading properly when JS is disabled.

There is PR https://github.com/strues/react-universal-boiler/pull/18 where I've shown how to fix css jumping issue.

@strues thanks for awesome boilerplate!


No Keybase files in Finder since macOS Monterey upgrade

No Keybase files in Finder since macOS Monterey upgrade. Lot's of apps broke, but Keybase is the only one I have not been able to get running properly again.
my log id: 1808db70156fcf20db6b961c

Same problem.

Same here

Seems duplicate/similar to #24668 and #24636 and @24578

Same here 👍 is this something going to be resolved?

same issue here.
I had just opened a ticket [ will close since its a dupe now, but heres what I noted]:
macOS Monterey 12.0.1, Keybase v 5.8.0, macFuse 4.2.2 [just released; but earlier today I was on 4.2.1]

When you head over to KB > Files > Enable Keybase in Finder, and approve, it just spins but does not take.

Earlier today I removed KB + macFuse, and tried to set up from scratch but still not taking. I did approve in  > syspref >sec&pri > Privacy > Full Disk Access, but same. Files and Folders is already enabled once you approve Full Disk Access. But I did try just Files and Folders and nope: same, just loops and never enables.

This was working fine in Big Sur.

Anything you folks think I can try?

dupe, found this: https://github.com/keybase/client/issues/24677

Ditto.

Closed as duplicative of #24636


an in memory Transport for use in testing

What was wrong?
For testing, it is convenient to be able to bypass the encryption overhead of the p2p.transport.Transport
How was it fixed?
Added p2p.tools.memory_transport.MemoryTransport and a corresponding factory for easy setup that produces a pair of transports that are directly connected, bypassing the encryption and networking.
To-Do

[x] Clean up commit history

[ ] Add entry to the release notes PR

Cute Animal Picture

This is a useful stand-alone piece I extracted from https://github.com/ethereum/trinity/pull/684


MVVM approach proposal

refactor HomeViewController/ViewModel to a different MVVM approach, in which the view model updates its state describing the work being done and the view controller is responsible to update its views according to the view model state.
This patterns allows a lighter view controller and gives more responsibility to the view model making it more than an intermediate between the view controller and the service layer.

          1 Error

:no_entry_sign:
PR is classed as Work in Progress. Do NOT merge

  Generated by :no_entry_sign: Danger

I can't see anything wrong with this implementation, and I really like it.
Just want to ask you, @germanStabile, what do you recommend for a more complex scenario, i.e: the view controller needs other attributes and UI changes to do.
I would say that, in that case, we may want to make the delegate method smarter, where it passes the attribute changed and the old/new value to the delegate(like a KVO does). That way we don't end up with really long enums and endless states to manage in the view controller.
In the worst case scenario, If a considerably big amount of properties or states is needed, I would consider a binding solution/library(RX).
WDY'allT? 😃

Right, @glm4. As you say we can either add more methods to the delegate or add parameters (like old and new value) to didUpdateState according to the complexity of the view controller we are implementing.
There may also be cases in which you'd want to add different state properties to avoid blocking user interaction for small UI updates.
In my personal experience binding libraries tend to add extra (and sometimes unneeded) complexity but it's also valid solution for some cases.

@germanStabile Agree, maybe with following examples we can see it better.
That is my point, let's no forget that if things get more complicated, we can jump into binding solutions. Just to have them in mind and not to get too attached to simple communications ways between VMs and VCs.
Very nice job!

I really like this approach, nice work!


dummy PR

Description
Changes proposed in this pull request:

...
...
...

Related issue(s)

/hold


Add a todo list project

I would like to add a todo-list. Can u assign it to me??

Do i have to create another folder for it??

@iamrahulmahato I have added todo list in the project section and also created a pull request. Plz review.


[TFB-1552] Introduction to the TF docs CI/CD/publication workflow

We should document tha basic CI/CD workflow for TF. For now we can start with the workflow for the Docs repo. We can information about other repos as it materialises.

Put this on hold until we have the Gerrit/GH/GL question solved.


Lab 2B_proposal: Ying Xu  worked with: Sizhe Ma&Sudong Wang

Sizhe Ma and Sudong Wang helped me a lot in the process of connecting  the circuit.

thanks; resubmit with only a link added to the repo (https://github.com/ese-detkin-lab/ese5190-2022-lab2b-esp)

professor,I edit the readme file ,but it still has the conflicts.
My  readme.file  link is https://github.com/real-YingXu/ese5190-2022-lab2b-esp/blob/main/README.md

Dear professor,
I edit the readme file ,but it still has the conflict.
My readme.file link is
https://github.com/real-YingXu/ese5190-2022-lab2b-esp/blob/main/README.md
Sincerely，
Ying Xu

Dear professor, I edit the readme file ,but it still has the conflict. My readme.file link is https://github.com/real-YingXu/ese5190-2022-lab2b-esp/blob/main/README.md Sincerely， Ying Xu

ok, you will want to do the proposal in your own separate repository (e.g., https://github.com/MaxMa6150/LAB2B_Proposal/)
then to submit, you will fork the lab2b repo, add a link to your proposal repo to the 'dashboard', and create a pull request with your edited link (e.g., https://github.com/ese-detkin-lab/ese5190-2022-lab2b-esp/pull/7/files)

Thank you so much,I have changed it successfully.
https://github.com/real-YingXu/ese5190-2022-lab2b-esp
https://github.com/real-YingXu/Ying-Xu_lab2b_proposal/blob/main/README.md
On Fri, Oct 21, 2022 at 2:38 AM Dalton Banks @.***>
wrote:

Dear professor, I edit the readme file ,but it still has the conflict. My
readme.file link is
https://github.com/real-YingXu/ese5190-2022-lab2b-esp/blob/main/README.md
https://urldefense.com/v3/__https://github.com/real-YingXu/ese5190-2022-lab2b-esp/blob/main/README.md__;!!IBzWLUs!R2jooYVbi44JhK1oa3PRsdMzoeg1DQEyab8PEVAVkdO8NCRPPK__c6wN0TB9SPFXNInP4A4Kbh4aw3m8NPsiO2B1ThYi8Q$
Sincerely， Ying Xu
ok, you will want to do the proposal in your own separate repository
(e.g., https://github.com/MaxMa6150/LAB2B_Proposal/
https://urldefense.com/v3/__https://github.com/MaxMa6150/LAB2B_Proposal/__;!!IBzWLUs!R2jooYVbi44JhK1oa3PRsdMzoeg1DQEyab8PEVAVkdO8NCRPPK__c6wN0TB9SPFXNInP4A4Kbh4aw3m8NPsiO2A9jk3XLw$
)
then to submit, you will fork the lab2b repo, add a link to your proposal
repo to the 'dashboard', and create a pull request with your edited link
(e.g.,
https://github.com/ese-detkin-lab/ese5190-2022-lab2b-esp/pull/7/files
https://urldefense.com/v3/__https://github.com/ese-detkin-lab/ese5190-2022-lab2b-esp/pull/7/files__;!!IBzWLUs!R2jooYVbi44JhK1oa3PRsdMzoeg1DQEyab8PEVAVkdO8NCRPPK__c6wN0TB9SPFXNInP4A4Kbh4aw3m8NPsiO2C8Gos2Mg$
)
—
Reply to this email directly, view it on GitHub
https://urldefense.com/v3/__https://github.com/ese-detkin-lab/ese5190-2022-lab2b-esp/pull/1*issuecomment-1286524025__;Iw!!IBzWLUs!R2jooYVbi44JhK1oa3PRsdMzoeg1DQEyab8PEVAVkdO8NCRPPK__c6wN0TB9SPFXNInP4A4Kbh4aw3m8NPsiO2CLeVTqKg$,
or unsubscribe
https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/A3HWWF55D6MF3O4F3OJEJJLWEI3ABANCNFSM6AAAAAARKYA3ZE__;!!IBzWLUs!R2jooYVbi44JhK1oa3PRsdMzoeg1DQEyab8PEVAVkdO8NCRPPK__c6wN0TB9SPFXNInP4A4Kbh4aw3m8NPsiO2CeL1FHuQ$
.
You are receiving this because you authored the thread.Message ID:
@.***>


The changes in translation are based on request #671

I would also recommend adding an announcement about this minor translation change to the Roadmap, using it as an Announcement Board, as you've done before. This way, others who are helping or want to assist with the translation can see it and make corrections, thereby standardizing all translations at this point and making the application more cohesive.
Furthermore, at your discretion, it may be worth considering the possibility of including these changes in the _missing_translations.json file to encompass everyone.

Thanks @sergd88,
I am too eager to release the next version as I don't have time for project. That's why in the last 2 releases (1.11.1 and 1.11.0), I have used automatic translation.
You could check out the diff if you are interested into the changes:
https://github.com/localsend/localsend/compare/v1.10.0...v1.11.1
I will add an announcement in the next version!


Widgets in Shiny App

The groupings from the .json files or the data frame are to be displayed as widgets in the R-Shiny app.
unanswered questions:

Can .json be included directly in R-Shiny without creating a DF beforehand?

widgets have been created, but unfortunately a dataframe must be created first, otherwise the display will not work.
NEXT: The widgets should be embedded in a Shiny Widget Gallery, where you:
view a chart with the frequency distribution of the error codes
search for specific error codes
show a statistic about the particular error codes


how to solve jpeg black

What are you trying to achieve?
Hi, I'm new to sharp.  I'm trying to crop image to a rounded corner image
Have you searched for similar questions?
Yes, and tried, but failed.
Are you able to provide a standalone code sample that demonstrates this question?
here is my code:
const svgRound = '<svg xmlns="http://www.w3.org/2000/svg" width="132" height="132"><circle r="66" cx="66" cy="66"/></svg>';
 const svg = Buffer.from(svgRound);

 const res =  await sharp('test.jpeg')
 .composite([{input: svg, blend: 'dest-in' }])

 .flatten({
   background:{r: 0, g: 0, b: 0, alpha: 10}
 })
 .jpeg( { quality: 70, progressive: true } )

 .toFile('output-xx2.jpeg');
 console.log(res);

output file output-xx2.jpeg is surrounded with black while png output is fine.
Are you able to provide a sample image that helps explain the question?
source image:  test.png

and the output output-xx2.jpeg:

is there any solution?

JPEG does not support alpha transparency.

@lovell Thanks you for your reply, I'got another question: if use png file, in my example above, source file is about 4K, output to xx.png file, the size the about 40K, ten times larger. is there any way to reduce png output file size?

These questions relate to general image processing topics and are not specific to sharp so you might find asking such questions on a site like Stack Overflow more relevant to your needs - good luck!

I have no issues cropping PNG to PNG. The file size actually reduces. Perhaps try the trim operation after converting to PNG (with either sharp or a different package).


Fix/move javascript to end

Codecov Report

Merging #85 (271ec52) into develop (1864834) will increase coverage by 0.10%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##           develop      #85      +/-   ##
===========================================
+ Coverage    92.97%   93.07%   +0.10%
===========================================
  Files            9        9
  Lines          868      880      +12
  Branches       137      138       +1
===========================================
+ Hits           807      819      +12
  Misses          41       41
  Partials        20       20

Impacted Files
Coverage Δ

esparto/_publish.py
87.95% <100.00%> (+2.04%)
:arrow_up:

Continue to review full report at Codecov.

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


Table: Add the possibility to show virtualized serverdata

Description
Added an option to virtualize serverdata with serverdata. This way you can scroll through your serverdata instead of paging it.
I had to modify TableState to support Start and Count instead of Page and PageSize, since we don't know what range will be asked by the Virtualize
The MudVirtualize is slightly to be able to support this also
How Has This Been Tested?
All unit tests pass and 2 new tests for the TableState's count have been added. I also added the sample to the Table examples page so it can be visually tested
Types of changes

[x] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
(Well not really breaking, since it's backwards compatible, but Start & Count should be the new preferred properties I guess, so marked the Page and PageSize properties as obsolete]

Checklist:

[x] The PR is submitted to the correct branch (dev).
[x] My code follows the code style of this project.
[x] I've added relevant tests.

Hi, I merged with the latest develop branch and replaced the custom skeletons with MudBlazor's skeleton's.
Could we please get this feature ?

@csteeg Great work, I agree this need to be merged into the next release, a much needed feature

@csteeg Great work. Does your changes cache data while scrolling? I noticed with virtualization if I scroll up and down it tries to grab the data again?
I agree this need to be merged into the next release, a much needed feature

Thank you. No it does not include caching atm

@csteeg Great work. Does your changes cache data while scrolling? I noticed with virtualization if I scroll up and down it tries to grab the data again?
I agree this need to be merged into the next release, a much needed feature

Thank you. No it does not include caching atm

Cheers thanks for the response. Hopefully it gets merged soon.
I will checkout your changes soon, do you think that caching the records you already scrolled through is beneficial? Especially if scrolling back up? Just trying to eliminate the flashing I see with many other versions of virtual scrolling, perhaps an in memory list that you add to as you scroll and only makes a request if that page doesn't exist?

Thanks but will close this one since DataGrid phase 3 is almost here and MudTable will possibly change drastically in the feature.

Hi, So does it means that the virtualized ServerData is now implemented in MudDataGrid ?

Hello, any news about this PR @csteeg  ?


Jailbroken but no cydia and no ssh how to proceed?

The procedure went to 49/49 then came after a popup as attached screenshot.

I am using RC8 on IOS 11.2 iphone 6.

Already jailbroken but no cydia and open cydia is gray.

#58 #59


Add days behind

Closes #6.

@Gewerd-Strauss Thanks for the suggestion. I've added the ability to open notes from the past days to the plugin. Let me know if this works for you: obsidian-upcoming.zip
Note that this version supports Obsidian v0.16.3 and up, which is currently an Insider build.

I unfortunately do not use obsidian insider builds, as I am using way too many plugins that are integral to my workflow which have not yet updated. I thus cannot test this myself unfortunately,

@Gewerd-Strauss The plugin should now work with Obsidian v1.0. Would you be able to test it?


Data processing [WIP]

This branch contains scripts that store and process data from output .xyz files from geomeTRIC torsion scans.

@jmaat I won't have time before Friday to review, but I can do it then. However, it looks like the Travis builds are failing so maybe you can try to fix that first? Let me or Vickie know if you need help with that.


fix: 修复现代浏览器不支持catch optional

Description
支持module，但是不支持 catch optional的低版本浏览器会导致程序不能正常运行

在浏览器判断处新增catch optional场景
Additional context

What is the purpose of this pull request?

[x] Bug fix
[ ] New Feature
[ ] Documentation update
[ ] Other

Before submitting the PR, please make sure you do the following

[x] Read the Contributing Guidelines.
[x] Read the Pull Request Guidelines and follow the Commit Convention.
[x] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[ ] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[x] Ideally, include relevant tests that fail without this PR but pass with it.

I don't think this is needed. Optional catch binding is supported by all default target browsers.
https://github.com/vitejs/vite/blob/e66cf69cc27b8a8900f14af746ed6925c8af8fdc/packages/vite/src/node/constants.ts#L17-L23
https://caniuse.com/mdn-javascript_statements_try_catch_optional_catch_binding

I fixed the problem in my project just a few hours ago(Android 9 Webview), but my solution is ugly.
`

`

OK. I know understand the problem.
Our default target browsers are not the same with the browsers supporting ESM + dynamic import + import.meta.
This is different from what we document.
Current default target browsers (A): es2020, edge88, firefox78, chrome87, safari13
browsers supporting ESM + dynamic import + import.meta (B): es2020, edge79, firefox67, chrome64, safari11.1
So features supported in A but not in B will be used in modern chunks and will break users using B.
Optional catch binding is supported from Chrome 66 and that is one of the affected features.
It seems the difference comes from https://github.com/vitejs/vite/pull/2976.

I think there's three options here.

Change build.target to B
Change build.target to B by plugin-legacy
Check every feature supported between A and B, and detect whether it is supported in detectModernBrowserCode

Thank you for the answer :)

I think there's three options here.

Change build.target to B
Change build.target to B by plugin-legacy
Check every feature supported between A and B, and detect whether it is supported in detectModernBrowserCode

So, in current, option 2 is already used as the fix, right?

Yes.


ustring::string() returns empty string when using the new C++11 ABI

I noticed that when using GCC 5.1 with the new libstdc++ ABI enabled, oslc foo.osl (from OpenShadingLanguage) would choose .oso as the output filename instead of foo.oso.
oslc uses shader_decl()->shadername().string() + ".oso" as the default output filename if one is not provided via the -o option. Further testing indicates that OpenImageIO's ustring::string() method is broken and returns an empty string on the new C++11 ABI.
Bellow is an example test program and GDB backtrace that show the issue.
#include <OpenImageIO/ustring.h>

int main(void) {
    auto a = OpenImageIO::v1_4::ustring("123");
    std::string b = "123";

    std::cout << "a = " << a.string() << std::endl << "b = " << b << std::endl;
    return 0;
}

Breakpoint 1, main () at test.cc:8
8		std::cout << "a = " << a.string() << std::endl << "b = " << b << std::endl;

(gdb) p a
$1 = {static npos =<PHONE_NUMBER>3709551615, m_chars = 0x61d870 "123",
  static empty_std_string = <optimized out>}

(gdb) p a.string
$2 = {const std::__cxx11::string &(const OpenImageIO::v1_4::ustring * const)} 0x4010e6 <OpenImageIO::v1_4::ustring::string[abi:cxx11]() const>

(gdb) p &a.string()
$3 = (const std::__cxx11::string *) 0x61d838

(gdb) p a.string()
$4 = ""

(gdb) c
Continuing.
a =
b = 123

Can you test this workaround? https://github.com/OpenImageIO/oiio/pull/1176

Seems to work, thanks!
Please note that most (if not all) Linux distros configure GCC 5.1 to use the old ABI (using --with-default-libstdcxx-abi=c++98). The issue won't manifest in such configurations, though building OIIO and its dependencies with -D_GLIBCXX_USE_CXX11_ABI=1 should be enough to reproduce it.


check expire fix

Coverage increased (+0.08%) to 90.951% when pulling 9f62b08a2ce6c7b4a5a06ece2ee2212309eed319 on ashpa:master into 0289c507d5b528bb4c532aeb669cc4d50d9bf659 on CS2103JUN2017-T4:master.


Invitation to Eddie's super awesome community

Hello Eddie!
I'd love to join your community. Let's have fun open sourcing 🙌🏼🤩

Thank you @nawalhmw, lets geek out 🎉
Invitation sent for the GitHub Organisation. Welcome to the community 🎉
Don't forget after accepting to make it public so it appears on your github profile for everyone else to see, you can do this by finding your name in the github organisation list and change the dropdown to public https://github.com/orgs/EddieJaoudeCommunity/people
Tips for practicing:
Customise your GitHub profile, here is a live stream on it https://www.youtube.com/watch?v=cT6GXCuS0Zo
Practice repo, instructions how to add your name to the README in the README https://github.com/EddieJaoudeCommunity/hacktoberfest-practice
Remember contributing to open source is not just about code, its about collaboration, communication and adding value
I hope that helps


Make the auto clean uncommitted be a jodatime to match clojure.

Changes proposed in this PR

A java.util.Date is the wrong type. Make it JodaTime so that the cleaner works correctly.

Why are we making these changes?

Looks good to me. Waiting on a green build.

The cook executor tests errored, it looked like due to a problem with the pymesos version change. I cleared the build caches and restarted that stage.


refactor: break if statements into new lines

No code changes,  just reformatted the code with dotnet-format
Previously we had a lot of if statements with the body in the same line.
The problem with this is that I cannot put a breakpoint,  in the body.  This is extremely useful to debug warnings an error messages.

sorry but I think it is kind of neat for some cases like debug filter and early returns.
I think we closed the same pr a year ago

consider this:
internal static void InternalAddPlayer(NetworkIdentity identity)
        {
            if (LogFilter.Debug) Debug.LogWarning("ClientScene.InternalAddPlayer");

            // NOTE: It can be "normal" when changing scenes for the player to be destroyed and recreated.
            // But, the player structures are not cleaned up, we'll just replace the old player
            localPlayer = identity;
            if (readyConnection != null)
            {
                readyConnection.identity = identity;
            }
            else
            {
                Debug.LogWarning("No ready connection found for setting player controller during InternalAddPlayer");
            }
        }

Let's say I see the log "ClientScene.InternalAddPlayer"
I would like to put a breakpoint in the Debug.LogWarning("ClientScene.InternalAddPlayer"); and trigger it again,  that way I would see exactly what the state is at the moment this Debug.LogWarning is called.
Today,  I can't put that breakpoint,  the breakpoint goes in the whole like:
if (LogFilter.Debug) Debug.LogWarning("ClientScene.InternalAddPlayer");

which is useless because it will trigger every time regardless of if it goes inside the if or not.
If we split it into 2 lines:
if (LogFilter.Debug)
    Debug.LogWarning("ClientScene.InternalAddPlayer");

Then I can place a breakpoint on the second line and troubleshoot how we got to that warning.
If you are still not convinced,  then just close this PR

I'd actually prefer having the if (LogFilter.Debug) broken to two lines because instead of turning on the flood of debug logging from Network Manager, I can just comment the if in certain places relevant to what I'm working on.

closing, sorry.
imho in some cases it does make things better


[5.1] Remove incorrect assertion in SIL verifier for assign_by_wrapper

The assertion was checking that the number of indirect result types
matched up with the number of indirect input types, which is... not
correct. The correct checks are later on, and the actual SIL itself is
correct. Fixes rdar://problem/52467175.

@swift-ci please test


Allow & evaluate future syntax in the playground (ie. pipeline)

I want the playground to handle stage-x proposals so we can, for example, test out interop with the pipeline operator |>. For most current proposals this is already doable if I add their plugins to the babel-standalone configs, but pipeline operator is missing from babel-standalone.
I opened up a pull request to add it - once that gets cut to a release I'll update the playground.

update: my PR to Babel was merged, so I'll be able to move on this once a new babel-standalone release includes it.

Closed by https://github.com/citycide/param.macro/commit/3a7b3634b797b54a4069dd3b9d4e693748a71626.


dracut: include cdrom_id rules

This is needed to properly detect optical media and create the
/dev/disk/by-label symlinks for Ignition's OpenStack provider.

lgtm


Added a cool Ghost Rider Filter in Snapchat Filters. I have attached the example in the readme file.

Related Issues or bug

Real-Time Ghost Rider Filter using OpenCV and dlib under SSOC 2023

Fixes: Add some cool snapchat filters which are not already present in repo #1419
Proposed Changes

Added Ghost_Rider_Filter having Ghost_Rider.py, README.md, requirements.txt and ghost_rider_mask.png in Snapchat_Filters Directory.

Additional Info

This project is an implementation of a real-time Ghost Rider filter using cv2 and dlib. It applies a Ghost Rider mask overlay to the faces detected in a live video stream from a webcam.

Screenshots

Original
Updated

Please add SSOC label in the PR.


[WIP] [Sema] Derive conformances to KeyPathIterable for classes.

The compiler now derives conformances KeyPathIterable for class types
based on the class's stored properties. Derivation of allKeyPaths works
just like it does for structs.
Conceptually, it makes sense for the implementation of allKeyPaths for subclasses
to prepend super.allKeyPaths if the superclass conforms to KeyPathIterable.
However, we found it impossible to express this in the type system because
PartialKeyPath<BaseClass> cannot be cast to PartialKeyPath<SubClass>.
Furthermore, subclasses inherit conformances from their superclass, so
KeyPathIterable synthesis will not be triggered for subclasses whose
superclass conforms to KeyPathIterable. This is a known phenomenon and
we don't attempt to derive conformance for such subclasses (Codable
synthesis has the same behavior).

It would be better to produce keypaths for stored properties from runtime metadata IMO. It will reduce code size and solve the inheritance problem with classes.

@slavapestov Interesting! Could you provide some pointers?

Closing, to revisit later.


FParser: Perform in-place scope attachment during parse

Note: This is the second part to optimising the performance of the FP frontend, as detailed in PR #234. It contributes significantly to the throughput number presented in #234 .
The key idea behind this PR is to avoid the costly rescoping pass of the subroutine/module bodies after the initial IR generation. Instead we now use the scope argument passed through the AST-to-IR converter whenever possible.
One caveat to this is that we still need to do one AttachScopes pass after parsing the spec, as we might encounter symbols used in shape declarations out of sequence (yay, Fortran!). I have adjusted one of the tests to capture this accordingly.
There are also a few little tricks involved, and I've added a small utility to temporarily override dict values, as we now need to be careful when and what to pass down the AST parse tree. There is still one hacky workaround left that forces type re-evaluation from scope for ProcedureDesignators, as the recursive lookup for parents still injects, wrongly-typed pseudo-symbols into the scope (via Symbol.variable_map). I leave it to a follow-on to fix this correctly.

Confirmed clean with ec-physics regression.


TypeError in JS console

I followed your instructions but when running my app in the browser and joining a meeting I get the following error: TypeError: document.getElementsByTagName(...)[0] is undefined in the file  js_primitives.dart:30:4
Can you help?

Hi @CollinAlpert may be the flt-platform-view element is not available, what version of flutter are you using?

I'm using version 1.22.6. Should be the latest available.

If you run the example https://github.com/lennhv/jitsi_meet_plugin/tree/master/jitsi_meet/example you get the same error?

Yes, when running the example, I get the same error.


March 2024 Activity ReportーMichael

personal information:
Rank: Head Ambassador Telegram Username：@MICHAEL_NEUROLA
UNCHER
X(twitter): @stomkt
Discord username: michael_neurolauncher
ASTAR native wallet address：
X619kZy7xLjip75AwDaXqhkaMGFq2ta7NvWh9ynpm5LqzeC
Completed all assigned tasks
Task; Content Creator (X (Twitter) and all my QT posts:
https://x.com/stomkt/status/1763225076286337390?s=46&t=GzSwwS5_uL4lc--ZMyKzzQ
https://x.com/stomkt/status/1763756753139974236?s=46&t=GzSwwS5_uL4lc--ZMyKzzQ
https://x.com/stomkt/status/1763876519112519772?s=46&t=GzSwwS5_uL4lc--ZMyKzzQ
https://x.com/stomkt/status/1763891989727281660?s=46&t=GzSwwS5_uL4lc--ZMyKzzQ
https://x.com/stomkt/status/1764626558055297285?s=46&t=GzSwwS5_uL4lc--ZMyKzzQ
https://x.com/stomkt/status/1765000561244713012?s=46&t=GzSwwS5_uL4lc--ZMyKzzQ
https://x.com/stomkt/status/1765247010494693808?s=46&t=GzSwwS5_uL4lc--ZMyKzzQ
https://x.com/stomkt/status/1765316341509316794?s=46&t=GzSwwS5_uL4lc--ZMyKzzQ
https://x.com/stomkt/status/1765349683235627143?s=46&t=GzSwwS5_uL4lc--ZMyKzzQ
https://x.com/stomkt/status/1765349943827669498?s=46&t=GzSwwS5_uL4lc--ZMyKzzQ
https://x.com/stomkt/status/1765739155576045988?s=46&t=GzSwwS5_uL4lc--ZMyKzzQ
https://x.com/stomkt/status/1765887455579033835?s=46&t=GzSwwS5_uL4lc--ZMyKzzQ
https://x.com/stomkt/status/1766780721102995657?s=46&t=GzSwwS5_uL4lc--ZMyKzzQ
https://x.com/stomkt/status/1767168062153965967?s=46&t=GzSwwS5_uL4lc--ZMyKzzQ
https://x.com/stomkt/status/1767169297212989798?s=46&t=GzSwwS5_uL4lc--ZMyKzzQ
https://x.com/stomkt/status/1767785659308400806?s=46&t=GzSwwS5_uL4lc--ZMyKzzQ
https://x.com/stomkt/status/1767885782726189491?s=46&t=GzSwwS5_uL4lc--ZMyKzzQ
https://x.com/stomkt/status/1767886638737477769?s=46&t=GzSwwS5_uL4lc--ZMyKzzQ
https://x.com/stomkt/status/1768610606134026509?s=46&t=GzSwwS5_uL4lc--ZMyKzzQ
https://x.com/stomkt/status/1768926594159243428?s=46&t=GzSwwS5_uL4lc--ZMyKzzQ
https://x.com/stomkt/status/1768988884124287362?s=46&t=GzSwwS5_uL4lc--ZMyKzzQ
https://x.com/stomkt/status/1768989244654252493?s=46&t=GzSwwS5_uL4lc--ZMyKzzQ
https://x.com/stomkt/status/1769725448810791247?s=46&t=GzSwwS5_uL4lc--ZMyKzzQ
https://x.com/stomkt/status/1769732136108483029?s=46&t=GzSwwS5_uL4lc--ZMyKzzQ
https://x.com/stomkt/status/1769733306046705948?s=46&t=GzSwwS5_uL4lc--ZMyKzzQ
https://x.com/stomkt/status/1770106826639773852?s=46&t=GzSwwS5_uL4lc--ZMyKzzQ
https://x.com/stomkt/status/1770421134443565067?s=46&t=GzSwwS5_uL4lc--ZMyKzzQ
https://x.com/stomkt/status/1770426586464125438?s=46&t=GzSwwS5_uL4lc--ZMyKzzQ
https://x.com/stomkt/status/1771355911359209760?s=46&t=GzSwwS5_uL4lc--ZMyKzzQ
https://x.com/stomkt/status/1772233197805588663?s=46&t=GzSwwS5_uL4lc--ZMyKzzQ
https://x.com/stomkt/status/1772237321884336217?s=46&t=GzSwwS5_uL4lc--ZMyKzzQ
https://x.com/stomkt/status/1772242477166023071?s=46&t=GzSwwS5_uL4lc--ZMyKzzQ
https://x.com/stomkt/status/1772614846602723603?s=46&t=GzSwwS5_uL4lc--ZMyKzzQ
https://x.com/stomkt/status/1772960313152786570?s=46&t=GzSwwS5_uL4lc--ZMyKzzQ
https://x.com/stomkt/status/1773116159484649980?s=46&t=GzSwwS5_uL4lc--ZMyKzzQ
https://x.com/stomkt/status/1773346889955516705?s=46&t=GzSwwS5_uL4lc--ZMyKzzQ
https://x.com/stomkt/status/1773693475814289823?s=46&t=GzSwwS5_uL4lc--ZMyKzzQ
https://x.com/stomkt/status/1773698058431201436?s=46&t=GzSwwS5_uL4lc--ZMyKzzQ
https://x.com/stomkt/status/1773707894439243789?s=46&t=GzSwwS5_uL4lc--ZMyKzzQ
https://x.com/stomkt/status/1774263142694211667?s=46&t=GzSwwS5_uL4lc--ZMyKzzQ
https://x.com/stomkt/status/1774418752005890136?s=46&t=GzSwwS5_uL4lc--ZMyKzzQ
In addition, the following activities were carried out:⬇
①Neurolauncher NFT Purchase Support
② Neurolanche Staking Support
③Michael’s Discord support
④ Promoting and supporting Neurolanche & ZkStrike on the Investor Group Discord
⑤Neurolanche Discord、Japanese room support


optimized _.eq function, remove redundant comparison when both null

PR for #2629

Coverage remained the same at 96.763% when pulling 2c2abf82f9d98b2f2bed5b11f7e77788841695a6 on ahonn:master into ce09af4aed81a8d73e55d91a40a61d11414fae81 on jashkenas:master.

Coverage remained the same at 96.763% when pulling 6d7225d02eb22cd6392ea1de8a6fa66227b38b10 on ahonn:master into ce09af4aed81a8d73e55d91a40a61d11414fae81 on jashkenas:master.

Coverage remained the same at 96.763% when pulling 6d7225d02eb22cd6392ea1de8a6fa66227b38b10 on ahonn:master into ce09af4aed81a8d73e55d91a40a61d11414fae81 on jashkenas:master.


Detect Java Namespaces/Group IDs by hash

What would you like to be added:
Extends the Java Cataloger with support to determine the group id, if not present in pom.xml/pom.properties, by querying the Maven Central using the SHA-1 hash of the JAR file.
Why is this needed:
Currently there is an extensive support by the Java ecosystem to determine the correct namespace. If pom.xml or pom.properties are present, it leads to good and correct results. If they are absent it more a "guess" work currently which leads to quite a lot of incorrect Package URLs for these artifacts.
Using the search by hash would improve the correctness of the results drastically.
Additional context:
A bash script which performs this logic is available here:
https://github.com/sjbotha/make-pom/blob/master/make-pom.sh

This is a great idea. Today, all of Syft's analysis is static, based only on data that's available locally. The theme of "enhancing a scan via remote lookups" has been emerging for a while now in various aspects of Syft's logic, so it seems inevitable that Syft will start doing this. We still need to work out the details.

One thing @wagoodman and I had been discussing around this recently is at least capturing the hash for java artifacts in the metadata so it can at least be used to lookup the correct artifactid and groupid after the fact

Including the hash in the metadata may also help https://dependencytrack.org/ to match the components with the upstream maven artifacts to support vulnerability scanning.
I don't know how exactly "dependency track" currently matches the components to their corresponding maven artifacts. We are using Syft to create SBOMs for java projects on the local filesystem. A java project contains all its dependencies as jar-files inside a libs/ subdirectory of the project. Syft currently cannot correctly determine the correct maven identifiers just by scanning the jar files. If "dependency track" can use the hashes to lookup the correct maven artifact, including the hashes in the SBOM solve our use case regarding vulnerability scanning.


WIP Defaults function

Defaults function implementation.
Implementing the function since it is going to be used by Patch implementation.

✅ No public API change.


RMG warnings for static fields and constants

Describe the bug
Members besides instance properties are getting picked up by the compiler analyzer. Specifically:

RMG020 for a static field
RMG012 for a const field

To Reproduce
Steps to reproduce the behavior:

Add a mapping method where the source or target class contains static and/or const fields

Expected behavior
[Mapper] analyzer should ignore the non-property fields, or, allow a way to filter them out
Code snippets
3rd party source models are using this base class:
namespace ShopifySharp.Filters
{
    /// <summary>
    /// A generic class for filtering the results of a .ListAsync command.
    /// </summary>
    public class ListFilter<T> : Parameterizable
    {
        /// <summary>
        /// A unique ID used to access a page of results. Must be present to list more than the first page of results.
        /// </summary>
        [JsonProperty("page_info")]
        public string PageInfo { get; }

        /// <summary>
        /// The number of items which should be returned. Default is 50, maximum is 250.
        /// </summary>
        [JsonProperty("limit")]
        public int? Limit { get; set; }

        /// <summary>
        /// Comma-separated list of which fields to show in the results. This parameter only works for some endpoints.
        /// </summary>
        [JsonProperty("fields")]
        public string Fields { get; set; }

        /// <remarks>
        /// This constructor is protected to prevent developers from using `new ListFilter()`, but to make creating your
        /// own ListFilter easier.
        /// https://github.com/nozzlegear/shopifysharp/issues/515
        /// </remarks>
        protected ListFilter()
        {

        }

        public ListFilter(string pageInfo, int? limit, string fields = null)
        {
            PageInfo = pageInfo;
            Limit = limit;
            Fields = fields;
        }

        public ListFilter<T> AsListFilter() => this;

        public static readonly ListFilter<T> Empty = new ListFilter<T>();
    }
}

Mapper class attempting to map from 3rd party models. ProductListFilter & OrderListFilter inherit from ListFilter where the static field is declared.
[Mapper]
public partial class ShopifyClientMapper : IShopifyClientMapper
{
    [MapperIgnoreSource(nameof(ProductListFilter.CollectionId))]
    [MapperIgnoreSource(nameof(ProductListFilter.CreatedAtMin))]
    [MapperIgnoreSource(nameof(ProductListFilter.Fields))]
    [MapperIgnoreSource(nameof(ProductListFilter.Handle))]
    [MapperIgnoreSource(nameof(ProductListFilter.Ids))]
    [MapperIgnoreSource(nameof(ProductListFilter.Limit))]
    [MapperIgnoreSource(nameof(ProductListFilter.PageInfo))]
    [MapperIgnoreSource(nameof(ProductListFilter.PresentmentCurrencies))]
    [MapperIgnoreSource(nameof(ProductListFilter.Status))]
    [MapperIgnoreSource(nameof(ProductListFilter.Title))]
    [MapperIgnoreTarget(nameof(ProductCountFilter.CollectionId))]
    public partial ProductCountFilter ProductListFilterToProductCountFilter(ProductListFilter orderListFilter);

    [MapperIgnoreSource(nameof(OrderListFilter.AttributionAppId))]
    [MapperIgnoreSource(nameof(OrderListFilter.Ids))]
    [MapperIgnoreSource(nameof(OrderListFilter.PageInfo))]
    [MapperIgnoreSource(nameof(OrderListFilter.Limit))]
    [MapperIgnoreSource(nameof(OrderListFilter.Fields))]
    public partial OrderCountFilter OrderListFilterToOrderCountFilter(OrderListFilter orderListFilter);
}

.editorconfig
[*.cs]

# Default severity for analyzer diagnostics using 'Mapperly'
dotnet_diagnostic.RMG012.severity = warning
dotnet_diagnostic.RMG020.severity = warning

Compiler warnings treated as Errors

Environment (please complete the following information):

Mapperly Version: 2.8.0-next.2
.NET Version: .NET 7.0.5
Target Framework: .net7.0
IDE: Visual Studio v17.5.4
OS: Windows 11

Additional context
Add any other context about the problem here.

Thank you for the Bug report. Could you add a code sample which results in the diagnostics you reported? Thank you!

NP, I should have done that in the original request :)  - Updated

Thank you, this seems to be a bug introduced in https://github.com/riok/mapperly/pull/346.


Forwarding breaks on deployment update if the new pod is not immediately ready

I'm using skaffold and kubefwd 1.11.1 to run my dev setup and have found two scenarios where the service/pod monitoring feature of kubefwd is not working.
Deleting service+deployment and recreating them (skaffold delete, skaffold run)
It seems that kubefwd correctly detects service deletion and creation, but does not account for the fact that it takes some time until the newly created pod becomes ready, so the forwarding never resumes.
Logs:
INFO[15:44:06] Forwarding: test:80 to pod test-7f9f697c8-v7mlw:8080
WARN[15:44:13] Stopped forwarding test in default.
WARN[15:44:21] WARNING: No Running Pods returned for service test in default on cluster .

Updating service+deployment using Recreate strategy (skaffold run)
Basically the same thing happens - kubefwd detects the service update and pod termination, but does not wait for the new pod to become ready. This is because the update strategy is configured as Recreate.
Logs:
INFO[16:21:50] Forwarding: test:80 to pod test-67fcc88dbb-6qjc2:8080
INFO[16:21:55] update service default/test.
WARN[16:21:58] test-67fcc88dbb-6qjc2 Pod deleted, restart the test service portforward.
WARN[16:21:58] Stopped forwarding test in default.
WARN[16:21:58] WARNING: No Running Pods returned for service test in default on cluster .

Everything works as expected when using RollingUpdate:
INFO[16:26:59] Forwarding: test:80 to pod test-69766f5bf5-n8whg:8080
INFO[16:27:11] update service default/test.
WARN[16:28:39] test-69766f5bf5-n8whg Pod deleted, restart the test service portforward.
WARN[16:28:39] Stopped forwarding test in default.
INFO[16:28:39] Forwarding: test:80 to pod test-74fc67685-zbptc:8080

Unfortunately in some legacy applications it is not always possible to use RollingUpdate, therefore it would be nice if kubefwd supported waiting for pods to become ready instead of immediately aborting.

I think I'm hitting the same behavior without using skaffold.

I start kubefwd
then helm install confluentinc/cp-helm-charts

If I do this in that order I get a few WARNING: No Running Pods returned for service X for all the services deployed in that chart, but no other errors.
If I reverse the order above and start kubefwd after installing that chart, it all works fine.

Kubefwd was never intended to be more than a simple development utility, providing the ability to forward to multiple services with proper hostnames for local microservices development. Early on, some contributors tried to implement watchers, this caused more instability and edge-case race conditions than value. I've left some of that code, but it's not reliable.
If I am developing an application that connects to a few backend services, those services should not go down regularly, and if they do, a simple restart of kubefwd costs me a few seconds. Also, because I know what pods kubefwd is connecting to, I often monitor their logs while developing.


Adding use-full DSA codes in cpp

Please Add Hacktoberfest in the topics section in your repo...
The PR I made for your repo is showing as Ineligible repo for hacktoberfest
since the topics doesn't have Hacktoberfest tag
Thank you!
On Mon, Oct 5, 2020 at 1:15 PM Championrunner<EMAIL_ADDRESS>wrote:

Merged #1121
https://github.com/Ishaan28malik/Hacktoberfest-2020/pull/1121 into
master.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Ishaan28malik/Hacktoberfest-2020/pull/1121#event-3839008413,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANNDP4HYRYOJO5IGFK5MTILSJF2SVANCNFSM4SEGGD2Q
.


Removed Java gui code

Please remove the NO_GUI option from the CMakeList: https://github.com/DependableSystemsLab/LLTFI/blob/master/CMakeLists.txt#L12

Also, please remove the following pages from the Wiki:
https://github.com/DependableSystemsLab/LLTFI/wiki/Get-Started-with-using-LLTFI-with-GUI
Edit the following pages:
https://github.com/DependableSystemsLab/LLTFI/wiki/Test-Suite-for-Regression-Test : Add info about running the ML regression test suite as well. (Feel free to copy from the README file.)
https://github.com/DependableSystemsLab/LLTFI/wiki/Get-Started-with-using-LLTFI-with-Web-GUI : Update the NodeJS version in the page.


Unify NodeJS dependency declarations into Bazel

Right now, some dependencies and their respective version numbers are declared in package.json. This is not ideal and they should be declared in Bazel instead.

Is this even possible?

we'll first need to do the research on whether it is possible. @haikalpribadi

@lolski This is technically possible, but not recommended. (Almost) all JavaScript and TypeScript projects use the package.json format for declaring dependencies. There are alternatives - a couple of Medium articles discuss this, including https://blog.bitsrc.io/4-npm-alternatives-best-js-package-managers-and-publishing-tools-fe6779937ee9 - but they are not well-known and it would not be beneficial for us to use a package manager with very low adoption in a secondary language in our ecosystem.
We will surely continue to use Bazel, and so it makes sense for us to use the Bazel npm rules that we already use:
# Load package.json
node_repositories(
    package_json = ["//:package.json"]
)
yarn_install(
    name = "npm",
    package_json = "//:package.json",
    yarn_lock = "//:yarn.lock",
)

Note that this then allows our yarn-installed packages to be referenced as Bazel targets, akin to our usage of Maven inside Bazel:
ts_project(
    name = "client-nodejs",
    srcs = glob([
        "*.ts",
        "api/**/*.ts",
        "common/**/*.ts",
        "connection/**/*.ts",
        "concept/**/*.ts",
        "logic/**/*.ts",
        "query/**/*.ts",
        "stream/**/*.ts",
    ]),
    tsconfig = "tsconfig.json",
    declaration = True,
    deps = [
        "@npm//@grpc/grpc-js",
        "@npm//@types/node",
        "@npm//@types/uuid",
        "@npm//typedb-protocol",
        "@npm//typescript",
        "@npm//uuid",
    ],
)

I will close this issue - feel free to reopen if there is anything I'm missing that would cause our current behaviour to be incorrect.


Sort instances within a contact so online ones appear at the top

Currently offline instances can appear above online instances for the same user.  We should put online instances at the top, since offline ones are less likely to be interacted with.

We considered having instances auto-open. We may want to consider having the online instances auto-open, and the offline ones hidden. @zahoriea ?

How can you reproduce the problem?

Two friends login in uProxy
One friend ("the sharer") offers access to the other friend ("the getter"), and the other friend should accept.
The sharer should log out, and then login with a new Chrome instance or with Firefox
The sharer offers access to the friend again, and the friend accepts

What is the expected output?
The getter now sees two "Start getting access" buttons under the sharer, one for each Chrome instance or Firefox instance of uProxy that shared access with them. The online instance appears below the offline instance.
And what do you see instead?
The online instance should appear above.

I'll try working on this one....