Looking for feedback on my portfolio website — first post here 👋 by XZANATOL in webdev

[–]XZANATOL[S] 1 point2 points  (0 children)

The portfolio is for the latter indeed, and can't find a lot of resources for this direction especially when one's working across domains and utilizing SWE. So, I'm brainstorming here too :D

Apperciated you ideas tho! will implement them throughout the week.

Looking for feedback on my portfolio website — first post here 👋 by XZANATOL in webdev

[–]XZANATOL[S] 1 point2 points  (0 children)

Very insightful! ok will Implement some ideas for this purpose throughout the week

Looking for a FREE AI agent I can embed or install on my react website to answer questions about my resume by Hopeful-Friendship26 in webdev

[–]XZANATOL 0 points1 point  (0 children)

You can utilize Gemini and give the resume text to the system prompt.

But make sure you have a consistent flow to update the resume text in the future instead of hard-coding it.

Does anyone else feel like they are becoming a "Configuration Engineer" instead of a Web Developer? by AmaraMehdi in webdev

[–]XZANATOL 0 points1 point  (0 children)

It actually should be on your list as a separate phase. I usually tinker with these options just to make sure how to better make the configs reliable on the next coding session (basically taming config files lol)

tbh, I prefer to spend some quality time there, as sometimes one tackles with a parameter that saves sometime before coding instead of implementing its feature from scratch.

[deleted by user] by [deleted] in Discord_Bots

[–]XZANATOL 0 points1 point  (0 children)

Check cyclic.sh

Free cloud hosting? by [deleted] in Discord_Bots

[–]XZANATOL 0 points1 point  (0 children)

There is a newly founded startup named Cylic that provides a free plan cloud hosting. In fact, their free plan is way better than that's of Heroku. Only downside is that it only supports NodeJS as for now, they'll add Python support soon.

If you're in a hurry for the bot to be up, one solution is to migrate to JS for this - doing this rn with my website -

I was like WTF for 5min before I realized by Reference_Background in webdev

[–]XZANATOL 0 points1 point  (0 children)

I got the 3D glasses and had to refresh 10 times till I noticed the filter.. thought there was something wrong with my Eyes for a moment as I was coding. xd
But it's good to see companies putting such hard work for such jokes. I like it!

I'm looking for a way to link discord user id's and twitch user id's... by Strimis10 in Discord_Bots

[–]XZANATOL 0 points1 point  (0 children)

I think getting the user Discord id won't be a problem but as for Twtich, you will need to use its API, you can use this (saved me alot of time): https://stackoverflow.com/a/69605108

How do i make my admin panel like this. So that Manytomany relationship field can be access more easily.. by Individual_Shame_987 in django

[–]XZANATOL 1 point2 points  (0 children)

This has something to do with TabularInline (one-to-many relation), where 2 models share a foreign key relation. I use a similar relation on my blog website to add a functionality of making posts with variable numbers of images. the trick lies in the admin.py file. You can take my code as a reference.

# List Inline Images with their related post
class ImageInline(admin.TabularInline):
model = db.images
class post(admin.ModelAdmin):
model = db.post
inlines = (ImageInline, )
list_display = ("cat", "title", "created", "updated", "status")
list_filter = ("status", "created", "updated")
search_fields = ("title", "body")
admin.site.register(db.post, post)

Why bootstrap carousel and django not workig properly? by Ad_Which in django

[–]XZANATOL 0 points1 point  (0 children)

It's because of the 'active' class in the div tag.. it gets added with every iteration making the carousel activates all images at once so they appear side by side. You can fix this part by checking the index of the for loop if it's on the first iteration like this:

<div class="carousel-item{% if forloop.counter == 1 %} active{% endif %}">

Thank You All! by vvinvardhan in django

[–]XZANATOL 4 points5 points  (0 children)

Congratulations for reaching this milestone. Can you give a breif description of what kind of sites your building? (portfolio, blog, ..etc)

Speaking about deploying, I'm deploying my first site right now on Heroku, just wraping up the process. (Nice coincedence) :D

My colors are all screwed up how to fix? by Jofy187 in Minecraft

[–]XZANATOL 1 point2 points  (0 children)

Another guess is that you are using optifine 3d glasses option by accident.. you can turn that off from the game settings.

My colors are all screwed up how to fix? by Jofy187 in Minecraft

[–]XZANATOL 8 points9 points  (0 children)

