teleren/devto huggingface dataset:
Toko Pet Shop medan
Published: 2024-04-04 13:48:26

bla bla bla bla bla bla bla bla bla bla bla bla
[Rekomendasi Buku Bacaan Islami Terbaik 2024](https://wahanapetshop.wordpress.com/2024/03/26/rekomendasi-buku-bacaan-islami-terbaik-2024/)
Saga orb
Tags: webdev, javascript, programming, react
Published: 2024-04-04 13:40:37

This is a draft about a web application..

This application aims to create the place you live , that means the earth into an orb and map your location and separate historical events on the internet by location on that

Aim is add users to the software and let them create their own saga(history) and add it to the world to let other know it.

The repository of this project is on my github account

Username: MadhanDevlpr
How to system test with fixed time on Fargate
Tags: fargate, faketime
Published: 2024-04-04 13:35:42

How do you perform system tests with fixed time on Fargate?

I considered logging into the container using the `aws ecs execute-command` and changing the time using the date command, but since [privileged containers aren't supported on Fargate](https://docs.aws.amazon.com/eks/latest/userguide/fargate.html) I get the following error occurred and I was unable to change it.

`date: cannot set date: Operation not permitted`

However, you can adjust the system time by using libfaketime. Although the version is old, the Dockerfile verified with Keycloak 19.0.2 image　is shown below.

```
FROM quay.io/keycloak/keycloak:19.0.2 AS builder

USER root

RUN microdnf install -y git make gcc
RUN git clone https://github.com/wolfcw/libfaketime.git
WORKDIR /libfaketime/src
RUN make install
ENV LD_PRELOAD=/usr/local/lib/faketime/libfaketime.so.1

ENV FAKETIME="2025-04-24 10:30:00"
RUN date

WORKDIR /opt/keycloak

ENTRYPOINT [ "/opt/keycloak/bin/kc.sh" ]
```

If you enter the container and execute the date command as shown below, you will see that the value specified by the FAKETIME variable is fixed.

```
% aws ecs execute-command --cluster _clustername_ --task _taskID_ --interactive --command "/bin/bash"

The Session Manager plugin was installed successfully. Use the AWS CLI to start a session.

Starting session with SessionId: ecs-execute-command-xxxxxxxxx
[root@ip-NNN-NNN-NNN-NNN keycloak]# date
Thu Apr 24 10:30:00 UTC 2025
```

Please try it yourself.
GitHub: signing commit in a workflow
Tags: security, github, githubactions, javascript
Published: 2024-04-04 13:30:43

Committing in your workflow can normally be done using git commands or other actions that perform commits for you.
However, if your repository requires commit signing, it is difficult to manage securely a GPG keys and set up GitHub Runner to sign your commit.
Fortunately, this can be done through the GitHub GraphQL API.

## GraphQL Mutation

Github provides a GraphQL Mutation [createcommitonbranch](https://docs.github.com/en/graphql/reference/mutations#createcommitonbranch) which creates a commit.
Commits made using this mutation are automatically signed by GitHub and will be marked as verified in the user interface.

For better reusability, we can define a GraphQL mutation in a file ``.github/api/createCommitOnBranch.gql``:

```graphql
mutation (
    $githubRepository: String!,
    $branchName: String!,
    $expectedHeadOid: GitObjectID!
    $commitMessage: String!
    $files: [FileAddition!]!
) {
  createCommitOnBranch(
    input: {
    branch:
    {
        repositoryNameWithOwner: $githubRepository,
        branchName: $branchName
    },
    message: {headline: $commitMessage},
    fileChanges: {
        additions: $files
    }
    expectedHeadOid: $expectedHeadOid
    }
  ){
    commit {
    url
    }
  }
}
```

The following input fields must be set when you call this mutation:

- ``githubRepository``
- ``branchName``
- ``expectedHeadOid``
- ``commitMessage``
- ``files``

## Usage with gh CLI

The mutation can now be called using ``gh`` CLI:

```bash
gh api graphql \
  -F $githubRepository="owner/repo" \
  -F branchName="main" \
  -F expectedHeadOid=$(git rev-parse HEAD) \
  -F commitMessage="chore: commit file" \
  -F files[][path]="README.md" -F files[][contents]=$(base64 -w0 README.md) \
  -F files[][path]="HELLO.md" -F files[][contents]=$(base64 -w0 HELLO.md) \
  -F 'query=@.github/api/createCommitOnBranch.gql'
```

Warning: ``files`` is an array of ``FileAddition``, but fortunately, the ``gh`` CLI allows defining nested objects in fields.


## Usage in a GitHub Workflow

In order to sign a new commit in your workflow, you can add a step to call the mutation using the ``gh`` CLI:

```yaml
permissions:
  checks: write
  statuses: write
  contents: write

jobs:

  committing:
    runs-on: ubuntu-latest
    steps:

    - name: checkout
      uses: actions/checkout@v4

    - name: edit file
      run: |
        echo "hello" >> README.md

    - name: commit
      run: |
        gh api graphql \
          -F $githubRepository=$GITHUB_REPOSITORY \
          -F branchName=$BRANCH \
          -F expectedHeadOid=$(git rev-parse HEAD) \
          -F commitMessage="chore: commit file" \
          -F files[][path]="README.md" -F files[][contents]=$(base64 -w0 README.md) \
          -F files[][path]="HELLO.md" -F files[][contents]=$(base64 -w0 HELLO.md) \
          -F 'query=@.github/api/createCommitOnBranch.gql'
      env:
        GH_TOKEN: ${{ github.token }}
        BRANCH: "main"
```

This commit will be signed by ``github-actions[bot]``.
JaVers: Periodic Maintenance of the Audit Tables
Tags: java, javers, mysql, maintenance
Published: 2024-04-04 13:08:04

This article is about using JaVers for versioning your data object's within your Java application and performing maintenance on the JaVers audit tables that are used to track the changes.

JaVers is meant for storing an audit trail of changes made to an application data model. It's a very nice software product and is very simple to integrate into a Java Spring Boot application. Read here for further.

One day I discovered that the development and testing environments' databases had grown super huge. It turns out that the JaVers audit tables were contributing the most to the overall size.

However, I did not find any out-of-the-box feature that allows one to perform periodic maintenance of the audit tables. As far as I know, the audit tables simply grow and grow, along with all the changes to the data model, ad infinitum. I also did not find any documentation on how to do this.

I opened a GitHub question but it wasn't answered as quickly as I hoped. The development and testing environments' databases were so large that I was suddenly running out of disk space. I thought it might be nice to clean up the audit tables that JaVers uses rather than simply add more disk space since after all, the environments were merely for development and testing.

After studying the source code and the tables I realized that there are a total of four tables that JaVers creates and uses. I also figured out their relationships to one another and how cleaning up the data would be executed.

In my particular case, the database is MySQL and runs inside of a Docker container. So my solution includes interacting with the database via the Docker container. 

The first part that I'll share below are the tables and the commands needed to reduce the size of data that they store. It requires that you choose a data for which all data from that point going backwards will be removed. The data provided should be given as yyyy-MM-dd.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9su20derk6dr1nb5po6z.png)

The above would be saved to a file named cleanup-javers.sql. Then, the commands of the SQL file will be executed according to the following convenience script:

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jr9ccdgz0hea6hkuc8la.png)

For convenience, I also added the above to files and hosted them in my GitHub located here.

Let me know if some corrections need to be made or enhancements. Thanks!
Astro + PhotoSwipe
Tags: astro, photoswipe, lightbox
Published: 2024-04-04 13:01:09

You want to add a PhotoSwipe lightbox to your Astro project and still be able to use Astro's automatic image optimization?

It's simple.

[Example page](https://astro-photoswipe.petrovicz.com/)
[Example code](https://github.com/petrovicz/astro-photoswipe)
[Example code with ViewTransitions](https://github.com/petrovicz/astro-photoswipe/tree/viewtransitions)

1) Install photoswipe from npm
```bash
npm i photoswipe --save
```
2) Add this code to your .astro file

```html
---
import { Image, getImage } from "astro:assets";
import image from "/src/assets/image.jpg";

const optimizedImage = await getImage({ src: image, width: 1920 });
---

<div id="gallery">
    <a
        href={optimizedImage.src}
        data-pswp-width={optimizedImage.attributes.width}
        data-pswp-height={optimizedImage.attributes.height}
        target="_blank"
    >
        <Image src={image} alt={"alt"} height={350} />
    </a>
    ...
</div>

<script>
    import PhotoSwipeLightbox from "photoswipe/lightbox";
    import "photoswipe/style.css";

    const lightbox = new PhotoSwipeLightbox({
        gallery: "#gallery",
        children: "a",
        pswpModule: () => import("photoswipe"),
    });

    lightbox.init();
</script>
```
>You can use the same optimizedImage for the Image tag, but I prefer generating a much lower resolution version for the thumbnail and a higher resolution version for PhotoSwipe to optimize performance.

If you are using ViewTransitions, you need to modify your script tag slightly.

```html
<script>
	import PhotoSwipeLightbox from "photoswipe/lightbox";
	import "photoswipe/style.css";

	let lightbox: PhotoSwipeLightbox;

	document.addEventListener("astro:page-load", () => {
		lightbox = new PhotoSwipeLightbox({
			gallery: "#gallery",
			children: "a",
			pswpModule: () => import("photoswipe"),
		});

		lightbox.init();
	});

	document.addEventListener("astro:before-swap", () => {
		lightbox.destroy();
	});
</script>
```

You can find a ready-to-use [PhotoSwipe component](https://github.com/petrovicz/astro-photoswipe/blob/master/src/components/PhotoSwipe.astro) in my [repo](https://github.com/petrovicz/astro-photoswipe), which loads all images from a given folder automatically.

Adding an image gallery doesn't mean you cannot have perfect Lighthouse scores 😁
![Lighthouse scores](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qq6gtv53yxw3n60m4opq.png)
Ibuprofeno.py💊| #71: Explica este código Python
Tags: python, spanish, programming, beginners
Published: 2024-04-04 13:00:00

## **<center>Explica este código Python</center>**
#### <center>**Dificultad:** <mark>Fácil</mark></center>

```py
print(sep=".", "hola", "mundo")
```

👉 **A.** `hola.mundo`
👉 **B.** `.hola mundo`
👉 **C.** `SyntaxError`
👉 **D.** `Ninguna de las anteriores`

---

Respuesta en el primer comentario.
How do these Cash Loan wired in One Hour lenders operate?
Tags: cashloanwiredin1hour, cashloanwired, cashloan
Published: 2024-04-04 12:58:53


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/kcj6py2r8r4cdoaomxly.jpg)
Cash Loan wired in 1 Hour direct lenders in the USA operate online, they allow their borrowers to apply
to direct their home or whatever their comfort zone is. The borrower can directly apply for the loan by the online process but there are some conditions for applying for a loan, to qualify for a loan, the borrower must be at least 18 years old, have a bank account, and provide valid proof of income. Once the application is submitted, the lender reviews it and decides whether it should be approved or not for a loan. If the application is approved the lender will immediately wire the loan into your bank account within one hour. And you have to return it within a few weeks or on the term of the loan.
Yenna Dosa
Published: 2024-04-04 12:53:54

I had a fantastic dining experience at this authentic South Indian restaurant. The  Idli Wada, and Rava Dosa were exceptionally delicious, showcasing the true flavors of South India. The tea they served was superb, and it perfectly complemented the meal. Also, You can get 3 feet dosa which is worth trying in their menu Overall, I highly recommend this place for its outstanding South Indian cuisine.
https://yennadosa.com/
How to Connect to SQL Server in Java
Tags: sql, sqlserver, devart, dbforge
Published: 2024-04-04 12:49:24

Microsoft SQL Server and traditional relational database management systems provide strong encryption and other security features to protect businesses' sensitive data and applications. Integrating Microsoft SQL Server with Java is a dependable option for enterprises looking for safe automated data access and transaction processing. The flexibility and use of the widely-used programming language Java enhance the security characteristics of SQL Server. As a result, several secure application frameworks use Java and integrate with Microsoft SQL Server databases.

This article will go over the basics of connecting Java programs to SQL Server databases using the JDBC driver: https://blog.devart.com/connect-to-sql-server-in-java.html
Next-Generation No-Code E-commerce Website Builder
Tags: news, nocode, qshop, commerce
Published: 2024-04-04 12:24:13


## Let me introduce our product!

Hi! After a 6 month beta period, the fastest commerce platform, QShop has officially opened. 🎉

With its "Drag & Drop" functionality, creating sites has never been easier. By selecting the content and dragging it to the desired location using the grid system, website can be completed in no time.

It facilitates quick and easy management of all the functions needed to operate a shopping mall.

![Section Templates(1)](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/pkjzcxyb6tokib5w122k.png)

![Section Templates(2)](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ehlotpt663ccq0c0osdx.png)

![Layers](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/aggusruoruvlsegrrgnb.png)

## My review on the launch

Reflecting on my participation as a backend developer in the launch of a platform like QShop has been a profoundly enriching experience. 

It has offered me the unique opportunity to apply my technical skills in real-world scenarios, pushing the boundaries of what I previously thought was possible. 

This journey has not only honed my technical abilities but also broadened my understanding of the complexities involved in developing and maintaining an e-commerce platform.

I'm really looking forward to seeing many users utilize our service.

---

Unfortunately, It is currently operating only in Korea. But plz show a lot of interest in the service we've made. 🙏🏻

👉 Click [here](https://qshop.ai)!
AR service
Published: 2024-04-04 12:14:31

Got assigned this coursework on modern tech trends, and I zeroed in on wearable tech. Wanted a legit source to understand the development side of things. That's when I stumbled upon [wearable application development](https://pnnsoft.com/it-solutions/custom-wearable-devices-application-development) at PNN Soft. Their site was a goldmine, with clear explanations and real-world examples. What stood out was their emphasis on tailoring each app to the client's needs, offering a range of services from design to deployment. The depth of their portfolio showed me the practical applications of what I was studying, making my coursework not just theoretical but grounded in real industry practices.
How To Rent A Fitspresso Australia Without Spending An Arm And A Leg?
Published: 2024-04-04 12:13:50

╰┈➤PURCHASE LINK :- 
https://bestlifegummies.com/fitspresso-australia-buy/

╰┈➤Facebook Page’s:-
https://www.facebook.com/fitspressoaustraliareviews/


Fitspresso Australia:
For a surge of electricity like by no means earlier than, go with the ketone-triggering therapy. Keep up your modern terrible eating conduct to keep your frame healthy. Use the equal complement that will help you unwind.

➥✅ Item Name ⇌ Fitspresso Australia

➥✅ Benefits:  ⇌Helps you to  Get Lean Slim Body

➥✅ Primary Advantages ⇌ Boost Vitality and Strength

➥✅ Main Benefits ⇌ Control your hormone levels.

➥✅ Category ⇌ Weight Loss Supplement

➥✅ Arrangement ⇌ Regular Natural Compound

➥✅ Results⇌ In 1-2 Months

➥✅ Side-Effects:  ⇌ No Major Side Effects

➥✅ Rating:⇌ ★★★★☆ (4.5/5.0)

➥✅ Measurements ⇌ 2 Chewy candies each day

➥✅ Availability: ⇌In Stock Voted #1 Product in the Australia

╰┈➤➽Oficial Website -  Click Here to Order   ❗
MOST WANTED OFFER 👈👉OFFICIAL WEBSITE:-
https://www.facebook.com/UltraAirCooler.net/
https://www.facebook.com/ResurgeWeightLose/
https://gummiestoday.com/cerebrozen-canada/
https://www.facebook.com/cerebrozencanadareviews/
https://www.facebook.com/CerebroZenInCA/
https://www.facebook.com/cerebrozencanadahearing/
https://www.facebook.com/cerebrozencanadaoffer/
https://gummiestoday.com/cerebrozen-canada/
https://www.onlymyhealth.com/makers-life-boost-cbd-gummies-diabetes-reviews-1711714156
https://www.mid-day.com/hotspot/article/life-boost-cbd-gummies-diabetes-reviews-bliss-bites-cbd-thc-gummies-is-lifeboost-cbd-for-blood-pressure-read-ingredients-before-buying-340
https://www.dailydemocrat.com/2024/01/22/billionaire-brain-wave-reviews-the-genius-wave-2024-fortune-theta-wave-frequency-audio-frequency-manifestation-legit-scam-read-before-buy/

BEFORE BUY MORE QUERY VISIT HERE>>>>>> 
GROUPS SITES⇌ https://sites.google.com/view/fitspressoaustraliareviews/
ECWID⇌ https://fitspresso-australia-reviews.company.site/
JIMD0⇌ https://fitspresso-australia-reviews.jimdosite.com/
GOOGLE   GOOGLE⇌ https://groups.google.com/g/fitspresso-australia-reviews
Blogspot⇌ https://fitspresso-australia-reviews.blogspot.com/2024/04/fitspresso-australia.html
Patch⇌ https://patch.com/new-york/chelsea-ny/calendar/event/20240430/5e35607e-5304-4627-949e-a81351f8a5b7/fitspresso-australia-reviews-scam-does-fitspresso-australia-work-what-real-customers-are-saying

Scoop.it⇌ https://www.scoop.it/topic/fitspresso-australia-reviews
Eventbrite⇌ https://www.eventbrite.com/e/fitspresso-australia-reviews-exposed-must-read-before-you-buy-tickets-877173508577?aff=oddtdtcreator

Webflow.io⇌ https://fitspresso-australia-reviews.webflow.io/

Hashnode.dev⇌ https://fitspresso-australia-reviews.hashnode.dev/fitspresso-australia-reviews-serious-warning-obvious-hoax-or-legit-weight-loss-support-formula

Medium⇌ https://medium.com/@vanessbeatty/fitspresso-australia-reviews-price-check-customer-feedback-and-amazon-legitimacy-where-to-buy-6a0056b976af
Data Security in the Cloud: Ensuring Trustworthy SaaS Practices
Tags: data, security
Published: 2024-04-04 12:12:59

The Evolution of Data Storage: Embracing the Cloud
The traditional model of on-premises data storage has given way to cloud-based solutions for numerous reasons, including scalability, cost-efficiency, and accessibility. SaaS applications like Dropbox, Google Workspace, and Salesforce offer tremendous benefits, but they also introduce unique security challenges.

The Importance of Data Security in SaaS
1. Protecting Sensitive Information
With sensitive data stored in the cloud, including customer information, financial records, and intellectual property, the stakes are higher than ever. Ensuring robust security measures is paramount to safeguarding this valuable information from data breaches and cyber threats.

2. Regulatory Compliance
Many industries are subject to strict data protection regulations such as GDPR, HIPAA, and CCPA. Failure to comply with these regulations can result in severe legal and financial consequences. Trustworthy SaaS practices are essential for maintaining compliance.

3. Business Continuity
Data loss or unauthorized access can disrupt operations and damage a company’s reputation. A comprehensive data security strategy ensures business continuity and protects brand integrity.

For more info visit: [https://saasnovas.com/](https://saasnovas.com/)
Backend Breakthrough: Unleash Your Programming Power
Tags: webdev, javascript, beginners, programming
Published: 2024-04-04 12:10:06


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qwbcleosnzclzdfrtw27.jpg)Unleash Your Programming Power with Our [Back End Development Course](https://www.cetpainfotech.com/technology/back-end-development-training)! Take your coding skills to the next level and become a proficient back end developer. Our intensive program covers everything from server-side scripting to database management, equipping you with the expertise needed to build robust and scalable web applications. Learn to work with cutting-edge technologies like Node.js, Express, and MongoDB under the guidance of industry professionals. With hands-on projects and personalized support, you'll gain the confidence to tackle real-world challenges and propel your career forward. Don't miss this opportunity to make a backend breakthrough – enroll now and unlock your full programming potential!
Empower Your Skills: Dive Deep into Web Development
Tags: webdev, javascript, beginners, programming
Published: 2024-04-04 12:08:25

The web is ever-evolving, and so are the skills needed to build it.  Want to push your creative and technical boundaries?  [Web development training](https://www.cetpainfotech.com/technology/web-designing) can be your launching pad!

Whether you're a complete beginner or looking to refine your expertise, there's a path for you.  Delve into the fundamentals of HTML, CSS, and JavaScript to craft stunning user interfaces.  Explore frameworks like React or Angular to build dynamic applications.  Uncover the secrets of back-end development with languages like Python or Node.js.

The possibilities are endless. Invest in yourself, and  empower your skills with web development training today!

#WebDevelopmentTraining
Building a Deep Face Detection Model with Python and TensorFlow (Part 5)
Tags: ai, machinelearning, deeplearning, python
Published: 2024-04-04 12:06:39

Welcome back to our tutorial on building a deep face detection model using Python and TensorFlow. In this part, we'll cover steps 12 and 13, including evaluating the model's performance and fine-tuning it for better results.

## 12. Evaluate Model Performance

**12.1 Evaluate on Test Data**

```python
test_loss = model.evaluate(test)
print("Test Loss:", test_loss)
```

**12.2 Visualize Model Predictions on Test Data**

```python
test_data = test.as_numpy_iterator()
test_sample = test_data.next()
yhat = model.predict(test_sample[0])

fig, ax = plt.subplots(ncols=4, figsize=(20, 20))
for idx in range(4): 
    sample_image = test_sample[0][idx]
    sample_coords = yhat[1][idx]
    
    if yhat[0][idx] > 0.9:
        cv2.rectangle(sample_image, 
                      tuple(np.multiply(sample_coords[:2], [120, 120]).astype(int)),
                      tuple(np.multiply(sample_coords[2:], [120, 120]).astype(int)), 
                      (255, 0, 0), 2)
    
    ax[idx].imshow(sample_image)
```

## 13. Fine-tune the Model

**13.1 Experiment with Different Architectures**
You can experiment with different base architectures such as ResNet, Inception, or EfficientNet to improve the model's performance.

**13.2 Adjust Hyperparameters**
Fine-tune the learning rate, batch size, and number of epochs to find the optimal combination for your dataset.

**13.3 Data Augmentation**
Explore more advanced data augmentation techniques to further enhance the model's ability to generalize to unseen data.

**13.4 Regularization Techniques**
Consider adding dropout layers or L2 regularization to prevent overfitting and improve the model's generalization.

**13.5 Transfer Learning**
Utilize pre-trained models and transfer learning techniques to leverage knowledge learned from large datasets.

## Conclusion
In this tutorial series, we've covered the process of building a deep face detection model using Python and TensorFlow. We've walked through data collection, annotation, model building, training, and evaluation. By following these steps and experimenting with different techniques, you can develop robust face detection systems for various applications.

Thank you for following along! If you have any questions or feedback, feel free to reach out.

Stay tuned for more tutorials and happy coding!