The D Programming Language - Digitalmars-d
March 2025 Archives by author
Starting: Sat Mar 1 22:30:54 UTC 2025
Ending: Mon Mar 31 23:16:57 UTC 2025
Messages: 380
- operator overloading outside the type
Elias Batek (0xEAB)
- Scope guards style guide
Elias Batek (0xEAB)
- Scope guards style guide
Elias Batek (0xEAB)
- How to fix issue#10636 ?
Aditya
- operator overloading outside the type
Araq
- Please improve the with statement by allowing initialisation
Basile B.
- “Out” parameters and destructors
Basile B.
- Poll: what should this program do?
Basile B.
- Tsoding streamed about D
Lance Bachmeier
- Tsoding streamed about D
Lance Bachmeier
- Tsoding streamed about D
Lance Bachmeier
- [OT] Evolving Scala
Lance Bachmeier
- Using the sundials solver package from D - my first experience with importC
Lance Bachmeier
- Applying Placement New to druntime and phobos
Paul Backus
- Applying Placement New to druntime and phobos
Paul Backus
- How should to!string handle infinite ranges?
Paul Backus
- What _is_ up with v2.110?
Paul Backus
- Applying Placement New to druntime and phobos
Paul Backus
- Applying Placement New to druntime and phobos
Paul Backus
- D Style document
Paul Backus
- D Style document
Paul Backus
- Please improve the with statement by allowing initialisation
Paul Backus
- Poll: what should this program do?
Paul Backus
- Poll: what should this program do?
Paul Backus
- Internationalization support and format strings
Paul Backus
- operator overloading outside the type
Paul Backus
- Order of evaluation for named arguments
Paul Backus
- A big update on 2.110
Walter Bright
- DMD AArch64 progress
Walter Bright
- DMD AArch64 progress
Walter Bright
- DMD AArch64 progress
Walter Bright
- LLM's think we should have language tuples!
Walter Bright
- LLM's think we should have language tuples!
Walter Bright
- LLM's think we should have language tuples!
Walter Bright
- Tsoding streamed about D
Walter Bright
- Tsoding streamed about D
Walter Bright
- Tsoding streamed about D
Walter Bright
- Tsoding streamed about D
Walter Bright
- Tsoding streamed about D
Walter Bright
- Tsoding streamed about D
Walter Bright
- Martin Nowak is officially MIA
Walter Bright
- Tsoding streamed about D
Walter Bright
- Tsoding streamed about D
Walter Bright
- Tsoding streamed about D
Walter Bright
- Tsoding streamed about D
Walter Bright
- Martin Nowak is officially MIA
Walter Bright
- Tsoding streamed about D
Walter Bright
- Tsoding streamed about D
Walter Bright
- Tsoding streamed about D
Walter Bright
- operator overloading outside the type
Walter Bright
- operator overloading outside the type
Walter Bright
- operator overloading outside the type
Walter Bright
- operator overloading outside the type
Walter Bright
- operator overloading outside the type
Walter Bright
- operator overloading outside the type
Walter Bright
- Order of evaluation for named arguments
Walter Bright
- Order of evaluation for named arguments
Walter Bright
- Tsoding - How Not to Market Your Language Features
Walter Bright
- What _is_ up with v2.110?
Richard (Rikki) Andrew Cattermole
- What _is_ up with v2.110?
Richard (Rikki) Andrew Cattermole
- A big update on 2.110
Richard (Rikki) Andrew Cattermole
- D Style document
Richard (Rikki) Andrew Cattermole
- CI seems to have regressed?
Richard (Rikki) Andrew Cattermole
- CI seems to have regressed?
Richard (Rikki) Andrew Cattermole
- Enhancement on `export` symbol
Richard (Rikki) Andrew Cattermole
- Tsoding streamed about D
Richard (Rikki) Andrew Cattermole
- Internationalization support and format strings
Richard (Rikki) Andrew Cattermole
- Tsoding streamed about D
Richard (Rikki) Andrew Cattermole
- Tsoding streamed about D
Richard (Rikki) Andrew Cattermole
- Tsoding streamed about D
Richard (Rikki) Andrew Cattermole
- Tsoding - How Not to Market Your Language Features
Richard (Rikki) Andrew Cattermole
- Tsoding - How Not to Market Your Language Features
Richard (Rikki) Andrew Cattermole
- Tsoding - How Not to Market Your Language Features
Richard (Rikki) Andrew Cattermole
- Tsoding streamed about D
Richard (Rikki) Andrew Cattermole
- Order of evaluation for named arguments
Richard (Rikki) Andrew Cattermole
- Tsoding streamed about D
Bradley Chatha
- How should to!string handle infinite ranges?
Jonathan M Davis
- D Style document
Jonathan M Davis
- D Style document
Jonathan M Davis
- What _is_ up with v2.110?
Jonathan M Davis
- Tsoding streamed about D
Jonathan M Davis
- Martin Nowak is officially MIA
Jonathan M Davis
- operator overloading outside the type
Jonathan M Davis
- operator overloading outside the type
Jonathan M Davis
- operator overloading outside the type
Jonathan M Davis
- Order of evaluation for named arguments
Jonathan M Davis
- Scope guards style guide
Jonathan M Davis
- A big update on 2.110
Dennis
- A big update on 2.110
Dennis
- Martin Nowak is officially MIA
Dennis
- “Out” parameters and destructors
Marie Diaz
- A big update on 2.110
Salih Dincer
- DMD AArch64 progress
Salih Dincer
- “Out” parameters and destructors
Salih Dincer
- Order of evaluation for named arguments
Salih Dincer
- Order of evaluation for named arguments
Salih Dincer
- Order of evaluation for named arguments
Salih Dincer
- Order of evaluation for named arguments
Salih Dincer
- Order of evaluation for named arguments
Salih Dincer
- Order of evaluation for named arguments
Salih Dincer
- operator overloading outside the type
Salih Dincer
- LLM's think we should have language tuples!
Salih Dincer
- Order of evaluation for named arguments
Salih Dincer
- How should to!string handle infinite ranges?
Dukc
- A big update on 2.110
Dukc
- Future of SafeRefCounted
Dukc
- Poll: what should this program do?
Dukc
- Poll: what should this program do?
Dukc
- Tsoding streamed about D
Dukc
- Tsoding - How Not to Market Your Language Features
Dukc
- operator overloading outside the type
Dukc
- Tsoding - How Not to Market Your Language Features
Dukc
- LLM's think we should have language tuples!
Alexandru Ermicioi
- Future of SafeRefCounted
Derek Fawcus
- Future of SafeRefCounted
Derek Fawcus
- Please improve the with statement by allowing initialisation
Derek Fawcus
- TypeScript is being ported to Go | interview with Anders Hejlsberg
Derek Fawcus
- TypeScript is being ported to Go | interview with Anders Hejlsberg
Derek Fawcus
- LDC command arguments vs DMD argument
Derek Fawcus
- LDC command arguments vs DMD argument
Derek Fawcus
- [OT] Evolving Scala
Derek Fawcus
- Tsoding streamed about D
Derek Fawcus
- Tsoding streamed about D
Derek Fawcus
- [OT] Evolving Scala
Derek Fawcus
- [OT] Evolving Scala
Derek Fawcus
- Tsoding streamed about D
Derek Fawcus
- Tsoding streamed about D
Derek Fawcus
- Tsoding streamed about D
Derek Fawcus
- Tsoding - How Not to Market Your Language Features
Derek Fawcus
- Tsoding - How Not to Market Your Language Features
Derek Fawcus
- Tsoding - How Not to Market Your Language Features
Derek Fawcus
- Tsoding - How Not to Market Your Language Features
Derek Fawcus
- Tsoding streamed about D
Derek Fawcus
- operator overloading outside the type
Derek Fawcus
- operator overloading outside the type
Derek Fawcus
- What _is_ up with v2.110?
FeepingCreature
- What _is_ up with v2.110?
FeepingCreature
- LLM's think we should have language tuples!
FeepingCreature
- LLM's think we should have language tuples!
FeepingCreature
- LDC command arguments vs DMD argument
Denis Feklushkin
- Poll: what should this program do?
Timon Gehr
- Martin Nowak is officially MIA
Timon Gehr
- Martin Nowak is officially MIA
Timon Gehr
- operator overloading outside the type
Timon Gehr
- operator overloading outside the type
Timon Gehr
- operator overloading outside the type
Timon Gehr
- operator overloading outside the type
Timon Gehr
- Order of evaluation for named arguments
Timon Gehr
- Martin Nowak is officially MIA
Timon Gehr
- Order of evaluation for named arguments
Timon Gehr
- TypeScript is being ported to Go | interview with Anders Hejlsberg
David Gileadi
- dub-registry search should include sub-packages
Element Green
- A big update on 2.110
Elias Griffin
- Internationalization support and format strings
Bruno Haible
- Internationalization support and format strings
Bruno Haible
- Internationalization support and format strings
Bruno Haible
- Internationalization support and format strings
Bruno Haible
- Tsoding streamed about D
Send Help
- A big update on 2.110
Hipreme
- Enhancement on `export` symbol
Hipreme
- Enhancement on `export` symbol
Hipreme
- Enhancement on `export` symbol
Hipreme
- Whats worth taking from "railroad oriented programming"
Inkrementator
- How should to!string handle infinite ranges?
Inkrementator
- Tsoding streamed about D
Paolo Invernizzi
- Tsoding streamed about D
Paolo Invernizzi
- operator overloading outside the type
Paolo Invernizzi
- Tsoding - How Not to Market Your Language Features
Paolo Invernizzi
- Tsoding streamed about D
Paolo Invernizzi
- operator overloading outside the type
Paolo Invernizzi
- Enhancement on `export` symbol
Johan
- Problem with GC and address/leak sanitizer
Johan
- DMD AArch64 progress
Ben Jones
- LLM's think we should have language tuples!
Kagamin
- LLM's think we should have language tuples!
Kagamin
- Tsoding - How Not to Market Your Language Features
Kagamin
- D Style document
Kapendev
- Tsoding streamed about D
Kapendev
- Tsoding streamed about D
Kapendev
- Future of SafeRefCounted
Sebastiaan Koppe
- Using the sundials solver package from D - my first experience with importC
Robert Kovacs
- D Style document
Dejan Lekic
- D Style document
Dejan Lekic
- Please improve the with statement by allowing initialisation
Dejan Lekic
- Please improve the with statement by allowing initialisation
Dejan Lekic
- Please improve the with statement by allowing initialisation
Dejan Lekic
- D Style document
Dejan Lekic
- Please improve the with statement by allowing initialisation
Dejan Lekic
- Please improve the with statement by allowing initialisation
Dejan Lekic
- A big update on 2.110
M. M.
- Applying Placement New to druntime and phobos
Manu
- Applying Placement New to druntime and phobos
Manu
- Applying Placement New to druntime and phobos
Manu
- Applying Placement New to druntime and phobos
Manu
- CI seems to have regressed?
Manu
- CI seems to have regressed?
Manu
- Martin Nowak is officially MIA
Manu
- Tsoding streamed about D
Manu
- Tsoding streamed about D
Manu
- Tsoding streamed about D
Manu
- Tsoding streamed about D
Manu
- LLM's think we should have language tuples!
Manu
- Tsoding streamed about D
Manu
- LLM's think we should have language tuples!
Manu
- LLM's think we should have language tuples!
Manu
- Problem with GC and address/leak sanitizer
Luís Marques
- Problem with GC and address/leak sanitizer
Luís Marques
- Problem with GC and address/leak sanitizer
Luís Marques
- Tsoding streamed about D
Martyn
- Tsoding streamed about D
Mengu
- Martin Nowak is officially MIA
Meta
- Martin Nowak is officially MIA
Meta
- Tsoding streamed about D
Meta
- Tsoding streamed about D
Meta
- Tsoding streamed about D
Meta
- Tsoding streamed about D
Meta
- operator overloading outside the type
Meta
- Tsoding streamed about D
Meta
- Tsoding streamed about D
Meta
- Tsoding streamed about D
Meta
- Generating enum members
Milli
- Generating enum members
Milli
- Order of evaluation for named arguments
Daniel N
- Tsoding streamed about D
Maximilian Naderer
- Applying Placement New to druntime and phobos
Per Nordlöw
- Applying Placement New to druntime and phobos
Per Nordlöw
- Applying Placement New to druntime and phobos
Per Nordlöw
- How should to!string handle infinite ranges?
Per Nordlöw
- Applying Placement New to druntime and phobos
Per Nordlöw
- Applying Placement New to druntime and phobos
Per Nordlöw
- Applying Placement New to druntime and phobos
Per Nordlöw
- “Out” parameters and destructors
Manfred Nowak
- “Out” parameters and destructors
Manfred Nowak
- “Out” parameters and destructors
Ogi
- “Out” parameters and destructors
Ogion
- “Out” parameters and destructors
Ogion
- “Out” parameters and destructors
Ogion
- Tsoding streamed about D
Ogion
- Poll: what should this program do?
Ogion
- Tsoding streamed about D
Ogion
- Tsoding streamed about D
Ogion
- operator overloading outside the type
Ogion
- Tsoding - How Not to Market Your Language Features
Ogion
- How should to!string handle infinite ranges?
Dave P.
- Tsoding streamed about D
Dave P.
- What _is_ up with v2.110?
Mike Parker
- What _is_ up with v2.110?
Mike Parker
- Build in associated array (DIctionary) needs some enhancements
An Pham
- TypeScript is being ported to Go | interview with Anders Hejlsberg
Paulo Pinto
- TypeScript is being ported to Go | interview with Anders Hejlsberg
Paulo Pinto
- TypeScript is being ported to Go | interview with Anders Hejlsberg
Paulo Pinto
- Tsoding streamed about D
Paulo Pinto
- Tsoding streamed about D
Paulo Pinto
- Tsoding streamed about D
Paulo Pinto
- Tsoding streamed about D
Paulo Pinto
- Gamut v3.3 brings niche SQZ codec support
Guillaume Piolat
- Tsoding streamed about D
Guillaume Piolat
- Tsoding streamed about D
Guillaume Piolat
- Tsoding streamed about D
Guillaume Piolat
- Why is database management an essential factor for hiring ASP.NET developers?
Ben Roy
- Martin Nowak is officially MIA
Max Samukha
- Poll: what should this program do?
Max Samukha
- TypeScript is being ported to Go | interview with Anders Hejlsberg
Robert Schadek
- TypeScript is being ported to Go | interview with Anders Hejlsberg
Robert Schadek
- Tsoding - How Not to Market Your Language Features
Patrick Schluter
- What _is_ up with v2.110?
Quirin Schroll
- How should to!string handle infinite ranges?
Steven Schveighoffer
- Tsoding streamed about D
Steven Schveighoffer
- Internationalization support and format strings
Steven Schveighoffer
- operator overloading outside the type
Steven Schveighoffer
- Tsoding streamed about D
Steven Schveighoffer
- operator overloading outside the type
Steven Schveighoffer
- operator overloading outside the type
Steven Schveighoffer
- operator overloading outside the type
Steven Schveighoffer
- Order of evaluation for named arguments
Steven Schveighoffer
- Order of evaluation for named arguments
Steven Schveighoffer
- Build in associated array (DIctionary) needs some enhancements
Steven Schveighoffer
- What _is_ up with v2.110?
Sergey
- MP4 Library
Sergey
- A big update on 2.110
Sergey
- What _is_ up with v2.110?
Sergey
- What _is_ up with v2.110?
Sergey
- TypeScript is being ported to Go | interview with Anders Hejlsberg
Sergey
- Making 2024 the Year of D
Sergey
- Please improve the with statement by allowing initialisation
Sergey
- What _is_ up with v2.110?
Sergey
- TypeScript is being ported to Go | interview with Anders Hejlsberg
Sergey
- TypeScript is being ported to Go | interview with Anders Hejlsberg
Sergey
- Tsoding streamed about D
Sergey
- Tsoding streamed about D
Sergey
- [OT] Evolving Scala
Sergey
- Tsoding streamed about D
Sergey
- Tsoding streamed about D
Sergey
- Tsoding streamed about D
Sergey
- Tsoding - How Not to Market Your Language Features
Sergey
- Tsoding - How Not to Market Your Language Features
Sergey
- Tsoding - How Not to Market Your Language Features
Sergey
- Tsoding streamed about D
Mike Shah
- Tsoding streamed about D
Mike Shah
- Tsoding streamed about D
Mike Shah
- Tsoding streamed about D
Mike Shah
- MP4 Library
Ron Tarrant
- Generating enum members
H. S. Teoh
- LLM's think we should have language tuples!
Tim
- Please improve the with statement by allowing initialisation
Nick Treleaven
- “Out” parameters and destructors
Nick Treleaven
- “Out” parameters and destructors
Nick Treleaven
- operator overloading outside the type
Nick Treleaven
- LLM's think we should have language tuples!
Nick Treleaven
- A big update on 2.110
Bastiaan Veelo
- What _is_ up with v2.110?
Vindex9
- Managing Postgraduate Nursing Education to Improve Patient Care
Labiteb Will
- What _is_ up with v2.110?
Adam Wilson
- What _is_ up with v2.110?
Adam Wilson
- What _is_ up with v2.110?
Adam Wilson
- What _is_ up with v2.110?
Adam Wilson
- Tsoding streamed about D
Adam Wilson
- How to fix issue#10636 ?
Jordan Wilson
- DMD AArch64 progress
Nicholas Wilson
- Where Can I Find Test Data and How to Use It for Testing?
james alary
- Where Can I Find Test Data and How to Use It for Testing?
james alary
- import cv2 import numpy as np import matplotlib.pyplot as plt # Function to load and preprocess the image def preprocess_image(image_path): # Read the image in grayscale img = cv2.imread(image_path, cv2.IMREAD_GRAYSCALE) # Apply Gaussian Blur to reduce noise img_blurred = cv2.GaussianBlur(img, (5, 5), 0) # Apply adaptive thresholding to detect bands _, thresh_img = cv2.threshold(img_blurred, 0, 255, cv2.THRESH_BINARY_INV + cv2.THRESH_OTSU) return thresh_img # Function to detect bands in the gel def detect_bands(thresh_img): # Find contours in the thresholded image (these correspond to the bands) contours, _ = cv2.findContours(thresh_img, cv2.RETR_EXTERNAL, cv2.CHAIN_APPROX_SIMPLE) # Filter small contours that may be noise bands = [cnt for cnt in contours if cv2.contourArea(cnt) > 100] return bands # Function to plot the bands def plot_bands(image_path, bands): # Load the original image for visualization img = cv2.imread(image_path) # Draw the detected bands on the image img_bands = img.copy() for band in bands: cv2.drawContours(img_bands, [band], -1, (0, 255, 0), 2) # Convert the image from BGR to RGB for matplotlib img_bands_rgb = cv2.cvtColor(img_bands, cv2.COLOR_BGR2RGB) # Display the image with detected bands plt.imshow(img_bands_rgb) plt.axis('off') plt.show() # Function to measure the intensity of bands def measure_band_intensity(image_path, bands): img = cv2.imread(image_path, cv2.IMREAD_GRAYSCALE) intensities = [] for band in bands: # Create a mask for each band mask = np.zeros_like(img) cv2.drawContours(mask, [band], -1, 255, thickness=cv2.FILLED) # Calculate the average intensity inside the band mask band_intensity = cv2.mean(img, mask)[0] intensities.append(band_intensity) return intensities # Main program if __name__ == "__main__": # Path to the gel electrophoresis image image_path = 'gel_image.jpg' # Change this to your image file path # Preprocess the image thresh_img = preprocess_image(image_path) # Detect bands in the image bands = detect_bands(thresh_img) # Plot the bands on the original image plot_bands(image_path, bands) # Measure the intensity of each detected band intensities = measure_band_intensity(image_path, bands) # Display the intensity values for each band for i, intensity in enumerate(intensities): print(f"Band {i+1} intensity: {intensity}")
devendra bairwa
- Tsoding streamed about D
bauss
- operator overloading outside the type
bauss
- Tsoding streamed about D
bomat
- Generating enum members
cc
- Tsoding streamed about D
cc
- LLM's think we should have language tuples!
claptrap
- Order of evaluation for named arguments
claptrap
- 🚀 ¿Qué opinan de usar D en Inteligencia Artificial?
daniel
- A big update on 2.110
deadalnix
- A big update on 2.110
deadalnix
- Tsoding - How Not to Market Your Language Features
evilrat
- What _is_ up with v2.110?
f
- A big update on 2.110
jmh530
- Tsoding streamed about D
jmh530
- [OT] Evolving Scala
jmh530
- [OT] Evolving Scala
jmh530
- Tsoding streamed about D
jmh530
- A big update on 2.110
kinke
- Enhancement on `export` symbol
kinke
- Enhancement on `export` symbol
kinke
- operator overloading outside the type
ltdk
- What _is_ up with v2.110?
matheus
- A big update on 2.110
matheus
- D Style document
matheus
- Please improve the with statement by allowing initialisation
matheus
- “Out” parameters and destructors
matheus
- Tsoding streamed about D
matheus
- Using the sundials solver package from D - my first experience with importC
matheus.
- How should to!string handle infinite ranges?
monkyyy
- What _is_ up with v2.110?
monkyyy
- D Style document
monkyyy
- What _is_ up with v2.110?
monkyyy
- Please improve the with statement by allowing initialisation
monkyyy
- Please improve the with statement by allowing initialisation
monkyyy
- TypeScript is being ported to Go | interview with Anders Hejlsberg
monkyyy
- Poll: what should this program do?
monkyyy
- Martin Nowak is officially MIA
monkyyy
- operator overloading outside the type
monkyyy
- Tsoding - How Not to Market Your Language Features
monkyyy
- Order of evaluation for named arguments
monkyyy
- Order of evaluation for named arguments
monkyyy
- How to fix issue#10636 ?
novicetoo
- Applying Placement New to druntime and phobos
ryuukk_
- Tsoding streamed about D
ryuukk_
- LLM's think we should have language tuples!
ryuukk_
- Martin Nowak is officially MIA
sfp
- operator overloading outside the type
sfp
- operator overloading outside the type
sfp
- Martin Nowak is officially MIA
sfp
- operator overloading outside the type
sfp
- operator overloading outside the type
sfp
- operator overloading outside the type
sfp
- Martin Nowak is officially MIA
user1234
- Martin Nowak is officially MIA
user1234
- Martin Nowak is officially MIA
user1234
- React vs. Vue vs. Angular – Which One to Choose?
henry wagner
- Re: “Out” parameters and destructors
Ali Çehreli
- Tsoding - How Not to Market Your Language Features
Ali Çehreli
Last message date:
Mon Mar 31 23:16:57 UTC 2025
Archived on: Mon Mar 31 23:20:03 UTC 2025
This archive was generated by
Pipermail 0.09 (Mailman edition).