teleren/devto huggingface dataset:
Public Opinion: F*CK VSCode! Use This Instead...
Tags: opensource, programming, startup
Published: 2023-10-27 22:32:26


So based on my current setup: 

running Debian on a Chromebook tablet with unofficially supported graphical drivers; 

I kept running into a situation where the other markdown editor app I was using before kept freezing the entire system GUI. 

Given that is the case. I ended doing a little research and finding out that the current text editor that I once started with from my first time programming, already had the exact same feature as the markdown editor I was using for document writing. 


Therefore; 

I ended up simply searching, "MarkdownLivePreview" within sublime text (version 3, still using trial version; looking to purchase the full license evntaully...) and came across the very solution to my problem. 


Given that the sublime text editor is a full blown text editor with many capabilities...

I have used VScode before; and frankly, due to the telementary issues and the over-hype of it, 

I find that alone can make it a major target for any that may want to ship malicious code disguised as a VScode extension. 

If you are someone that spends countless hours working with code or writing markdown documents; I highly recommend sublime-text as a solution; 

### Reason(s) being that: 

- It is made by a solo dev who knows what they are doing; given it's been around for a while and is still able to compete with a full-blown, cooperate owned alternative(s) (VScode, and many other alike..)

- Cross-platform; Heck, this thing can even run on a ARM Chromebook that I hacked into running Debian (Duet 2 using [cadmium](https://github.com/Maccraft123/Cadmium) distro) without a hustle. All other editors I tried, including VScode where too heavy for the GPU and the specs and it would just freeze.

- Giving back and appreciating well designed software. I am unable to stress this enough: With the current age we are in where even software has become hyper-polarized & political; the best thing to do is sticking to tried and tested methods that are non-opinionated...**Sublime-text is a no-bullshit editor**; it does as expected by the developer without getting in your way or assuming things. 

That's all. 


### TLDR; 
 
#### F*ck VSCODE! 
> "I never signed up for 1984; keep your surveillance capitalism at a distance"! Support your fellow peers in the software community that are actually pushing real software with positive intent; rather than supporting the very same systems that once grew from the hands of passionate individuals that simply wanted to share their talent with the world, now being called ["freeloaders"](https://www.jeffgeerling.com/blog/2023/im-done-red-hat-enterprise-linux) by the very entities/organizations that once praised them for their attributions & contribution to the community of opensource development.

The future of computing & opensource depends on each of you: what you support and how it impacts your surrounding enviroment and daily life. <br><br>Choose wisely.
Cryptopals #30: Rust, solution approaches
Tags: cryptopals, rust
Published: 2023-10-27 21:59:18

There's few hashing challenges in Cryptopals, and some gave me pretty hard time. This one was solved pretty quickly, I even thought that I could cut too much along the way. Lack of solutions in Rust around got me to ask couple of peers to review the thing. So I received their "ok", and now have a minute to wrap up what I remember and how my approach was different.

As I wanted to learn more of real-world libs than do petty stuff I was trying to employ real encryption in this challenges as much as I can. This time I was seeking a way to recreate a `Digest` core in some intermediate state, but after some time concluded it's barely possible. Even when needed data appropriately structured there's no good way to deal with the system so that it would let me to run methods from the lib. Basically I'm talking about a structure with private fields and methods to construct it which are too sound and correct to help with the challenge. 

So I chose to degrade the lib on purpose by only making respective core fields `pub`. I guess I would do it in a more clever way now, but at that time to move forward most straight-forward solution was to hover a whole supplementary repo to GitHub just for a couple of lines `patch`. You can find the final [solution there](https://github.com/skaunov/challenge-30/blob/master/src/main.rs).

I hope things changed since, but those days I couldn't find a clear Rust solution for this one. Though [one of my peers added his](https://github.com/bankisan/brykto/blob/main/tests/cryptopals_29_30.rs) own. Which I finally compared and report to you that we both handled the challenge with similar ideas!

Which one do you like better?
O melhor gerador de tokens
Tags: designsystem, tailwindcss, frontend
Published: 2023-10-27 21:32:42

Se você já precisou gerar os tokens pra um projeto de Design System já deve ter visto o quanto é chato 🫠. Se nunca passou por isso, sorte sua, porque não precisa.

Com esse link aqui você passa o hex da cor `base` e ele cria as variações, e melhor, na hora de exportar ainda permite escolher o padrão.
<br><br>
## Vamos lá...
Esse é o link do site que estou usando, é bem simples, mas abaixo deixei um **passo a passo e <u>algumas dicas</u>** 😉.
[https://uicolors.app/create](https://uicolors.app/create)
<br>
Você começa colocando aqui a sua cor `base`. 

![cole sua cor base de referência](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/awcvsbnnq2rcyx34s8px.png)

_> Eu tenho por hábito organizar da seguinte forma meus tokens. **Lightest, Light, Base, Dark, Darkest**... ou seja, a `base` é a cor principal_
<p>
Feito isso, ele vai gerar as variações, aqui tem alguns ajustes interessantes.

![cor base](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/eltsz3yajzdle96ahgac.png)

_> Esse cor onde está o cadeado é a cor de referência que você passou_

<p>
Clique em `Edit`

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

<p>
Coloque o nome do token, por exemplo **_Primary, Secondary, Danger, Warning_**, ou seja, todas as variações que tiver mapeado no seu Design System.

![name token](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xuhjis0sxor72c7bv1zj.png)

<p>
Aqui você pode fazer alguns teste e ver o que altera na composição das cores, mas o que acho bem válido são os ajustes de **Lightness**.
![lightness adjust](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/36sr10y0mcxmonzijk7y.png)

<p>
Acho que vale mostrar a diferença entre o primeiro gerado e depois do ajuste.

Fiz um pequeno ajuste, pois a cor 100 estava muito clara, eu queria um pouco mais escura, mas é importante lembrar que a cor base ele não altera, a não ser que você clique no cadeado.

![first image](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/j0a8kmtce6tfb7yx4350.png)

![second image](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7tjam0eovuneix76da03.png)

<br>
Bom, agora feito os ajustes, só exportar e pegar seu token prontinho.

![Token Cores](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4noahh96b71b9xwf6zbp.png)
<p>
Como eu disse, eu não uso esse padrão de numeral, prefiro um pouco mais literal, acho mais fácil, então eu faço esse ajuste final no meu config do tailwind.

```css
  theme: {
     colors: {
      'primary': {
        'lightest': '#d2fbfb',
        'light': '#71ecef',
        'base': '#15c5ce',
        'dark': '#177a87',
        'darkest': '#1b525e',
      },
      'secondary': {
        'lightest': '#ffe2d4',
        'light': '#ff8156',
        'base': '#fc3613',
        'dark': '#c51009',
        'darkest': '#7e1010',
      },
    },
    extend: {},
  },
```

Espero que essa dica te ajude!
Quer trocar uma idéia, [chega aqui](https://twitter.com/AndrePeixotoC)
Participation in Hacktoberfest 2023
Tags: hack23contributor, hacktoberfest, hacktoberfest23
Published: 2023-10-27 21:15:56

[![An image of @alei1180's Holopin badges, which is a link to view their full Holopin profile](https://holopin.me/alei1180)](https://holopin.io/@alei1180)

### First participation in the Hacktoberfest
This is not the first time I have [contributed](https://github.com/alei1180) to open-source projects that interest me. Therefore, having learned about such a holiday as a Hacktoberfest, I received a good charge and the mood to spend a productive October, which happened to be my study leave.

### Organize ideas
I competently distributed the main tasks into a free project, which I had long wanted to solve but put aside. It was nice to realize that with each new revision the project gets better.

### Growth
In the process of work, I was able to improve my skills in the approach to finalizing finished projects. When faced with a problem and solving it, you gain invaluable skills and experience.

I thank the organizers for Hacktoberfest - you are the best!
Nevertheless, Gisela Coded
Tags: wecoded
Published: 2017-03-08 08:04:04

---
title: Nevertheless, Gisela Coded 
published: true
tags: shecoded
---



## I began coding...

When I started university! I did both my bachelor's and master's in Computer Science without never having programmed before that (which seem crazy to most people when I started).
I loved my degree and I wouldn't change it for the world. But many times during my studies I was the only woman in the room and the diversity was almost null. I wish we could inspire other girls and women to dare join us and that'll create a more inclusive environment.

## I'm currently hacking on...

I work as a back-end python programmer, and I love it! I think python is an elegant and interesting language to learn and use on a regular basis. Currently reading "Fluent python" and I recommend it.

## I'm excited about...

Many things! Learning new stuff is always top of the list for me :)
Currently, I'm very excited about mentoring girls at coding. What brings me to...

## CodingDojo for girls in West London every month!

I'm volunteering in a coding dojo for kids, where I'm in charge of preparing material and teaching python to the most awesome group of "pythonettes" I could have asked for.
If you are in London and you'll like to bring your daughter/niece/grandchild/students to learn python for free, please do!!
There are other groups teaching other things as well.

The dates here ---> [www.coderdojoham.org](http://www.coderdojoham.org/)


## My advice for other women who code is...

Everyone is a beginner at some point. Be at peace with that fact and honour the space between where you are now and your goals.

A lot of times it's going to be...
    sexist jokes
    mansplaining
    more pressure on you than on your male peers
    people saying things such as "boys just code better than girls"

Is it striving for it still worth it?
*Absolutely*.
Hactoberfest 2023 Contribution.
Tags: webdev, javascript, beginners, opensource
Published: 2023-10-27 20:54:23



![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/h8ryukihidy1e99czg17.png)
I have successfully completed my all PR'S in Hactoberfest 2023.
Hactoberfest 2023
Tags: javascript, opensource, css, typescript
Published: 2023-10-27 20:48:43


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/8i99c2og3pmkq1qsaojf.png)
I am very greatfull to be a part of Hactoberfest 2023 and i am also a Hall of Fame in Hactoberfest 2023.
OpenLampTech issue #102 - Newsletter Repost
Tags: mysql, php, webdev, programming
Published: 2023-10-27 20:18:54

PHP dev tools | OLT developer interview | WooCommerce product data management | Drop SQL columns | Laravel stack trace. OpenLampTech is a media and content source for MySQL, PHP, and the LAMP stack.


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

Receive a free copy of my eBook, “10 MySQL Tips For Everyone”, when you [subscribe to the weekly OpenLampTech newsletter](openlamptech.substack.com).

---

**OpenLampTech** has sponsorship opportunities in the weekly newsletter for your brand, product, or service. As a starter publication, collaboration is very budget-friendly. Send a private message for more details and interest.

---

Thanks so much for reading. Don’t miss out on the weekly **OpenLampTech** developer newsletter.

If you’re not already subscribed, grab your free subscription today and join the community.

Get your product, brand, or service in front of the right audience with an affordable classified ad placed in the next issue of OpenLampTech.

I write about SQL, PHP, WordPress, and Shopify regularly on my technical blog, [Digital Owl’s Prose](joshuaotwell.com). Follow me there for similar content and be sure to sign up for my free weekly newsletter (and eBook), OpenLampTech, the newsletter for PHP/MySQL Developers. Thank you!
IBM! What the actual fuck?
Tags: ibm, employee, corporatebullcrap
Published: 2023-10-27 20:09:18

Maybe this post will be deleted.

I am an (ex)employee of IBM, in the role of Senior Web Developer. My salary could been translated to $2000 USD net.

On Wednesday I was on holiday and received a message from my manager on Apple iMessage about why am I not in the office, signing a paper about a recurring report obligation in written form about my side project, business objectives and activities, GreenEyes.AI. I was previously informed and it has been stated, that my side project, for the purpose of obtaining an MSc degree, has not imposed any conflict of interest towards IBM. However turned out they spent around $300k USD on my case, involving 6 american and 2 hungarian lawyers and an AI expert, just to state the previous.

Why the rush, why the enforcement to align with some schedule of the business I don’t even understand.

I lost the right to present my work at a university science fair (https://bit.ly/greeneyesai-replatforming) and use it as a subject of my thesis, — , the financial foundations to even study at the university (MSc in Business IT, in English), and the financial foundation to live in Budapest. My side project, Art Scape, which is about showcasing the Budapest Art Scene and Cultural Heritage in danger of being pulled down from the stores due to a prospected lawsuit. I have been informed, that the hungarian tech-scene already aware of me, putting me into a situation that I have to leave the country.

I am not accusing IBM anything, but surely their leadership has some nutts in their heads, pulling me over this.

Will see.

PS: If you see me hoboing around Budapest this winter, toss me a coin. Thx.

Original here: https://medium.com/@arpi/ibm-what-the-actual-fuck-637a5a5daf5c
Netlify Composable Web Platform
Tags: netlify, webdev, beginners
Published: 2023-10-27 19:52:00

Netlify introduces the Composable Web Platform a new way to to run web architecture.

The Composable Web Platform is built using three parts:

Netlify Connect

Connects all content resources together.

Netlify Core

A frontend cloud solution that accelerates website deployment and speed.

Netlify Create

A visual editor to help to create content faster and easier.

Composable Web Platform is vendor and framework agnostic helping you building a better web expierence.

You can learn more about Composable Web Platform in this blogpost on the Netlify site:

 https://www.netlify.com/blog/introducing-the-netlify-composable-web-platform/?utm_content=eyebrow

Hope you enjoyed this blogpost if you would like more content like this feel free to comment below and don't forget to follow me on Twitter: https://twitter.com/NorbertFuhs
Toxic Code Reviews
Tags: communication, codereview, watercooler, discuss
Published: 2023-10-27 19:42:34

---
title: Toxic Code Reviews 
published: true
description: Here's a little fun video tutorial I made describing how (not) to become a toxic communicator in code reviews. Enjoy :)
tags: communication, codereview, watercooler, discuss
cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ucdqrvxpkeqthsx4fb7o.png
# Use a ratio of 100:42 for best results.
---

Here's a little fun video tutorial I made describing how (not) to become a toxic communicator in code reviews. 

Have you experienced any of the situations from the video in your workplace? Or maybe you had a different situation that made you clinch your teeth? Let's discuss :)

{% embed https://www.youtube.com/watch?v=gw6dSmhaGXQ %}

P.S. This is a first video I've ever uploaded to YouTube. Tips and feedback welcome :)
My forth Pull Request in Hacktoberfest23
Tags: hacktoberfest, hacktoberfest23, opensource
Published: 2023-10-27 19:29:29

I have finished three PRs before, here is my forth!
1. [My First Pull Request in Hacktoberfest23](https://dev.to/wanggithub0/my-first-pull-request-in-hacktoberfest23-34d5)
2. [My second hacktoberfest PR](https://dev.to/wanggithub0/my-second-hacktoberfest-pr-158a)
3. [My third Pull Request in Hacktoberfest23](https://dev.to/wanggithub0/third-pull-request-in-hacktoberfest23-4oic)

This time I worked on project [Qwik-X](https://github.com/harshmangalam/qwik-x) which is a social media web app like Twitter build with Qwikcity and use a lot of tech stack.

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

I find this [issue](https://github.com/harshmangalam/qwik-x/issues/42) to add link to user profile in post lists page. I did installation according to the [setup](https://github.com/harshmangalam/qwik-x#setup) and tried to set my local postgres. I could connect to my local postgres, but it throw the error, so I have to leave a comment on my issue. Luckily, the author reply me in the next day and advised me to use neon database since the author recently moved express server.

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

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

I tried using neon, but it throw the error "connection is insecure (try using sslmode=require)", I asked for help again, and got a new `.env` example. Hope the installation can be updated after the author's revising.

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


After all the setting, I got it!
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/nypotrd9r6x9wnawhr25.png)


I created the [PR](https://github.com/harshmangalam/qwik-x/pull/67) and tried to learn the structure of the code. I found there was a component folder and found the `post-card.tsx` which show the post card information. Before revising, all the card component is in the `Link` to `/posts/${id}`, so I have to move that `Link` only wrap the post text, and add `Link` for avatar, name, username to their profile page href={`/${author.username}/. 

Despite encountering some difficulties during the installation of this project, I've gained valuable knowledge about new technologies like Postgres, Neon, and Qwik. Surprisingly, the process of making modifications was smoother than I initially anticipated. Perhaps next time, I can take on a more challenging issue. This experience has not only expanded my skill set but also boosted my confidence in tackling future projects.
JavaScript
Tags: javascript, webdev
Published: 2023-10-27 19:19:45

## 1. Join

```
const fruits = ["Banana", "Orange", "Apple", "Mango"];
let text = fruits.join();


join() returns an array as a string

Output: 
Banana,Orange,Apple,Mango
```

```
const productPrice = 30
const gstRate = 5

const GST = 30 - [30 * 100 / (100 + 5)]
// GST = Supply Value - [Supply Value x {100/(100+GST%)}]

const vv = 30 - (30 * 100 / 105)

let gstPrice = vv
let gstIncludedPrice = productPrice - gstPrice
let finalPriceIncludedGST = productPrice - gstIncludedPrice
const finalProductPriceIncludedGST = gstIncludedPrice + gstPrice


console.log("GST Price=", gstPrice);
console.log("GST Included Price=", gstIncludedPrice);
console.log("Net Price Included GST=", finalProductPriceIncludedGST);

const finalVal = `GST charged of ${gstRate}% Product Price ${productPrice} = ${GST} `

console.log(finalVal);
```
Placeholder Maintainer
Tags: hack23maintainer
Published: 2023-10-27 19:12:35

<!-- ✨This template is only meant to get your ideas going, so please feel free to write your own title, structure, and words! ✨ -->

### Intro
<!-- Share a bit about yourself as a maintainer. Is this your first Hacktoberfest, or have you maintained in others? Feel free to embed your GitHub account by using {% embed LINK %} -->

### Project
<!-- Tell us about the repository that you hosted. What processes did you set up to review and merge pull requests? Feel free to embed your GitHub repo by using {% embed LINK %} -->

### Highs and Lows
<!-- What were some of your biggest accomplishments or light-bulb moments this month? Did any problems come up that seemed impossible to fix? How did you adapt in those cases?  -->

### Growth
<!-- What was your skillset before Hacktoberfest 2023 and how did it improve? Have your project goals changed since publicly maintaining it? -->
Placeholder Contributor
Tags: hack23contributor
Published: 2023-10-27 19:12:10

<!-- ✨This template is only meant to get your ideas going, so please feel free to write your own title, structure, and words! ✨ -->

### Intro
<!-- Share a bit about yourself as a contributor. Is this your first Hacktoberfest, or have you contributed to others? Feel free to embed your GitHub account by using {% embed LINK %} -->

### Highs and Lows
<!-- What were some of your biggest accomplishments or light-bulb moments this month? Did any problems come up that seemed impossible to fix? How did you adapt in those cases?  -->

### Growth
<!-- What was your skillset before Hacktoberfest 2023 and how did it improve? Have your learning or career goals changed since working on these new projects? -->
🌟 It is important to take care of yourself and your health🌿
Published: 2023-10-27 19:10:51



## The value of health

Health helps to successfully solve the main tasks of life: study, work, communicate, make friends, create a family, raise children, carry out plans, overcome difficulties, and if necessary, significant overloads. Human health is much more than the absence of disease. This is good health, energy, and the ability to quickly restore strength and successfully cope with diseases.


At [Beeovita](https://beeovita.com/) you will find the best self-care products that will help you look beautiful and healthy. They offer a wide selection of natural cosmetics, vitamin supplements, and many other useful products to support your beauty and health!

What awaits you at Beeovita:

✅ Excellent product quality.
✅ A wide range of products for all types of care.
✅ Natural and safe components.
✅ Convenient ordering and delivery.
Discover the best self-care products and invest in your health, beauty, and overall well-being right now!
SpringBoot app with Undertow as Servlet Container
Published: 2023-10-27 19:10:15

1.- Exclude the default servlet container (on this sample is tomcat):

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

2.- Add Undertow dependency:

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

3.- Clean your mess up:

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

4.- Run Undertow on the app:

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

5.- The result gotten:

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