Software Development and Programming Careers (Official Discussion Thread)

EzekelRAGE

Superstar
Joined
Jul 22, 2015
Messages
12,208
Reputation
2,769
Daps
41,495
Creating some shyt that is from a figma file/the imagination of a client(freelance) is one of the best feelings when it comes to coding :wow:
The client was a designer too so she blessed me with a nice figma :blessed:
I been slacking like motherfukker but doing this project sorta restored the feeling. Bout to dive deep into next/react/tailwind.
 

Secure Da Bag

Veteran
Joined
Dec 20, 2017
Messages
39,432
Reputation
20,224
Daps
124,737
Creating some shyt that is from a figma file/the imagination of a client(freelance) is one of the best feelings when it comes to coding :wow:
The client was a designer too so she blessed me with a nice figma :blessed:
I been slacking like motherfukker but doing this project sorta restored the feeling. Bout to dive deep into next/react/tailwind.

Do you have a youtube link to do that? I've heard of figma, but have no idea how to apply it to something like web-dev (as a programmer).
 

EzekelRAGE

Superstar
Joined
Jul 22, 2015
Messages
12,208
Reputation
2,769
Daps
41,495
Do you have a youtube link to do that? I've heard of figma, but have no idea how to apply it to something like web-dev (as a programmer).
No I dont. I dont do figma myself, I've just seen it used to better help designers/coders communicate and get something like a site done. It just better shows layouts and stuff for site mockups. Shows fonts/padding/sizes etc that were used. It's like a more in depth dribble or one of those sites where you can see mockups.

Sidenote: Say brehs I ran across this site that has a bunch of free online courses(udemy/bytegrad/jsmastery/frontend masters) so wanted to share it here
 

Secure Da Bag

Veteran
Joined
Dec 20, 2017
Messages
39,432
Reputation
20,224
Daps
124,737
No I dont. I dont do figma myself, I've just seen it used to better help designers/coders communicate and get something like a site done. It just better shows layouts and stuff for site mockups. Shows fonts/padding/sizes etc that were used.

Sidenote: Say brehs I ran across this site that has a bunch of free online courses(udemy/bytegrad/jsmastery/frontend masters) so wanted to share it here

I meant taking the figma and using it in the UI.
 

EzekelRAGE

Superstar
Joined
Jul 22, 2015
Messages
12,208
Reputation
2,769
Daps
41,495
I meant taking the figma and using it in the UI.
Oh as a coder I just use w/e best to code it.
Im not gonna link the figma file and dont want to show too much :yeshrug:
Gonna try to explain it as best I can. I was given two figma links. One showed all the pages, the content on there, layout, font style used etc. The 2nd page showed the mobile design of the same pages. She sent me all the images/videos/gifs in the figma. Im gonna use the mobile homepage as an example. The figma showed the mobile homepage with how she wanted it to look with a navbar andthe content. It also had a toggle. The toggle did two things. It changed colors of the toggle button depending on what was pressed and it changed the layout of the mobile screen as well. Here is an example of the button I took a screen shot of in the figma.
2b81c818d63577f669a1a7d5bad8bbfa.png
7751607b6c69e5c9d825ce446edde6b8.png


Using the figma I could get the exact size of the button, the coloring/font size etc. But the functionality of it was up in the air and up to me to decide how to implement it. I use tailwind. so styling and making the toggle wasnt too much of a hassle. The issue was having the toggle know when it was supposed to change colors/move and for the page to know when the toggle was clicked to change the layout accordingly. I use react/nextjs and that has state. In case you dont know what state is, think of it as something that holds information that you can share to other pieces of a website. I used a state library called Zustand (using state can be complex and something like Zustand simplifies the use) which helped alot. That helped me let the toggle and page know what the view state was and what they should do when it changes. So when the toggle is clicked it tells the state to change to true, and I have a bunch of classes set up for when the state is true. When clicked again and changed to false, those classes revert back to their orginal stylings. Here is an exampe of how it looks below.
OMdcJVW.gif
 
Last edited:

Regular Developer

Supporter
Joined
Jun 2, 2012
Messages
7,860
Reputation
1,726
Daps
22,095
Reppin
NJ
I been brushing up on my python skills , to later take a course on AI.
I also read that you don't have to be a math expert but knowing linear algebra and stats helps to
understand what's happening under the hood.
Before my last layoff, the new head of data science was actually discussing all the algorithms they could use, and pretty much put it on a graph. The x axis was the accuracy of it, and the y axis was the ability for someone to understand how the results were arrived. I think decision trees were like the least accurate/easiest to explain, then neural networks was the most accurate and most difficult to explain.
 

EzekelRAGE

Superstar
Joined
Jul 22, 2015
Messages
12,208
Reputation
2,769
Daps
41,495
So brehs who use git and make mistakes with commits(run into file too large or committed something like credentials by mistake), I recommend using BFG Repo Cleaner to fix ANY issues you have.

