text:
[Discussion] Run time discrepancy

According to https://github.com/Deep-MI/FastSurfer#overview, (i) should take ~1 min while (ii) should take ~1 hour. On the other hand, they respectively took ~3 mins and ~3 hours for me.
So what machine/GPU did you use? My interest would be to bring the runtime down to the stipulated ones if they are at all possible.
FYI, I used this command:

time docker run --gpus all -v FastSurfer:/root/FastSurfer -v pwd:/root/data -v /home/tb571/freesurfer:/root/fs_license/ --rm fastsurfer:gpu --t1 /root/data/003_T1w_resampled.nii.gz --sd /root/FastSurfer/ --sid 003 --parallel --batch 4 --fs_license /root/fs_license/license.txt

And my data resolution:
[root@pnl-z840-2 fs_test]# fslinfo 003_T1w_resampled.nii.gz
data_type      FLOAT32
dim1           256
dim2           256
dim3           44
dim4           1
datatype       16
pixdim1        1.000000
pixdim2        1.000000
pixdim3        4.000000
pixdim4        1.000000
cal_max        0.0000
cal_min        0.0000
file_type      NIFTI-1+

On a related note, when evaluating FastSurfer for large scale processing using CPUS, I'm getting times of ~1.5 hours for the segmentation alone on a single CPU.  If this is expected, is there a way to speed up the segmentation piece while using only CPU, since the --parallel and the --threads options are only for the surface reconstruction pipeline?
Command:
./run_fastsurfer.sh --t1 /scratch/Niranjana/fastsurfer/inputs/212814/001.mgz --sid 212814_seg_only --sd /scratch/Niranjana/fastsurfer/outputs/ --batch 1 --no_cuda --seg /scratch/Niranjana/fastsurfer/outputs/212814_seg_only/aparc+aseg.mgz --seg_only

T1 data is 1 mm isotropic and 256 x 256 x 170 dims.

Hey,
we use NVIDIA Titan Xp GPU with 12 GB RAM and Intel Xeon Gold 6154 @ 3 Ghz as specified in the paper. Maybe you can check the log-file to see which step takes up so much time. We get around 10s per network and approx. 15 s for the view aggregation on the GPU.
Best,
Leonie

Did I get it right that you are talking about (i) FastSurferCNN step only?

Hi @NinjMenon ,

a significant amount of time and resources go into manual edits of traditional FreeSurfer outputs

What outputs do you refer to?

we're excited to evaluate how FastSurfer can reduce our time burden

I am also looking into this package's prospect in at least producing a full FreeSurfer alternative for volumetric analysis (within 1 minute) and surface-based thickness analysis (within only around 1h run time) as stipulated in their documentation. Can you let us know your finding?

@tashrifbillah We often get segmentation errors due to atrophy (undercapture), overlapping pial surfaces, disconnected areas that require several rounds of manual edits.
Since we have limited access to GPUs, I was wondering if there is a way to improve the runtime on CPUs with some type of multithreading.

@LeHenschel : It is taking me ~ 1.5 hours on a single CPU. Here is the abridged log-file:
repos/FastSurfer$ grep -e "seconds" /fs0/Niranjana/T1/fastsurfer/outputs/209883/scripts/deep-seg.log
Axial View Tested in 2089.9220 seconds
Coronal View Tested in 1797.4549 seconds
Sagittal View Tested in 2069.5206 seconds
View Aggregation finished in 23.0727 seconds

It looks like each step is taking ~30-35 minutes.
Abridged specs:
repos/FastSurfer$ lscpu
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                24
On-line CPU(s) list:   0-23
Thread(s) per core:    2
Core(s) per socket:    6
Socket(s):             2
NUMA node(s):          2
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 62
Model name:            Intel(R) Xeon(R) CPU E5-2630 v2 @ 2.60GHz
Stepping:              4
CPU MHz:               2902.465
CPU max MHz:           3100.0000
CPU min MHz:           1200.0000
BogoMIPS:              5200.02
Virtualization:        VT-x
L1d cache:             32K
L1i cache:             32K
L2 cache:              256K
L3 cache:              15360K

Do you have any ideas to improve the run time on CPU?

@NinjMenon , I thought you said FastSurfer has the potential of reducing your manual edit effort. By the way, I also noticed the long running time of (i) FastSurferCNN on CPU. If that is indeed the case, I don't think we have any improvement over FreeSurfer at the CPU front. Still, I am interested to explore how the outputs of shorter run time on GPU compare with that of FreeSurfer. If you at all find yourself doing that comparison on CPU, feel free to let me know.

@tashrifbillah Yes that's what we're trying to evaluate - whether using FastSurfer either completely eliminates the need for manual edits, or reduces the processing time significantly so that even if we needed to do manual edits, the overall time required to complete one scan will be reduced.
I'll try with the GPU method, if the CPU method does not have a way of being sped up.

Hi, CPU processing can be sped up by using many cores. E.g. on our servers it grabs all 72 cores and FastSurferCNN (3 segmentation networks and view aggregation) finishes in around 20-23 mins. When using only 6 cores it takes 1h. It is really better to use a GPU for this (1min).

Hi @m-reuter , any comment on step (ii) run time?

That can be found in our paper
https://www.sciencedirect.com/science/article/pii/S1053811920304985 Table 3, around 100 min sequential w/o spherical registration, and 54 min when parallelizing hemis and using 4 threads.
About GPU for the step i (CNNs + view aggregation) Leonie (thanks!) just tested on our RTX 2080 (8GB GPU RAM, affordable GPU 500-600 Euros) and it takes 40 seconds even with small batch sizes.

Hi, CPU processing can be sped up by using many cores. E.g. on our servers it grabs all 72 cores and FastSurferCNN (3 segmentation networks and view aggregation) finishes in around 20-23 mins. When using only 6 cores it takes 1h. It is really better to use a GPU for this (1min).

@m-reuter Ah that makes more sense. I was using only 1 core. Is there a flag to set the number of cores it can use?
I did some benchmarking on our HPC and got these runtimes:

Step
Time HH:MM:SS

seg only - 1 GPU
00:02:15

surf only - 1 GPU, 4 threads, parallel hemis
02:53:15

seg only - 1 CPU
01:30:06

surf only - 1 CPU, 4 threads , parallel hemis
02:14:34

CPU is a Intel(R) Xeon(R) CPU E5-2630 v2 @ 2.60GHz and GPU is RTX 2080 Ti.
I'm really curious about the run time differences for the surface pipeline between CPU and GPU - shouldn't the GPU version be much faster?

surface pipeline between CPU and GPU - shouldn't the GPU version be much faster?

FreeSurfer shouldn't use any GPU, it should be CPU only. So the run time for both should be the same. I guess they are different in your profile based on the load in HPC when you profiled.

Yes, step 2 recon-surf does not use gpu. Make sure nothing else is running on the same resources when you benchmark.

Question for you @NinjMenon , in your initial command you used --batch 1. Is the above profile with the same? If it is, increasing that should speed up inference on CPU.
As for your other comment:

I was using only 1 core. Is there a flag to set the number of cores it can use?

I don't think you can tell how many CPUs CUDA used for step (i). I believe it by default uses all your CPUs. If I am right, then it is what it is. Unless you can get access to a GPU, there may not be any way to bring down the run time.
@m-reuter feel free to correct me if I am wrong.

Question for you @NinjMenon , in your initial command you used --batch 1. Is the above profile with the same? If it is, increasing that should speed up inference on CPU.

Yep I am running the same command - I will try that out. Thanks!

As for your other comment:

I was using only 1 core. Is there a flag to set the number of cores it can use?

I don't think you can tell how many CPUs CUDA used for step (i). I believe it by default uses all your CPUs. If I am right, then it is what it is. Unless you can get access to a GPU, there may not be any way to bring down the run time.
@m-reuter feel free to correct me if I am wrong.

I thought @m-reuter was talking about running the segmentation on CPU alone and that it is faster when using more cores. Did I get that wrong?

In @m-reuter 's comment:

CPU processing can be sped up by using many cores. E.g. on our servers it grabs all 72 cores

I think he meant get access to a machine with more CPUs  :D

Okay now I am confused - just trying to dumb this down for myself:
72 cores = 20-30 minutes
6 cores = 1 hour
And if it is grabbing all available cores on my gateway, which is definitely more than 6 right now: I get 1.5 hours. Am I missing something here? Thanks for helping me understand!

Could be slower CPU, could be you are sharing the system with others, could be there is a scheduling system that gives you only one core even though more are free ...

Hey @NinjMenon,
this might also have to do with the pytorch version you are using. If I interpret your initial command correctly, you are using a local install. For cpu inference you should use the cpu optimized pytorch version. In addition, you can set the number of cores which will be used via the OMP_NUM_THREADS environment variable. By default (so if this is not globally set for you), the cpu pytorch version should use all the available cores.
See also here for more information (so this is for tensorflow, but the same applies for pytorch): https://software.intel.com/content/www/us/en/develop/articles/maximize-tensorflow-performance-on-cpu-considerations-and-recommendations-for-inference.html
Best,
Leonie

@m-reuter Thanks! I appreciate the answers. I will run some tests with 6-24 cpus and see if there is a benefit. We do have a GPU, but our access to it is limited. We have a significantly higher proportion of CPUs and better access, that's why we wanted to evaluate the CPU version.
@LeHenschel that is super helpful thanks! I was using the local install until I got a singularity version working.
Thanks for all your help guys!

Hi all, I have made an interesting discovery with the following data:
data_type      INT16
dim1           176
dim2           256
dim3           256
dim4           1
datatype       4
pixdim1        1.000000
pixdim2        1.000000
pixdim3        1.000000
pixdim4        2.530000
cal_max        0.0000
cal_min        0.0000
file_type      NIFTI-1+

The whole FastSurfer pipeline completed in less than an hour as stipulated in your documentation. Can anyone rationalize this fastness compared to the previous data I posted? The only obvious thing is, my new data is of higher resolution-- 176x256x256 compared to 256x256x44 before.
I guess the question will be two fold--

To what space FreeSurfer warps given data?
Does the 2nd step ((ii) recon-surf) take more time for low-resolution or a resolution that is significantly different than the one FreeSurfer warps to?

FreeSurfer and Fastsurfer are designed to work with inputs around 1mm isotropic resolution. That means that if you input anything with voxel sizes thicker than 1.5mm you are operating outside of the supported region. Probably your 44 slices images has large voxel sizes, which means it will produce lots of problems in the pipeline. These result in much longer runtimes e.g. in the topology fixer. Anything can happy with low-quality input.

Regarding your first question: FastSurferCNN was trained with conformed images (UCHAR, 256x256x256, 1 mm voxels and standard slice orientation). These specifications are checked in the eval.py script and the image is automatically conformed if it does not comply. This is basically also what FreeSurfer does (equivalent to orig.mgz).

Does conformed means warped?

Well, conformed means that we basically apply the same transformation as FreeSurfer's mri_convert -c, which turns image intensity values into UCHAR, reslices images to standard position, fills up slices to standard 256x256x256 format and enforces 1 mm isotropic voxel sizes. This includes some interpolation when the image is mapped/resliced to the new voxel space (RAS orientation).