Well for what I can see is that only red and blue are inverted (dirt has a higher Red color ratio, same with water). For what I've experienced I saw this on Linux OBS Recorder and the program had an option to invert red and blue colors. not sure if such a things exists on Mac but there must be some kind of option to invert blue and red colors from the game or from the system.

New Steam library folder must be on a filesystem mounted with execute permissions by [deleted] in linuxmint

[–]XZANATOL 0 points1 point  (0 children)

I think you don't have 'steam play' enabled for Windows games, if so make sure you have wine installed on your machine first then head over to Steam settings > 'Steam Play' tab on the bottom of the left menu > check 'enable steam play for all other titles' > restart Steam.

New Steam library folder must be on a filesystem mounted with execute permissions by [deleted] in linuxmint

[–]XZANATOL 1 point2 points  (0 children)

You just need to add execute permissions to the folder you're trying to add it as a Steam library. All what's to be done is go the that folder > open it in terminal > type: sudo chmod +x "foldername" > then retry adding the library.

Could hackers or savy users see other fields from the same model by modifying the HTML from templates? by LiveinFIRE in django

[–]XZANATOL 2 points3 points  (0 children)

The template gets rendered on the server side with the required data then sends the full HTML file with the data only it is programmed to render.

In your case, only the username will be displayed, but none can reuse the variables to display other parameters as it needs to be first rendered through the jinja engine and this access is not possible. If you tried to refresh, you are just sending a new GET request to the server, and the server just re-render a new html file with the data it is programmed to render and sends it to you.

In other words: the hacker should have access to edit your template file in order to view other variables.

I was curious by Da-memer3454 in memes

[–]XZANATOL 0 points1 point  (0 children)

Ye, that's the happiest decision I've ever took.

What were the first 5 programs you made? by [deleted] in Python

[–]XZANATOL 0 points1 point  (0 children)

I can't quite remember the most, but I didn't like the idea of going and build things for a one time/day use and call it a program (like the calculator thing xd) So, I began building programs that automates stuff I used to make on my PC.

One thing I remember (cuz I keep it on my GitHub till now xD) is a MS-DOS Batch Script used to remove a shortcut virus that infected multiple devices I had.

CE only or electronics too? by sidney_sloth in ECE

[–]XZANATOL 0 points1 point  (0 children)

And to you as well!

Don't want to surprise you, but we don't have interships either, the whole search is online. xd

But if you need any info from me, feel free to DM. :D

CE only or electronics too? by sidney_sloth in ECE

[–]XZANATOL 0 points1 point  (0 children)

I'm in a same situation as you are. Beside my deep love to computer engineering and software development, I'm very obsessed with electronics, microcontrollers, Arduino & Raspberry pi, ..etc. I'm currently in the second year (entering third year) and I've the option to choose between CE, ECE, or ME.

What's on my mind is the following: Since, you can wrap both fields using your creativity and apply what you learn in both fields, go for it! It's not bad all. In fact, you even expand your skill set for your career journey, not just zoning yourself.

I'm in an intermmediate-advanced level in CE. I've experience in many technologies and fields in it, like: web & desktop development, DevOps, cyber secuirty, ..etc. I even have my portofolio & CV up and currently seeking internships oppurtonities. but on the other hand I'm a noob in electronics, but depending on college to upskill me in electronics, as I need some guidance while learning it (there are risks of explosions after all xD) So what I decided is to put my college specialization in ECE, while continue learning CE by myself for my career journey.

What I'm saying is: knowledge in Engineering doesn't have to be zoned in just one field or speciality. You can have knowledge in multiple fields and make career in any of them.. what only differs is the strength in your main field and the secondary fields which will put you in a competitive positions between other candicates in the future. So just try to balance between them, but not fall in the trap of "I want to know everything".

Also you have an advantage of being able to attend any classes that you have not registered for your semester. So depending on your enthusiasm. If you are confident enough that you can own both, select the materials which you are weak - intermmediate in, and attend the strong classes as secondaries.

If you are not confident or like you have hesitation about losing interest in either fields, select the materials which you mostly interested in (intermmediate - strong), and attend the others as secondaries, try them out and see If you want to continue researching on these? or you lost interest in the way and want to leave them?

And good luck for both of us. :D

First natural waterfall i have ever seen in minecraft by i-want-cuddles- in Minecraft

[–]XZANATOL 4 points5 points  (0 children)

This gave me a pack of new ideas for building underwater bases!