teleren/devto huggingface dataset:
Air Cargo Tracking: Challenges, Solutions, and Opportunities
Tags: container, tracking
Published: 2023-04-26 09:40:08

we would be throwing some light on challenges of air cargo tracking. Let us have a look OpenTrack.

#aircargotracking #cargotracking #opentrack #airfreighttracking #realtimevisibility #supplychain #aircargo #freighttracking #containertracking #shipmenttracking


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3eytxesqhl4y0atczwc0.jpg)
5 Powerful Developer Tools You Need to Try Now
Tags: webdev, beginners, programming, productivity
Published: 2023-04-26 09:34:54

blog Link: https://medium.com/@naser_shareef/5-powerful-developer-tools-you-need-to-try-now-31a017f4c819

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/75d95z523jnm8k8u9cl3.jpg)
How to customize Serialization & Deserialization using json_serializable in Flutter?
Tags: flutter, beginners, programming, tutorial
Published: 2023-04-26 09:30:31

When we work with JSON data in Flutter, there are two primary approaches: **Manual serialization** and **Automated serialization**.

In **Manual serialization**, we have to manually convert our Dart objects to JSON and vice versa. This can be time-consuming and error-prone, especially when dealing with complex data structures.

**Automated Serialization**, on the other hand, is a much more efficient and less error-prone approach.

In this article, we will dive deep into the various options available in the `JsonSerializable` constructor and how we can use them to customize the serialization and deserialization of our JSON data.

We will discuss all the below methods of JsonSerializable Constructor.

 - anyMap
 - checked
 - constructor
 - createFactory
 - createFieldMap
 - createPerFieldToJson
 - createToJson
 - disallowUnrecognizedKeys
 - explicitToJson
 - fieldRename
 - ignoreUnannotated
 - includeIfNull
 - converters
 - genericArgumentFactories