that means that if you input anything with voxel sizes thicker than 1.5mm you are operating outside of the supported region.

Okay, then @m-reuter 's comment does not apply, does it?

No, it still applies because your original input data is quite different from the default 1 mm voxel sizes.

How does it? Shouldn't all FreeSurfer steps happen after mri_convert -c ? Or are you saying that step explains the additional time?

FreeSurfer and Fastsurfer are designed to work with inputs around 1mm isotropic resolution. That means that if you input anything with voxel sizes thicker than 1.5mm you are operating outside of the supported region. Probably your 44 slices images has large voxel sizes, which means it will produce lots of problems in the pipeline. These result in much longer runtimes e.g. in the topology fixer. Anything can happy with low-quality input.

Well, all my T1s are 256x256x170 and 1 mm isotropic. The surface piece of the pipeline still takes a little over 2 hours on a reserved machine (nothing else running) with 20 threads, parallel hemis.

Hi guys to clear up a few things:

voxel sizes of 4mm (like what you have @tashrifbillah  ) is supported neither by FreeSurfer nor FastSurfer. With that stuff you are on your own and most likely will get poor results.
the conform step reslices to 1mm isotropic input. This is not a non-linear warp, just resampling, and some rotation. Yet it will not create the missing information magically. So while the code will run, results can be expected to be poor and run-times can be slow.
Even 1mm inputs can have low quality, e.g. old or diseased subjects tend to move more (motion artifacts), or you may have poor image contrast. These could be reasons that increase the run time. Also, I doubt that 20 threads help speed up things, probably the optimum is 4-8 threads. If hemis run in parallel, there may be passages where you have double the number of threads specified, which is why FreeSurfer uses 4 threads as default. So for @NinjMenon 2h it would be interesting, what inputs were used (MPRAGES, 3T or 1.5T scanner what manufacturer, head coil channels). Also the question is what step is so slow (e.g. mris_fix_topology ??). Most likely FreeSurfer will also be similarly slower on those images.

These could be reasons that increase the run time.

Okay, I guess the less than 1 hour run time would be for nearly ideal data only.

which is why FreeSurfer uses 4 threads as default.

I think the default is single thread. When you do -parallel, then it uses 4 threads by default for each hemi, so 8 total. See [this]:(https://surfer.nmr.mgh.harvard.edu/fswiki/ReleaseNotes)

Note that a couple of the hemi stages (eg. mris_sphere) make use of a tiny amount of OpenMP code, which means that for brief periods, as many as 8 cores are utilized (2 binaries running code that each make use of 4 threads).

Hi guys to clear up a few things:

voxel sizes of 4mm (like what you have @tashrifbillah  ) is supported neither by FreeSurfer nor FastSurfer. With that stuff you are on your own and most likely will get poor results.
the conform step reslices to 1mm isotropic input. This is not a non-linear warp, just resampling, and some rotation. Yet it will not create the missing information magically. So while the code will run, results can be expected to be poor and run-times can be slow.
Even 1mm inputs can have low quality, e.g. old or diseased subjects tend to move more (motion artifacts), or you may have poor image contrast. These could be reasons that increase the run time. Also, I doubt that 20 threads help speed up things, probably the optimum is 4-8 threads. If hemis run in parallel, there may be passages where you have double the number of threads specified, which is why FreeSurfer uses 4 threads as default. So for @NinjMenon 2h it would be interesting, what inputs were used (MPRAGES, 3T or 1.5T scanner what manufacturer, head coil channels). Also the question is what step is so slow (e.g. mris_fix_topology ??). Most likely FreeSurfer will also be similarly slower on those images.

The scans are all MPRAGE on 3T Phillips Acheiva with a 32 channel head coil. With 4 threads, no matter if I run exclusively on a 6,12 or 24 core system, I end up with a run time between 3 - 3.5 hours.

Hey @NinjMenon , I think you also want to comment on the following:

Even 1mm inputs can have low quality, e.g. old or diseased subjects tend to move more (motion artifacts), or you may have poor image contrast. These could be reasons that increase the run time.

@tashrifbillah  We may have 4-5 scans that have motion, but the ones I tested on do not have any motion. Image contrast is also satisfactory. We do study older adults who may or may not have certain amounts of atrophy within brain regions, but I tested scans with on both ends of the spectrum, and I get the same run time in both cases.

Hi, thanks for those details. Everything looks good. We have very little phillips scans so we cannot test your input image types. If you can share an image, I can run it here to see if we have similar issues and what causes the reduced speed. If that is an option I will let you know how you can get the image directly to us via a file drop.
Our timings (table 3 in the paper : https://www.sciencedirect.com/science/article/pii/S1053811920304985 )
were done with data from the OASIS 1 study. Maybe run a couple of OASIS cases on your system to see if you can get the same speed as we do. That would help to figure out if it is related to your images or your hardware/system.

@m-reuter , do you want my low resolution anyway?

No, that is not supported. I mean the 1mm isotropic Phillips scans.

Fair enough. I shall profile a few of my other subjects having near about 1mm^3 and let you know.

@m-reuter Can you share instructions on how to send you our image via file drop? I just got approval to do that today.

Hi @m-reuter! Sorry for the delay but we found some interesting things as we started curating data to send to you. We have a few scans from young, healthy staff volunteers that we use for sequence calibration. The full surface pipeline ran in 46 minutes on this scan. We went back to our participant pool, and found T1s with zero motion and very little atrophy. The run time for these was a little more than 1.5 hours. Just curious to know what run times you got with AD individuals when you were looking at group differences in your paper?

We got 1h run time there (oasis). The question is what step is so slow for you. It could be the topology fixer ( mris_fix_topology ) . That can take very different times depending on the initial surface.
Also you can try oasis subjects to see if you can replicate the speed.

mris_fix_topology took 28.08 minutes on the no motion low atrophy scans. The hemispheres finish running about 1 hour into the pipeline. The remaining steps (stats generation etc) take an additional 20-30 minutes. I have a log file here for one of these scans. I'll be able to try one of the OASIS scans next week, and I will let you know of the results.

Hi @NinjMenon ,
Two questions for you--

The full surface pipeline ran in 46 minutes on this scan. We went back to our participant pool, and found T1s with zero motion and very little atrophy. The run time for these was a little more than 1.5 hours.

Is the existence of atrophy different between the 46 minutes and 1.5 hours data?

mris_fix_topology took 28.08 minutes on the no motion low atrophy scans. The hemispheres finish running about 1 hour into the pipeline. The remaining steps (stats generation etc) take an additional 20-30 minutes.

The sum is about 2 hours. Didn't you say 1.5 hours in your previous comment?

The run time for these was a little more than 1.5 hours

@tashrifbillah I think the effects of aging are causing the time difference, rather than atrophy. There was very little atrophy on the 1.5-hour scan, but the aging effects are quite visible.
mris_fix_topology is a segment of running the hemispheres parallelly. The total is 1.5 hours. The log is attached to that comment.

authors: LeHenschel NinjMenon m-reuter tashrifbillah

repo: Deep-MI/FastSurfer


text:
ULTRA on HuggingFace Hub

Hi @clefourrier, you helped us some time ago to put LRGB on 🤗 Datasets, so you seem the only person from HF who has any remote experience with Graph ML although we know you are into LLM leaderboards recently  :)
We tried to put ULTRA checkpoints on the Hub here https://huggingface.co/mgalkin with the basic write-up and code examples. Could you please have a look to check whether graph models are ok in this format on the Hub?
A few caveats at the moment:

Model repos on the Hub pack most of the code from this repo and have additional interfaces UltraConfig and UltraLinkPrediction
I can only wrap those into AutoConfig and AutoLinkPrediction locally, I presume that Auto interfaces will recognize Ultra website-wide only if we implement it directly in Transformers?

cc @ArthurZucker for potential additional input

source: gharchive/issue

authors: clefourrier migalkin

repo: DeepGraphLearning/ULTRA

license: MIT

license_type: permissive

license_source: github-api


text:
Rewrite of GitLab parsers

DD supports multiple GitLab formats (API fuzzing, container scan, DAST, Dep. Scan, SAST, Secret detection) but there is documentation only for SAST and Dep. scan
All GitLab scanners use the same common format (which is partially but nicely described here and full up-to-date examples are available here) so it should be merged into the one. If there will be some change in format, it is easier to maintain one common code than multiple of them. Plus it will automatically support newly created scan categories (for example, "Cluster Image Scanning", "IaC Scanning" and "Coverage-guided fuzz testing" are missing right now)
(real bug) "GitLab DAST Report" uses IDs as names of findings even there is a meaningful title in the report (field name is "message").

Can you close this @mtesauro because of: https://github.com/DefectDojo/django-DefectDojo/discussions/9690

authors: kiblik manuel-sommer

repo: DefectDojo/django-DefectDojo


text:
Display transfer errors: also on target

These error messages are displayed on mobile, and should also be displayed on target browser, when possible, if QR has already been scanned :

"This resource exceeds the 20MB limit"  (in fact this should happen before scan, so no)
"Error during transfer"

Android sends notif to backend: done.
Backend forwards notif to target client: done.
TODO target client handles error message (displays it to user).
TODO iOS sends notif to backend.

Related to (but distinct from) #235

Android sends notif to backend: done.
Backend forwards notif to target client: done.
Target client displays error message to user: done.
TODO iOS sends notif to backend.

Currently on iOS, we open camera only after successful upload.
When /new-gcs-urls or upload PUT fail, we don't have any qrKey no notify to yet.
We may try to catch error on /dispatch, but it is not exactly a file transfer error, and if /dispatch fails then it is likely that the error notification request would also fail.
Bottom line: target browser won't display upload error from iOS, because at that time the target is unknown yet.

repo: Deleplace/cool-maze

license_source: bigquery


text:
ld: file not found: MLKitBarcodeScanning

i am using D 11.3 and XCode 15.2 in MacInCloud Server.
But when i compile Demo Kastri BarcodeD11 sample. This error occurs, i am removed and reinstaled SDK in Delphi but
the MLKitBarcodeScanning Framework dont appears.
Thank you in advance folks
Regars
Ivan

I found the fix reading documentation in https://github.com/DelphiWorlds/Kastri/tree/master/Demos/BarcodeReader
Thank you friends. Please CLose the issue.

repo: DelphiWorlds/Kastri


text:
🛑 VoIP is down

In 7d74d06, VoIP (voip.delta-core.app) was down:

HTTP code: 0
Response time: 0 ms

Resolved: VoIP is back up in f732a7b.

repo: Delta-Core/status


text:
Allocation main network initialization

Fixes https://github.com/Deltares/Ribasim/issues/921.

After doing a manual depth-first traversal of the call tree sprouting from function AllocationModel, I found the need for these modifications to support the main network:

[ ]  In function allocation_graph_used_nodes!: Make sure that for each edge that connects the main network to a subnetwork, both nodes connected to this edge are used in the main network problem (which indeed means that the optimization problem for the main network considers some nodes which are not in the main network)
[ ] In function add_variables_absolute_value!: Use the outgoing node in the main-sub connection edges as a user for the main network
[ ] In function add_constraints_absolute_value!: Add constraints also for the nodes mentioned above.

Other functions in allocation.jl also need to be checked for whether they need updates to support the main network, but this is left for https://github.com/Deltares/Ribasim/issues/922.

source: gharchive/pull-request

repo: Deltares/Ribasim


text:
points_indices but for layers

In GitLab by @tomvansteijn1 on Feb 15, 2021, 09:28
Get the layer number for a given value of Z, similar to select.points_indices. Input DataArray with the Layer dimension and points with Z-coordinate. I think this would be a useful addition to the current selection capabilities in imod-python.
More elaborate, but also useful, is the capability to add well screens to a model based on geometry and transmissivity values, similar to iMOD MKWELLIPF. Returns a well screen fraction per well per model layer.

In GitLab by @JoerivanEngelen on May 15, 2023, 17:02
I just realized, this functionality was added in this giant merge request:
https://gitlab.com/deltares/imod/imod-python/-/merge_requests/191#5df5a670ced56d4c1d8c00640ae590ac5848001c
There is now an assign_wells function in the imod.prepare.wells module. This basically covers both options. Method 1 can be done by providing a grid with constant k values. I see it's not included in the API documentation so will make sure that this is done.

repo: Deltares/imod-python


text:
Upgrade providers to support multi results

Hi @DenisCarriere ,
I will upgrade a few providers to consolidate the new structure of the code.
One at a time :)
And only the ones with tests. I will leave the others for you since I am not familiar with them.
You can merge the pull request whenever you want. Just leave the branch open and I will create new PRs until I am done  ^^
Cheers
Manu