So that client I had was sent my way by a mutual associate who is also a developer, let's call him T. T was the owner of the github repository where I was doing all the work. So while I was working on the site I committed my changes by never pushed to github(I wasnt gonna push til I received the rest of the payment). So when the client approved and I got paid, I tried to push. It was rejected because some gifs were over 100MB(clients's fault lmao). So I deleted the gifs and replaced them with much smaller versions and tried to push again. Rejected again because the commits I made in the past (like 24) all referenced the large files so git was still trying to push those. Using BFG I was able run program and just enter the following code "bfg --strip-blobs-bigger-than 90M" that tells the program to find all files larger than 90M, delete them and goes thru all the git stuff like commits and references behind the scenes and edits them out as well.
Handy tool.
 

Regular Developer

Supporter
Joined
Jun 2, 2012
Messages
7,860
Reputation
1,726
Daps
22,095
Reppin
NJ
So brehs who use git and make mistakes with commits(run into file too large or committed something like credentials by mistake), I recommend using BFG Repo Cleaner to fix ANY issues you have.

So that client I had was sent my way by a mutual associate who is also a developer, let's call him T. T was the owner of the github repository where I was doing all the work. So while I was working on the site I committed my changes by never pushed to github(I wasnt gonna push til I received the rest of the payment). So when the client approved and I got paid, I tried to push. It was rejected because some gifs were over 100MB(clients's fault lmao). So I deleted the gifs and replaced them with much smaller versions and tried to push again. Rejected again because the commits I made in the past (like 24) all referenced the large files so git was still trying to push those. Using BFG I was able run program and just enter the following code "bfg --strip-blobs-bigger-than 90M" that tells the program to find all files larger than 90M, delete them and goes thru all the git stuff like commits and references behind the scenes and edits them out as well.
Handy tool.
giphy.gif
 

EzekelRAGE

Superstar
Joined
Jul 22, 2015
Messages
12,208
Reputation
2,769
Daps
41,495
For ppl who use tailwind that tutflix site I listed earlier has a tailwind UI download. Looking at the messages in the thread it gets regularly updated with the tailwinui updates. I just downloaded it and the files are legit with components and stuff listed for things like react components "application ui/ecommerce/marketing" etc.

Example of the template on the twui site and it being in the download folder listed
ac3e6503133fe3d3b880f9206e231947.png


Example of components being in the folders as well
69c4ead644e55f155d0c4fedb1cb8efd.png




<div className="mx-auto max-w-7xl px-6 pb-24 pt-10 sm:pb-32 lg:flex lg:px-8 lg:py-40">
<div className="mx-auto max-w-2xl flex-shrink-0 lg:mx-0 lg:max-w-xl lg:pt-8">
<img
className="h-11"
src="https://tailwindui.com/img/logos/mark.svg?color=indigo&shade=500"
alt="Your Company"
/>
<div className="mt-24 sm:mt-32 lg:mt-16">
<a href="#" className="inline-flex space-x-6">
<span className="rounded-full bg-indigo-500/10 px-3 py-1 text-sm font-semibold leading-6 text-indigo-400 ring-1 ring-inset ring-indigo-500/20">
What's new
</span>
<span className="inline-flex items-center space-x-2 text-sm font-medium leading-6 text-gray-300">
<span>Just shipped v1.0</span>
<ChevronRightIcon className="h-5 w-5 text-gray-500" aria-hidden="true" />
</span>
</a>
</div>
<h1 className="mt-10 text-4xl font-bold tracking-tight text-white sm:text-6xl">
Deploy to the cloud with confidence
</h1>
<p className="mt-6 text-lg leading-8 text-gray-300">
Anim aute id magna aliqua ad ad non deserunt sunt. Qui irure qui lorem cupidatat commodo. Elit sunt amet
fugiat veniam occaecat fugiat aliqua.
</p>
<div className="mt-10 flex items-center gap-x-6">
<a
href="#"
className="rounded-md bg-indigo-500 px-3.5 py-2.5 text-sm font-semibold text-white shadow-sm hover:bg-indigo-400 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-400"
>
Get started
</a>
<a href="#" className="text-sm font-semibold leading-6 text-white">
Learn more <span aria-hidden="true">→</span>
</a>
</div>
</div>
<div className="mx-auto mt-16 flex max-w-2xl sm:mt-24 lg:ml-10 lg:mr-0 lg:mt-0 lg:max-w-none lg:flex-none xl:ml-32">
<div className="max-w-3xl flex-none sm:max-w-5xl lg:max-w-none">
<img
src="https://tailwindui.com/img/component-images/dark-project-app-screenshot.png"
alt="App screenshot"
width={2432}
height={1442}
className="w-[76rem] rounded-md bg-white/5 shadow-2xl ring-1 ring-white/10"
/>
</div>
</div>
 
Last edited:

Water

Pro
Joined
Aug 14, 2014
Messages
693
Reputation
225
Daps
2,113
Anyone here ever burnout and recover somehow? I'm at almost 7 years exp working as a full stack dev (ts, node, go) and I'm just mentally done. The work isn't hard or anything I just can't get myself to care anymore.
 
Top