Tumgik
#install visual studio code
tamcode2023 · 2 years
Text
رفع ملفاتك على GitHub باستخدام Visual Studio Code
تريد رفع ملفات مشروعك على GitHub ولكن ليس لديك مهارة الـ Command line, إليك أسهل طريقة للتعامل المباشر بين Visual Studio Code & GitHub. مشكلة عند رفع الملفات على GitHub الكثير من المبرمجين المبتدأين تواجههم صعوبة في رفع ملفات المشروع علي موقع GitHub, وكثيراً ما تحدث أخطاء في الملفات وفي مسارات المجلدات. لا أستطيع استخدام الـ Command line فإذا كنت من مستخدمي Visual Studio Code, فهناك مساحة…
View On WordPress
0 notes
sevicia · 6 months
Text
I wanted to make a cleaner summary of last week's classes and also review the classes I have this week since the material is already uploaded beforehand but I was feeling so horrible throughout the day that when I sat down I was just gonna look at the ones for tomorrow but I think I'm just gonna go to bed because I just gave my little numbers game a few tries and not even the joy of tribial elementary school-level math games is bringing my brain cells and/or full sentience back
#diary#accessing it through the CMD thing and not just running it from the IDE made me realize a few things about it though so I'll hav#I'll have to maybe jot them down somewhere when I'd normally just be rly excited and try to fix them straight away like I am truly fucked r#I do wanna make an eng version of it sometime soon so I can share it even tho it's literally the simplest little thing. it's fun if you're#an easily amused nerd that loves playing with numbers in a truly useless manner. if that makes sense#also very obviously text-only I am NOT torturing myself with any graphics of ANY kind rn#it closes immediatly as they do and also when it comes to having double/triple digit starting numbers it becomes a lot less fun I think tho#though I haven't used it much with those yet#I still wanna figure out a way of making it better when it comes to 2/3 digit starters. and my original idea included maybe keeping track#keeping track of how many steps you took even between different rounds but I made the simplest version for now. I also think making like a#''this was the least amount of steps possible!'' type thing would be very very cool but that is FAR too big brained for me rn#cause I can figure out how to do the record keeping thing but that last one is like. let's stop talking for a little while.................#oh but adding an actual interface sounds so fun even though I have very little clue on how to do that rn I could probably STOP typing becau#because I can feel my stupid ass self start getting excited about this which will make it so I start working on it instead of going to bed#NO. DOWN !!!!!!!!!!!!!! auhgh............ oh man I had a lame joke to make but I completely forgot what it was#I have coding class tomorrow in which I normally just do the exercises as fast as possible before playing around but the only Python editor#I could find installed on the school computers was Visual Studio Code and I have no clue how to use that shit like I don't need so many#so many buttons. probz. OKAY GOODNIGHT
3 notes · View notes
0x28 · 10 months
Text
man i love the jetbrains ides but they take up soooo much memory i wish they would just rewrite their ides in a native language...
3 notes · View notes
sleepii-moth · 2 years
Text
if one more thing happens to me this week im gonna have a mental breakdown
#vent#i have so much shit to do i havent felt genuinely relaxed in like weeks#i cant figure out what the fuck this god forsaken class wants me to do theres like no instructions#i hate fucking online classes i dont wana have to email the prof please just fucking work for meeee#the worst part is its a fucking coding class and i know how to do the code but visual studio isnt cooperating#they're making us do all this shit completely from scratch like we need a compiler and shit and i have no idea how to do that!!!#whenever i try to use normal vs it doesnt work and i had to install a different version of vs thats like purple and has 15 different button#s for everything that i dont know what they do and it wont let me just make a cpp file it wants me to make a project or whatever#but i cant make a cpp project and i dont even know what im supposed to be submitting this isnt explained anywhere in the textbook#the only instructions we got were for installing vs not how to use it or set it up or anything and so i cant do any of my fucking work and#on top of all of that i have another stupid fucking book to read for english and then i have all this shit to read for another class and#then i dont even know how much work im gonna have to do next week probably just as much or even more bc all my classes keep giving me so#much stupid homework and i havent had a single moment a free time where i wasnt stressed as hell and i cant even focus on any of my work#anymore because everythings falling apart and im gonna die i hate school
2 notes · View notes
flutteragency · 3 months
Text
All About Vscode - Extensions, Shortcuts & Settings For Flutter Development
Tumblr media
Flutter is a fantastic cross-platform UI framework widely used for developing apps. Of course, it includes lots of options that are easy to create a rich desktop and mobile web app development. When you hire flutter experts from Flutter Agency, they will know about VS code extensions, shortcuts, and development settings. Visual Studio Code IDE is the perfect option to complete flutter development.
However, VS Code is an excellent IDE for developing apps. If you complete basic setup steps, you must know about shortcuts, extensions, and settings in the development process. Thus, it will boost your workflow rapidly and change a lot within a short time.
VSCode Shortcuts Installation And Setup
Installing the Flutter extension gives you an excellent answer for automating the code. However, it should be effectively undergone with the intuitive format and enabled with the current source code window. They take complete pledge solutions and set them with single-format documents.
Developers must follow the setup editor and follow instructions in the feature update. Updating the extension took a regular shipment and adapted to the extent. The VS c de updates extension carries out the default, and absolute results will happen.
● Click the Extensions button
● Click the Update button
● Reload button
● Restart VS Code
On the other hand, the flutter extension will be easily implemented based on creating projects with standard features. They will notice changes and must adapt to creating Flutter app development projects. Using templates has a salient role in establishing new projects with command options.
What Are The Vscode Shortcuts For Flutter Development?
Visual Studio Code shortcuts and extensions are essential in setting up Flutter app development. It includes es superior options and saves time as well. With more features, it takes a complete pledge solution to set up VS code shortcuts and settings quickly. However, VS Code shortcuts should undergo the development process using a flutter expert.
Of course, below are the lists of VS code shortcuts to know:
Quick Fi
The Quick Fix feature can be easily adapted anywhere based on the developer process. With numerous code actions, the process requires the CMD and enables CTRL+. It allows developers to take a complete pledge solution and follow the flutter widget amazingly designed. These are always flexible and hence suitable for a convenient option for creating data class methods.
Search files by name
The search files by name take a complete pledge solution with excellent shortcuts by opening the files in the projects. However, accessing other features with a maximum shortcut is unnecessary. You can see the keyboard and shortcuts by adapting to CMD+P for MacOS and CTRL+P for Windows.
Show Com and Palette
Show Command Palette allows the users to quickly bring for a search box by setting up accessibility. However, it is also a practical option for controlling them with commands and searching for new ones. They set out CMD+Shift+P, including MacOS, and take a Windows shortcut for your requirements.
Flutter and Dart snippets
Flutter and dart snippets are unique and explore standard widgets. In addition to this, it will explore gaining insert features with VS Code shortcuts for focusing on quick processes. However, it should be adaptive for a snippet for unique options for standard flutter widgets options.
● stless: Insert a StatelessWidget
● stanim: Insert a Stateful Widget using AnimationController
● stful: Insert a StatefulWidget
Of course, mobile app development allows everyone to generate boilerplate code and enables a named widget. Hence, it will allow the snippets to access the standard code blocks. The function of the definitions includes if/else, loops, and many others.
Developers can also check the files that are accepted in Dart snippets. Of course, you can install excellent Flutter snippets extensions with more features. Exploring the superior option for adding valuable snippets for your dependencies is best.
● Dart: Add Dependencies
● Dart: involves the fantastic attribute of providing stability for accessing the new feature.
● Open command palette
● Type "Dart: Add Dependency"
● Get the list of packages available in the pub. Dev:
● Click dependency
● It involves the added pubspec.yaml file
● The process is installed automatically
Keyboard shortcuts list
Of course, Visual Studio Code has to bring forth shortcuts based on the customized options with key bindings. However, it takes a complete solution and configures MacOS and Windows OS.
The command shortcut lists are listed below:
● CMD+K CMD+S for MacOS
● CTRL+K CTRL+S for Windows OS
● Newly Built Modes
Vscode Extensions For Flutter Development
VS code extensions for flutter development have better accessibility. However, it should efficiently deal with the right attachments and notice changes in the flutter development. Hence, developers have a suitable option to follow the extensions in VS Code.
Dart Data Class Generator
The dart data class generator has to rely on extensively creating model classes for accessible functions. However, it includes the best possible things to adapt to different methods in accessing CopyWith(), ToString(),toMap(), fromMap(),toJson(), fromJson(),==, and more. It should be adaptive in creating value and configuring based on code generation. Thus, it is error-prone and enables a dart class generator to be used.
Flutter Riverpod Snippets
Flutter developers are trying to create providers' and consumers' names in the field. However, flutter Riverpod snippets are a fantastic extension to simplify tasks. Thus, it is convenient to download and document the Flutter Riverpod snippets to be evaluated.
Conclusion
Finally, Visual Studio Code VSCode is a family and powerful code editor for setting up Flutter development. You must also know the shortcuts, extensions, and settings to develop apps.
However, Visual Studio Code is an IDE suitable for achieving stable attachments in development. It includes the best method and notices superior options for customizing and enhancing workflow excellently. Know here how to SetUp Emulator For VSCode.
On the other hand, VSCode extensions, shortcuts, and settings are the most useful function for a wider audience. However, the services should be integrated and develop a mobile application with a flutter app design.
You must hire flutter expert to handle everything based on the requirements. Users will get updated mobile apps, consult expert developers, and build custom-centric and feature-rich applications.
0 notes
programming-fields · 8 months
Text
0 notes
izicodes · 6 days
Text
Tumblr media
I've been itching to dive into something totally new and outside of my usual web dev comfort zone! After brainstorming for a while, I finally landed on a brilliant new project idea: building my very own desktop widget~! 
Now, full disclosure—I have zero idea where to even start when it comes to programming a widget, but that’s where the fun comes in, right? I’m all about learning new things (I have an addiction to studying so…)~!
In this post however, I’ll be sharing my initial ideas for the widget and brainstorming what tech stack might bring this amazing idea to life~! 
Prior knowledge on desktop widgets?
All I know is that they stick to the desktop area and some even always in front of the other windows. That’s all I know!
Widget Idea
So, the project idea I’ve chosen is something simple, just so I can get used to making widgets: a notepad. But, it’s not just any plain notepad widget—it’s going to have an aesthetic color scheme! (I know, pretty cool, right?) I really wanted to keep things basic for this first project.
The inspiration actually came from a Pinterest pin that I saved. I think the design is originally from a color palette generator website, but I want to take that concept and turn it into an actual desktop widget. Thus this project was born!
Tumblr media Tumblr media Tumblr media
Tech Stack
Alright, I lied—I'm not entirely stepping out of my comfort zone for this one! I'll be using ReactJS, a technology I’m super comfortable with and absolutely love. But to keep things fresh and challenging, I’m diving into something new as well!
After researching (thank you, ChatGPT, Google, and YouTube), I found out there are plenty of ways to build a desktop application, or in this case, a widget. You can go with WinForms, WPF, Tauri (Rust), Qt, and others. But I wanted to stick closer to JavaScript—specifically something I could pair with ReactJS. So, ElectronJS seemed like the best fit.
For this project, my tech stack will be:
ReactJS (JavaScript)
ElectronJS (JavaScript)
SCSS (for those extra styling powers)
HTML (obviously)
Visual Studio Code (with a lovely brown theme 🧸)
Toward the end of the project, I’ll also explore how to package the widget so people can download and install it on their own computers, and how to store the notes locally!
Finally
As I post this I am going to start the project so I will soon post updates! (This is where I fail…!)
64 notes · View notes
rockergiirl · 18 days
Text
today in a burst of motivation to continue working on my game i
cleaned up the code a bit, fixing a potential issues with getting items from the item design
tried to implement projectile collision detection
got really pissed off at godot
installed unreal engine
installed visual studio 2022
was told how to do collision with projectiles
uninstalled unreal engine
implemented projectiles dealing damage
51 notes · View notes
team-avia · 3 months
Note
what do you guys use to make the games? like which programs
Speaking about my field of work, it’s installed RenPy engine and any code editor with syntax highlighting. I prefer Notepad++ and maybe Visual Studio Code. Also, tools don't matter. Only your knowledge does.
Lemni
some of the assets in resident lover (the text boxes, the diary, the diary menu, cassandra and daniela's sprites) were made on my phone using Ibis Paint. Everything else was made using Clip Studio Paint on my Laptop
Finch
41 notes · View notes
codemerything · 1 year
Text
Track Your Progress
If you're like me who codes every day but sometimes forgets to push your code to your Github repository to secure your streak for the day (this can be so heartbreaking) but you still want something to track your progress then I've found the perfect solution 🟩.
WakaTime is a plugin/extension that tracks the hours you've been on your IDE think of it like FitBit,  it's a personal analytics service for programmers that shows you how you spend your time and helps you be more productive.
It breaks down the time you've spent on your IDE visually as seen below:
Tumblr media
You can also set daily goals to ensure that you code daily to build that habit and many more features at your disposal.
Installation is simple. My IDE is Visual Studio Code, so the steps below are tailored to VSC. 1. Register an account on WakaTime. You'll be given a unique API key after registration, copy the API key into your clipboard. 2. Download "WakaTime" extension via the extension tab on VSC 3. A popup to insert your API key should automatically pop up, then you paste your API Key and that should set you up. You can track your progress on your dashboard.
Happy Coding💻 🤓🤓
102 notes · View notes
Text
hello baldurs gate 3 community again: This time im talking about modding!
hello adventurers and shifty-eyed people, I bring to you some important stuff. Mod compilations! Below the cut, if you are interested, I have compiled a few things for what I think the bg3 tumblr modding community wants (based on me being in the tag for a month straight). Things I have compiled include: - Super basic install of baldur's gate 3 mod manager (and a bit of vortex) (9 Easy Steps!) - My OWN special "Computer helper" mod bundle with super easy installations (helps it run on my piece of crap laptop who hates me so much but I love her <3) - Companion and player mods (visuals only, and like de-ab-ing and stuff, I'm not going around adding all the extra eye colour mods) INCLUDING TRANS TOP SCARS AND DADBOD MODS + MORE - Some personal favourite mods that really helped enhance my experience. Enjoy! (if you enjoy bg3 modding, please consider reblogging because I think posts with links are still shadowbanned in the tag lol)
HOW TO GET THE MOD LOADER FOR BG3 IN 3 EASY STEPS
go to the github download page and scroll down until you see the first downloadable file that reads "BG3ModManager_Lastest.zip"
extract the file into an accessible area (your downloads folder should work fine, I just put it on my desktop) (just anything that won't require you to give admin permissions to download it. I would also keep this off Local Disc (C:) for convenience) You can use any free extractor program, 7zip works, i used to use Peazip and now I use Breezip and that works well.
Tada! You should have an open folder in your extracted location. 2 things may happen here: You will get the extracted folder with the other documents inside. Congrats, you're done! If you have an extracted folder with ONLY the .exe file in it, go back into the zip file and drag the other files into the folder. This should fix the problem, all files from the zip need to be there to work.
(OPTIONAL) you CAN use Vortex mod manager to manage your bg3 mods on there, in which case any nexusmods mod will have a direct download button for you. Personally I have my subnautica mods loaded from there so bg3 is unavailable.
HOW TO MOD BALDURS GATE 6 IN EASY STEPS + SCRIPT EXTENDER
Make sure you have Baldur's Gate 3 Installed. I have it on steam, I don't know how to help with EA, sorry.
open your file explorer/documents. Go to Admin -> AppData -> Local -> Larian Studios* -> Baldur's Gate 3 (leave launcher alone). Create a mods folder if you don't already have one, but one should have been created on your first bootup. DO NOT CLOSE THIS TAB. THIS TAB STAYS OPEN UNTIL YOU ARE DONE MODDING. * I also just search Larian Studios in Local Disc (C:) but that does take some time to load
Congrats, you're ready to mod! Now, most good mods will need something called the Baldur's Gate 3 Script Extender. You can find the download page here, and this time you're going to hit the green "code" button. Ignore everything else. Hit download zip
Extract the file again, but this time into Local Disc (C:) -> Program Files (86x) -> Steam -> Steamapps -> common -> Baldur's Gate 3 -> bin* ** * MAKE SURE to extract it to the bin folder. Some other mesh and texture mods use the data bin, so confusing them is bad. ** you CAN directly extract the folder to the bin, but I personally find it easier to extract the zip back into downloads, then open my other file explorer and click and drag the whole extracted file into the bin folder
The fun part begins! Go find some mods you like (nexusmods mostly, gamebanana MAY have some). Extract folder to your mods folder in larian studios -> baldur's gate 3 -> mods. ONLY DRAG THE .PCK FILE. YOU DO NOT NEED ANY OTHER FILES UNLESS THE MOD MAKER SAYS SO.
USING THE MOD LOADER: you are done with file explorers! Go ahead and boot up the bg3modmanager.exe file from earlier. Any INACTIVE MODS must be CLICKED AND DRAGGED over to the ACTIVE MODS side. If you don't see any mods, hit the blue circle refresh button. After that, hit the "export order to game" button right beside "export". If you see a green popup at the bottom, you are good to go!
All done! You are now on your modding journey! (if you have any outlying problems, my dms are open and there is a whole host of modders out there with answers!)
NOW TO THE FUN PART: MOD PACKS!
My own Game Optimizer Pack (basic): includes General Fixes (general bug fixes), Improved UI & Improved UI Assets (necessary for customization mods), and Mod Fixer (necessary for mods to work) *you CAN download all of these files individually from https://www.nexusmods.com but this is basically. a short version of that.
My own Game Optimizer Pack (deluxe): includes all previous mods as well as 5e Spells (spell fixer), Additional Backgrounds, Customizer Compendium, Show approval ratings in dialogue, Purchase camp clothes from merchants, Tav's hairpack
COMPANION MODS:
No Abs for companions/pcs
"oops all futas" (all female companions have penises, if you want like an all transfem run or something)
Customizable Origins (lets you customize if you play as an origin character)
Astarion:
Astarion Moles and blemishes mod
Vampire Ascendant (ability fixer mod)
TAV MODS:
Freckles and Moles as Tattoo replacers
Trip's Accessory Collection (has glasses & monacles)
Ophelia's Body Shop (top heavy/bottom heavy/chubby body alternatives)
Stronger Tav - Muscular Upper Body Mod
Top Surgery Scars
Alternate Top Surgery Scars mod for bodys 1 and 3
Strongfat body - humans and half orcs
Tav's Dadbod Mod
Softie Body - Tiefling 2
New Eye Colours and Blindess for all eyes
Transmasc Clothing options
Actually feminine and lore friendly dragonborn legs
Femme obese dragonborn body (no clothing options developed yet)
Chubby/thick/bbw body mods and clothes
Big gut dragonborn (male)
Female muscle mod
Less defined abs for male bodies
Game Enhancing Mods that I recommend! (if I have one marked starting spoiler! just. just download it and ad it just trust me dont look to far into it I promise it will be good. If I have one marked late spoiler! you can look at it and decide if you want it or later)
Faithful & Faithless - no mandatory choice of god
Mundane Blindfold (one eye cover)
No Romance Limit (polyamory mod)
highlight everything tooltip
Party Limit begone
No more spiders (all spider models replaced with dogs)
Ritual spells for rp fun
Colourblind friendly spell slots
Camp event notifications
Autosaver/Save timer (GET THIS IT SAVED MY LIFE SO MUCH)
Histories & Occupations - new backgrounds
Scratch colour variety (late spoiler!/not spoiler heavy)
Just Story (for those who just want the story. every enemy has 1 hp)
Wyll's Devil Form (starting spoiler!)
Eyes of the beholder (eye alts + scleras)
62 notes · View notes
cyber-sec · 4 months
Text
Malicious VSCode extensions with millions of installs discovered
Tumblr media
Source: https://www.bleepingcomputer.com/news/security/malicious-visual-studio-code-extensions-with-millions-of-installs-discovered/
More info: https://medium.com/@amitassaraf/3-6-uncovering-design-flaws-in-the-visual-studio-code-marketplace-ea1d8e8b0171
7 notes · View notes
simlicious · 7 months
Text
Am I a programmer?
I've spent the last weeks developing an actual little app using Python...
It all started with a Let's Play of Subnautica I saw on YouTube. Since Subnautica is one of my all-time favorite games, I got the itch to dive back in (pun intended). I play with tons of mods, so I had to check for a lot of updates and also juggle different versions since the last Subnautica update broke a lot of the older mods. So after some back and forth, I decided to remain on the older version for now. Great! But then I noticed that because of that back and forth and uninstalling mods, all my mods were reinitialized, and that meant trouble for one of my favorite mods, Autosort Lockers. The mod adds automatic resource sorting inside the game, which is super handy. But it was built to only work with the game's resources, not modded items. It does offer config files though. So when I last used the mod, I painstakingly edited the configs and added all modded items, which took hours. And now, I accidentally messed them up and was supposed to redo all of that. The thought filled me with dread. So I asked ChatGPT, which I have grown quite fond of recently, to help me. Why did I ask ChatGPT? Well, I need to go a bit further back in time to explain that.
One day, not too long ago, I asked ChatGPT to reformat a long list. ChatGPT said, "Apologies, I cannot process such a long list. Here's a Python script, here's how to install Python, copy the script, run it and it will do what you want." I thought ChatGPT was crazy, surely that would never work!? Nut I was curious and also a little desperate so I did install Python and ran the script and ... it did what I wanted. I was stunned. Could I use ChatGPT to write code for me? Apparently, the answer was yes. So I spent a lot of time directing it, add this, add that, and I noticed that it was not at all as easy as I thought. ChatGPT removed code when it felt like it, and the longer it got the more it messed up. But also the more time I spent copying/pasting Python code, the more I understood. Sometimes, I would just ask "What exactly does this bit do?", and ChatGPT patiently gave me answers. Running the Python code from the command prompt got tedious very quickly though. I asked: "Can't you make a button for me that I can click??" To my surprise, ChatGPT said: "Sure, let's make a gui." And that was it, the moment I fell in love with Python. So I made a few attempts at this and that, most only half-finished because the project got too ambitious for the little knowledge I had.
I heard about an AI especially made for writing code: Github's Copilot. I decided I had to try that. Since it only worked in real programmer's tools, I installed Visual Studio Code. Now I really felt like a programmer, using fancy tools! And Copilot made things easier, much easier. It did not delete all kinds of code like regular ChatGPT. It was even more helpful. I was super motivated and got to work on my "Autosort Lockers Filter Update Helper" since Python is very well suited for automating stuff. Because several config files were involved, and several values needed to be loaded, converted, compared, merged, loooked up, reformatted, and saved into multiple files, it was quite the undertaking, but I am at a point where most of the logic actually works and I have a real program with real buttons that I can click on. I made a program that actually works with my very limited coding knowledge! It would not have been possible without the help of AI. My patience and long hours paid off. Can I call myself a programmer yet? I'm not sure, since the code was written mostly by AI, not me personally. But I can confidently call myself the director and mastermind behind it 😎 and I actually want to learn more about Python so I can one-day code stuff myself without needing AI to do it for me. Here is a picture of it (I am proud of those blue buttons 😊): I've spent the last weeks developing an actual little app using Python. It all started with a Let's Play of Subnautica I saw on YouTube. Since Subnautica is one of my all-time favorite games, I got the itch to dive back in (pun intended). I play with tons of mods, so I had to check for a lot of updates and also juggle different versions since the last Subnautica update broke a lot of the older mods. So after some back and forth, I decided to remain on the older version for now. But then I noticed that because of that back and forth and uninstalling mods, all my mods were reinitialized, and that meant trouble for one of my favorite mods, Autosort Lockers. The mod adds automatic resource sorting inside the game, which is super handy. But it was built to only work with the game's resources, not modded items. It does offer config files though. So when I last used the mod, I painstakingly edited the configs and added all modded items, which took hours. And now, I accidentally messed them up and was supposed to redo all of that. The thought filled me with dread. So I asked ChatGPT, which I have grown quite fond of recently, to help me. Why did I ask ChatGPT? Well, I need to go a bit further back in time to explain that.
One day, not too long ago, I asked ChatGPT to reformat a long list. ChatGPT said, "Apologies, I cannot process such a long list. Here's a Python script, here's how to install Python, copy the script, run it and it will do what you want." I thought ChatGPT was crazy, surely that would never work!? Nut I was curious and also a little desperate so I did install Python and ran the script and ... it did what I wanted. I was stunned. Could I use ChatGPT to write code for me? Apparently, the answer was yes. So I spent a lot of time directing it, add this, add that, and I noticed that it was not at all as easy as I thought. ChatGPT removed code when it felt like it, and the longer it got the more it messed up. But also the more time I spent copying/pasting Python code, the more I understood. Sometimes, I would just ask "What exactly does this bit do?", and ChatGPT patiently gave me answers. Running the Python code from the command prompt got tedious very quickly though. I asked: "Can't you make a button for me that I can click??" To my surprise, ChatGPT said: "Sure, let's make a gui." And that was it, the moment I fell in love with Python. So I made a few attempts at this and that, most only half-finished because the project got too ambitious for the little knowledge I had. I heard about an AI especially made for writing code: Github's Copilot. I decided I had to try that. Since it only worked in real programmer's tools, I installed Visual Studio Code. Now I really felt like a programmer, using fancy tools! And Copilot made things easier, much easier. It did not delete all kinds of code like regular ChatGPT. It was even more helpful. I was super motivated and got to work on my "Autosort Lockers Filter Update Helper" since Python is very well suited for automating stuff. Because several config files were involved, and several values needed to be loaded, converted, compared, merged, loooked up, reformatted, and saved into multiple files, it was quite the undertaking, but I am at a point where most of the logic actually works and I have a real program with real buttons that I can click on. I made a program that actually works with my very limited coding knowledge! It would not have been possible without the help of AI. My patience and long hours paid off. Can I call myself a programmer yet? I'm not sure, since the code was written mostly by AI, not me personally. But I can confidently call myself the director and mastermind behind it 😎 and I actually want to learn more about Python so I can one-day code stuff myself without needing AI to do it for me. Here is a picture of it (I am proud of those blue buttons 😊):
Tumblr media
...and the configs the app updated:
Tumblr media Tumblr media
The app is not in a publishable state and I guess I would need to do far more tests and let someone who can actually code Python look it over before I would feel comfortable sharing it with anyone else, but it feels incredible to have pulled off something like this. I just wanted to share this accomplishment with someone!
12 notes · View notes
moose-mousse · 8 months
Text
I work for insane people
So… I started work a few months ago and...
I keep being impressed with corporations lowering my expectations.
Like. EVERY time I think "Surely, this is as incompetent as it gets".
The boss is nice, the workers are nice, every PERSON is great so far. But the firm is just… fucked in ways that makes it hard to not scream with laughter.
It is like working in the ministry of silly walks by Monty Python. Insane things are happening, and everyone just acts like it is normal.
A dude was stating to someone else near me, that despite the costumers saying they did not want it, his code that crashed the application once a day, was NECESSARY, because writing code without memory leaks in C is basically impossible. Like… I just have all these small moments of insanity. Completely disconnected from each-other
My boss showing me and the other 3 new hires the coffee room, where a big screen proudly shows that not a single software product have 100% code coverage… as in, not a single person in this entire building filled with software people knows how code coverage works. He then points out an empty bowl, and declares "Twice a week, there is a fruit event". By which he means, fresh fruit is provided, and people can just grab some…. just said by a alien who is pretending to be human. Badly.
He then explained that the 2 coffee machines in here makes bad coffee. He then takes us to the copy room, showing us that THIS is where the GOOD coffee machine is. Which only takes coffee beans from a SPECIFIC vendor (Is… is the coffee machine… sponsored????)
He briefly pets the Foosball table (Again, in the copy room), which is jammed up against the wall so you can only reach the controls on one side ( Because, again, it is a copy room, and there is not enough space for it ) and he exclaims "Ahhhh… Not enough people are using this"
Suggesting, that he is trying to promote the little known sport "Single-player Foosball">
I start setting up my work PC and... Whenever any of the developers in this place wants to install things on their PC's, including compilers and testing frameworks, they have to either use the "SOFTWARE CENTER" program, which installs it FOR you… or in 10% of the cases, fails, without giving you any context for why it did that, and no tools for fixing it. Is it missing a dependency? Not working with the OS? Who knows!
Some programs cannot be installed like this though, because the SOFTWARE CENTER is not updated a lot. And when you want to install something the normal way… You get a popup, where you must provide a written explanation for why you need to have temporary admin rights to your own dang PC … you then submit that, and your screen will then be watched remotely by a worker from India, for a varied amount of time you are not told…
Or at least it says so. Maybe the Indian dude watching me is just an empty threat. Who knows. But they get to see me running absolutely… BONKERS .bat files
Like, I CHECKED them, and a good 80% of them calls a Power-Shell script in the folder above it, called "YES_OR_NO.ps1" which opens a windows 95 window informing you that DURING INSTALLATION YOU MAY NOT USE THE KEYBOARD OR MOUSE, AS IT MAY DISTURB THE SCRIPT THAT WILL INSTALL THE PROGRAM. A normal installation wizard then runs, except the developers are not trusted to click the buttons, and instead the script does it for you by moving and clicking the mouse.
All of this is documented. In markdown like reasonable people? Of course not! It is in ENHANCED markdown. Which is markdown in the same way javascript is java.
ENHANCED markdown requires browser and visual studio code extensions to be read. Completely missing the point of markdown being readable both raw and encoded… And sometimes word documents And sometimes power-point presentations left next to another bat file… this one calling the .exe file… right next to it…. I later found out is because the idea USED to be that all documentation MUST be made with Microsoft office tools.
I had to read the code of conduct today. And it was actually very well written.
I then watched a interactive animation telling me about the code of conduct… which it not only got a fact wrong about, it also broke it once.
I repeat. The introductory course in the code of conduct… broke the code of conduct'
After I watched that, and read the safety material…. which literally just said "Wear safety boots in the production floor"… I was then show the testing room.
I was lead to a different building, saying hello to the Vice CEO who was walking the other way, we walk into the production floor, ignored the fact that none of us have safety boots on, and walks into a room, with a 3*2 meter wide machine, several meters tall.
We edge around it, quietly hoping no one turns it on, since we would get slammed by it if they did, and walk down some stairs into the basement. Casually walk over a small river in the floor from a pipe that is leaking… what I really hope is water, and over to a shelf rack FILLED with the most MacGyver shit you ever did see.
Including, but not limited to, the 3D printed plastic block, with a piston that repeatedly smacking half a aluminum nameplate over the device it is testing. You see, it is a capacitance button, and it is testing it by simulating a human finger pressing it many thousands of times, a saws off antenna which is the end of a cable that is attached to it via a nice thick bolt, so it can send fake signals into it.
And of course the 24 volt, 5 amp system that is turning a circuit board on and off again, until it will crack.
We walk back out, remembering to step over the small river, which never even got a comment, and walk back to my department It is SO great. It is like working in the ministry of silly walks by Monty Python Like… Do I think I can bring value to this company? Like, making it better and more efficient? Yes. It would be hard not to!
And his is the largest pump manufacturer in the world! A super serious company with 4 billion dollars of revenue a year. And it is just… a NUTHOUSE
Like… NEVER believe the myth that corporations are competent.
12 notes · View notes
deepdive002 · 10 months
Text
Code Blog, Project 001 Understanding Unicode
Day 02
Mostly I was setting up my environment today.
I got a very simple c program running on one of my servers when I realized I would need a better way to step through my code.
Tumblr media
The code compiles and runs but more advanced debugging it could be a challenge.
Tumblr media
Brainstorming:
I could get better at using tmux and find a command line debugger.
I could develop my C code in Visual Studio as a C++ project, upload the final files to my server and then figure out any incompatibilities.
I could Google for a C language IDE that can run on Windows.
Today's Path Forward:
I’m going to explore the third option today and see how things go.
I’m trying out a program called CLion
Tumblr media
I got CLion installed, activated the free trial and got it to SSH into my server.
Tumblr media
The current problem I'm stuck on is that I can't get it to read from standard in. I don't know if this feature exists in CLion.
I tried dumping the source file as a text sample into stdin. I did it as a Program argument. This probably isn't the way CLion expects things. When I ran the debugger the code doesn't seem to be reading anything.
Tumblr media
Another issue I'm thinking of is that the debugging features seem to be just a GUI for GDB.
I will probably have to get good with GDB anyway. I may be better off just using a tmux terminal with GDB in one of the panes. I'm not sure which solution (tmux or CLion) to explore.
Tumblr media
I may work on this some more today. I'll see where I'm at tomorrow.
11 notes · View notes
wojenka · 9 months
Note
Hnnnghh I was informed by tatp that u know about about coding wdgvbb any tips or whatever I’m trying to make a neocitys website or smthg
Since it's neocities website all you need is: HTML, CSS and maybe some graphics. As I said before I'm shit at explaining stuff but I will try my best. So here's "I want to make my own website" the basics!
HTML - markup language, the base of your websiteCSS - style of your website, can change color of html elements, size, font etc. I linked w3schools website since it's pretty easy to understand.Do you need to learn all of this before coding? No. I think it's the best to just check things that you need for your website. If you need to change background color of your website just find a w3schools tutorial on it or simply search for "how to change background color in css". You just should know html tags and basic attributes: id and class and how to link your css in html file so your style actually works! Neocities has it's own tutorials on html and css so you could check them out too! Neocities also has it's own code editor. You can edit everything in browser. I personally like to code in Visual Studio Code then just paste the code into Neocities editor. VS Code has a lot of addons (some of them are there by default) that make coding way easier for example: autocorrection of syntax errors and giving you suggestions!
Example: If you type html in vs code html file you will get 3 suggestions:
Tumblr media
choose the html:5 one:
Tumblr media
TAADAAAM!! VS Code just wrote the whole website structure for you! You can install more extensions here under extension section! There is this extension called vscode-pets it won't help you with coding but its really cute:
Tumblr media Tumblr media
some yt tutorials: CINNIMANI (specifically for neocities), web coding playlist (this one is good for all websites in general); https://sadgrl.online if you were on neocities you probably saw her website. She has a lot of useful resources including image resources and also she made her own WEBSITE BUILDER or acutally layout builder! It's pretty simple website builder but still. If you are looking for premade layouts you can just search them on google or get sum from the website I linked ^__^ Uploading your website to neocities is really easy since all you need to do is to put all the files on there! I guess that's all for now. If you have any problems or questions just ask. I'm here to help ^^ websites with free to edit code: https://codepen.io, https://github.com
9 notes · View notes