okyyy
5 providers done, with google among them, I think the structure is kind of stable.
Feel free to comment or suggest different ways... or merge the PR and release on pypi ! if you feel comfortable with it :)
I will move on another project but I will keep an eye here 👍

@ebreton You're an animal! Great stuff! 🥇

Happy that you liked the refactoring !

Love it! I definitely promote refactoring, however I've been doing so much NodeJS recently I'm not up to date with Python syntax anymore.

authors: DenisCarriere ebreton

repo: DenisCarriere/geocoder

license: mit


text:
Port Jira notification publisher from upstream

Our notification publisher is currently missing support for Jira, which is present in upstream Dependency-Track.
Port the functionality to Hyades for feature parity.

Ported by @sahibamittal with #530.

repo: DependencyTrack/hyades


text:
Connected to Switcher

Hi,
I've been looking through your library and I can't seem to figure it out, but is there a way to tell if the controller is connected to a switch? Or if it disconnects from a switch?
Thanks-

Hi @reykroona
You can add a handler to handle InitiationComplete messages. They will be emitted when a software controller is successfully connected to a switcher.
For the moment there is no way to know when a switcher disconnects though. I will add a way to get this information in a future version.

Thanks, I'll look into that. I've also made some changes in a forked repo in my account that adds CCU controls for shutter, iris, wb, gain & autofocus. I'm not really a programmer by trade, so I'm not 100% sure how to submit a pull request since it's based on an older version, but if you are interested in adding it, it's there.

Any chance to be notified on disconnected and
sendto(descriptor:pointer:size:destinationPtr:destinationSize:) failed: Can't assign requested address (errno: 49)
ioOnClosedChannel
ioOnClosedChannel
...

in order to reset the controller object. Thanks!

authors: Dev1an iosdeveloper reykroona


text:
Fix link in version badge

🔗 😃

Hi Marc,
nice catch. First I was confused what your issue is exactly, because I saw the version badge just fine. 😊.
Regards,
Ludwig

authors: mbtools stockbal

repo: DevEpos/abap-code-search-tools


text:
XPO Blazor.ServerSide ReadMe

https://trello.com/c/EWoq9KZ7

Created a new PR: https://github.com/DevExpress/XPO/pull/48

repo: DevExpress/XPO


text:
How can i make self components

<template>
  <dx-data-grid
    :columns="cols"
    :show-borders="showBorders"
    :data-source="dataSource"
    :remote-operations="remote"
    :pager="pager"
  >
    <dx-paging :page-size="10"/>
    <dx-filter-row :visible="showFilterRow" :apply-filter="currentFilter"/>
    <slot></slot>
  </dx-data-grid>
</template>

i create a components, but when i use it , cell template can not work;
how to fix it?

Hi,
We have the Column Template demo demonstrating how to define cell templates. In addition, check the Custom Templates help section describing common concepts.

authors: Belala artem-kurchenko

repo: DevExpress/devextreme-vue


text:
Comparing two deeply nested objects should give proper error messages

Are you requesting a feature or reporting a bug?
Requesting a feature
What is the current behavior?
For the example object:
new Top({
        name: "bla",
        b: new Abc({
            description: "my description",
            c: [
                new Bcd({
                    name: "bcd-name",
                    description: "bcd-description",
                    id: 1,
                    d: [
                        new Cde({
                            name: "cde-name",
                            id: 1
                        })
                    ]
                })
            ]
        })
    })

When comparing a deeply nested object that fails, the output will be shown as so:
AssertionError: expected { Object (name, b) } to deeply equal {
      Object (name, b) }

And if you console.log the objects to diff them, you get output that isn't helpful:
{ name: 'bla',
  b:
   { description: 'TeraText Schema Test Database',
     c: [ [Object] ] } }

instead of showing the whole object.
What is the expected behavior?
The output should show better information, like so:
AssertionError: expected Object (b.c[0].d[0].id) -> 1 to deeply equal Object (b.c[0].d[0].id) -> 2

Yes, absolutely. Every time I use eql with objects I have to pass the following as a second argument to eql just to see what's going on:
`Expected settings: ${JSON.stringify(expected)} Actual settings: ${JSON.stringify(actualSettings)}`

Yes, absolutely. Every time I use eql with objects I have to pass the following as a second argument to eql just to see what's going on:
`Expected settings: ${JSON.stringify(expected)} Actual settings: ${JSON.stringify(actualSettings)}`

https://stackoverflow.com/questions/59722434/make-testcafe-show-an-object-diff

Since the 1.9.0 release, TestCafe shows the difference between an assertion's actual and expected values. For example, here's how the comparison of two deeply nested objects looks like:

authors: Aaronius miherlosev snowl wentwrong

repo: DevExpress/testcafe


text:
Couldn't handle browser alert

In my application ,I'm able to delete the records from the modules, which has trash button on list page, but in the case of delete button at edit page has not been handled browser confirmation alert, due to this the record has not been deleted during the automation. How can I solve this?

Hi @PavithraJaran,
You can solve this using the Dialog Handler.

authors: PavithraJaran alexey-lin


text:
1.15.1-rc.1 is throwing Uncaught object "[object Object]" was thrown. Throw Error instead.

What is your Test Scenario?

The test is clicking a button. Currently I get
Uncaught object "[object Object]" was thrown. Throw Error instead.
https://hub.docker.com/layers/testcafe/testcafe/1.15.1-rc.1/images/sha256-eff6bea6e23556bd041d47a3a02b74a8fd123710d4c2b21f0785a0d93ffed6d6?context=explore
What is the Current behavior?

rajbalaebail@Rajs-MacBook-Pro e2e-tests % docker run -v /Users/rajbalaebail/amount-repos/e2e-tests/testcafe:/tests -it testcafe/testcafe:rc chromium /tests/tests/uil/apply/eloan-tests/personal-application-page/personal-application-page-tests.spec.js
 Running tests in:
 - Chrome 91.0.4472.164 / Linux 0.0

Personal application page tests - eLoan
App ID: 49
 ✖ eLoan - Step 1 - PA Page: Verify person age <18 is declined

   1) Uncaught object "[object Object]" was thrown. Throw Error instead.

      Browser: Chrome 91.0.4472.164 / Linux 0.0

What is the Expected behavior?

rajbalaebail@Rajs-MacBook-Pro e2e-tests % docker run -v /Users/rajbalaebail/amount-repos/e2e-tests/testcafe:/tests -it testcafe/testcafe:1.15.0 chromium /tests/tests/uil/apply/eloan-tests/personal-application-page/personal-application-page-tests.spec.js

 Running tests in:
 - Chrome 91.0.4472.124 / Linux 0.0

Personal application page tests - eLoan
App ID: 51
 ✓ eLoan - Step 1 - PA Page: Verify person age <18 is declined

What is your web application and your TestCafe test code?

Your website URL (or attach your complete example):

Your complete test code (or attach your test files):

Your complete configuration file (if any):

Your complete test report:

Screenshots:

Steps to Reproduce:

Go to my website ...
Execute this command...
See the error...

Your Environment details:

testcafe version:
node.js version:
command-line arguments:
browser name and version:
platform and version:
other:

Looks like this is happening when you try to press the TAB button.
import { Selector, t } from 'testcafe';

fixture('DevExpress/testcafe/issues/6405')
  .page('https://eloan.stg.internal.amount.com/apply')

test('test', async t => {
  console.log('here')
  await t.pressKey('tab')
  console.log('here 1')
})

rajbalaebail@Rajs-MacBook-Pro e2e-tests % docker run -v /Users/rajbalaebail/amount-repos/e2e-tests/testcafe:/tests -it testcafe/testcafe:rc chromium /tests/tests/uil/apply/eloan-tests/personal-application-page/test.spec.js
 Running tests in:
 - Chrome 91.0.4472.164 / Linux 0.0

 DevExpress/testcafe/issues/6405
here
 ✖ eLoan - Step 1 - PA Page: Verify fields, field errors, tooltips, dropdowns

   1) Uncaught object "[object Object]" was thrown. Throw Error instead.

      Browser: Chrome 91.0.4472.164 / Linux 0.0

 1/1 failed (19s)

I was not able to reproduce the issue. It looks like the website is unreachable for me. Please provide us with access to your website or prepare a separate sample. Thank you in advance.
If you need to share some credentials to us you can send it at support@devexpress.com
Please note that our policy prevents us from accessing internal resources without prior written approval from a site owner. If we need to access non-public parts of your website or pass through authorization pages, please ask the website owner to send us (support@devexpress.com)) a written confirmation. It must permit DevExpress personnel to remotely access the website and its internal resources for research/testing/and debugging purposes.

@AlexKamaev you can try this on https://www.my.eloan.com/apply instead.

I was able to reproduce the issue. Thank you for your assistance.

authors: AlexKamaev raj-balaebail


text:
Documentation

Description
Including Documentation for the Rest-API plugin
Linked Items:
Closes/Fixes/Resolves #10
Added
Plugin Documentation
Changed

Describe any changes in existing functionality.

Deprecated

Describe any deprecated features.

Removed

Describe any removed features.

Fixed

Describe any bug fixes.

Security

Describe any security-related changes.

Checklist:

[ ] I updated project documentation to reflect my changes.
[ ] My changes generate no new warnings.
[ ] I updated new and existing unit tests to account for my changes.
[ ] I linked the associated item(s) to be closed.
[ ] I bumped the version.
[ ] I added the labels corresponding to my changes.

