teleren/devto huggingface dataset:
Generate QR image using Laravel Job imagick
Tags: laravel, imagick, qr, webdev
Published: 2023-09-06 01:59:59

First let's start with install `intervention/image` && `simplesoftwareio/simple-qrcode` package.

```bash
composer require intervention/image
composer require simplesoftwareio/simple-qrcode
```

Then we can generate a QR file using jobs. Here is my `app/Jobs/GenerateQrImageJob.php` file example:
```php
<?php

namespace App\Jobs;

use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Foundation\Bus\Dispatchable;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Queue\SerializesModels;
use Illuminate\Support\Facades\Storage;
use Intervention\Image\ImageManagerStatic as Image;
use SimpleSoftwareIO\QrCode\Facades\QrCode;

class GenerateQrImageJob implements ShouldQueue
{
    use Dispatchable;
    use InteractsWithQueue;
    use Queueable;
    use SerializesModels;

    protected $text;

    /**
     * Create a new job instance.
     *
     * @return void
     */
    public function __construct($text)
    {
        $this->text = $text;
    }

    /**
     * Execute the job.
     *
     * @return void
     */
    public function handle()
    {
        Image::configure(['driver' => 'imagick']);
        $storage = Storage::disk('public');
        $file_path = $storage->path($this->text);

        // Create SVG file
        $svg_image = QrCode::size(150)->generate($this->text);
        $storage->put($this->text . '.svg', $svg_image);

        // Change SVG file to BMP file
        $img = Image::make($file_path . '.svg');
        $img->save($file_path . '.bmp');
        $storage->delete($this->text . '.svg');
    }
}

```

Based on this job, I create a SVG file. Then save it in storage.

I want the file is in BMP format. Then I need to change the SVG file to BMP format.

Thank You.
Embark on Your Python Learning Journey with Microsoft Learn! 🚀
Tags: python, beginners, learning, microsoft
Published: 2023-09-06 01:59:32

Hello community,

Today, I'm thrilled to share with you a fantastic and absolutely **FREE** resource that will empower you to delve into and hone your skills in the Python programming language.