The [json_serializable](https://pub.dev/packages/json_serializable) package is a code generation library for Dart that simplifies the process of serializing and deserializing JSON data. With json_serializable, you can annotate your model classes with the [json_annotation](https://pub.dev/packages/json_annotation) package, which tells the library which classes to generate serialization and deserialization code for.

To generate the code, you simply need to run the code generator using the [build_runner](https://pub.dev/packages/build_runner) package. This generates the Dart files necessary for the serialization and deserialization process.

For the full version of this blog and more expert tips, visit [Canopas Blog](https://blog.canopas.com/flutter-customizing-serialization-and-deserialization-with-json-serializable-db17e3aa90b0) now!
Wednesday Links - Edition 2023-04-26
Tags: springboot, testcontainers, http, groovy
Published: 2023-04-26 09:27:21

Development-time containers with Spring Boot 3.1 (45 min)🚢
https://www.youtube.com/watch?v=kWb-orCsCM0

Leverage the richness of HTTP status codes (4 min)🔨
https://blog.frankel.ch/leverage-richness-http-status-codes/

Groovy Goodness: Sorting Data With GINQ (2 min)↔️
https://blog.mrhaki.com/2023/04/groovy-goodness-sorting-data-with-ginq.html

Are pull requests bad because they originate from open-source development? (5 min)🤔
https://blog.ploeh.dk/2023/04/24/are-pull-requests-bad-because-they-originate-from-open-source-development/
How I can log who accesses my S3 bucket
Tags: help
Published: 2023-04-26 09:19:50

Recently I received a notice that some clients access my aws s3 bucket using TLS 1.0 and TLS 1.1.

Assuming that I have a bucket names myapp. How I can log which IAM user or Role and from where the objects are being accesses into AWS cloudwatch?

I also asked upon: https://serverfault.com/q/1129706/369198
govulncheck
Tags: go, security
Published: 2023-04-26 08:59:33

หลายๆคนคงจะรู้อยู่แล้วว่า Go ได้นำเสนอตัว Go Vulnerability Check ออกมาเมื่อเดือน September 2022 แล้วก็คงมีคนได้ลองบ้างแล้ว วันนี้ก็เลยอยากจะเอาประเด็นน่าสนใจมาเล่าต่อเล็กน้อย เนื่องจากพอได้ลองใช้งานแล้วเห็น report ของมัน หน้าตาประมาณนี้

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

ซึ่งโดยปกติมันจะ scan ตัว code และ dependencies ของเราไปเทียบกับ database ที่ทางทีม Go Security Team ดูแลอยู่ แล้วมันจะบอกเราว่าให้ upgrade lib ที่มีปัญหาไปใช้ version ไหนดี

ตรงจุดนี้ เหมือนมาย้ำเตือนเราว่า อย่านิ่งนอนใจ อย่าปล่อยให้ Go version มันเก่า เพราะไม่ใช่ว่ามัน works แล้วจะปลอดภัย เพราะคุณกำลังอยู่กับช่องโหว่ที่เขาเจอกันมาตลอดทุกคืนที่คุณดองมันไว้

ถึงอย่างไรก็ดี เจ้า tools ตัวนี้มันยังไม่สมบูรณ์นะครับ ยังอยู่ในช่วงทดสอบ และพัฒนา แต่ก็สามารถใช้งานได้บ้าง เพราะฉะนั้น ยังควรใช้ tools ที่เราใช้กันอยู่เดิมร่วมด้วยไปก่อนเช่น gosec เป็นต้น

ข้อที่ยังไม่สมบูรณ์เท่าที่อ่านมาก็เช่น
- scan ได้เฉพาะ go 1.18 ขึ้นไป
- ถ้า upgrade go version ไปแล้ว มันจะไม่ย้อนไปเช็ค version ของ dependencies ที่อยู่ใน version ก่อนนี้ให้เช่น ถ้าเราไปใช้ 1.19 แล้ว แต่ lib เราเขียนด้วย 1.18 มันจะไม่เช็คให้ (ไม่แน่ใจว่าแก้ไขหรือยัง)

หวังว่าจะเป็นประโยชน์ครับ
How to convert Cumulocity IoT widgets to plugins
Tags: video, cumulocity, iot, plugin
Published: 2023-05-03 09:09:47

---
title: How to convert Cumulocity IoT widgets to plugins
published: true
date: 2023-04-26 08:38:03 UTC
tags: Video, cumulocity, iot, plugin
canonical_url: https://tech.forums.softwareag.com/t/how-to-convert-cumulocity-iot-widgets-to-plugins/277977
---

{% youtube 0h-qk5cECV8 %}
## About the video

In this video we will show in depth how to convert Cumulocity IoT widgets to plugins which has been introduced with Cumulocity IoT 10.16. [What´s new - Cumulocity IoT Guides](https://cumulocity.com/releasenotes/release-10-16-0/whatsnew-10-16-0/)

## Further information

For more Cumulocity IoT guides, insights and use cases, please read the full post on the Software AG Tech Community Forum:


[Read full topic](https://tech.forums.softwareag.com/t/how-to-convert-cumulocity-iot-widgets-to-plugins/277977)
Why databases are how they are. A tale of Clojure and Postgresql.
Tags: postgres, postgressql, bitnine
Published: 2023-04-26 08:37:15

Databases are complex beasts, but they're essential for storing and retrieving data efficiently. Exploring the internal structure of databases can be both daunting and enlightening, as I discovered during my Clojure adventure. 

Have you ever wondered why databases are so complex? As it turns out, there are good reasons for it. Databases are essential for storing and retrieving data efficiently, and they need to be able to handle a wide variety of data types and queries. 

Recently, I had the opportunity to work on a small database project in Clojure. At first, I thought it would be a simple task. After all, how hard could it be to create a basic database that can store and retrieve data? But as I delved deeper into the project, I realized that databases are much more complex than I had anticipated. 

One of the key things that I learned is that databases need to be able to handle multiple clients and queries simultaneously. In PostgreSQL, for example, each client is handled by a separate backend process, and shared memory is used to coordinate complex operations that require data read/write in multiple areas. 

Another important aspect of databases is logging. In PostgreSQL, the Write-Ahead Log (WAL) is used to keep track of all changes made to the database, providing a form of inbuilt version control. This ensures that even if the database crashes, it can be recovered to a consistent state. 

In addition, databases need to be able to handle concurrency and maintain data consistency. For example, PostgreSQL uses a multiversion concurrency control (MVCC) system, which allows multiple transactions to access the same data without interfering with each other. 

As I worked on my Clojure database project, I began to realize that there were many shortcomings in my barebones implementation. For example, I didn't have a good way to handle multiple clients or to ensure data consistency. I also didn't have any logging or recovery mechanism in place. 

Despite these challenges, I found the process of working on a database project to be both daunting and enlightening. By exploring the internal structure of databases, I gained a deeper appreciation for the complexity and importance of these essential tools. 

So basically, things like postgresql are like the natural next step  and can be considered the emergent properties in a system which envolves from simple to complex.
Why learn AWS?
Tags: aws, developer, webdev
Published: 2023-04-26 08:11:19

👨‍💻 As a developer, it’s important to have a solid understanding of AWS and its services.

🏢 This knowledge will come in handy in any company you work for, as you’ll likely encounter situations where AWS expertise is required or to understand the implementation of AWS.

💻 Additionally, having knowledge of AWS can give you an edge when working on personal projects, as you can host them at an affordable price.

🔧 It’s also important to have a general understanding of which service to use for which task. Popular AWS services include EC2, Lambda, Route53, CloudFormation, S3, Load Balancing, VPC, CloudWatch, CloudFront, Glacier, SNS and RDS.

📚 Edureka offers great tutorials for those looking to gain a comprehensive understanding of AWS services. Also, you can try reading some blogs on Medium

👍 So, it’s definitely worth investing time to learn AWS and its services to enhance your skills and stay ahead in the game.
Azure Functions Tips: change the time zone in your Azure Function using configuration
Tags: azurefunctions, azure, serverless
Published: 2023-04-26 08:08:00

When you run your function in a Function App, the time zone of your code is always `UTC`. So, for example, if you deploy the following Http Trigger Function in `West US`:

```csharp
[FunctionName("GetTime")]
public IActionResult Run(
    [HttpTrigger(AuthorizationLevel.Function, "get", Route = "time")] HttpRequest req,
    ILogger log)
{
    log.LogInformation("C# HTTP trigger function processed a request.");

    string responseMessage = $"Time of the server : {DateTimeOffset.Now}";

    return new OkObjectResult(responseMessage);
}
```
and you make a GET request, you receive:

![The function response](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/sjym6vj0ggcbaf6yhzmr.png)

The time of the server is, evidently, `UTC`.
Sometimes, you need to have a specific time zone in your code no matter what region you are using.
To force the time zone in your Function app, you can change the Function App configuration and set the `WEBSITE_TIME_ZONE` value.
The value you can use in this setting depends on the OS you are choosing for the Function App:

- Windows: the setting is supported in all plans and the value you can use is one of the timezone you can retrieve using the `tzutil.exe /L` command.

![tzutil command output](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/c70yje78c6kksb665dfj.png)

- Linux: the setting is supported only on Premium and Dedicated plan (not in the Consumption) and the values you can use are the time zone in the [TZ identifier list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).

If we set the `WEBSITE_TIME_ZONE` configuration with the 'W. Europe Standard Time' value as following:

![The WEBSITE_TIME_ZONE configuration in Azure Portal](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6fy5zicmqvzyddiy2qeq.png)

and we make another request to the function, we have the following response:

![The function response after time zone change](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/boxqjdchiowgccsry099.png)

As you can see the time zone of the server is changed.
Obviously, this configuration also impacts the Timer Trigger CRON configurations.
Convert your website into a lead-generation machine.
Tags: web, website
Published: 2023-04-26 07:46:21

A website is a [valuable ](url)asset for your company. It helps in the promotion of your products and services as well as the development of market credibility. Having a responsive website design is a necessity of the time. As a [website design company in Coimbatore](url), we offer highly responsive and interactive website design. Our services are custom-made to meet your requirements. Our innovative web designs are appealing and search engine friendly, attracting audience attention, bringing your brand to light, and influencing purchasing decisions. We offer a wide range of fully customized web design services in Coimbatore, India, and other parts of the world with the sole purpose of growing your online business and helping you earn a good ROI. Our dedicated team of designers leaves no stone unturned in turning your ideas into reality and bringing the best of designs to you.
https://technox.in/web-design-companies-in-coimbatore/(url)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/m5cs994oj8ik29kl0473.jpg)
Apollo integration with MeteorJS v4.2 release and looking to v5
Tags: meteor, apollo, graphql, javascript
Published: 2023-04-26 07:38:19

April 19th saw a a new release of Apollo GraphQL integration for MeteorJS. This MeteorJS package integrates Meteor's account system with Apollo and gives you access to the currently logged in user in the GraphQL context.

In your resolver that would look like this:
```ts
upcomingEventsNum: async (
  { _id, type, ownerId }: Blog,
  _: unknown,
  { user }: ResolverContext
) => {
  if (!user) throw new Error('notLoggedIn')
}
```

The v4.2.0 is a small update that saw the update to the latest Apollo client (v3.7.12) and update of tests to run on GitHub.

This brings us to talk about v5. Since the Apollo client is included in the MeteorJS package it makes the package quiet large and in constant need of updates when a new Apollo package is released. Since in most cases Apollo client NPM package (`@apollo/client`) gets installed regardless in a MeteorJS app when Apollo is used, the inclusion in the `apollo` package becomes redundant and is duplication of what is already included by NPM.
This becomes an issue when you try to slim down your bundle size as you suddenly have two instances of `@apollo/client` in your bundle.

Following the example of `jQuery` in BlazeJS (where jQuery was removed from Blaze and you have to install in as a peer dependency) the proposal now is to remove Apollo client from the `apollo` MeteorJS package and allow you to install and manage the Apollo client NPM package independently as a peer dependency.
This slims down your client bundle by removing the duplicate Apollo client and allows you to keep up with the most recent version of Apollo client, at least until changes demand changes in the Meteor's Apollo package.

This proposal is expected to be merged and released as version 5 of the Meteor's Apollo package. Feel free to provide feedback on the [PR](https://github.com/meteor/apollo/pull/3) for v5.

If you want to prepare for this major package upgrade, you just need to add Apollo client package to your application (though chances are you already have it).

```bash
meteor npm i --save @apollo/client
```

Then you just need to wait for the release of v5 and upgrade to it when the time comes and you are done!

--------
If you like my work, please support me on [GitHub Sponsors ❤️](https://github.com/sponsors/StorytellerCZ).
I'm officially a Go contributor! (and you can be, too)
Tags: go, howto, opensource
Published: 2023-04-26 07:33:48

What started as a simple feature request on my open source library back in 2021 has now, made me an official Go contributor.

I decided to document the process, to show you what's involved in getting a change proposed, accepted, and eventually tested and merged. It's not as intimidating as you might think. In fact, if I can do it, so can you!

{% youtube https://youtu.be/FFib-v6z1Ys %}
A Comprehensive Guide to Using Test Prep NAPLEX Exam Dumps
Published: 2023-04-26 07:26:20

## Why Using Test Prep NAPLEX Exam Dumps is a Must

Secondly, using test prep NAPLEX Exam Dumps will allow you to focus and review the material in a more organized manner, which will give you a better chance of success on test day. Finally, taking practice exams provided by <a href="https://dumpsboss.com/test-prep-exam/naplex/">Test Prep NAPLEX Exam Dumps</a> can help you identify areas where you need to improve upon before taking the actual NAPLEX Exam.
Getting ready for the NAPLEX is no easy feat. There are a lot of things to take into account, from studying the material to gaining hands-on experience. But one of the most important steps is preparing for the exam.

One way to make sure you're as prepared as possible is by using test prep dumps. Test prep dumps provide you with all of the information you'll need to pass your <a href="https://dumpsboss.com/test-prep-exam/naplex/">NAPLEX Dumps</a>. This includes questions and answers, so you can study and prepare at your own pace without having to worry about forgetting anything.

Not only are test prep dumps helpful in preparing for the NAPLEX, but they're also a great review tool. Using test prep dumps will help you remember all of the material that you've studied, which will make it easier for you to succeed on test day.

Limited Time Huge Sale Offer! 66-96% OFF:- https://dumpsboss.com/test-prep-exam/naplex/
Text Balance in CSS is coming 🔥
Tags: css, webdev, uidesign
Published: 2023-04-26 07:19:45



When it comes to designing a website or application, balancing the text is an essential aspect. It not only improves readability but also adds to the overall aesthetic of the content. CSS provides various properties to achieve this balance, one of which is the `text-wrap` property with the value `balance`.

The text-wrap property is used to control how the text is wrapped within its container. When the value of the `text-wrap` property is set to `balance`, it ensures that the text is distributed evenly across multiple lines within the container. This results in a well-balanced block of text, without any uneven gaps or breaks.

Let's take a look at an example to better understand how the `text-wrap: balance` property works.

![Text Balance](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vwchji5spnr8zxr9c7e8.png)


```html
<h1 class="heading text-balance">This is a heading that will be balanced</h1>
<h1 class="heading">This is a heading that wont be balanced</h1>
```

Here, we have a heading. To apply the `text-wrap: balance` property, we need to add the following CSS code.

```css
.text-balance {
  text-wrap: balance; <======
  background: #f4f4f4;
}
```

In the above CSS code, we have set the width of the heading to 300 pixels, and added the `text-wrap: balance` property to the  `text-balance` class. This ensures that the headline is distributed evenly across multiple lines, without any uneven gaps or breaks.

> It's important to note that the `text-wrap: balance` property is not supported in all browsers. However, it is supported in Chrome Canary.

[More information can be found here. ](https://developer.chrome.com/blog/css-text-wrap-balance/)

If you want to get updated on similar topics, don't forget to follow :) 


{% embed https://dev.to/hunzaboy %}
Complete Ansible series with 11 lab session
Tags: ansible, devops, cloud, coding
Published: 2023-04-26 07:13:09

Here is **11 lab session** which will get you started with the Ansible from scratch. 

There are many more similar sessions which I will be uploading so stay for similar content.

You can also follow me on  - [YouTube](https://www.youtube.com/@RahulWagh)
Or Read onto my blog - [Jhooq](https://jhooq.com)

**Part 1 :** Ansible for Beginners: Learn the Fundamentals of IT Automation
{% youtube 2hVSpENzhwA %}

**Part 2 :** Ansible Installation: The Windows, Ubuntu, CentOS, and macOS Guide
{% youtube 5bEAZ0La_Xo %}

**Part 3 :** Ansible Project Structure: A Beginner's Guide to Inventory, Hosts, Roles, and Tasks
{% youtube qsqpcvzLwf4 %}

**Part 4 :** Securing Ansible with SSH Keys: A Comprehensive Guide 
{% youtube cH5P6g4l2hc %}

**Part 5 :** Ansible & YAML : What is YAML is Ansible
{% youtube 8AQsk0PI_r8 %}

**Part 6 :** Ansible Handlers: A Step-by-Step Guide
{% youtube gaJd5lENYjA %}

**Part 7 :** Mastering Ansible Variable 
{% youtube bwKdTR_nH38 %}

**Part 8 :** How to use Ansible Environment variables?
{% youtube GnA8J3LO2Ks %}

**Part 9 :** Ansible when conditional explained
{% youtube 1Dqw7FRMxNk %}

**Part 10 :** Ansible Roles and Tasks Exaplained
{% youtube HYBFuHUQBT8 %}

**Part 11 :** Ansible Jinja2 template explained
{% youtube lPcJ6CHCShM %}
Stock Tracker [ A web app to track the real-time stock market data ]
Tags: webdev, programming, react, stock
Published: 2023-04-26 07:03:11

You can see the Demo from here 👇
https://stocktracker0.netlify.app/


For this project, I have used these libraries,
▶️ React JS (CRA)
▶️ High Chart to display Graph
▶️ Styled-Components for styling
▶️ Real-time stock market data API


Presentation Video
{% embed https://www.youtube.com/watch?v=Kb91IrF1rl0 %}

Any suggestions are welcomed!
**Thanks For Reading**😄
Code Your Way: BadaBing!
Tags: challenge
Published: 2023-04-26 07:00:00

Hey there, you've happened upon **Code Your Way: Quick Challenges in Every Language!** Every week, we throw down a new programming challenge that you can take on in any language you like. It doesn't matter if you're a coding ninja or a newbie, these challenges are perfect for taking a break, sharpening your skills, pushing yourself, and learning new tricks. So, grab your go-to coding tools and let's dive in. 

---

###Today’s challenge is the BadaBing! 
Write a program that prints numbers from 1 to 100, but for multiples of three, print "Bada" instead of the number and for multiples of five, print "Bing." For numbers that are multiples of both three and five, print "BadaBing."

Your goal is to complete this challenge in the most efficient way possible. You may want to time yourself. ⏰ 🏃🏻‍♂️ See you in the comments!
Tight Deadlines & Long Hours or Relaxed Timelines & Lower Pay?
Tags: discuss, beginners, codenewbie, career
Published: 2023-04-26 07:00:00

How do you prioritize between a project with tight deadlines and long work hours versus one with more relaxed timelines but lower pay? Meeting deadlines and putting in long hours can be a challenge, but the financial reward can be worth it. On the other hand, taking on a project with more relaxed timelines may mean a lower paycheck, but it can allow for a healthier work-life balance.

Are you willing to sacrifice your free time for a higher payout, or is work-life balance more important to you? And if you chose the first option, how long can you last?

---

Follow the [CodeNewbie Org](https://dev.to/codenewbieteam) and [#codenewbie](https://dev.to/t/codenewbie) for more discussions and online camaraderie!

{% embed [https://dev.to/t/codenewbie](https://dev.to/t/codenewbie) %}
[JS TS] How to create an object with keys based on enum
Tags: enum, typescript, javascript
Published: 2023-04-26 06:58:37

Although this rarely happens, it can be useful in some cases.

We have an enum with some values. We need to create a dynamic object with properties from the enum and some values ​​handled by some callback. This allowed us to not “hardcode” our properties in the callback hadler and reuse it for different cases.

**codepen**: https://codepen.io/ktr92/pen/yLRMrLo

**Initial data:**
```
enum ProductProperties {
  product_id = "id",
  product_name = "name",
  product_image = "image"
}
```

**Desired result**:

```
// [object Object] 
{
  "id": "somevalue",
  "name": "somevalue",
  "image": "somevalue"
}
```

## Solution
JS (TS):

```
enum ProductProperties {
  product_id = "id",
  product_name = "name",
  product_image = "image"
}


const enum2obj = (callback) => {
  return {
      ...(Object.fromEntries(
        Object.values(ProductProperties).map((val) => [
          val,
          callback()
        ])
      )),
    }
}

console.log(
  enum2obj(() => 'somevalue')
)
```