Also, woo you're not hitting the sphinx local build issue that I am on main (so going to look between on mine and see if I can sort what might be going on), but you need to update the index toc tree to point to your documentation and or start with your main documentation page so that it publishes out for the repo pages correctly

authors: bunchw lizzcondrey

repo: DevOps-MBSE/rest-api


text:
Feat/fundamentals page

Changes

created fundamentals page
new bg_fundamentals.png image
fetching fundamentals lessons hardcoding the path (because of some DB relationship we need)

this closes #111
Note: After merging we need to edit all fundamentals lessons info on the database like lessonPath and more

fixed quiz modal for mobile and desktop views
changed next and previous buttons texts to right and left arrows

Nice work, @Markkos89 and @uma-l 🥮

repo: Developer-DAO/academy-turbo


text:
Fix Google Docs change

Google changed the way it exports to html, now all the content is wrapped inside
a div.

+1

+1 annoying :-)

+1 Tests seem to need some fixing

authors: christofdamian ifosch miguelbernadi towanda


text:
Graphql/issue #24

GraphQL Configuration

Created Source Plugin

Made sure queries would properly work in Graphql Playground

Made sure you could query from any page and use Data prop

made a mock layout to ensure the queries work

Hola @aag2807 tengo algunas dudas,

por que crear un directorio aparte y crear un proyecto nuevo de Gatsby en el?
por que no agregar el ejemplo que tienes como un test?

Por otro lado, hay algunos conflictos ya que se han fusionado algunos PRs.

@mecm1993 Buenos dias , lo del plugin originalmente o tenia ubicado en el gatsby-node.js del root, despues de repasar https://www.gatsbyjs.com/tutorial/source-plugin-tutorial/#configure-an-apollo-client-to-fetch-data decidi tomar el approach que explica con el source plugin. Si les parece pudiera alocar= el codigo en el gatsby-node del root ota vez.
soy tn tanto nuevo con los tests pero configurare la prueba antes de contaminar el UI, y solventare los merge conflicts,

@aag2807 gracias por el link y la información, ya comprendo porque el acercamiento sobre el source-plugin. En este caso, entiendo que no es necesario tenerlo ya que el objetivo es consumir data en vez de servir como fuente de datos. Aunque quisiera tener la opinión de @sperezm97 y @dionicio-gp sobre el tema para así saber cual sería el acercamiento pertinente.

@mecm1993 disculpa el mention pero queria asegurarme si hacer el PR con el codigo en el gatsby-node.js del root, lo tengo listo y no deberia haber ningun merge conflict

Hey @aag2807 no hay problema, en este caso, te diria que subas los cambios, si. Pero, ten en un branch aparte los cambios que aqui actualmente, de esa forma, si en futuro se quiere utilizar ya este disponible.

Hey @aag2807 no hay problema, en este caso, te diria que subas los cambios, si. Pero, ten en un branch aparte los cambios que aqui actualmente, de esa forma, si en futuro se quiere utilizar ya este disponible.

Distinguidos @mecm1993 y @sperezm97 todavia no he tenido tiempo de estudiar la propuesta que nos planteo @aag2807 , pero creo que siempre tendremos algunas ventajas y desventajas con los distintas decisiones que tomemos con respecto a la arquitectura del proyecto. Por el momento no creo que la ubicacion de dicho paquete nos pueda ocacionar un problema en el futuro ya que podriamos trasladar la instalacion de dicho paquete a otra ubicacion mas adelante.

repo: DevsDO/whocode-frontend


text:
CLI run plan non-blocking mode

As a user I would like to run plans with the CLI without blocking. #433 makes the CLI error if the user has not supplied any stomp configuration. It could instead kick off a plan but not block until it is finished.

Tagging @noemifrisina

@abbiemery so you mean running the blueapi controller run [plan_name] [plan_args] without the eventbus so that it goes into the RunEngine but the documents don't get captured just go into the void?
just definining

It could instead kick off a plan but not block until it is finished

more precisely

authors: abbiemery callumforrester stan-dot

repo: DiamondLightSource/blueapi


text:
FEAT: Added support for sub-commands https://github.com/DiceDB/dice/i…

https://github.com/DiceDB/dice/issues/355

@JyotinderSingh  please review

repo: DiceDB/dice


text:
"test_1.py" is not a good sample

test_1.py almost raises a traceback here:
a = Aleatoryous("aleatory.roulette", "ba ba boo")

Because the aleatory.roulette mode only accepts list or tuples as a supply. So it raises an error. The test was intended to show what is going to be raised to compare with what we expected. But what happens if you run the test directly (with Python compiler only)? It exits really fast.
I don't think that is a good way to test aleat3. There must be another way to show the same feature.

That is my first solution. Is it OK?

Maybe this issues can be solved for version 0.2.9, that is comming soon. Let's label it.

test_1.py has conflicts with PR #15 . So, the solution hasn't come yet. Let's keep working on it.

The actual test_1.py has conflicts with PR #15 .

Everything's caught. This is the most probable solution for the test_1.py issue.

Completely done PR #15 is the solution.


text:
🛑 ZL2ROR Repeater is down

