Peoples Blog: How to run PHPUnit test cases on your local machine for Drupal

Running PHPUnit tests helps ensure that your Drupal module behaves as expected and provides a reliable way to identify and fix issues during development. To run PHPUnit test cases on your local machine for Drupal, follow these steps: Install PHPUnit and its dependency: Make sure you have PHP and Composer installed on your local machine. If you don’t have PHPUnit installed, you can install

GNUnet News: GSoC Work Product: GNUnet over QUIC

GSoC Work Product: GNUnet over QUIC

Hi, my name is Marshall and throughout the summer of 2023 I worked on developing a new communicator for the GNUnet transport service. I learned a lot about GNUnet through my development experience. Here are some details about the journey!

Goals of the Project.

The goal of this project was to develop a new transport, QUIC, for the

Transport Next Generation (TNG) service

. TNG is a successor to the previous transport plugins and will be running in the fall 2023 GNUnet release. At the time of writing, GNUnet currently supports transports over TCP, UDP, and UNIX sockets.
I chose to implement a QUIC transport communicator due to the rising popularity and speed of this protocol. Because of this popularity, QUIC will be a great transport protocol for GNUnet traffic to sit on top of. QUIC is intended to be a faster alternative to TCP and tries to address some issues that TLS has.

What I completed.

One of the first steps was deciding on a library that can process QUIC packets and would be available to users running different operating systems.
We chose to go with

Cloudflare’s Quiche library

because the C API seemed simpler than other available libraries. Installing cloudflare-quiche via the Homebrew package manager (MacOS) did not actually install the libraries properly for linking with other C programs so I made a pull request in the Homebrew repository and

fixed the formula

.
After this, I worked on handling the receiving functionality of the communicator. This involved reading from the socket then processing the QUIC packets using the Quiche library. Then I implemented the ability to send messages in a similar manner. One of the last steps involved connecting everything together with the transport service so that the communicator can receive information about peers and relay messages.
Once I finished these tasks, the QUIC communicator got merged upstream and is currently an experimental feature. This is due to the packaging situation with Quiche as it is difficult for some users to install the library, and there still may be bugs lingering in the QUIC communicator. More testing and refinement is needed to offer a truly robust and reliable communicator.

Link to source code:

QUIC communicator

.

The current state.

The QUIC communicator currently functions and passes basic communicator tests. That being said, there are some latency issues that need to be addressed. Since the communicator suite is designed to run alongside the new TNG service, it is currently not usable since TNG is still under development (as mentioned previously). Mentioned below are some other things that have yet to be implemented in the QUIC communicator, but will be fixed in the future.

Future Work.

We still need to develop a more permanent solution to the certificate generation so that the Quiche API functions properly. This

certificate generation

has been done in previous implementations (for example the HTTPS plugin). Currently, we are using static, example certificates. Adding timers to each QUIC connection so that a timeout will trigger a connection to close also needs to be implemented. Finally, we should look into lowering the latency by finding points where the communicator is too slow and optimizing it.

Challenges I Encountered.

One of the challenges was reverse engineering the Quiche C API because it has such limited documentation. I learned how to make use of the API by looking at the very simple example client and server examples that are provided in the Quiche repository. There is documentation for the Rust API which seems to operate pretty similarly, so this was helpful too at times. I overcame this challenge with the help and guidance of my mentor Martin Schanzenbach.

Final notes.

Overall, my experience with GNUnet was fantastic. My mentors were friendly and consistently available when I needed help, and I thank them for that. I’m thankful for the GNUnet community for being welcoming and understanding toward new open source developers like myself. I had a lot of fun learning how GNUnet works while developing my project. I am looking forward to contributing to GNUnet in the future!

Linux on the Commodore 64

“But does it run Linux?” can now be finally and affirmatively answered for the Commodore C64! There is a catch (rather: a couple) of course: It runs extremely slowly and it needs a RAM Expansion Unit (REU), as there is no chance to fit it all into just 64KiB. It even emulates virtual memory with an MMU. Insanity. A real C64 would take about a week (!) to boot Linux.

Prepao si me – Domaćice sa Bosfora 11 Epizoda

Video by via Dailymotion Source Glumac/GlumicaSerhat TutumluerCeyda DüvenciÖzge ÖzderHale AkınlıBennu YıldırımlarBatuhan KaracakayaSongül ÖdenMelda AratCenk Ertanİlker Kurtİncilay ŞahinMetin BüktelEvrim SolmazServer MutluEce HakimDevrim ÖzderErdal BilingenFurkan Andıç Go to Source

FMI afirma que situação da Argentina está cada vez mais frágil

Video by via Dailymotion Source A crise na Argentina é objeto de um novo alerta do Fundo Monetário Internacional. O relatório do Fundo destacou que a economia do país latino-americano tem se tornado progressivamente mais frágil, sendo influenciada pela instabilidade decorrente das eleições presidenciais. Confira na íntegra: https://youtube.com/live/k27dKDZASkg Baixe o app Panflix: https://www.panflix.com.br/ Baixe o … Read more

Bandi Sanjay Offer Prayers At Raja Rajeswara Swamy Temple _ Vemulawada _ V6 News (5)

Video by via Dailymotion Source రాజన్నకు కోడె మొక్కులు చెల్లించుకున్న బండి సంజయ్ | V6 News Watch Teenmaar Full Episode • KCR & Governor-Secretariat |Talasani … సచివాలయంలో గవర్నర్ • Governor Tamilisai Soundararajan Vis… తగ్గేదేలే..పోటీ పోటే • Unsatisfied Leaders In BRS Party Does… అందుకే కొట్టిన..సారీ • Talasani Srinivas Yadav Clarity On P… 119 టికెట్లకు వెయ్యి అప్లికేషన్లు • Congress … Read more