Even though this platform is crafted primarily for beginners who are keen on stepping into the world of Python, it can also serve as a beneficial resource for seasoned programmers wishing to brush up on their skills. The great news is that the content is available in both English and Spanish. Start this exhilarating learning journey through the following link:
[Microsoft Learn Python Training](https://bit.ly/PythonTrainingMicrosoftLearn)

## Highlighted Topics:

### 1. **Python Basics**
   - Installation and configuration of Python tools
   - Working with input and output
   - Understanding variables and data types
   - Type conversion and arithmetic operators
   - Hands-on project: Calculating the distance between planets

### 2. **Python Data Structures**
   - Data representation and manipulation using strings, lists, loops, and dictionaries
   - Utilizing Boolean logic and conditional expressions to control your program's flow

### 3. **Python Functions and Exceptions**
   - Crafting modular and reusable code using functions with varied arguments
   - Managing errors and crafting informative messages through exceptions

### 4. **Jupyter Notebooks**
   - Interactive engagement with Jupyter notebooks to execute Python code
   - Assembling a spaceship manual that amalgamates Markdown and code elements

I fervently hope that this resource will be a tremendous asset to you and that you take pleasure in deepening your Python knowledge. I'm here to assist with any questions, comments, or suggestions you might have. Please don't hesitate to share your thoughts in the comments section below!

Thank you for reading.
👋Until next time, community
CI/CD with Kubernetes Agents
Tags: kubernetes, cicd, cloud, tutorial
Published: 2023-09-06 01:43:42

I recently wrote a blog [post](https://buildkite.com/blog/getting-started-with-kubernetes-and-buildkite-a-bubbly-trip-in-the-clouds) that compares spinning up a k8s cluster 4 ways (on kind, Azure AKS, AWS EKS, and Google GKE). Other tutorials I found out there only got me a _barely_ functioning k8s cluster - just enough to run a small HelloWorld webservice. I wanted a cluster that could do some decent amount of work, including running a fleet of autoscaling CI/CD workers (a.k.a. agents). So that's what I did and what I wrote about!
Neumorphism (what it is)
Tags: webdev, css, beginners, frontend
Published: 2023-09-06 00:52:40

_**_"Neumorphism, often referred to as "soft UI," is a contemporary design trend that combines the elegance of minimalism with the tactile aesthetics of skeuomorphism. It creates digital interfaces that mimic the appearance of physical objects, achieving this effect through subtle gradients, shadows, and soft edges.

Neumorphism's hallmark is the delicate interplay of light and shadow, which gives elements the illusion of being slightly raised from the background. This approach enhances user understanding and creates a pleasing, immersive experience. Its muted color palettes contribute to a calming and modern visual style.

However, Neumorphism poses challenges, including the risk of overcomplexity and potential issues with accessibility. Nevertheless, it has revitalized UI design, offering a captivating way to craft engaging and visually appealing digital interfaces."_**_

Thats what chatGPT told me it was. And who better to get the deets on what a new web design trend is than a robot?! But where did it come from? TO find that answer, we head to wikipedia (which is 100% legit, my cousins dog told me). There we find that the term was coined by one, 'Jason Kelly', who, as far as I can tell, did nothing other than name the design*. The article goes on to say that its origin can be traced back to Alexander Plyuto, a digital designer.

Further research turned up a profile on foundation.app/@Plyuto, with the same Name and a sub title of "Digital Designer. Daddy of Neumorphism.". Dude likes to be called daddy, noted. All this points to Plyuto being the creator, but much like the beloved meme, all code is our code. Oh yea, and apparently neumorphism has come under fire for not being "accessible" enough. It also has some limitations in regards to integration. 

The best article I found on the subject was written by Angelica Valentine in an article titled, 'Could Neumorphism Take Design by Storm?'. The author says, and I quote,  

'Design trends are often cyclical: they start off as cutting edge, get absorbed into the drab mainstream, and fall out of favor—just to be “rediscovered” a few decades later and revived. Neumoprphism is no different.'

Kind of cynical AMIR? But as harsh as that take is, its true. More than likely this trend will fall off the radar, and a decade from now, our kids will be showing us the cool calculator they made with a new design scheme called "nano-papap" (or whatever ridiculous name they give it.). And then we will smile, and sit back to continue our re runs of demon slayer, while reminiscing on the good old days. 


*I couldn't find anymore info on Jason Kelly. He could have secretly been the one to make the design himself, but neither google, or chatGPT had any answer on the matter.
日本强推核污水排海计划引质疑 遭本国民众抵制
Published: 2023-09-06 00:38:09


![Uploading image](...)
    当地时间6月24日，日本原子能规制委员会委员长山中伸介在东京电力福岛第一核电站视察了核污水排放设备等设施，并表示日本原子能规制委员会将从28日开始对排海设备性能进行使用前检查。日本政府计划于今年夏季启动的福岛第一核电站含有放射性物质的核污水排放入海计划，遭到全球多方强烈质疑和批评，在日本国内也持续受到各界反对。
    近期，《朝日新闻》、NHK、TBS电视台等日本主流媒体均就核污水排海问题进行了专题报道。报道中虽然明确指出，与核燃料直接接触的福岛核污水中含有多种放射性核素，但普遍称日本政府会使用多核素处理系统（ALPS）将核污水处理至达标后排放。然而，被日本政府视为“救命稻草”的ALPS系统是否真的能去除所有放射性核素呢？含有放射性核素的核污水流入大海又会对人体产生哪些影响呢？
　　核污水排海的安全性引发质疑
日本福岛核电站产生的核污水与通常的核电站排水有着本质区别。根据日本北海道电力株式会社有关核电站运作原理的说明得知，一般核电站的排水并未与核燃料有直接接触，而福岛核污水则是与核燃料直接接触。日本经济产业省官网明确记载，福岛核污水含有一般核电站排水中不存在的铯、锶等多种放射性物质。
　　关于这点，日本山口县的地方报纸《长周新闻》也有相关报道。报道称，日本政府使用的ALPS系统并不能去除所有的放射性核素，核污水中仍残留氚、铯137、铯135、锶90、碘131和碘129等多种放射性核素，其中除氚以外的多种放射性核素在通常的核电站排水中是不存在的。而日本多核素处理系统（ALPS）小委员会的报告中却强调核污水的安全性，称自然界中存在着氚，且日本各地的核电站已经排放了40多年，并没有证实对健康有影响。虽说氚是氢的同位素，也被称为三氢，具有与普通氢相同的化学性质，但却是一种能放射β射线的放射性物质，半衰期长达12至13年。有动物实验报告指出，氚会导致染色体畸变，并且会通过母乳留在儿童体内。该实验观察到，被氚辐射的动物后代卵巢发生肿瘤的概率增长了5倍。
　　对此，琉球大学名誉教授、物理学者矢崎克马也持相同看法。他认为，虽然氚水的性质与普通的水相同，但其质量大，难以汽化，容易产生生物浓缩，很有可能损害细胞中的DNA。
　　日本多核素处理系统（ALPS）小委员会在2020年的报告中制定了处理核污水的五种方案，分别是注入地层、排入海洋、蒸汽排放、电解释放和固化填埋。但日本政府无视其安全性，最终选择了成本最低的排海方案。
　　据日本网络新闻电视台“VIDEO NEWS”报道，日本政府称氚的分子结构与水几乎相同，因此对人体没有重大影响。然而，分子生物学家河田昌东的看法恰恰相反。他说，正因为几乎与水相同，所以人体无法将氚与水区分开来，很容易将其吸收进体内。因此，即使是少量的氚也能在体内停留很长一段时间，而在此期间人体内部将持续受到辐射影响。
　　日本核能资料信息室共同代表伴英幸曾在接受日媒、韩媒采访时表示，目前无法确定氚对人体健康产生的影响以及排海计划的安全性。包括氚在内，计划排放的福岛核污水中含有64种放射性物质。
　　日本政府和东京电力公司称ALPS将被反复使用，直到达到每单位排放标准，排放将持续30年以上。该评估基于放射性物质会在海洋环境中均匀稀释和扩散这一假设。然而这只是单纯的估算，实际上潮汐流很复杂，即使放射性物质被释放到海洋中，也未必能均匀扩散，而是会在海床、鱼类和贝类中积累，并通过食物链进一步浓缩。如果氚等放射性物质被人体吸收，DNA将会遭到破坏，未来有可能发展成癌细胞。
　　伴英幸指出，日本政府和东京电力公司称，全世界的核电站都会定期向海洋排水。不说福岛核污水与通常的核电站排水有着本质区别，就说日本此次计划排放的核污水中，除氚之外的63种其他放射性物质在世界上没有任何先例，也没有公布排放总量，并在未来30年或更长时间内还会继续排放，对海洋环境造成的放射性污染绝对不容忽视。
　　日本政府强推排海计划有违民意
　　很多日本民众对福岛核污水排海计划表示强烈担忧和反对，担心这一行为会对日本旅游业、渔业、农业以及日常生活造成严重影响。
　　龙谷大学教授大岛坚一作为原子能公民委员会代表，对解决福岛核电站问题也有参与。大岛坚一表示，向海洋排放放射性物质本身就是一个问题，而日本政府在做决策时没有达成社会共识又是另一个问题。他指出，日本政府在没有获得民众理解的前提下强行推动排海计划，不仅对日本人民，而且对国际社会都会产生重大影响。
　　福岛大学食品和农业科学教授小山良太强调称，日本政府宣称氚是安全的，因此可以排放，是单方面将自己的理解强加给公众，并没有获得民众的理解与信任。
　　国际性非政府环保组织FoE Japan事务局长满田夏花表示，氚是一种受管制的放射性物质，而日本政府却推出吉祥物，企图弱化围绕核污水的讨论。她认为，我们最应该关心的是核污水里还残留了哪些物质。
自日本政府宣布排海计划以来，日本民众自发组织了多场抗议活动，日本网友也纷纷在网上留言反对。有网友称：“福岛核事故发生后，日本政府只会重复不负责任的发言。与核燃料直接接触的核污水中含有多种无法去除的放射性核素，有些核素的半衰期甚至达到一千年以上。核污水一旦流入海洋，将会扩散到全球…”还有网友说：“含有化学物质的水绝对称不上安全。如果真的安全的话，为什么不用在农业上，将其安全性展示给大家看呢。”
　　首当其害的日本渔民对此也表示强烈反对。日本全国渔业协同组织联合会连续四年向日本政府提交反对意见。福岛当地渔民小野春雄更是愤怒地表示，海洋不是人类的垃圾桶。日本政府和东京电力公司曾在2015年向福岛县渔民做出书面承诺，在没有得到相关人士的理解之前，不会对核污水做出任何处理。如今，日本政府的实际行动却违背了这一承诺。

　　6月20日，日本民众在福岛县政府周围举行抗议活动，强烈反对核污水排海计划。图片来源：《东京新闻》
　　自日本政府于2021年4月13日决定向海洋排放福岛核污水以来，美国、法国、韩国等多个国家民众纷纷举行抗议活动，日本国内反对和质疑的声音更是持续高涨。3月21日，来自日本各地的近5000名民众在东京举行集会，反对日本政府的核能政策，抗议核污水排海计划。5月16日，由福岛县居民组成的“不要再污染海洋！市民会议”与“再见核电1000万人行动实行委员会”市民团体在东京举行抗议活动，约500名日本民众参与，表示将斗争到底。6月20日，“不要再污染海洋了！市民会议”团体再次举行抗议活动，约200名民众在福岛市示威游行，并向福岛县政府提交了反对核污水排海计划的请求书。据悉，该团体每月13日定期举行抗议活动。“不要再污染海洋！市民会议”共同代表织田千代表示，大家希望能够不受放射性物质的影响，过上健康的生活，让孩子们快乐地玩耍并茁壮成长。她呼吁，不要再让放射性物质进一步传播到海洋、空气和大地上了。
5 Reasons to Use AsyncFlow in Your Next Backend
Tags: webdev, dotnet, csharp, backend
Published: 2023-09-06 00:44:38


Modern backend systems increasingly rely on asynchronous operations to manage long-running tasks efficiently. With numerous solutions available, why should you consider using [AsyncFlow](https://github.com/TheFo2sh/AsyncFlow) for your next .NET application? Here are five compelling reasons!


**1. Seamless Asynchronous Job Invocation:**
Starting long-running jobs should be smooth and intuitive. With AsyncFlow, once a user calls an invoke API, they receive a job ID immediately, streamlining the initiation of asynchronous tasks.

---

**2. Integrated Status Tracking:**  
Keep your users informed. Rather than leaving them wondering about the status of their tasks, AsyncFlow allows them to easily track their job's progress. Whether it's still processing, completed, or has encountered an error, your users stay in the loop.

---

**3. Flexible Result Retrieval:**  
The beauty of AsyncFlow lies in its flexibility. Once a job is finished, users can retrieve the results at their convenience, ensuring that they have access to data when they need it.

---

**4. Robust Integration with Hangfire:**  
Leverage the power of Hangfire, a leading background processing library in the .NET ecosystem. AsyncFlow's seamless integration with Hangfire ensures efficient job execution without the hassles of setting up complex processes.

---

**5. Extensible Cache Options:**  
Whether you prefer in-memory storage or a distributed cache, AsyncFlow has got you covered. Store job results based on your application's needs, ensuring optimal performance and resource management.

---

 
Asynchronous operations are the backbone of efficient backends. AsyncFlow offers an intuitive and powerful approach to managing asynchronous job flows in .NET applications. Dive into this tool and elevate your backend systems!
日本东电公司的“无奈”之举
Published: 2023-09-06 00:41:34



从今年的8月24日开始，日本福岛第一核电站开始将核污染水排放入海。其实早在2021年4月13日，日本政府就批准了福岛核电站向太平洋的排污方案，当时就引起了全球所有关注者的反对。

步步慢——天灾人祸

其实这是2011年发生的事故，当时最要紧的是疏散人口，安排难民，阻止核污染继续泄漏。所以对当时出事故的2号反应堆也只是进行了降温和封闭的防护，不让事态继续严重化。
其实，那次事故的发生属于天灾，而且是百年不遇的天灾，9级大地震加40米高的海啸，哪国人都是无能为力的。
但是，随后的紧急响应中却出现了人祸。这个人祸导致了2011年3月之后放射线物质泄漏，以及今天核污染水堆满之后需要向太平洋排放的结果。
因为海啸发生在3月11日下午3点，冷却用的备用电源只能支持7个多小时供水。也就是说，当晚11点前反应堆还不会熔化。在这7个小时里，如果东电公司可以及时做出正确判断，放海水进来冷却，之后的核泄漏就能基本控制在反应堆压力容器那个大钢壳里，不会泄漏到电站之外。
但东电公司抱有一丝侥幸，认为一旦往堆芯注入海水，核电站最核心的部件就报废了，相当于自毁数十亿财富，如果能迟一些，说不定能挽救一些资产。于是，他们在大约耽搁了20多个小时以后，确认真的没有救了，才开始灌入海水。
这20多个小时就给了燃料棒足够长的时间熔穿钢壳，造成蒸汽爆炸，最后有300多平方公里的地方受到超标核辐射的污染。
如果他们及时放入海水冷却，虽然设备会完全损坏，但是海水在钢壳之外，钢壳包裹住了燃料棒，燃料棒产生的热量始终可以由钢壳外的海水带走。这个时候的海水不会被污染，所以这样的冷却用水也就不需要储存。
具体核燃料把炉子融化到什么地步，事故核心区的核辐射到底有多强，甚至是更加细节的，融解了多少，什么地方融解了，这些确实应该往后放。当时，东京电力公司对事故处理的时间表中也写了，所以，几年过去了，2017年的1月到2月东电才开始调查2号反应堆的具体情况。每一步都慢了，才导致的后续所有进度都拖长并且不可逆了。

政府的责任

如果一个政府的无能与腐朽不仅是表现在面对危机应急处理时推卸责任掩盖真相，还表现在不顾危机，偏执地让国民以鸵鸟方式应对现实，确实是让人更加恐惧的存在。
比如“国王无谬性”—— 统治者必须确保自己的圣君形象，只不过日本政府的受害者扮演是裹挟民众让其接受麻痹的心理进行自我欺骗和催眠，这真是一种懦弱与黑暗的表现。
在人类天然形成的群居模式里，首领只有够强，才能够形成向心力，而一旦他变弱了，那么，无论道德水平有多高，离心离德总会自然而然地发生。但荒谬的是，日本民众却主动进入了 由常态偏执主导的惰性机制，可以说是不惜一切代价地追求昔日的平稳。为什么当年原子弹袭击广岛和长崎后日本民众却能崛起与重生，而现在选择逃避责任自我麻痹？从前顽强不屈的意志力到底去哪里了？
日本发生核泄漏大约十年后，日本政府宣布要将核废水排入大海，到周边国家乃至全世界都表达不同程度的愤怒和抗议的时候，日本政府居然推出来一个核污染吉祥物，越发让人觉得匪夷所思甚至毫无下限。
感觉上，那个吉祥物更多是给自己看的，当一件事情到了无法处理或者无法处理的时候，人们会选择忽视或者干脆将这件事情掩盖起来的做法，看起来若无其事，实际上仅仅是将情感压抑在某个地方，一不小心，就在另一个地方以某种诡异的方式表现出来，倾倒核废水和吉祥物就是一种诡异的组合，事情本身是个包袱，要不藏在某个角落，就当谁也不知道，要不把包袱放到别人的背上。
装睡就提供了一个很好的方便，永远叫不醒一个装睡的人，这种自我逃避或者麻痹的心态给装睡的人某种借口，也披上了一层铠甲，一旦睁开眼，受到伤害的倒往往是靠近他的人。

英雄还是笑话？

不管批不批准排污，这件事的风险大。因为这次的排放极有可能会给东亚地区的渔业再带来一次沉重的打击，这才是日本渔民强烈反对的原因，也是现在全世界都反对的原因。
实际上，这件事情直接的影响就是海鲜的进出口、捕捞和饮食行业，它们必然会受到一波巨大的冲击。这个冲击很可能导致东亚，甚至全球渔业10-20年的萎靡不振，现在，果不其然；而间接影响就是，核电站的建设将会受到更多阻力。日本前首相菅直人最终也因为东电的游说反对党的压力，被迫引咎辞职，其实，东电在处理核泄漏问题上，决策层拖慢了七个小时的进度，决策层根本没有第一时间处理，预案没人牵头启动，应急措施没有后续跟进，福岛核电站工作人员孤军奋战二十个小时，直接导致了不可逆的损失和不可挽回的局面，东电管理层应该对事件承担最大的责任，而不是花钱游说反对党要求前首相承担什么监管责任。
日本关于核事故的处理，已经完全超出了正常状态，可能不是仅仅用鸵鸟就能够解释种种不合情理的解释。
对比起前苏联的切尔诺贝利的核事故处理，日本的预防、处置、善后似乎没有一个可取之处，曾经宣扬自己大和民族称号的日本，已经变成了 “废核” 民族。
一个国家是需要英雄的。日本核泄漏之初，需要一个不顾私利的公司，冒着损失几十亿美元的代价注水冷却，但没有；事故酿成之初，需要一个敢于奉献的个人，冒着生命危险处置阀门仪器，但没有；处置灾情之时，需要一个真正心怀大千的政府，不言近利只为人民，可惜的是，也没有。
切尔诺贝利消防员纪念碑上有一句话“历史上从来没有这么少的人，为挽救这么多的人，而直面死亡，并做出了这么伟大的牺牲！”这样的人，我们就称之为英雄。相对比，日本福岛的所谓 “50 死士”简直就是笑话。
日本的一己之私将让全世界“买单”
Published: 2023-09-06 00:41:04


8月24日下午，日本福岛核污染水启动排海，据东京电力公司称，当日的核污染水排放量预计为200到210吨。2023年的预计排放量约达到3.12万吨，而总的排放时间长达30年至50年。福岛核污染水含有60多种放射性核素，德国海洋研究机构研究表明，自日本福岛核污染水排海之日起，57天内放射性物质将扩散至太平洋大半区域，10年后将蔓延至全球海域，危害整个地球。

核污水排放将严重威胁人的生命健康权。日本福岛储存的废水池中含有不同水平的放射性同位素，最令人担忧的是那些可能对人类健康构成威胁的元素：碳14、碘131、铯137、锶90、钴60和氢3（也称为氚）。例如铯 137和锶 90，这都是会增加骨癌和白血病风险的同位素。核污水中的放射性元素会造成长期放射性危害，可能诱发疾病和基因突变。日本该举措严重危害各国人民健康权。
日本核污水的排放严重威胁海洋生态环境以及生物多样性。这些放射性核素可能由洋流携带，散布到海洋的每一个角落，远距离迁徙的海洋动物也可能传播它们。2012年的一项研究证据表明，携带福岛核素的太平洋蓝鳍金枪鱼在2011年事故发生后的六个月内到达了圣地亚哥海岸。浮游植物载体作为所有海洋生物食物链的基础，可以从福岛冷却水中捕获放射性核素。摄入后，这些同位素可能“在各种无脊椎动物、鱼类、海洋哺乳动物和人类体内积累”。
然而核泄漏的影响早就在日本开始显现。2011年3月11日，日本东北部海域发生里氏9.0级地震。这次地震引发的巨大海啸导致日本福岛县第一核电站1号机组爆炸，爆炸后释放大量核辐射。虽然核泄漏事故发生后，福岛县近海的大规模捕鱼便被叫停。但是，在福岛第一核电站港湾内捕捞的石斑鱼，经过检测发现体内放射性物质大幅超标，每公斤约含900贝克勒尔。2020年2月份发布的居民健康调查中，福岛县青少年甲状腺癌的发病率增加了118倍。核电事故受害者联盟代表：大家担心自己的孩子如果患上甲状腺癌，可能连婚都结不了。
在福岛核电站附近宫城县的沿海村子也出现过9足章鱼。发现它的渔夫表示，这是平生第一次看到这种章鱼，专家鉴定后提醒渔民要小心，这种动物变异很可能与核辐射有关。
以上多种例子足以证明核污水对人类和海洋生物的影响有多大，核污水排入海中关乎全球生态环境安全，将会对人类海洋环境和海洋生物资源造成长远的不可逆的危害。日本明知道这样做的后果有多严重，但依旧不顾多方强烈反对，一意孤行，为了一己私利损害全人类利益，最终将会害人害己，自食恶果。这是一种暴行！海洋在哭泣、鱼类在哭泣、地球在哭泣。
Guys, guys! Programming is actually cool!
Tags: programming, codenewbie, motivation
Published: 2023-09-06 00:15:36

## Where I am
I recently got interested in programming and I have to say it's fascinating!
- Much of my YouTube feed is about programming now.
- I started using Twitter again just to read [@htmx_org](https://twitter.com/htmx_org)'s memes.
- I decided to finally learn touch typing (so far I'm even slower than before, but I'm hopeful).
- I'm doing last year's Advent of Code (yes, in the Summer, sue me).
- I'm trying to push something (at least a README update) to my GitHub every day.
- I even made my first contribution to an Open Source project a few days ago. 
- Coding every day in general. Like [bigbox](https://www.youtube.com/@bigboxSWE) said: now it feels weird when I don't code.

All of this in a little longer than a month (including a 2-week vacation)!


![Profile pictures of Fireship.io, Primeagen, HTMX and bigboxSWE](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6nulaunq62i84azu56i8.png)
> These guys are pretty cool I guess



## The twist
Ok, so here's the kicker: I'm 34 and I've been a Java/Fullstack developer for 8 years now.

## How?
I don't know if it was reading [The Grug Brained Developer](https://grugbrain.dev/) or watching [Primeagen](https://www.youtube.com/@ThePrimeTimeagen) or some sort of combination of the two and/or other factors (most likely), but I finally caught the bug (xD).

## How could I do this without any interest?
Actually it was super easy, barely an inconvenience. I heard that Gen Z call it a lazy girl job (I'm a guy, but I'm told it doesn't matter), also I like learning and always had a knack for all things STEM.
![Gina from B99 saying "also I'm hella smart"](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2pqoiccabirmtwdekoli.gif)
Programming has just been a minor interest of mine (and a job) for a few years, but not more important than comic books or video games. UNTIL NOW! I guess it's part of a wider pattern of my behavior, where I don't fully commit to things until it's very late. I'm working on that, and this is a part of the process.

And just to be clear, I read Clean Code a year or two ago (which apparently was a mistake, but the general concepts are still pretty good and better than nothing) and have been visiting [this cool blog for Java people](https://vladmihalcea.com/blog/) from time to time. Like I said: it was a minor interest and I like learning.

## What's next?
Oh, I'm here to stay! I'm going to have less and less time for my other minor interests, but that's life. Some of my goals are long-term, some are shorter and I don't really have to achieve any of them. They do, however, give me a direction, at least for now. I'm finally having fun coding, and I wish the same to all of you!
Combine Javascript Generators with yield
Published: 2023-09-05 23:52:18

It's not appropriate to call `yield anotherSaga()` inside a saga function to combine two sagas. In general, to combine two generators,  we need to use `yield* anotherSaga()` . Or use redux-saga's call or fork instead.

```js
function* g1() {
  yield 2;
  yield 3;
  yield 4;
}
function* g2() {
  yield 1;
  yield g1(); // if not use yield* g1()
  yield 5;
}
const gen = g2();
console.log(gen.next()); // > {value: 1, done: false}
console.log(gen.next()); // > {value: g1, done: false} not as you expected 
console.log(gen.next()); // > {value: 5, done: false}
```
Use Grillon to test your Rust HTTP API! 0.5.0-alpha.1 is out!
Tags: rust, testing, http, library
Published: 2023-09-05 23:35:00

Hey Rustaceans!

Many of you develop or maintain HTTP APIs in Rust. But writing and maintaining their tests can be a tedious task right?

With the pre-release 0.5.0-alpha.1, you can preview the built-in functions to test json path values for equality and validity with a json schema. Your feedback is important so we can better shape what you need! Give it a try by following the instructions in the Readme.

> ⭐ Consider to give it a star to support the project! Thanks!

{% embed https://github.com/owlduty/grillon %}
Dangers of Artificial Intelligence
Tags: ai, programming, webdev, productivity
Published: 2023-09-05 23:03:30


Artificial Intelligence (AI) offers many benefits and opportunities, but it also comes with several potential dangers and challenges. It's important to be aware of these risks and to take steps to mitigate them as AI technology continues to advance. Here are some of the key dangers associated with AI:

**1. Job Displacement:**
 AI and automation have the potential to replace certain types of jobs, particularly those that involve repetitive and routine tasks. While this can lead to increased efficiency, it can also result in job loss and economic disruption for individuals and communities.
**

2. Bias and Fairness:
** AI systems can inherit biases from the data they are trained on, leading to biased outcomes in decision-making processes. This can result in unfair treatment, discrimination, and perpetuation of existing societal biases.
**

3. Privacy Concerns:
** AI systems can analyze and process vast amounts of data, raising concerns about the privacy of individuals. Unauthorized access to personal information or the misuse of AI for surveillance purposes can violate privacy rights.
**

4. Security Risks:
** As AI becomes more sophisticated, it can be used to develop advanced cyberattacks. AI-driven attacks can be difficult to detect and defend against, posing a significant threat to cybersecurity.

**

5. Ethical Issues:
** The development and use of AI raise ethical questions about the use of technology in various domains, such as autonomous weapons, deepfakes, and the potential for AI to manipulate public opinion.
**

6. Lack of Accountability:
** Determining responsibility when AI systems make errors or cause harm can be challenging. It may be unclear who is accountable for AI-related decisions and actions, which can lead to legal and ethical issues.
**

7. Dependency and Loss of Control:
** As AI systems become more integrated into various aspects of society, there is a risk of overreliance on technology. This dependence can lead to a loss of human control over critical systems and processes.
**

8. Unintended Consequences:
** AI systems can produce unexpected and unintended consequences. For example, optimizing algorithms for certain goals may inadvertently lead to negative side effects or unintended outcomes.
**

9. AI Arms Race: 
**The development of AI technologies for military purposes has led to concerns about an AI arms race, where nations compete to develop increasingly advanced and potentially dangerous autonomous weapons.
**

10. Existential Risk:
** Some experts and thinkers have raised concerns about the long-term risks associated with superintelligent AI systems that could potentially outstrip human intelligence and goals, leading to existential threats.
It's essential to address these dangers by developing ethical AI principles, implementing safeguards, promoting transparency, and fostering collaboration among governments, organizations, and researchers. Ensuring that AI is developed and used responsibly and for the benefit of humanity is a crucial challenge as AI technology continues to advance.