In 5e49154, ZL2ROR Repeater (https://zl2ror.dvnz.nz) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ZL2ROR Repeater is back up in 2007b2e.

repo: DigitalVoiceNZ/upptime


text:
🛑 FreeDMR-NZ is down

In e3bbbec, FreeDMR-NZ (https://freedmr.dvnz.nz) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FreeDMR-NZ is back up in 54321fe.


text:
does not work on toaster

I have the Die-Cast 2-Slice Smart Toaster, and when I boot up among us nothing happens. Please help
(This is a joke btw if it is not clear dillyz.) (I am PopCat on discord that records with cheep)

I'm so sorry! I completely forgot to optimize the entire mod for use with a toaster!
Plwase give me 3.8 thousand years to patch the mod for toasters, as it is the first step to the mobile version.
But for real, I actually started laughing when i saw this the ONE TIME I read an e-mail notification.

just noticed a typo but cant edit AAAAAAA

I have the Die-Cast 2-Slice Smart Toaster, and when I boot up among us nothing happens. Please help
(This is a joke btw if it is not clear dillyz.) (I am PopCat on discord that records with cheep)

Does not work for mine either

I have the Die-Cast 2-Slice Smart Toaster, and when I boot up among us nothing happens. Please help
(This is a joke btw if it is not clear dillyz.) (I am PopCat on discord that records with cheep)

Does not work for mine either

yes he said it will be fixed in 3.8k years
not that long

so I think I can close this


text:
Add darkmode accross site

Hi I noticed there was a PR for dark mode but when I tested it on my local it was not persisting. When I moved from one page to other it reverts back to light mode.
In this pr I have added 3 option

Default- That maches the configuration of your PC/Laptop, i.e whether its configures to see apps in light mode or dark mode

Light mode- Turns entire site into light mode

Dark mode-Turns entire site into dark mode

Related to #5

repo: Dilshan-H/Oblivion-Inverse


text:
⚠ RPC server - Infura Matic Mainnet has degraded performance

In 27e5c94, RPC server - Infura Matic Mainnet ($INFURA_MATIC_MAINNET_RPC_URL) experienced degraded performance:

HTTP code: 429
Response time: 121 ms

Resolved: RPC server - Infura Matic Mainnet performance has improved in d23d311 after 45 minutes.

repo: DimensionDev/status


text:
about using a reference GAN model

Hi,
Thank you for your paper and for sharing the code.
In the paper, a reference GAN model is used for a calibrated attack due to the representation error. I have a question here. It is understandable some query sample may have a bigger distance L(x, R(x|G)) because of its complicated representation, then its representation from a reference GAN model usually will have a bigger distance too. How can the difference of two bigger distances (i.e. the distance after calibration) will be a better metric? My understanding is the difference of two bigger distances will still be a bigger one in general. Would you like to elaborate on your reasoning of the calibrated distance? Thanks!

Hi, thanks for your interest.
Indeed, the high-level concept is that certain data samples, particularly those that exhibit complex representations or are underrepresented, will yield a high reconstruction error when processed by a target model. Without proper calibration, these member data samples can not be detected due to their comparatively large reconstruction errors.
By calibration, the reconstruction error of such data samples on a reference model will also be large. Consequently, when we calculate the difference between the reconstruction errors from the target and the reference models, we tend to obtain a smaller value—subtracting a larger number results in a smaller value. This smaller calibrated reconstruction error could potentially make the underrepresented or complex samples detectable by an attacker.
While this method might not entirely eliminate the original false positives (non-members detected as members due to a small reconstruction distance by the target model) and false negatives (members classified as non-members due to a large reconstruction distance by the target model), it can correct many such misclassifications. Specifically, it allows for the possibility that a false positive (small - small) might result in a larger value than a false negative (large - large), which could never occur without calibration.
Hope these help clarify the point. The visual illustration of Figure 3 in the paper may also be helpful for understanding. Please just share further questions if anything remains unclear.

Thank you very much for your reply.
My understanding is: in general, it is not known whether the difference of two bigger is bigger or smaller (e.g., 3 - 2 > 0.3 - 0.2, but 2 - 3 < 0.3 - 0.2,  assuming 3, 2 are the bigger representations of a more complex data sample and 0.3, 0.2 are the smaller representations of a simple sample).
I guess possibly it is because the target model is better trained than the reference model? If so, then in the target model, the bigger value for the complex sample may get a little smaller and the smaller value for the simple sample may get a little bigger because the target model is better trained and have improved/more accurate representations. So, e.g., in the paper, for white-box setting, are the PGGAN reference model and target model trained with the same configurations?

Yes, in general, it is not clear whether the difference between two bigger values is bigger or smaller.
The main point is: without calibration, the complex samples will always be big (even for the member samples) and the simple samples will always be small. While with calibration, it's very likely that the complex member samples will no longer have big calibrated difference and the simple nonmember samples will no longer have small calibrated difference, which will reduce the FPR and TPR.
It might not be accurate to state "target model is better trained than the reference model" as they are trained under the same configuration and should be "equivalently well" for representing their own training distributions (and the training datasets for the target and reference model are disjoint to minimize potential confounding factors). Moreover, the role of calibration does not depend on the different degrees of training between the target and reference model. The only requirement is that the reference model should be sufficiently well-trained to faithfully reflect the sample difficulty.

authors: DingfanChen cxw-droid

repo: DingfanChen/GAN-Leaks


text:
Ошибка при установке имеющегося проекта на базе коробочной версии Directum RX 4.5.49.0

При подготовке уже имеющегося проекта на базе коробки RX 4.5.49.0 DDS начинает затирать метаданные. Не могу понять причину такого поведения

Содержимое yml-файла проекта
# ключевые параметры проекта
variables:
    # Назначение проекта
    purpose: 'DirectumRX 4.5.49.0 (Тут название проекта)'
    # БД проекта
    database: 'rx4549_ProjectName'
    # Домашняя директория, относительно которой хранятся все данные сервисов.
    # Используется только в конфигурационном файле.
    home_path: 'C:\rx\4549\d\ProjectName'
    # Корневой каталог c репозиториями проекта
    home_path_src: 'C:\rx\4549\s\'
# репозитории
services_config:
    DevelopmentStudio:
        REPOSITORIES:
            repository:
            -   '@folderName': 'DirectumRX-4.5-ProjectName-Work'
                '@solutionType': 'Work'
                '@url': 'http://git.server/a.pankrashov/DirectumRX-4.5-ProjectName-Work.git'
            -   '@folderName': 'DirectumRX-4.5-ProjectName-Base'
                '@solutionType': 'Base'
                '@url': 'http://git.server/a.pankrashov/DirectumRX-4.5-ProjectName-Base.git'

Установка производилась в соответствии с видео-инструкцией на Youtube
Из гипотез пробовал удалить папку .sds, отменить изменения и собрать проект ещё раз, но ситуация никак не меняется

Проблема была в проекте, а не в утилите, вопрос закрыт.


text:
🛑 TSU is down

In 0a275a9, TSU (https://TSU.DLCDevelopment.repl.co) was down:

HTTP code: 0
Response time: 0 ms

Resolved: TSU is back up in 3dd8cb1.

repo: Discord-Development-Centre/status


text:
ci: add a workflow checking for a "do not merge" label and block the merge if it exists.

Summary

adds a CI workflow for checking that a DO NOT MERGE label is not present
Checklist

[ ] If code changes were made, then they have been tested

[ ] I have updated the documentation to reflect the changes
[ ] I have formatted the code properly by running task lint
[ ] I have type-checked the code by running task pyright

[ ] This PR fixes an issue
[ ] This PR adds something new (e.g. new method or parameters)
[ ] This PR is a breaking change (e.g. methods or parameters removed/renamed)
[ ] This PR is not a code change (e.g. documentation, README, ...)

Added in https://github.com/DisnakeDev/disnake/pull/599/commits/a01c671da5f29e026032d2118dafce5c68540bc1

repo: DisnakeDev/disnake


text:
Add Elasticsearch index version support using aliases

In case of changing mapping for some attributes current  indexer functionality support only delete index and create new one. But for live inviromnet is important to not have index be deleted. So the best way for this use indexe with versions and alias. in this case product export  processes to the new index created  and changes alias at the end.

Thanks for this PR, I will checkout it out!
I though about different approach regarding aliases, so I need some time to verify this.
I can't share my idea yet, because my solution is not fully formed.

Hi @afirlejczyk  could you provide some info on the reason why the PR is closed

Hi @yuriboyko, as I wrote before, I had a different concept for supporting aliases.
I created new PR for this: https://github.com/DivanteLtd/magento2-vsbridge-indexer/pull/131
It will be merged to develop shortly.

small fixes https://github.com/DivanteLtd/magento2-vsbridge-indexer/pull/138

authors: afirlejczyk yuriboyko


text:
feat(default-theme): promotion code functionality

Changes
closes #1154

User can add/remove promotion codes
List of applied promotion codes (labels of promotion are displayed)
Cart totals update accordingly

Help wanted

showing error message (toast) when there is an error returned from API (e.g. promo code does not exist)
Mobile: where should the promo code input be placed as there is no such thing as the sidebar on desktop

Testing
To test this, a promotion code has to be added to the backend.
Checklist

[x] the list of features is updated (if it's a feature and it's relevant)
[x] I followed contributing guidelines

in regards to point 2. from help wanted:
you can follow that design: https://storybook.storefrontui.io/?path=/story/pages-checkout--common

and on the occasion please resolve the conflicts.

@mkucmus thanks, I added toast notifications and resolved the conflicts. :)
Regarding my second point: in the UI you linked https://storybook.storefrontui.io/?path=/story/pages-checkout--common there is no coupon code input for mobile devices. That's what my question was about: where should the coupon input field be placed for mobile devices?

@mkucmus thanks, I added toast notifications and resolved the conflicts. :)
Regarding my second point: in the UI you linked https://storybook.storefrontui.io/?path=/story/pages-checkout--common there is no coupon code input for mobile devices. That's what my question was about: where should the coupon input field be placed for mobile devices?

here is a design from storefront-ui figma:

@mkucmus okay that looks good. Right now the whole totals section is missing in mobile checkout. So to keep this PR in scope I'd not add the whole totals section in this PR, but create a new issue for it. The scope of the new issue should then also include adding the coupon code component from this PR, which should be usable by just dropping it in.
Would this be okay?

@patzick I think I have tackled all your notes.
Regarding composables.api.md: I don't know why it's displaying such a big diff, I did not lint it and with my last commit I even regenerated it, but still no difference. My Diff-Viewer in my IDE only shows the small changes I really made...

@niklas-wolf please change PR settings and allow edition from maintainers. I'll check out your code and see what's wrong with API contract.

authors: mkucmus niklaswolf patzick

repo: DivanteLtd/shopware-pwa


text:
Problem with changing Qty of product in Cart

Current behavior
Problem with changing Qty of product in Cart - user can click on an arrow only once time (to click on it again, he must click on Edit for every time).
Expected behavior
User should has possibility to click on an arrow (for chaning Qty) as many times as it needs
Steps to reproduce the issue

Go to the Cart, when user has at least one product inside.
Click on Edit next to this product
Try to click on arrow in field Qty at least two times

Environment details
https://demo.storefrontcloud.io

Verified

repo: DivanteLtd/vue-storefront


text:
Add a password protection for accessing the manager

Add a password protection for accessing the manager

https://www.npmjs.com/package/basic-auth :)

authors: DjLeChuck MikaXII

repo: DjLeChuck/recalbox-manager


text:
Week 3 Plan

My plan for week 3.

[ ]

repo: Djxnxnx/student


text:
update copyright year to 2016

just saw this at the dub package page.

Current coverage is 93.72%

Merging #40 into master will not affect coverage as of f8c810d

@@            master     #40   diff @@
======================================
  Files            6       6
  Stmts         2120    2120
  Branches         0       0
  Methods          0       0
======================================
  Hit           1987    1987
  Partial          0       0
  Missed         133     133

Review entire Coverage Diff as of f8c810d

Powered by Codecov. Updated on successful CI builds.

2015-2016, Ilya Yaroshenko, DlangScience

2015-2016, Ilya Yaroshenko, DlangScience

updated.

Thanks!

authors: 9il codecov-io wilzbach

repo: DlangScience/mir


text:
Adds promoted/flagged reasons to the reportback view

Fixes #4753
Adds new columns for promoted and flagged reasons
@angaither

once that's done :+1:

removed info file from history

authors: angaither deadlybutter

repo: DoSomething/phoenix


text:
Adds campaign signup card styling

What's this PR do?
Styles the campaign card

How should this be reviewed?
Do the styles look like the mock?
Mobile / desktop?
Any background context you want to provide?
no
Relevant tickets
Fixes #7042
Checklist

[ ] Tested on staging.

@DFurnes @weerd Changed it so the campaigns array now lives on the slide state

🚂 🚋 🚋


text:
verify not anymous user for webLogOn

fixes the issues discussed here

Two things:

I'd prefer that the Error just be thrown. Gives a better stack trace and the error event is more for network errors.
Check the steamID property's type instead of _logOnDetails.

:+1:

Please don't use magic numbers. Use SteamID.Type.ANON_USER instead.
Besides that, looks good.

Sorry to nitpick (I didn't notice this before) but the indentation isn't consistent.

authors: DoctorMcKay emars

repo: DoctorMcKay/node-steam-user


text:
🛑 vpAgentur is down

In fc46c12, vpAgentur (https://www.vp-agentur.de) was down:

HTTP code: 0
Response time: 0 ms

Resolved: vpAgentur is back up in 4c31bed.


text:
Body scrollable while side-menu is shown

Consider a page with content bigger than the screen. And on top of that, a side-menu that too has more content than the screen. Both are scrollable.
The default behaviour of current browsers is to scroll the parent element when the user is scrolling a child element and it reached its end. This results in some usability problems in this particular case.
Adding a overflow:hidden to the body while the side-menu is shown solves the issue nicely and it's widely compatible. Adding event hooks to the menu may open more options to developers, though.

Fixed in 11220fd

authors: Dogfalo codinome

repo: Dogfalo/materialize


text:
cannot set the top of my pushpin

Hey guys. I have a pushpin which I am trying to set it's top via JQuery, but it's always 0:
    private resetPin() {
        let targetPinLocation = $('.pushpin-target');
        if (typeof (targetPinLocation.offset()) === 'undefined') {
            targetPinLocation = $('.card:first-child');
        }
        let offset = targetPinLocation.offset().top;

        console.log(`usign offset: ${offset}`);

        $('.toolbar-pushpin').pushpin({ top: offset });
    }

add_circle

What I am doign is calling resetPin when the page first loads and a pushpin-target is not set, therefore it will fallback to the first item in the cards. Then when I click on another card, I dynamically add the pushpin-target and I get the console log, but the top of the pushpin doesn't change.
Any ideas?

Hmm I did some testing locally and changing options on pushpins through click events seems to be working for me. Have you tried logging your offset variable to make sure it is not 0? and have you tried on the latest master branch?

yeah it's definatly not 0. Could you share your test code? maybe i'm derping somwhere

If you have cloned our master repo I have a bunch of manual html testpages. You can look at the source for the pushpin one I wrote here. But it would be easiest if you cloned our master repo and opened that html file in your browser. Let me know if that works for you

authors: acburst falconmick


text:
Invalid domain on showcase

Domain danielangel.media on showcase is not available.

Fixed in 0e919b7a9ef930155779fe1da6e130bfe3510e9a

authors: acburst eraldev


text:
modal function's name too generic. Why don't prefix function names?

Issue template:
Description
Hi, issue using the modal function in a system like wordpress or other cause a plugin can inject in front bootstrap.js, cause the modal function exists in the two js files... That's not a bug but if it could help someone solving an issue.
Great job for materialize that's the best css framework ever, awesome result!

Right. Bootstrap and other frameworks conflict with Materialize. We'll try to prefix more components (if the function names are already defined).

We're working on it. When we rename, it'll probably be across all our plugins.

authors: DanielRuf Dogfalo jul6art


text:
Compatibility question ?

Hello,
I have a Panasonic ethereal deluxe xe ac split.
I use an intesishome wifi module.
I'd like to know if this esp home firmware could work with my device ?
Thanks

You will have to check if your AC has an AC-WLAN or AC-CNT connector. It's impossible to know every AC unit Panasonic puts out so trying is the only way to know for sure.

repo: DomiStyle/esphome-panasonic-ac


text:
In the EMC Link, remove empty bucket cost when calculating fluid cost.

The cost of an empty bucket is usually many times greater than the cost of its contents: for example, by default a lava bucket is worth 832 EMC, that is 768 EMC for the empty bucket and only 64 EMC for the lava.
Because of that, it might be a good idea to tweak getFluidCostPer() by subtracting the cost of the empty bucket from the cost of the filled bucket.
Potential pitfalls: fluids could end up with a value of 0 EMC (like water) or even a negative EMC value, causing math issues later on.
One solution would be to constrain the result of getFluidCostPer() to be greater than 0 , another would be to add checks in both drain() and handleActivation().

I'm looking into doing this in steps, like an efficiency upgrade type thing, where each tier up is more efficient than the last
The numbers I've currently got in mind are:

0 (0%)
2 (2%)
4 (6%)
4 (10%)
5 (15%)
5 (20%)
6 (26%)
6 (32%)
7 (39%)
7 (46%)
8 (54%)
8 (62%)
9 (71%)
9 (80%)
10 (90%)
10 (100%)

With that being the "efficiency"

tier 1 = 0% efficiency, 832 emc
tier 10 = 46% efficiency, ~479 emc
tier 16 = 100% efficiency, 64 emc

[tier 1] 0% efficiency = 832 per 1000

[tier 10] 46% efficiency = ~478 per 1000

[tier 16] 100% efficiency = ~64 per 1000

I'll probably have this into a release within the next few days

Added in latest versions
1.15: 1.0.32
1.16: 1.0.33
1.18: 1.0.13
1.19.2: 1.0.1

Forgot to mention, I added a config option to disable this "efficiency" bit, if you won't want it
it's called enableFluidEfficiency, true by default

repo: DonovanDMC/ProjectExpansion


text:
Ability to Add User @ Mentions in addition to Email address

Hi there,
I am developing with this library and found the need to extend it to support @ mentions in addition to email addresses. I aim to add the flexibility to use custom regex patterns too.
Please let me know if this is something you are currently working on.
Otherwise, expect a pull request with these improvements soon.
Arjun

Hey @arjs1000,
we do not have any plans to deviate from the current Contact model. However, you are more than welcome to file a pull request as soon as you are ready or ask for any help along the way.

repo: DoodleScheduling/android-material-chips


text:
请问之前学习通的抢座位代码是不能开源了吗？

今天学习通给系统加了个滑块验证码，想请教一下大佬有没有办法

# 滑动验证码处理模块
import cv2
import numpy as np

# 对滑块做精细化处理
def fix_img(filename):
    img = cv2.imdecode(np.array(bytearray(filename), dtype='uint8'), cv2.IMREAD_UNCHANGED)
    gray = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY)
    ret, thresh = cv2.threshold(gray, 127, 255, cv2.THRESH_BINARY)
    contours, hierarchy = cv2.findContours(thresh, cv2.RETR_TREE, cv2.CHAIN_APPROX_NONE)
    contour_img = cv2.drawContours(img, contours, 0, (0, 255, 0), 1)
    x, y, w, h = cv2.boundingRect(contours[0])
    mixintu = contour_img[y:y + h, x:x + w]
    return mixintu

# 主方法
def main(fadebg, fullbg):
    """
    处理滑块验证码
    @param fadebg: 滑块图
    @param fullbg: 背景图
    @return: 'cv2.TM_CCOEFF', 'cv2.TM_CCOEFF_NORMED'的对比结果以及最佳位移值
    """
    tp_img = fix_img(fadebg)
    tp_edge = cv2.Canny(tp_img, 100, 200)
    tp_pic = cv2.cvtColor(tp_edge, cv2.COLOR_GRAY2BGR)
    bg_img = cv2.imdecode(np.array(bytearray(fullbg), dtype='uint8'), cv2.IMREAD_UNCHANGED)
    bg_edge = cv2.Canny(bg_img, 100, 200)
    bg_pic = cv2.cvtColor(bg_edge, cv2.COLOR_GRAY2BGR)
    methods = ['cv2.TM_CCOEFF', 'cv2.TM_CCOEFF_NORMED']
    results = {}
    move = 0
    for meth in methods:
        temp_full_img = bg_pic.copy()
        res = cv2.matchTemplate(temp_full_img, tp_pic, eval(meth))
        loc = cv2.minMaxLoc(res)[3]
        results[meth] = loc
        move = loc[0]
    return results, move

感谢🙏膜拜

repo: Doone-skser/win-watch


text:
Peer sync

Automatically synchronize block data between different nodes when new block was produced

Fixed

repo: DoraFactory/consensus-abci


text:
【文章推荐】C# 中 String 的优化

https://www.youtube.com/watch?v=Xeq8YGEyyp8&ab_channel=NickChapsas

String 类型在 C# 中是一种不可变的引用类型，但是有一个特性往往被大家忽略了，也就是 Intern 功能。简单来说就是 CLR 会将明面字符串在内存中储存一起来，如果有相同的变量使用同一个字符串，那么就会共享这一个内存空间。
var dotnetweekly1 = ".net weekly";
var dotnetweekly2 = ".net weekly";

Console.WriteLine(dotnetweekly1 == dotnetweekly2); //true
Console.WriteLine(object.ReferenceEquals(dotnetweekly1, dotnetweekly2)); //true

string dotnet = ".net";
string weekly = " weekly";
string dotnetweekly = dotnet + weekly;
Console.WriteLine(".net weekly" == dotnetweekly); //true
Console.WriteLine(object.ReferenceEquals(".net weekly", dotnetweekly));// false;

const string dotnet3 = ".net";
const string weekly3 = " weekly";
string dotnetweekly3 = dotnet3 + weekly3;
Console.WriteLine(".net weekly" == dotnetweekly3); //true
Console.WriteLine(object.ReferenceEquals(".net weekly", dotnetweekly3));// true;

repo: DotNETWeekly-io/DotNetWeekly


text:
New rule proposal: Curly braces must not be omitted when parent expression spans multiple lines

Category: Layout
Rule: Curly braces must not be omitted when parent expression spans multiple lines.
Rationale: Improve readability and maintainability of the code (when SA1503 is off).
See also: SA1503:CurlyBracketsMustNotBeOmitted and SA1519:CurlyBracketsMustNotBeOmittedFromMultiLineChildStatement
Bad:
if (alpha == beta &&
    beta == gamma)
    alpha = delta;

Good:
if (alpha == beta &&
    beta == gamma)
{
    alpha = delta;
}

I think I'd be more in favor of modifying rule SA1519 to perform a combination of this and what it currently does. Something like "Curly braces must not be omitted when clause spans more than two lines". In addition to the case above, this would finally cover the following case:
do
    Method(); // SA1519
while (condition);

It would be ok to extend SA1519 but I'm not sure that this should affect the do-while loops -- short do-whiles will get two lines longer then:
do
{
    Method();
}
while (condition);

And sometimes there's a need to just transform a while-do loop to a do-while loop. With the new behavior, moving the loop condition to the end of the loop would require adding {} to the code (and a separate line for each of the braces).

@sharwell So SA1519:CurlyBracketsMustNotBeOmittedFromMultiLineChildStatement would change to CurlyBracketsMustNotBeOmittedWhenConditionOrChildStatementIsMultiLine and start giving more warnings than it did in previous versions?

@jnm2 Yes that's correct

Hmm, the term 'condition' isn't generic enough since we have to handle using and for statements.

SA1519BracesMustNotBeOmittedWhenParentOrChildPartsAreMultiLine?

authors: alxru alxyr jnm2 sharwell

repo: DotNetAnalyzers/StyleCopAnalyzers


text:
"Error responding to packet!"

After starting the server, my entire console gets clogged with the error "Error responding to packet!". Because of this, login messages, sending messages from the console, and possibly something else stop working. How can I get rid of this incessant spam and why can this happen?
p.s. the whole error is displayed in the console:

-- Error responding to packet! --
System.IO.InvalidDataException: The archive entry was compressed using an unsupported compression method.
at System.IO.Compression.Inflater.Inflate(FlushCode flushCode)
at System.IO.Compression.Inflater.ReadInflateOutput(Byte* bufPtr, Int32 length, FlushCode flushCode, Int32& bytesRead)
at System.IO.Compression.Inflater.InflateVerified(Byte* bufPtr, Int32 length)
at System.IO.Compression.DeflateStream.CopyToStream.CopyFromSourceToDestination()
at Cove.Server.Utils.GzipHelper.DecompressGzip(Byte[] gzipBytes) in /home/runner/work/WebFishingCove/WebFishingCove/Cove/Server/Utils/GzipHelper.cs:line 15
at Cove.Server.CoveServer.OnNetworkPacket(Byte[] packet, CSteamID sender) in /home/runner/work/WebFishingCove/WebFishingCove/Cove/Server/Server.Packet.cs:line 14
at Cove.Server.CoveServer.RunNetwork() in /home/runner/work/WebFishingCove/WebFishingCove/Cove/Server/Server.cs:line 359

This is happening Because someone is connecting and sending packets are in the incorrect format for what the server is expecting. Dose this happen only after you or someone else joins, if so remove any mods you have and the error should go away. I'll add a hide packet error message config setting in the next update

Updated to nightly-82
I may be wrong, but after disabling the error display via the config, the login messages disappeared when logging on to the server. Maybe "joinMessage" is also considered an error and is not displayed in the console because of this, so please check.

Updated to nightly-82
I may be wrong, but after disabling the error display via the config, the login messages disappeared when logging on to the server. Maybe "joinMessage" is also considered an error and is not displayed in the console because of this, so please check.

Also, the display of user messages has disappeared in the console. I think that "showErrors" turned off not only errors, but also all system messages displayed earlier in the console.

authors: DrMeepso iNightboat

repo: DrMeepso/WebFishingCove


text:
The configuration area at '/home/developer/.eclipse/org.eclipse.platform_4.7.0_1473617060_linux_gtk_x86_64/configuration' could not be created.

Hi !
I've that error in a graphical window when I run the run.sh script:
The configuration area at '/home/developer/.eclipse/org.eclipse.platform_4.7.0_1473617060_linux_gtk_x86_64/configuration' could not be created.  Please choose a writable location using the '-configuration' command line option.
I've modified the baseDataFolder variable in the script but that's all. The new path is still in my home directory. Can it be the problem ?

I've started the container in interactive mode with bash to identify the problem and it comes from the .eclipse and eclipse-workspace directories in the container are owned by root et not by developer. I resolved the problem in interactive mode but it's dirty ^^. How can I fix this directly in your image ? (I'm very new with docker).

It run smoothly now :smiley:. Thanks a lot!

Thanks for letting me know. You are most welcomed!

You are welcomed!

authors: DrSnowbird Xysto

repo: DrSnowbird/eclipse-oxygen-docker


text:
🛑 Moegirl(zh) API is down

In cb6f501, Moegirl(zh) API (https://zh.moegirl.org.cn/api.php?format=json&action=query&meta=siteinfo) was down:

HTTP code: 403
Response time: 298 ms

Resolved: Moegirl(zh) API is back up in f6b101e.

repo: Dragon-Fish/moegirl-uptime


text:
Phaser: armature is undefined

Phaser version: 3.16.2
DragonBones version: 5.7.000
Code:
https://gist.github.com/VioletFlare/ed37a6737509d02a9e4e8072b4d2a64c
Error:
Uncaught TypeError: Cannot read property 'display' of undefined
Code of the offending method:
https://gist.github.com/VioletFlare/8b1170223bfed29d4de35e81de202356
Explanation:
I had already a working phaser project but couldn't make it work with dragon bones so I decided to set up this one file and see what is wrong.
I tried importing dragon bones using the global config in the readme, it didn't work the asset loading function this.load.dragonbone wasn't getting defined properly.
Looking at the plugin's code I figured out I should import the plugin using the new plugins.installScenePlugin method introduced in phaser 3.8 and I couldn't get past this problem.
I have tried 3.12, 3.15 and 3.16 phaser versions to no avail, getting always the same error.

please refer to these demos:
https://github.com/DragonBones/DragonBonesJS/tree/master/Phaser/Demos/src

Hi jcyuan, I have already tried the demos but I have been having trouble making them work. I'm going to try again this weekend and then I'll give you feedback asap.
Thanks for the response, I really appreciate it.

Hi!
I just downloaded this repo.

I positioned myself inside DragonBonesJS/Phaser/Demos
I ran "npm i"
I ran "npm start"

I visited the site and I'm getting this:
Error: Please add the dragonbone plugin in your GameConfig
I tried rebuilding.

I positioned myself inside DragonBonesJS/Phaser/Demos
I ran "npm build"
I ran "npm start"

I got again:
Error: Please add the dragonbone plugin in your GameConfig
The demo's index.html already configures Phaser.
https://github.com/DragonBones/DragonBonesJS/blob/master/Phaser/Demos/index.html
Demo's versions:
Phaser: 3.12
dragonBones.DragonBones.VERSION: 5.7.000.

Update:
I managed to make it work.
Unfortunately I wasn't able to include the dragonBones plugin
the way it gets included inside the demo index.html.
Instead, I used the installScenePlugin method from before.
What i did:

I rewrote BaseDemo and HelloDragonBones to plain js
Inside BaseDemo preload() i included:

this.plugins.installScenePlugin('dragonBones', dragonBones.phaser.plugin.DragonBonesScenePlugin, 'dragonbone', this);

Code:
https://github.com/VioletFlare/db-test
Phaser Version: 3.16.2
dragonBones.DragonBones.VERSION: 5.7.000.

So, I made a workaround from this issue creating a typing definition file that extends Phaser with DragonBones plugins methods: https://gist.github.com/glaucomorais/15eb97215754cbd36ee9065a149210f8
With this, I managed to have the most recent Phaser 3 master branch working with the master branch of DragonBonesJS Phaser plugin.
And, I must declare the DragonBones plugin at "scene" property of "plugins" configuration of the game. Like this:
export const config: GameConfig = {
  title: "Hello, DragonBones!",
  width: 800,
  height: 600,
  backgroundColor: "#f3008e",
  scene: Scene,
  plugins: {
    scene: [
      {
        key: "DragonBones",
        plugin: dragonBones.phaser.plugin.DragonBonesScenePlugin,
        mapping: "dragonbone", start: false
      }
    ]
  }
};

@glaucomorais @VioletFlare
this is correct, the plugin is updated as a ScenePlugin instead of a GlobalPlugin, cause for a scene plugin they can be paused for different each scenes and managed seperatedly.

authors: VioletFlare glaucomorais jcyuan

repo: DragonBones/DragonBonesJS


text:
Is DragonBones 4.0 works with Unity?

Is DragonBones 4.0 works with Unity?

+1

No, as far as I know nobody except me is working on that, but about 4.0, I've just translated the code, but no further effort on that because I've been not making gaming since mid of this year...

authors: BenoitFreslon NDTnarathorn maxin0628

repo: DragonBones/DragonBonesUnity


text:
alright test pull idk if its going to work but it crushes when you hi…

…t a mob

May I ask what this is supposed to be?

i dont know mixins so much

authors: Siuolthepic takipsizad

repo: Draylar/tiered


text:
Boot hang after "random: crng init done"

I did try creating a backup image using dd command, hoping to shrink it a custom image that is bootable ready.
I follow this link: https://medium.com/platformer-blog/creating-a-custom-raspbian-os-image-for-production-3fcb43ff3630
Steps I took:

RPI is boot via usb (16gb) with raspbian stretch.
Insert my working sdcard (4gb with custom raspbian OS and packages).
Create a back up image of my 4gb sdcard using dd command save it to "/home/pi/" dir
execute the PiShrink.sh (was successful).
burn the shrunk image via Etcher.
It boots but failed to proceed after 5 seconds stops with an error message "random: crng init done".

Please advice.

Can you post a console log of taking the image? Thats might help

Hi there,
having the same issue right now.
While I can restore the original image to a different SD card and that boots just fine, restoring the smaller image created by PiShrink fails to boot.
Boot process is stuck at "random: crng init done".
Here's the console log of creating the image and running PiShrink:
`christian@debian:~$ sudo dd bs=4M if=/dev/sdc of=skyvpn-client-orig.img
[sudo] password for christian:
3798+1 records in
3798+1 records out
15931539456 bytes (16 GB, 15 GiB) copied, 282.374 s, 56.4 MB/s
christian@debian:~$ sudo pishrink.sh skyvpn-client-orig.img skyvpn-client.img
pishrink.sh v0.1.2
pishrink.sh: Copying skyvpn-client-orig.img to skyvpn-client.img......
pishrink.sh: Gatherin data...
Creating new /etc/rc.local
pishrink.sh: Checking filesystem...
rootfs: 41296/489472 files (0.1% non-contiguous), 315464/2097152 blocks
resize2fs 1.43.4 (31-Jan-2017)
pishrink.sh: Shrinking filesystem...
resize2fs 1.43.4 (31-Jan-2017)
Resizing the filesystem on /dev/loop0 to 369418 (4k) blocks.
Begin pass 2 (max = 1476)
Relocating blocks             XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Begin pass 3 (max = 64)
Scanning inode table          XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Begin pass 4 (max = 4325)
Updating inode references     XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
The filesystem on /dev/loop0 is now 369418 (4k) blocks long.
pishrink.sh: Shrinking image...
pishrink.sh: Shrunk skyvpn-client.img from 15G to 1.5G...
`
Tried different SD cards, same behavior.
Any ideas?

It looks like its a known problem. See more info here https://www.raspberrypi.org/forums/viewtopic.php?t=209093

authors: Drewsif Laquio chtoller

repo: Drewsif/PiShrink


text:
Won’t Go Invisible

When I am in vanish, it does not make me invisible until I leave and rejoin the server.

I will need some more information. Just to clarify: the mod does not show any difference to you, just other players.
Could you provide your server logs as well, for further info.

repo: DrexHD/Vanish


text:
[iOS] Update Mokoresource to use with iOS

Issue

close #119 and #259

Overview (Required)

In the previous PRs #441 #450 #462 #482, we have migrated all the string usage for Android and now we already using it on the Android side without much of problem.

However, this is not the best outcome yet. In order to fully utilize the moko-resource, we should share the string as a single source of truth for iOS as well.

Changes that I have introduced in this PR
I have migrated the usage of the string resource together with the Android side. The usage on the iOS is the following;
StringsKt.shared.[string_name].desc().localized()

e.g.
StringsKt.shared.about_description.desc().localized()

Comparing to Android side
stringResource(Strings.about_description)

You can check all of the strings that have been declared on the strings.xml here
Last but very important information for using the moko-resource on the iOS.
After build, in order to load the bundle correctly, we need to run this gradle task
"$SRCROOT/../../gradlew" -p "$SRCROOT/../../" :appioscombined:copyFrameworkResourcesToApp \
    -Pmoko.resources.PLATFORM_NAME=$PLATFORM_NAME \
    -Pmoko.resources.CONFIGURATION=$CONFIGURATION \
    -Pmoko.resources.BUILT_PRODUCTS_DIR=$BUILT_PRODUCTS_DIR \
    -Pmoko.resources.CONTENTS_FOLDER_PATH=$CONTENTS_FOLDER_PATH

For iOS to be able to run gradlew as a part of the build phase, we have to tell the script where is the java_home location ...
Since the Java_home location is different for each developer, we have to somehow read it from the safe location (easily modifiable / untrack by source control).
Location is here (/local.properties)

Important
From now, in order to run iOS, we need to set the java_home location on the /local.properties file with key org.gradle.java.home
e.g. my java_home is the following;

For @ry-itto, I have tried to use the SPM plugin but with my inexperience on SPM and iOS in general, I couldn't be able to achieve SPM plugin instead of use the run script directly. I would love to use SPM pre-build plugin instead but I couldn't make it work for a few days so I gave up. I have left the trail here, just in case you want to explore further.
With this proposal being accepted, Strings module on the iOS will be deprecated and should be removed.
Thank you! and let me know if you have question or problem.. @takahirom @ry-itto
Links

Screenshot

A merged PR https://github.com/DroidKaigi/conference-app-2022/pull/615 has String resource change.
Please fix conflicts 🙇🏼

Sure let me work on the conflict tonight then.

@takahirom with the introduction of project folder structure, it makes the iOS CI choked 😢. (In my humble opinion, if you ask me, I prefer a flat structure rather than this folder setup.)
However, I would love to give this a try. I will try to see whether I can mess around with the iOS bundle creation to solve the issue.

Sorry, I didn't notice that 🙇

Conflicts fixed! Still finding a good to get around the upload task though 😓. Please wait a bit.

I have resolved it with using zip instead. Please take a look again.
For next PR, I will clean up Strings for iOS and add some README.md

@takahirom
Please check this PR's Android/Kotlin part 🙏🏼

If possible, in order to avoid AppStore Review rejection, I would like you to create an extension that removes the word Android from the text for iOS project (I think it should be placed in Strings module).

Let me check for that in the next PR but I think ideally we should not have the hardcoded string "Android" somewhere. I will help monitor that too

Sure! Fixed 💪

@ry-itto It's okay, please ping me when you are merging stuff. I can keep merging stuff, no worries.

@kittinunf
I merged that PR 🙏🏼 (This ping is too late..)

Hopefully CI likes my commit ☺

@kittinunf
CI seems to like your commits!
I'll merge this PR 🙏🏼  Thank you!
@takahirom
This PR has a risk of conflict, so I'll merge this PR before your review 🙏🏼
If there is something happened, let's do it with issue!

Thanks so much! @ry-itto
Just FYI, iOS build now requires java home to be set on the local.properties file.

authors: kittinunf ry-itto takahirom


text:
[Compose Multiplatform] Opening ProfileCardScreen with a ProfileCard saved causes the app to crash.

Reproduction procedure

Launch the application on your iPhone.
Operate with AboutScreen to switch the app to a multi-platform view.
Create a ProfileCard.
Open ProfileCardScreen.

If you do not make any screen transitions after creating a ProfileCard, the app will not crash even if you use ProfileCardScreen to go back and forth between the Edit/Card screens during that time.
If you start with EditCardScreen with no ProfileCard, the app will not crash.
This is the only line in the error log that seems relevant.

Uncaught Kotlin exception: kotlin.IllegalStateException: Size is unspecified

If a ProfileCard exists
If the ProfileCard does not exist

Upon investigation, it appears that there is a problem with either the backImage/frontImage of the ShareableProfileCard.
I will take care of it myself, as it can probably be handled. 🫡


text:
Changed the display position of EmptySearchResultBody to the center vertically.

Issue

close #ISSUE_NUMBER

Overview (Required)

Empty view of the search screen is not aligned center vertically.
In figma, UFO image and description is centered in whole screen (including app top bar and search filters bar).

figma
emulated device

Links

Related issues

https://github.com/DroidKaigi/conference-app-2024/issues/853

Screenshot (Optional if screenshot test is present or unrelated to UI)

Before
After
After: show layout boundsmode ON

Movie (Optional)

Before
After

Thank you for this valuable contribution. I believe we need this implementation to comply with the design. The problem is that we need to modify the globalPositioned each time we change the structure of a composable or add a new composable. This could make our development process difficult. I'm considering whether it might be better not to proceed with this pull request. 🙇

@Yamaton0827 -san @takahirom -san
Sorry to butt in, but this can be fixed with a much smaller change.
Rather than changing globalPositioned,
It would be better to get the size of the top element and pad it accordingly.
    var favoriteFiltersSize by remember { mutableStateOf(0.dp) }

    Column(modifier = modifier.fillMaxSize()) {
        FavoriteFilters(
            allFilterSelected = uiState.isAllFilterSelected,
            day1FilterSelected = uiState.isDay1FilterSelected,
            day2FilterSelected = uiState.isDay2FilterSelected,
            backgroundColor = filterBackgroundColor,
            onAllFilterChipClick = onAllFilterChipClick,
            onDay1FilterChipClick = onDay1FilterChipClick,
            onDay2FilterChipClick = onDay2FilterChipClick,
            modifier = Modifier
                .fillMaxWidth()
                .background(favoriteFiltersBackgroundColor)
                .onSizeChanged { size ->
                    favoriteFiltersSize = size.height.dp
                },
        )

        when (uiState) {
            is FavoritesSheetUiState.Empty -> {
                EmptyView(
                    modifier = Modifier.wrapContentSize(Alignment.Center)
                        .padding(bottom = WindowInsets.statusBars.asPaddingValues().calculateTopPadding() + favoriteFiltersSize)
                )
            }

Screenshot
It's a little bit off from Figma, but what do you think of this change?

Before
After
Figma

If you're OK with it, I don't mind if you commit it like this.
By the way, it would be helpful if you could run detekt and organize the code.

Thank you. That seems better, but I think it's not very good to add processing every time a component is added. However, if we handle it as an inset, I think it's relatively acceptable.

Sorry, I didn't understand what you meant by treating it as an inset.
I suggested that this would be fine if no elements will be added to FavoritesScreen in the future.

I think this is a somewhat difficult problem. We also have this issue, and this PR could complicate things further.
https://github.com/DroidKaigi/conference-app-2024/issues/520

@takahirom -san, @Yamaton0827 -san
I understand. If that's the situation, there's no need to consider my suggestion.

@takahirom
Thank you for your review and consideration. The content of the discussion was a little difficult for me, so I will try to understand it from now on.
@naoele
Thank you for the suggestion, it was helpful.

This pull request is closed because of a fundamental problem. Thank you for your review.

authors: Yamaton0827 naoele takahirom


text:
When body is too big in the socket, not all body was readed and so, B…

…ody in the Request dict were incomplete.

Hi Geballin,
Let's continue this discussion on the site of the newer patch: https://github.com/Drolla/t2ws/pull/2
Thanks,
Andreas

authors: Drolla Geballin


text:
Duplicates in latest and upcoming releases

I have a bunch of duplicates from apple music in both of these sections. Not sure why. I checked to see if it was because of different types (explicit and clean versions) but that's not it. I have singles and compilations off.
Here is an example from the upcoming release section:

Actually....after posting I see the issue. I see for some there is a slight variation in the artist names for the duplicates (i.e. ghostface vs ghostface killah | Too Short vs Too $Short). But with some the names are the same and still duplicating (i.e. guilty simpson and too short).

Thanks for reporting this. It's a really tricky issue to properly merge artists (since they can exist in lots of different forms).
Will work on these.

This should be fixed now!

authors: Shpigford orangemooncreative

repo: DroptuneHQ/droptune


text:
Update stable version in repo from 0.0.0 to 0.3.2

Think about adding version 0.3.2 to stable repository.
Version: stable=0.0.0 (0 days old) => latest=0.3.2 (30 days old)
Installs: stable=0 (0%), latest=132 (62.86%), total=210
Click to use developer portal
Click to edit
Note: This is an automatically generated message and not personally authored by bluefox!

This issue seems to be outdated.
This issue suggests to update the stable version of this adapter to 0.3.2 but in the meantime an update to version 0.3.4 is suggested.
So this issue will be closed and replaced by an updated one.
@mcm1957 for evidence


text:
Make Trace object-safe, allowing dynamic types and slices to be garbage collected

The simple part is making a dynamically dispatched version of 'Trace' and 'GcVisitor'. I just added where Self: Sized bounds to all the generic methods and added an object-safe fallback.
This main problem is that 'Trace' and 'GcSafe' have associated
constants 'Trace::NEEDS_TRACE' and 'GcSafe::NEEDS_DROP'.
I've separated these associated consts into their own GcTypeInfno
trait.
I've messed around with this all day.
So far it looks like we might end up requiring significant amounts of
nightly features D:
Fixes #15
Required for #16
Goals

Include 'NEEDS_TRACE' optimization to avoid un-needed tracing

Possibly just use NullTrace maker as a simpler alternative

Avoid invoking auto-derived dummy drops

These are generated by the derive code, forbidding the user from implementing a custom drop that resurrects objects
In that case std::mem::needs_drop may return a false-positive true

Avoid adding new nightly features

If we do need to add any they must have an accepted RFC
Ideally, we don't want to add very complex features (IE: not specialization)

Preserve static type information and avoid dynamic dispatch wherever possible

Can we include some sort of StaticTypeLayout struct in the future
This depends on static type information being perserve

Approaches
I see three main approaches that keep the current type hierarchy, and there are pitfalls to each one.
Right now I'm leaning towards separate DynTrace types or having separate trait requirements for sized and unsized types.
Require where *const Self: GcTypeInfo for all Trace types
Directly extending Trace from GcTypeInfo doesn't work. The rust compiler requires supertypes to be object-safe.
When wrapped with a pointer, the type can then implement non-object-safe constants. We simply add functions needs_trace and needs_gc_drop which query <*const T as GcTypeInfo>::NEEDS_TRACE (or NEEDS_DROP).
The big advantage is this approach works on stable!
The disadvantage is that the bound isn't implied for generic parameters.
If you have impl<T: Trace> Trace for Box<T> then the compiler complains that *const T doesn't implement GcTypeInfo.
You must explicitly add a where-bound where *const T: GcTypeInfo to each and every generic parameter :roll_eyes:
The implied generic parameters would be fixed by RFC 2089. However, this would probably require nightly, maybe even for API clients.
Specialization
We could use specialization internally to implement needs_trace and needs_drop functions.
trait HiddenTypeInfo {
    const NEEDS_TRACE: bool;
    const NEEDS_DROP: bool;
}
default impl<T: ?Sized> HiddenTypeInfo for T {
    const NEEDS_TRACE: bool = true; // conservatively assume trace
    const NEEDS_DROP: bool = true; // conservative assume drop
}
impl<T: NullTrace> for T {
    const NEEDS_TRACE: bool = false;
}
impl<T: DummyDrop> for T {
    const NEEDS_DROP: bool = false;
}

Problems

Unfortunately, this doesn't work with min_specialization

The full specialization feature is unsound, so we absolutely want to avoid it
It breaks requirement 3

I think this has something to do with always applicable impls
This could be fixed (in theory) if we used the compiler-internal attribute #[rustc_unsafe_specialization_marker]

Maybe we should just ignore it since we know that our specific use-case is fine?

How would we require GcTypeInfo to be implemented for all Trace + Sized types?

Associated Type
We could require an associated type type Info: GcTypeInfo. By default, the associated type would be Self for any Sized types. However, for unsized types we would have Info = DefaultTypeInfo that gives conservative defaults.
Associated type defaults were accepted in RFC 2532.
Problems

The feature is unstable (though not as bad as specialization).
This is only theoretical. I haven't tried it yet
Does this work if we don't have a Self: GcTypeInfo bound on the trait?
Kind of an ugly approach

Separate erased traits: DynTrace and DynGcVisitor
This is what erased serde did. This is the first approach I tried. It was complex because I had to essentially make the GC accept both Trace and DynTrace. They often needed to be treated separately and there was unessicarry code duplication :(
Maybe we should make the Trace trait object safe by default, but keep GcSafe sized?
The main type that requires GcSafe is Gc<'gc, T> (for safety). That requirement could certainly be relaxed to only the constructors.......
Could we have separate traits GcSafe and GcStaticType? Any sized type must implement GcStaticType and give us the flags (NEEDS_TRACE/NEEDS_DROP) that we want.

This needs to be reimplemented with the new pointer metadata API.
I'm considering just making everything thin pointers so that it is easier for the collector to trace, and more consistent with the .
The most important ?Sized types to trace are slices. I'd really like it if the collector was able to allocate arrays/slices and not just individual objects.

Superceeded by #29

repo: DuckLogic/zerogc


text:
Implement float operators in C / Support Float and Double

This fixes multiple issues:

it reimplements ocaml round -> therefore we can get ride of the external dependency
it exposes c's atof to ocaml to make string parsing possible
all the operations are possible for floats and doubles and a uniform interface is provided for both
it would now also be fairly simple to "out-source" other functions to c like sqrt, log, cos, sin etc.
we now support at least the two float kinds Float and Double
adjusts the casting in forward evaluation as well as backwards (invariant) and also fixes some rounding issues in invariant generally
introduces yet another module layer to store the ftype information

Builds on #9

Could you please also include a min_value function (You can of course choose a different name for it)?
min_value is actually the least Float, that is not a subnormal and I will need it for implementing the __builtin_isnormal function (to check if the interval may contain subnormals).
Alternatively classify_float should also work, but min_value (or similar) would be nicer for me

This should now be covered by smallest, i guess

authors: Dudeldu FelixKrayer

repo: Dudeldu/analyzer


text:
🛑 Roundcube is down

In 8e6cacf, Roundcube (https://mail.dustplanet.de) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Roundcube is back up in 9fc538c after 15 hours, 11 minutes.

repo: Dustplanet/upptime


text:
Update Pages “home”

Automatically generated by Netlify CMS

👷 Deploy Preview for shimmering-marigold-4f5b4a processing.

Name
Link

🔨 Latest commit
9c0fc658ccfc431ae83a34b12ad79ed1ef3c64c1

🔍 Latest deploy log
https://app.netlify.com/sites/shimmering-marigold-4f5b4a/deploys/64ff8cd2b40a230008f2b2e4

repo: DwellingSpace/hylia-blog