#tech-related-help
1 messages · Page 10 of 1
any tech peeps help me out with my computer booting screen is stuck upon loading, and bios key also doesn't work to help open the bios it's just stuck here
hi everyone, I'm about to start coding in c++ but on visual studio code when i run the file it runs on output section, so i can t use cin, someone know how to fix (it's running on macOS Sonoma M1 chip)
Try to compile with clang
I'm using Google Colab (Hosted jupyter notebook with a few extras). I want to use the debugger (ipdb) within the notebook's context. If I simply put a breakpoint() or %debug, it starts a debugger that's not aware of variables that have previously been defined by running other cells. The code of the cell itself "knows" the context, but the interactive debugger prompt that's started from that same cell, doesn't.
Does that make any sense?
How do people usually debug jupyter notebooks?
EDIT: Nvm, I might have chanced upon a bug or weird behavior. After restarting the runtime and rerunning, the entire notebook context is now properly acessible through the debugging prompt.
Hi, btw, first message here, I must start lurking on this server at some point or other in the proximate future.
even clang doesn't work
right click on the window and click run C file
i think the problem is that it runs the program on the output but i don t know how to do it in the terminal
I wonder anyone can help me with this C# Window App Form exercise please
right click -> run c file should run it on the terminal...but if it doesnt work for you, just manually compile with gcc and run
Fellas I have a question If a laptop short circuits itself is there any to test which component/Resisters died?
My 2,000 committed unalive

try dotnet restore
click on terminal and write
g++ yourfilename.cpp -o yourfilename
then type
./yourfilename or ./a.out
thx
thx
yes i followed what you said and i couldn't compile, but after i used what Closed sayed and it run
hey, did anyone ran a laptop without its case before? I have some issues
i'd tried but whitout results
what laptop?
It is an old Asus laptop. Model name is F3J
I want to turn it into a server and because it is fairly big I wanted to save some space and maybe throw a fan at it. I took it apart and layed out the main board with the drive. It turns on the fan is spinning and the drive is working (it is an hdd so I can hear it) but there is no video output. I tried to plug the keyboard and trackpad back in but still no video out. Also it worked without a screen, I used it this way with an external monitor.
i don t know if it is possible and in the case how
Maybe there are some crazy security elements, but I don't know
Okay, It works, looks like im a wacko. I took out one of the RAM sticks and put them back in and now its working. Thank you for your time tho
yeah, fortunately mine does not have any of this security. I planning on using an enclosure but not the oem one, I want better cooling because it has one fan only and it is quite loud. Thank you for your advice
hey, i need help to figuring out. i want to learn how to build an apps in flutter but i know the really basic of coding but have no idea about generic and oop, do you guys think that i need to learn again from basic or i just begin from generic? thanks really appreciate it
i am trying to use raspberry pi as a phone, is there any way/hat to enable 5 g sim?
Hello guys!
I'm wondering if any of you knows a good video or any kind of help for the subject of data structures and algorithms for CS. My professor is driving me crazy...
Also, we are using C++
Thank you very much 🙂
Does anyone have experience using swift?
I would like to sync apple reminders/ notes with notion
CodeBeauty has some great videos
https://www.youtube.com/playlist?list=PL43pGnjiVwgS5njI0HMGnqSH18tSSuLz_
Good luck with it ^^ we are also using c++ it can get really tricky 
which use cases do you have for multiple mp3 players?
As of physically owning devices or software
I have 2 small mp3 players aside from my phone to save battery when I'm on about I keep one on my bag and one on my pantaloons
Since I tend to spam music 10 hours at a time
Mostly podcasts
And audiobooks
Ty G!👍
yeah np
can someone tell me where is the problem
#include <stdio.h>
#include <math.h>
int main(){
int num,i;
float result;
printf("choose 5 numbers to display its cube\n");
for(i=1;i<=5;i++){
scanf("%d",&num);
result=pow(num,3);
printf("number %d and the cube of the %d is : %.1f",num,num,result);
}
return 0;
}```
it give me this output
hi guys can i use a 65W plug with a 100W cable to charge my laptop and tablet for school
my laptop only needs 45 watts idk
Yeah you can go with HTML/CSS, JS and PHP
help
wsl is also awesome for this
the compiler is right
that function doesnt exist
pow(int, int) doesnt exist
but pow(double, double) does
source: c documentation
nah its kind of a linux emulator for windows except it isnt an emulator
appart from a few details you can do everything that you can on linux on wsl
and linux c tools are nice
no its just a terminal you can open or a command you can run
its really neat and useful
you can also install different distros or have multiple instances for different things
And its more convenient than a virtual machine because it starts up super quick and you can just browse your normal file system (c drive and what not)
the cable is ok but the charger needs to support outputting 45 watts
and basically every 65w does
you dont need to have any fear of something breaking
usb power delivery has a long handshake to figure out if the devices are compatible
Isnt windows putting a halt to Ubuntu 18.10 WSL or something along those lines
or 18.04, I dont remember, I saw something about it recently
Oh nvm, they're dropping vscode support for Ubuntu 18.04
Havent heard of that
also - the system is very open
microsoft cant halt anything
there are ways to install custom disctros
Hey would anyone be able to help me synchronise Notion with Apple Reminders
Or Trello with Apple Reminders and then Trello to Notion?
i think it does but it works after i added -lm at the end of gcc command
i use wsl too but i think using linux is way better especially this is not stable sometimes its decides to break
Hey is anyone good with good with web scrappers? strugling on where to start with them?
rewrite to num*num*num
i just added -lm at the end
gcc main.c -o main -lm
thanks tho
what is mean?
lib math?
yep
Anyone know how to get out of recovery mode without getting into factory reset mode...my phone got switched off and when I try to switch it back on this is what's happening 😭
hey does anyone know where i can get a kyocera 903kc for a reasonable price? ebay is taxing too much
Any resources to learn/practice pointers in c ? I have a decent understanding of pointers and i am decent in problem solving .
ayo which one of these books is better
C a modern approach (2nd ed) vs c primer + (6th ed)
check this
https://github.com/jflaherty/ptrtut13
guys i am doing a discord music bot and i have a prob with it, when i type a command an error appears:
any idea?
my prefix is sat correctly, what else?...
anyone familiar with esp32s?
i'm confused which one to choose, there are too many of them
my project includes hears my voice - ask gpt ai - returns it through speakker, and also control a servo
maybe i'll use a server, so the MCU will just give and take data from the server
somebody know can i use a microsoft compact bluetooth keyboard with macbook?
Hi everyone, right now I'm using micro service with java, using apache kafka for asynchronous. But when I started the kafka server it shutdown after 2 seconds ( zookeeper still Ok), can any one come and check it for me ?
Hey guys! I'm creating a PCB project in Kicad rn and I have to edit my tracks into grounded coplanar waveguides. I'm a bit of a beginner though and can't find a lot online for steps on how to implement this in kicad. If anyone could direct me to any resources or provide brief steps it'd be greatly appreciated. Thanks!
I think it's corrupted, if power button + volume button combinations don't work, then you might have to use a PC and flash the firmware.
If you have a MediaTek chip, you can use 'SP Flash Tool' (v5, don't use v6 since there aren't a lot of tutorials using that (at least the last time I checked like a year ago when I bricked my phone trying to root it)).
vivo y12 fastboot mode problem
All vivo fastboot recovery mode remove
vivo y20 fastboot mode problem
vivo fastboot mode stuck
vivo s1 fastboot mode problem
vivo fastboot reboot recovery mode
vivo fastboot mode problem tamil
vivo fastboot mode problem telugu
vivo fastboot to edl mode tool
vivo fastboot problem
vivo fastboot recovery mode
vivo fas...
Your files and everything like that are stored in the 'userdata' and 'cache' partitions. They should be fine
um why this is not working
#include <stdio.h>
int main()
{
int num;
scanf("%d",&num);
if(2<=num && num<=100){
printf("%s\n",num%2==0?"YES":"NO");
}
return 0;
}```
this is the problem idk why
<@&942391219206647828>
idk what you mean, your program does run and when you input a number between 2 and 100 it gives an output of YES or NO depending on if it is even or odd
if you input 1 nothing happens the program just ends because you have it set up to only enter the if statement if the number entered into the console by the user and scanned is between 2 and 100. 1%2 does equal 1 and would work in your current program so maybe you're supposed to include from 1 to 100 instead of 2 to 100
when i'm scanning from the console or receiving any user input i like to include a print statement right before so I know where my input is supposed to go and if my program got to that part of the code
#include <stdio.h>
int main()
{
int num;
//this is a comment in C, delete "//" to uncomment
printf("Enter a number: "); //print statement to know what is being scanned and where
scanf("%d",&num);
//printf("The number scanned: %d\n", num);
//you can use print statements like ^this to test your code if you don't have a debugger, don't know how to use one yet, it broke, or just want to do it quick and dirty
//here we're testing if what was scanned is correct
//change if(2<=num && num<=100) to if(1<=num && num<=100) if you need to include the possibility of the watermelon being 1 kilo like the problem post shows
if(2<=num && num<=100){
//printf("Can the kids split the watermelon evently?: ");
//print statements like ^this help give the dev/user/professor/tutor context
//same with adding a bunch of comments to your code so when you come back to it you know what's going on
printf("%s\n",num%2==0?"YES":"NO");
}
return 0;
}
okay @frosty sequoia i gave a bunch of context. idk what your background with coding is so i assumed nothing and gave as much info as i could like i would do with my own undergrad students who i tutor
thanks but i solved it they just poorly describe it so they want when dividing a number the rest have to be even if that happens it will say YES
but as you can see 2 should not be included since if we devide by 2 the rest is 1 so we are say YES to 2 but the rest for it odd thus why its false
oh i see what you mean, that was worded really confusingly. glad you got it in the end
#include <stdio.h>
int main()
{
int kilos, halves;
printf("Enter a number: ");
scanf("%d",&kilos);
//assignment says 1<=w<=100
if(1<=kilos && kilos<=100){
printf("Can the kids split the watermelon evently?: ");
if(kilos%2==0){
halves = kilos/2;
if(halves%2==0){
printf("%s", "YES");
}
else{
printf("%s", "NO"); //case handling for 2
}
}
else{
printf("%s", "NO");
}
}
return 0;
}
Will it be able to run smoooth like for 4 years
anyone done neural network coding before
kinda need urgent help with an assignment
is there any good and detailed dsa roadmap for learning dsa?
checkout https://roadmap.sh
is there anyone who interested in bioinformatic. I want to look for a person who I can study with. We can make a program to check each other. Find online sources to study
I need help in Q26. In css part and how can I save it to the server?
U can send the data to ur backend server if any...
if u do normal college coding yeahh imo it will
could anyone help me with a signals question?

Adobe Full Espanol GRATiS 2024
https://telegra.ph/Adobe-GRATIS-2024-FULL-ESPANOL-02-20
Tutorial video
https://www.youtube.com/watch?v=9KfxR7kgv9A
Hola, quiero compartir con ustedes un sitio donde puede probar los programas de adobe, así como varios y otros programas de forma gratuita. Esta es una excelente manera de familiarizarse con los programas que necesita.
Photoshop 2024 Full Espanol: BYTROY
Adobe Full Espanol GRATiS 2024
telegra.ph/Adobe-GRATIS-2024-FULL-ESPANOL-02-20
Tutorial video
youtube.com/watch?v=2BwAzWTcT28
@everyone
Guys can anyone help me with our ideathon ? I have some problems to tackle 😦
Pls DM if possible:)))
Our app predicts the disease beforehand ,which can only be used by the health care professionals.
For that we need to collect the data of a lot of patients and this app is planned to be govt mandatory
1.So how it's privacy can be achieved?
I am just preparing for the q and a happening soon ,so if possible please do answe the question + do criticize the idea
youre asking how to maintain privacy for user data?
Hi can someone help me with this idk whats up sigh
How to protect the data that has already been collected ,I have heard about this 256 bit encryption and all . How can I present the solution if the pitch desk ask me about the patients collected data privacy?
what the programming language is it? what means $ sign?
Using R. the $ is to access a variable in a dataset
hey guys, what should i learn after POO in c++?
ассемблер
@everyonecan you suggest a thinkpad that looks like the x60 or x61 which is useful today without major upgrades
search up how to subset a .csv file in R based on some attributes and conditionals
there's some good tutorials out there
Hello, need some help.... working on a program that gets input and needed to print it in a printer. Need any suggestion about what module should i used to configure the report or printing page, and the connection to printer. Prob need to install other soft? Thx, and i apologize for my eng.
Opss sory forgot to say im using python
First time working with printers, so having no idea where to start. Would really appreciate if u can guide me a little bit
i installed arch today and i have no idea how to setup a windowmanager
I switch between a trackball mouse and a gaming mouse but have to turn mouse acceleration on/off when I do so. Is there any way to make this a single button or even automatic process in windows 11?
Hi,
I have a problem implementing recaptcha,
I added tick mark recaptcha,
But on web sometimes it shows the puzzle + checkbox
Can someone help.
guyyyyyys we have subject at uni about python and im totaly a bignner in this staff any help how can i catch up fast ! w<hat should i start learning fst ,,,,, i really want to get the best grade possible heeeeeeeelp
Learn the basicss,,,, from YouTube
anyone ever use an RLCD panel before?
Any suggestions?
yeah, bro code, code with mosh
I can say the same as @hasty snow and also you can try to solve problems on leetcode or code abbey. The key is to just code. If you can’t solve the problem just look it up and after understanding solve it alone…
yeye, also before you jump on leetcode,
take a look on how to solve questions on leetcode efficiently.
@hasty snow @next geyser
Thank you both for saving my future grades appreciate it
I'll be back to tell you about my progress. 😌😂❤️
One message removed from a suspended account.
Ubuntu
It's the most "googleable" if you encounter problems
Is C++ worthit nowadays ? especially with the rise of rust and other stuff ?
Cus I just started learning it for some game dev but I feel intrigued in learning Rust aswell.
i think unity uses C# only, you shure about that?
ahh, just the one I needed
to code or not to code (in cpp) ?
that is the question.
is rust support metaprogramming?
Gotta first find out what that means
Absolutely
code on c++
Sql, try asking chatgpt and test it on ur local/online
@everyonecan you suggest a thinkpad that looks like the x60 or x61 which is useful today without major upgrades
idk anyone that makes square format laptops like that anymore
and none like the x60t or x61t (the spin around tablet one)
The Panasonic TOUGHBOOK® 33 offers unparalleled flexibility in even the most demanding and extreme environments and is the world’s first fully rugged 2-in-1 PC with a 3:2 screen. Inspired by the increasing demands of mobile professionals, the TOUGHBOOK 33 delivers rugged mobility in a highly customizable package that also includes a generation o...
The 14” fully-rugged Panasonic TOUGHBOOK® 40 laptop breaks new ground offering unrivaled flexibility in even the most demanding and unpredictable environments with its class leading eight modular areas including its innovative modular expansion packs (xPAK’s). Optical drives, authentication readers, IO ports and even the Barcode Reader xPAK are ...
these are the closest thing that comes to mind
the TOUGHBOOK 33 is a tablet and the TOUGHBOOK 40 is a laptop @idle dew
also the @ everyone tag doesn't work and it is generally rude to use in large servers of not your personal friends
does anyone know any good options for flip phones?
kyocera kc 903
anything on the cheaper side?
sorry but can you suggest something on the thinkpad side
qin f 21 pro
still not cheap but its cheaper
<@&942391219206647828> Spam account I think.
what specifically are you looking for that the x60 has that you want in a modern laptop?
if it’s the display ratio (4:3) you’re not going to get that in a modern laptop. you may find something similar if you go for a tablet/laptop hybrid like the x12 detachable
look up tablets or detachable laptops and you may find one you like
@idle dew
So much spam today ugh
Framework? Its 3:2 screen
no one makes a 4:3 like the x60 anymore and the dude later explained they wanted a thinkpad
framework is an excellent recommendation too. i have one and use it often. i also have a x60 thinkpad but i don't really have a use for it outside of if i need to repair old tech but boy that keyboard is nice. i recommended the panasonic because i've heard that they have a similar 2mm keycap spacing to the x60 and the toughbook 33 tablet is also 3:2
if you do find a new laptop/tablet that is 4:3 i would love to know about it
i see that laptops are moving to 16:10 and hybrids/thinbooks/tablets seem to be 3:2 today
that extra bit on top with a 16:10 screen is a nice upgrade
all this is to say that most laptops today take a crap after a few years, even thinkpads unless you get a rugged/workstation/construction/military version. companies like Framework and MNT with their MNT Reform are looking to change that
when looking for a new laptop figure out what you will be doing on it most of the time, think about what features and ports you can't live without, and think about if the weight is okay to carry with you everywhere
right to repair!! woot woot!!
so ive been watching james vid for awhile and notice his pc and his cool setup on his computer.
and i got hooked to the style since im into the old tech stuff or vintage stuff and i wonder if its possible to change mine to a similar style or a minimalistic version (i use a dell pc) window 10
https://www.wikihow.com/Burn-More-Than-Once-to-DVD-R has anyone tried doing things like this?
first time burning a cd and i didnt know its not reburnable
try going on r/dumbphones, theres a big list of most popular, usable, and whatnot
okaay okay thank u so much!
hi, does anyone here knows how to code with rstudio?
<@&942391219206647828> ban hammee
<@&942391219206647828> ban jojo
Yeah burning with multi session lets you burn multiple files to the CD-R without finalizing it so you can add more later. CD-R, DVD-R (spoken: DVD dash R) and DVD+R are only recordable (R) once but can be read many times. You can’t write over what has already been written to them and once you finalize, you can’t write to anymore even if there was space left over on the disc. If you want a CD or DVD that you can burn over and over again look for CD-RW and DVD-RW. “RW” means rewritable whereas only having an “R” means recordable
Edits: I thought the R and RW meant “read” and “write read” like rwx (read write execute) file permissions on Unix/Mac and Linux systems. They do not lol. They mean Recordable (R) and Rewriteable (RW)
In your case, if you’ve already burned something to the CD-R, you’ll need a new blank CD-R since it was most likely finalized by default by whatever CD burn software you are using
^random college page I found with easy to read info and instructions
ohh thank you so much! have u tried cd-rw's before?
yeah back in the early 2010s haha
I'm currently using Huawei P20 lite which was launched in summer of 2018 I've been using this Phone since and I wanna buy one can someone suggest me a phone under 400$ (in India)
Can't stand with this phone
Now a days I'm just using his phone for only phone calls and forest, doing the rest of things on my laptop.
I thought of buying a refurbished iPhone 13 is it a good deal under like 330$
<@&942391219206647828> ban mmadaal
i'd suggest a Nokia 110 2G, its the new 2023 version
I guess features phone won't fit me cuz they don't offer like UPIs and stuff and I already have a feature phone but mine doesn't have camera and internet and games even flashlight
It best to buy smartphones in 2024 cuz they have cool lool and features and we can also customise them(kinda).
somebody knows how can i automatic compile multiple files in c++?
Hello guys. If you are a tech guy I need a constructive recommendation for my project for my course .Thanks a lot for ur helps
Here is my project"https://youtu.be/UgsAthpAJaQ?si=7krayJFKscz4DORz"
Looks great, but I guess that people won't want too much animations on admin panel, also the transaction process section ui doesn't matches the theme of ur website.
Other than these lgtm.
Thanks a lot
hi guys i want to learn javaScript and I need a good course in english any sugestions
He is one of the amazing teachers related to JavaScript
Namaste JavaScript is a pure in-depth JavaScript Course released for Free on Youtube. It will cover the core concepts of JavaScript in detail and everything about how JS works behind the scenes inside the JavaScript engine.
Here's in full Playlist of this course - https://www.youtube.com/watch?v=pN6jk0uUrD8&list=PLlasXeu85E9cQ32gLCvAvr9vNaUccPV...
Look into using make and dividing your project into inc/ and src/ directories.
I used this to learn https://www.cs.colby.edu/maxwell/courses/tutorials/maketutor/
make is an incremental build system, meaning that it doesn't recompile files that have unchanged dependencies.
Does anyone just have genuine tips on how to improve my network.
For some reason, for the past few days my download speed has constantly been fluctuating and I have no clue why.
I tried restarting the router, and all of that, but nothing seems to fix the issue.
Need some help, i installed yesterday linux mint xfce with i3 wm, the mod button is windows button, when i use win+enter the terminal came out but when i use win+d for searching programs nothing heappen
How can i fix?
pls ban this guy (scam link) @sonic falcon
you use dmenu or rofi?
try messing with the config files or send the $mod+d part here
Look in keyboard shortcuts
I think you just have to open a program named keyboard and there's the shortcuts tab
Losing my mind because no games are working with proton on steam AUGH
anyone please suggest a good mouse for my high school work as well as for some light gaming ( range is abt 25$)
any logitech mouse will do i think
i have been using a logitech mouse( office model) but it just doesn't suit me : (
wired or wireless
for software engineering and light video editing, should i get a macbook air with upgraded ram to 16 or 24 gb or save up money for a macbook pro. i dont know what the workload is for software engineering as i start school in may so unable to see yet.
also i do light video editing and light photoshop for things. strictly hobbies and not for work
why?
video editing get the macbook pro
get a used or refurbished last gen and save even more money
macbook pros last longer in usability than a macbook air. i used an original (2006) macbook pro until 2015
also if you're in the US and in school/have a .edu email you can get a discount if you go to the education store: https://www.apple.com/us-edu/shop/buy-mac/macbook-pro/14-inch
Get a new 14-inch MacBook Pro from only $124.91 per month. Select a model or customise your own. Buy now at apple.com.
gotcha, thanks for the input
Hey! Anyone who could help me with a problem using a debounce mechanism for a search filter on NextJS 14?
Yeah, what do you wanna know?
Anything's fine
hello
I am an alnafi affiliate , you can enroll into courses here : https://bit.ly/EmergingTechEdu
no clue but two games i tried downloading with proton didn't even launch :/
very annoying, im thinking of getting a windows virtual machine just to play lol-
not everything will work automaticaly, it's linux, try to setup wine, botles, game parametres etc.
simply setup windows on partition near to linux
or use ready-made solutions
like PlayOnLinux, Lutris, StartWine etc.
I’m making a game and I need to make an audience persona so if you have some time could you fill out the form please. https://forms.gle/xAHzoJvGY5qxsaHc9
hey ! Do you think I can find a PC around 200€ that allows me to do some programming (and running some docker containers, doin’ some rust) on Linux (I’d like some fedora on it)? I can only think of thinkpads x270 or t480 but are they still worth it ?
For most of other stuff I use my iPad Pro but I’d still like to keep a Linux laptop around since I am kind of a nerd lulz
Thinking of getting a gaming laptop
I live in India so I've decided by using Amazon prices and other youtube videos
My priorities for it are :
- Gaming and coding ( tied at first place )
- battery life , atleast 5 hrs on battery saved and everything ( mostly for browsing)
- 3d rendering/ software
- Video editing
My current budget is 80k and maximum 82
( In rupees )
I've shortlisted a couple of laptops :
( In no specific order but my most favourite and most probably I'm going to get is hp victus )
- hp victus || https://amzn.eu/d/ittE6N3
- Asus tuf f15
- Asus Rog strix g17
- nitro v
The HP Victus Laptop is made for peak PC gaming. This sleek machine touts a 12th Gen Intel® Core™ processor[1] and a modern graphics card. This laptop’s design is just as impressive as its hardware with plenty of color options[2], updated thermals, a full all-in-one gaming keyboard, and an HD cam...
Hope you can suggest any other laptops or tell me regarding the list of laptops I've already given
Does anyone have any thoughts on the newest Thinkpad P series
Hi, guys anyone studying CS in University and want to connect to learn share each other?
hello tech-experts! i truly need your help!
i am trying to apply for a scholarship and whenever i am directed to the next step of the application, it goes like this. i have a laptop that connects to ethernet and sometimes wifi. can anyone help fix this? i tried using the brave and the chroem browser as well, all results are the same - back to this error page. can anyone pls help? been stressing over this now for like a good 2 days. feeling super helpless because i have a deadline to catch and no one is 'tech-y' enough in my house to help me figure this out. help!
I think maybe try clearing your cache on your Chrome browser
go to chrome settings > privacy and security > clear browsing data > cached images and files then press clear data
yo anyone know about C++ and compilation errors in VScode?
I am new to programming I only know basic HTML and CSS but I wanna learn something else with which I can make certain programs for myself like python or something. Can someone give me FREE tutorials for those and from where to start
i need a smart indian that can tell me wtf is wrong with my python code
or just send ur code and somsone can help
Hello! 
I need help for a JavaFX scene. 
I need to illustrate the first picture, and my code illustrates this funny thing.
I am also providing my code.
I would be grateful if someone would try to take a look. 
package canvas;
import javafx.application.Application;
import javafx.scene.Group;
import javafx.scene.Scene;
import javafx.scene.paint.Color;
import javafx.scene.shape.Line;
import javafx.stage.Stage;
public class Canvas extends Application {
public static void main(String[] args) {
launch(args);
}
@Override
public void start(Stage stage) {
Group group = new Group();
Scene scene = new Scene(group, 300, 250);
double centerX = scene.getWidth() / 2;
double centerY = scene.getHeight() / 2;
double lineLength = 50;
for (int i = 1; i < 20; i++) {
double angle = i * (180.0 / 20);
Line line1 = new Line(centerX, centerY, centerX + lineLength * Math.cos(Math.toRadians(angle)),
centerY + lineLength * Math.sin(Math.toRadians(angle)));
Line line2 = new Line(centerX, centerY, centerX + lineLength * Math.cos(Math.toRadians(angle + 180)),
centerY + lineLength * Math.sin(Math.toRadians(angle + 180)));
line1.setStroke(Color.ORANGE);
line2.setStroke(Color.ORANGE);
group.getChildren().addAll(line1, line2);
}
stage.setTitle("Canvas demo");
stage.sizeToScene();
stage.resizableProperty().setValue(Boolean.FALSE);
stage.setScene(scene);
stage.show();
}
}```
thanks
freecodecamp is good for python. the official curriculum and projects they mention. the stuff that people just write and upload to it is hit or miss
if you already know html css, then why dont you learn javascript.
but if you wanna choose ai/ml as your domain then python is the language for u,
I see thanks guys sab and the doo
https://www.bestbuy.com/site/lenovo-slim-pro-7-14-90hz-2-5k-touch-screen-laptop-amd-ryzen-7-7735hs-nvidia-geforce-rtx-3050-with-16gb-memory-512gb-ssd-storm-grey/6533954.p?skuId=6533954 Does this seem like a good laptop for an mechanical engineering student or should I look elsewhere?
More than good enough, if you're spending your own money then you can get away with something cheaper. As long as you've got 16GB RAM then you can run CAD/CFD no issue
I did my undergrad and masters on a thinkpad t470p and those go for around £300 now second-hand
thinkpads <3
julia is really neat and i think one of the best ways to start as a beginner. similar syntax to python but much faster and much more powerful - including some fun things you can't do in python, like metaprogramming. some tutorials here for free: https://julialang.org/learning/
Hi! Who front-end developer? I have a one question about my web-site. Send me pls in discord!
If short: when I press button "back" in browser my last page don't refresh(reload). I need reload next page when I press button "back" in browser. How I can do it?
If dont understand I can show
Mint since you're new, its beginner friendly
you can also get a thinkpad p52 workstation which has i7 8750h and a good nivdia quadro for under 200 bucks and they also support upto 128gb ram and also 16gb unified memory
yeah
what reasons using linux, and what your needings for linux distribution?
I am getting a " undefined reference to `note_getter()'" error, checked all syntax, it's all good with that, I use the migw c++ compiler from MSYS, I created header .hpp files for all .cpp files except for the main and for some reason it cannot find the path to the header files, does this have to do with the .json things?
and btw I used #pragma one and did all the include stuff correctly.
I am still getting this error
maybe #pragma once?
an i7 processor for 200 bucks how does this make any sense
yeah that it's not syntax
do you have any repository with this code?
yeap
can i see it?
sure
ok, then, give me the link)
check your priv stuff
Hi, what is you guys your opinion on using an apple watch? What useful use can it have? As in productivity taking in count that i own an iphone and ipad
bro thinkpads go for very cheap in used as many companies dispose them in bulk the sellers sell them in cheap .Popularity for t series has been rising that is why it is still more expensive but other series like The L series P series are almost as good or better then them in performance
i think that if you set it right you can use it in combo with healt app on iphone to see you phisical status if you do some sport or sort of, but in my case ,for example , it as no sense cause i have all the notification muted and i don t do any type of sport so i prefer have a meccanical watch that can look much better. You can also have a to do list on an apple watch but in my opinion is better on a piece of paper, but if you wanna have it you should think about what do you wanna do with it and see if it's worth it
questions, i looked for a t480s (i wanna run arch on it ) but what is the difference with the p series?
and what do you think is the best for performance and portability?
1.I am a newbie to using Linux. And I don't know which distro to choose; I'm thinking about Arch and Debian.
2.I'm going to study Debian at University, so maybe, It will be much more appropriate to set on one, be good at it, and don't swap.
If u have some time, I will be happy to see your opinion on this topics.
arch is the dark souls of linux distros so proceed with caution. I would recommend something like Parrot or Fedora if you want to get a good introduction
Anyone can correct me if I am wrong but there was no t480p. S version is the slim version of t480 variant has less upgradable ram and no powerbridge system .If you just want to use browsers and some what heavy usage like coding an all , if you can sacrifice a bit on portability I would suggest the t480 ONLY due to the power bridge system.
But if you want a thin and light machine with go with t480s
IMP just make sure that the usb c on the ports are working correctly . I dont know but can anyone tell what version should the firmware of usbc not be .(If the firmware is that for a long time the usb will stop working) You can check in lenovo vantage I think so
hello anyone here knows mips assembly
hi, so i have a hashed string and i need to delete a character from it and then get hash of its substrings, how can i do that efficiently? my approach was to reconstruct a hash table everytime i delete a character
maybe if i could concatenate the hashes somehow?
what would be a good app to start coding or a good site to start learning to code
I started off on replit and then moved onto Visual Studio Code as an IDE, but now that I'm college and taking classes that involve java I'm using JGRASP. If your goal is to just mess around with coding, then I have always liked replit because its simple to set up and its in a cloud type setup so you can access your code on any device that has a browser on it even your phone or tablet. Plus, it's free with some limitations but once you start needing more out of of the free version you should for sure switch to an IDE like Visual Studio Code. Hope this helped.
hey anyone knows how to attach a long excel table in ms word which takes more than one page in word
You can try changing the font size and/or the cell height in word. However if the table is really long this might not be enough
i have tired everything but im not getting what i want i have watched all yt videos , articles but nothing happened in the end i took screenshot of my table and added that in my page
that's the last resort, as long as it's visible though it's fine
Oh thanks, i am more looking into it as in a job career way, so i need somewhere to start
Then for sure start with Visual Studio Code. I'm not at the job level but it's always been good to me
Thanks mate, i will try to see a place to start studying it more deeply and apply it on that app
depends on what you mean by dumb
you can uninstall all the apps until you only have the phone and messages app
and have a minimal launcher like unlauncher
can i some how uninstall playstore?
or make it harder to at least install apps ?
look up privacy OSs like graphene or calyx ,they'll have the most options for making it a dumb phone without playstore/google apps
so ill have to download an entirely new rom?
meh still tysm
yeah if you want good results you'll have to commit. There's apps that can lock apps behind a password but it's not the most effective if you can just type in the password yourself lol
If you root your phone you can with adb I think
use Linux Mint
try GrapheneOS if you have google pixel phones
Hey guys, does anyone know how to make a logical flowchart and a physical flowchart?
be more specific
I'm making a logical level flowchart and a physical level flowchart of a website called "osTickets". Idk if I'm doing it correctly.
I heard that the Physical Flowchart handles the how, so what I thought is that it will use technical terms, while Logical Flowchart is a more human-readable / friendly version of the Physical Flowchart.
I'm making a logical level flowchart and
i am worried that some apps may not work ill do it soon and lyk
Ooo okok ill take a look
how do I create a linux ecosystem? i am a newbie
anyone here into dumbphones? I just got a doro 7030 and need to find out how to place a @ symbol 😄
My linux to android connection everything from contacts to clipboard. Like an apple ecosystem
Does anyone here have experience linking mediapipe with unity?
Any of you guys know java and kotlin udemy course with tests
Or good java or kotlin course and some website with test and quizzes
Plz i really need that but i cant find it
what linux distro yall recommend for noobs who just want to get rid of windows?
in INtel 8051, Why setting any port to 0 makes it an output port and making it 1 acts as an input?
Linux Mint or Fedora are quite nice imo, Debian is nice too
You should give Gentoo a try, it's been my main OS for months, it's easy to learn and to manage, plus, gives you way more privileges than other normal OSs.
;)
Yes, but package manager is very slow
Easy to learn!?
Sure!
yes, if you can read carefully
@outer harbor please no links to other people's streams
<@&942391219206647828>
thanks!
that was insane lol
HAHAHAHAHAAHHAHAHAHAHA
idk i somehow
am always active whenever someone sends such link
was best motivation to become a mod rly i would see em whenever they posted
in instant
HAHAHAH
fastest banner in the wild west
i will give u 10mins next time if im active
ahahhaha
I was just joking of course, thought, to be honest, if you do take the time to learn how to manage and make your own make.conf and kernel configs, it'll all be worth it.
@native brook
the fact that you tagged me is killing me hahaha
HAHAHAHAHH
what's a great textbook to learn about python programming ?
python Crash Course helped me out a lot when I was beginning
Yes, that's the point of Gentoo, otherwise it would be a regular distribution
Indeed, still, its package manager "emerge" can be boosted up if you configure your make.conf correctly, one of the most common mistakes is not corresponding how many threads you have, so that gcc can use its full power, that your hardware can handle.
I might've taken too much time making my make.conf, probably more than 10 hours, and I still need to make some more research for the USE - flags variable.
I setup fully my make.conf on 8 core amd processor, but calculation of full update takes 10 minutes along, i think it's problem of emerge which writed on python
Somehow I didn't know emerge was made with python, I thought its source-code was all just C / C++
Well, this is somewhat sad, at least for me.
hi everyone i have a school project its about building a science project if the project good enough my project will be taken to the international space station DM if u want to help
I'd doubt, but what'll be the project about?
Interesting, what do you have in mind by now?
As it's day 2 you might've something to make the project about, if you do, then I could help you with the information gathering.
Yeah, me too
Future Task: Rewrite the whole portage package-manager in C or C++
Yes, I'm has it on mind
By the way, I'm eager to ask you something, as far as I can relate, you've been learning low-level programming right? And for that reason, could you give me some tips on how to learn such demanding and harsh languages? E.g.: Which projects did you use to help you; Any content creators; et al.
I always had a passion for low-level programming languages, although I'll just be able to practice them when the summer holidays arrive, because school has been way more time consuming than I thought it would. So when the free-time comes by I'd love to already have the foundation for its inner work.
My idea was to first learn C then choose between C++ or Assembly, these 3 are my favorite ones.
Being honest, I never touched or made any Python script, though I can read it, and know what the code does.
The same can be thought for other high-level languages, I just need to take some time to learn what each flag does, and in a matter of time I'll be able to read some scripts with that same language.
Either way, I'd be grateful to get some help, just to get the basis of it.
Yes, I've studied assembler, I can say that you need to learn all the registers, their purpose, types of operations, register-register, register-memory, etc., projects should be extremely simple, revealing each kind of operation and registers, you will also need a table of calls to the operating system for which you are writing code and in which registers you need to write data in order to pass arguments to the function, Examine data types, string formats, arrays, labels, etc.
Each application consists of bytes of code that can be interpreted into assembly code, you can write assembly code wisely and apply algorithms, but this is very long and inconvenient at first, also in some dialects of assembler there are no macros or functions, which complicates the process of writing code, and a program written in assembler will most likely not work on another architecture, Assembler was replaced by the C language, which allows you to automate the generation of assembly code and simplify the programming process, as well as compilation for different architectures, the C++ programming language further expands the capabilities of the C language and allows you to automate code generation for functions of different types of data, as well as an object-oriented programming model, which is very helpful in creating video games, but the C++ language takes longer to compile than the C language
In Python, you can write complex things quickly and easily by importing the necessary libraries, but it is not suitable for running on low-power hardware, as well as for high-load tasks, although it is possible to use multithreading, just-in-time compilation, and calculations on a graphics card
Hey do you think most of the content about Devin Ai is clickbait? I think it even cant perfrom simple refactoring with some principle of OOP
Thanks for the response, it sounds like ai-generated, but I won't put any doubts on you, either way, those are good enough tips for the day, hopes for the best.
thank you
Hi everyone, I'd like to ask a question: is Spring and Springboot the same thing? If not, what's the difference?
Hi guys! I'm having a problem with HC-05 and Arduino, anyone can help?
No, i write it on my own, i newer use ai in my life...
yo, can you help with understand a piece of code in assembly?
im doing a crackme challenge and the program encode my input after compare it. I need to understand how it encode the data to retrieve the flag
Then I should apologise, because the text was in quotations, I thought it was copy n' pasted from another site, with a different formatting.
Besides that thought of mine, I'd like to thank again for your response.
yeah, let's try, i solve "crack me" too some time ago
Not a problem🙂
i will explain tomorrow, im little busy right now. Is there a problem if i dm you?
No, i'm free for DM
Heyy guys quick question
If i wanted to practice programming through project based learning and all that ,would practice through game development be enough for me to be good at a certain language like cpp for example,and if i wanted to apply the same knowledge somewhere else like in doing other projects that were not related to game development would it work?
I dunnno just trying to make myself interested,and i think this could be one of the ways
It's better to do something you like, then what is "right"
согласен)
Здаровааа братуха
Привееет
Теперь хотя бы 1 знаю тут своего
Solved
if you have problems with drivers, try downgrade kernel
do you try solve problems? or you need ready to use solution?
Is anybody studying cybersecurity and taking information security certification exam next month?
eyooo
поражен твоим англиским,сам выучил или в англо-язычной стране живешь?)
Как носитель языка сам прифигел немного,даже подумать немог что ты не англичанин)
хай, у меня не очень английский)
я просто пишу как знаю и проверяю транслейтом
да не норм вполне,вот щас читал выше и пару ошибок заметил,но в общем очень удивительно даже)
малую часть редактирую
харош)
очень правильно что в англ комьюнити вышел,еще совет если в снг стране живешь,пытайся говорить в слух то что печатаешь,а то получиться так что переписываться умеешь, а говорить нет)
Hi, anyone up here who can help me out with some issues I am facing regarding Mlops??!
What Mlops means?
Machine Learning Operations, in which we use MLFlow tool, for experiment tracking of different models and model management
Guys, I'm trying to repair the keyboard, I replaced the switches 3 times, it's not a problem with the switch, then I changed something that I marked in the photo, what else can I do without desoldering all the switches to get to the wires with the signal (I don't know what it's called in English)
it's not this either (img2) because only 1 key doesn't work
I don't much about keyboards it looks like some component shorted
<@&942391219206647828> scam
thank youuuuu
not a problemm))
thank youuuuuu 
I use windows 11 but I changed what is displayed when you right-click on the file without this, Win 11 sucks
it's truth
obv, exept for the facts that i can t play on it....
for the rest is the best one
why?
what i want i play on it 🐧
if i wanna play a game with anti-chaet i can t
Why you searching on how to hack the pentagon ? 💀
oh, yeah, but some anti-cheats work
when i can't play game on linux, i boot win10 side by side with linux partition
да💀
just jokin brother
i do teh same
r u russian?
Hey guys my desktop won’t work on my monitor i even changed cables and tried to plug the laptop it worked but the desktop the screen stays black, Is the ram related because it all started when i took the ram off the clean them because one wasn’t working i have 2 chips of 8 gibs.
I removed the cmos battery for 5 mins i pressed the power button for 5 mins(Didn’t work It says check signal cable after i pressed the on button on the screen ) i tried a different port and it’s still not working my cpu is ryzen amd 4300 ge with an integrated graphics card so i only have displayports that are linked to the motherboard if that help ( please anyone suggest what should i do i really have important work to finish on it :(..)
a message asking for help from a friend that's not in the server, pls help if you know ! :(
No bro
But i respect a lot the russians
what did you use to clean the ram?
Hey any ideas to improve my experience and enable more features on my kindle ereader? I bought it yesterday and my older kobo ereader had way more features since I modded it a bit so is there any tricks or tips to increase the usability of my kindle?
It's a kindle paper white 11th gen btw
By mods what do you mean?
All I wanted from it was dark mode and non-blue lighting and it offers that
yo guys is there any way to pop out the vscode terminal window? im on linux btw
ctrl+j
yea but that just hides it or shows it, i meant like pop the terminal window out vscode as a separate window
oh, idk, i don't use vscode anymore...
its aight dw
it's maybe not the best way, but it's works
not a problem)
depends on the window manager you are using
but i dont know if there is a way to do this in vs code
I managed to find a way so it's aight 
vscode has own windows module
really? i didnt know it
did anyone know how to add a file browser on lazyvim?
I have a house where a lot of sunlight goes through my windows so at that time in the morning literally trying to use anything in dark mode was impossible cause I couldn't see lmao
Besides my monitor has the yellow light filter on max so it's not even that bright looking
i was just kidding use what you prefer ||unless its solarized blue||
Uhh I have used solarized before tho 😳
u just didnt try gruvbox
check this beauty
isnt this the best theme ever
spoiler ys
With deep dark I don't mean regular dark themes I mean like super black themes like oled versions
Gruvbox is very cool btw
you mean like those inversed themes its cursed
YEEE those
Most of the time they are worse than dark themes unless you are in a pitch dark room
Hey I wanna ask for a help do you know an effective visualization tools of sorting for comprehension
and any books for beginner friendly about algorithms and datastructure
<@&942391219206647828> SCAM
thanksss
<@&942391219206647828> SCAM
please ping only once 🫠 thanks <3
we will see all when we see first ping anyway thats why i said so, i appreciate the help 

nwwww
👆
holy
yeah
so many at once lol
🤷♂️
help me
for i in range(5):
i = int(input("enter number: "))
NUM.append(i)
def Push3_5(N):
for i in N:
if i%3==0 or i%5==0:
Only3_5.append(i)
elif i%3==0 and i%5==0:
Only3_5.append(i)
Only3_5 = []
Push3_5(NUM)
print(Only3_5)
def numpop():
for i in Only3_5:
item = Only3_5.pop()
print(item)
print('Stack Empty')
numpop()```
this is my code
when i run it, it only pops 30 and 18
python language
NUM = []
for i in range(5):
num = int(input("Enter a number: "))
NUM.append(num)
Only3_5 = []
def Push3_5(N):
for i in N:
if i % 3 == 0 or i % 5 == 0:
Only3_5.append(i)
Push3_5(NUM)
print(Only3_5)
def numpop():
while Only3_5:
item = Only3_5.pop()
print(item)
print('Stack Empty')
numpop()
In the first loop you use i in iteration as well input
def add(N):
for i in range(5):
N.append(int(input("enter number: ")))
def Push3_5(N):
for i in N:
if i%3==0 or i%5==0:
Only3_5.append(i)
def numpop(N):
while N:
print(N.pop())
print('Stack Empty')
NUM = []
Only3_5 = []
add(NUM)
Push3_5(NUM)
print(Only3_5)
numpop(Only3_5)
speaking of text editors check my sick neovim dashboard (admins plz dont ban me)
Looks gorgeous ✨
Hey, anyone here who uses Davinci Resolve for editing and knows how I can fix my clip lagging after applying the Delta Keyer Effect (used for green screens)? Quite just starting out and am in charge of editing a group project for school
Anyone good w/ JSON? I'm getting an issue w/ input and can't figure it out
hello
i needed help to decide if i should persue a cs degree when i get into a university
heya, can someone code in c++?
i have a group of friend whom i need to do a project with (physics lab) where we make use of an arduino board.
the problem is, we have not learend to code in c++, only in python
dm if you can help! appreciate it
hii anyone took data structures before? im struggling with Dijkstra's and Prim's algorithm yt isnt helping either : (
so my goal for both is to find the sequence of nodes visited? for dijkstra's isnt there a number i have to calculate overall? like the sum of all the nodes visited or something
How many different numbers that can be represented between 2^13 and 2^14 in the IEEE single-precision float standard. Justify your answer.
this was very helpful tysm!
Not tech help or anything I just wanted to show my super super cool three inch smartphone that I use as a dumbphone cause you really can't do much on a three inch phone lmao
It's light blue and I call him lil nacho
does someone programm with r studio and can help me with forming simulations to calculate probabilites?
Ayo I want a lil nacho too
Whats the model
It's a soyes xs16 brudda
Keep in mind it has no headphone jack 
Well that makes sense, a phone with "brudda" in its name cant not be cool
Does it have bluetooth?
Ye
I guess its fine then haha

Hello friends, I have a question so for school we need to create a site for a tennis club... but I have a problem with my code every time I try to register, my page gives me an error message, but everything is correct and I don't understand why
So if someone is good at coding in javaScript please contact me
send me the error
Hey, guys. I’ve been working on a binary tree python program.
Here’s the issue: For the "Displaying data in each element in ArrayNodes in order:” section, I’m getting 10 extra lines of -1 0 -1 (which tells me that there is no data in these elements of ArrayNodes).
Everything else is working properly, I’m just trying to find a way to get rid of these 10 extra lines (and find out what is actually causing this problem).
Here’s the code:
https://pastebin.com/8MJ4jY7t
Please ping in reply and thanks in advance for any help.
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
yo my dude i tried running it on vscode and what you said happened, i got the 10 extra lines, but then i ran it again for a few times and everything looked normal without the 10 extra lines, idk im still a python beginner but i hope it helps in some way, i dont even exactly know what to do with your code or the purpose of it srry 
look
Can I talk to someone who is interested in KEGG pathway analysis?
anyone good with reinforcement q learning?
i have nearly 8 years of professional dev experience. do not do CS if you do not love computers and programming. If you don't know try some programming now. I would suggest c/c++/java
study a subject you enjoy. <3
Thank you for trying to help, much appreciated. It's actually interesting that when -1 and 0 are entered, the 10 extra lines disappear (considering that the 10 extra lines are just -1 and 0).
I think it is possible without liking programming, if you don’t hate it then its chill
no problem 
Which is most of it
I had 27 different cs courses and only 3 of them were directly programming/algorithm related
yeah, this sucks
I think for CS best proportion is knowledge and practice which equals 50/50
yes
but cs is not only programming
programming is so little
if you are taking machine learning courses that doesn't mean it's not practical
it could be
also if you are doing it for practicals and programming just dont
and open udemy
🤔
it depends on the school, some treat CS as a software engineering degree and some treat it as what it's called - a computer science degree - studying the science of computers and all the math and physics behind it plus some electrical and programming knowledge
i wish more universities had software engineering bachelor degrees or that it was acceptable to get the education from a trade school
i don't want to be a software engineer, but people who do should be able to do that job with a 2 year education just like people are able to get IT certifications (but now companies want you to have a degree AND certs which is another problem)
at least for american universities you can check the exact required curriculum classes and electives for the degree you want on their website so you can figure out if that school has the degree type you want. Stanford is known for not having a lot of software engineering (SWE) in their CS degree whereas schools like the Cal Polys have a SWE bachelor's and a programming focused CS degree
hii guys i want to start learning coding (on my own). Do you think Free Code Camp is a good start?
Pursuing my Cs degree very soon after devin got announced is it over for me??
It is not about your course, but about you and your work
But yeah, it's good
whats devin
thank u for your answer ❤️
Yes
check it out https://github.com/nus-apr/auto-code-rover
jokes aside, devin is just a GPT-4 wrapper, its nowehere near replacing anything
Anyone know how i can make a connection to a locally hosted server on my computer?
I'd need that so I can scan QR codes via phone to do stuff with SQL, are there any good programs for it?
or idk via api / node.js
the app still doesn't stand but it's something I'll have to deal with someday
well my career is still over because maybe not devin but other ig 💀
Just pivot to plumbery at this point ☠️🙏
You could make more than a swe in western Europe
My opinion is that software engineering will stop being as we know it
Coding/syntax will not be important, what will be is problem solving
We will still have to solve the exact problems but won't be with python syntax, just with plain english
English is the new programming language
It's like the compiler, we write code in python and then the compiler translate it to assembly
Now we will write in English and the AI will translate to code
There are still thousands of companies whose websites are built in old languages
- programming in science field, + very specific fields, etc. There always would be a lot of work for human developers
So if you just want a website sure, you can use ai. But it is just a new instrument, not really a revolution
There's no website built on Pascal 💀🙏
Um mention the coding language u wanna learn, I can suggest few,
SWEs are still safe but there will be less of these jobs just like they already are outsourcing labor to cheaper countries. learn to use the AI and how to code and be creative. also you can't use an LLM for govt/military/confidential private intellectual property unless your company or sector makes one and controls it themself otherwise you risk getting in trouble with ITAR 😬 and IP leaks/corporate spying
for a website example there are companies like Carrd and Squarespace that allow someone who can't code to make a decent website but there is still a demand for old school Webmasters for if you need to maintain a complex website and there is still a need to hire a designer to make it look beautiful. today you may only need to hire one person or a couple of people depending on your website demands. people aren't really out here just learning HTML and CSS anymore for this, they know wayyy more so the job pays really well but there are only a few spots available in house or you contract it out. an AI can help you get the bones of your design but you may need an artist, webmaster/web dev, copywriter, product photographer, and model(s) to bring it to life. the AI can't tell what is beautiful or pleasing unless it has been trained to do that and even still it can mess up. AI can help you speed up the process and cut down on costs but you need people to make these complex creative decisions to bring your idea to life
this applies to all avenues in the SWE domain just like it did to robots in factories
pursuing CS for SWE is not over but it's not an easy $100k salary anymore
you have to learn more languages and frameworks than school teaches, be an early adopter of all the AI tools out there to keep up, do personal projects outside of what is assigned at school and contribute to open source software on a public facing github to market yourself, apply to an insane amount of jobs and if it's big tech then do hundreds of hours of leetcode (barf), attend meetups and conventions etc that may cost money to network and get a referral to help with the 1000 person job applicant pool
even then it might not be enough, here in SF/Silicon Valley you're competing against top talent worldwide
the barrier to entry for CS is really low in terms of cost of materials (computer and internet) and how widespread and excellent the free learning resources are (you can learn Python from MIT for FREE). Compared to other types of physical engineering where you need that but then you need physical materials and software licenses if there is no free equivalent and the information is out there for free but it's harder to access or too dense to understand easily especially if you're not a native speaker.
you have to know that you love to do this
remember that big tech or startups are not the end all be all of CS jobs. regular companies need you to build and maintain their products too
i believe in all the new and future CS grads who love to code and have a creative drive to solve problems 
I feel like data science will be the new computer science in terms of job oportunities
just see the annual salaries of AI researchers/engineers in top tech companies
What would you recommend for total beginners? I was thinking to start sith Javascript
You can check 'Bro code' video on youtube, he released a new video in 2024 on js,
I learned js from him too, but from his old YouTube js course
Thank you🫶🏻🫶🏻!
hey, i'm creating a breakout game (with OOP) that should be able to interpret ascii based files to load new levels and i want to be adaptable. What design pattern do you think would be the best in my case? and explain if possible. thank u
hullo, anyone here work with angular php before? i got some httponly cookie related question~~~ 🍪
I think it's just a bubble
but now is a good time yes
I know so many business etc and other engineering majors who are doing data science now
it is hard to find new cs these days because of layoffs and competition
there are just so many people
it's not like you are doing cs you are gonna be successful or you must be smart
everyone does cs
but yeah it's more like our child's problem
the industry is overpopulated
not only cs
but any industry
and economy is fucked up in the entire world atm
so not too many jobs
it is fucked up even in the current market
you have to go over 5 stages of interviews to get a job??
that is mad
and you can get rejected because you were unlucky with some stuf
but yeah company's also can't do anything about it
they just want to lower their risks with hiring someone
if you go over linkedin you see 100+ applicants in 30 mins
for a job where they only take 20 ppl
so yeah ppl are starting to ask for masters
maybe in the future everyone will be researchers or artists
who knows
i'd say start with a general oop language
so maybe java?
okay thanks!
yeah starting with java could also help you to learn others easier imo
do you have any recommandations where i could learn that? is the odin project good?
Helsingin yliopiston kaikille avoin ja ilmainen ohjelmoinnin perusteet opettava verkkokurssi. Kurssilla perehdytään nykyaikaisen ohjelmoinnin perusideoihin sekä ohjelmoinnissa käytettävien työvälineiden lisäksi algoritmien laatimiseen. Kurssille osallistuminen ei vaadi ennakkotietoja ohjelmoinnista.
this is good
for basics
cok tesekkür ederimmmm
rica ederim :))
Grasshopper coding by google is a very good way to learn basics
it's very simple and interactive too
If you manage to finish all projects and do the last couple well, there is an opportunity for an interview with google
About this webinar: Google Grasshopper is an app that teaches students of all levels to code. Using this platform, we will explore the basics of coding in Javascript and incrementally add new concepts from there by completing fun and interactive tutorials. In the end, if Google Grasshopper just isn’t the platform for you, there will also be reco...
hey i need your advice i am using gaming laptop currently but its super heavy and i wanna change it with macbook but i am not sure for now. some people said you cant use every app or other stuff effectively. thats why i am confused
and i am studying computer engineering but i am junior so i didnt decide my career path
if there is anyone using macbook, pls tell me your experience with mac
Hardware is great, software is crap
The freedom of windows softwear is definitely heaps different to macos
im entering a univerisity soon and i need to decide which one i should go for one has a course with cs with ai and another just computer science so should i pick the obvious one?
depends
do you want to do uni online or on campus?
and your country of residence/citizenship also matters
.
Omg thank you so much!!
Np bro
I think both the options C and D are correct!?
can someone make this work i have to submit it please if you can and i AM UPLOADING THE FILES YOU CAN DM ME THE FILES AFTER YOU HAVE COMPLETED (THE PROBLEM IS WITH THE JS FILE AND I HAVE TO USE RAPID API) DM ME IF U CAN HELP I WILL SEND U THE FILES
Hi guys, I’m currently self studying for APCSP and I need to code and make a task performance, could anyone teach me or give me free websites where I can QUICKLY learn for this!! I’ve been trying to learn how to code but it just goes over my head 😭
the OR operator always requires the right-hand side to be evaluated because if the left is false, right can be evaluated as true. If left is true, right needs to be evaluated to determine the outcome.
Yeah but what if the left hand side of the OR operator is true, then regardless of the right hand side, it will always be true.. And it is said that if the left hand side is true .. So I didn't get this..
Thanks for your time!
Djeve I think you are correct this seems backwards to me
Yeah , got a point less in this assignment though.. Btw Thanks for the help!
You should speak to your instructor about that
Uhh well I'm not too good at subnetting (I failed my networking subject twice already lmao) but like u have to make 12 new IP addresses that derive from the address they give u, the subnet mask is just a bunch of 255s (it seems its a class A ip adress so the subnet mask is probably just 255.0.0.0), also the broadcast station ends with 1 when you convert the address to binary (like idk it would be something like 00001010.10111010.0000111.11111111 u know like having all ones in the last segment)
I saw a short video a while ago that really helped me understand https://youtu.be/nFYilGQ-p-8?si=5EHk98gtY5G6gAW0
Here is a method that simplifies the process of subnetting. Hopefully it will help you understand what's really happening when networks are divided up and why subnet masks are important.
For some background information on binary counting and conversion, check out these videos:
How to Count in Binary: https://youtu.be/pDkeQYcefn8
Converting an...
thank you man
Yea dw
I'm horrible at subnetting but I tried my best
Also I suggest u convert every number u get into binary too
we're starting with C bc it's the easiest 🥲 i'll see it through
Oh gl buddy
Tank yew
guys could please someone help me for a easy project on arduino? need to do a sensor for fire (it's just for an exam... I don't know like anything about it...)
you just need to know that arduino its all 1's and 0's
😦
broo its true xd
help me please ahah, i don't know even where to put the arduino on breadboard
what are you trying to do
bro whats the problem then
flame sensor has 4 pins
I don't know literraly nothing
buzzer has 2 pins
yeah it's because I don't wanna study, it's just an exam without sense then I'll never touch programmation stuff, I'm doing Management Engineer 😦
wait
Materials required:
- An arduino with its adapter
- A bread board
- A fire sensor
- A LED
- A buzzer
- Jumper wires
- A lighter
Hope this is helpful.
Check out the code here: https://kandrproject.blogspot.com/2018/01/arduino-with-fire-sensor-led-and-buzzer.html
thats literally what you're asking for
it has the code too https://kandrproject.blogspot.com/2018/01/arduino-with-fire-sensor-led-and-buzzer.html
The problem that I bought an arduino esp 32
But thank you bro, I really appreciate it
its the small one right?
i think it has the same pins as the other one
this one, I put it there but like I don't even know what's the meaning of all this numbers and letters
Yeah I'm gonna try now
Now that I'm here I'm feeling ashamed that I don't know nothing ahaha
I think I'm gonna study the minimum
But thank you very much
ah its esp32
Yeah...
so
Just 2 hours and you will be ok
basically
just put the power battery in the 5v and gnd
you know, positive and negative
5v -> positive, GND -> negative
then after that
you put the fire sensor in any 4 pins that you want
the gpio pins
what's the power battery
this
or this
the battery
it has 2 wires
positive and negative
you put positive in the 5V in the ESP32
and the negative in the GND
wait Why I need a power battery? I'm gonna connect with the computer
Also in the video didn't use the battery
ah yeah
then
you dont need it
just put the fire sensor in 4 pins
and the buzzer in the another 2 pins
and that's all you have to focus on
on those 6 pins
just put one
i dont even know the difference between the passive and active one
just know its buzzes
so
the connections in a breaboard are in vertical rows
like that
so all 4 pins in vertical are connected with each other
the way you put it
its not connected to anything
breadbord too small
try it like this https://www.youtube.com/watch?v=eaNvESZiEXo
A fire detection system is a group of devices and equipment that are used to detect the presence of a fire and to alert people to evacuate. These systems can be used in residential, commercial, and industrial settings to improve safety and reduce the risk of injury or damage.
An ESP32 microcontroller can be used to build a fire detection system...
for reference:
no
look at this
it doesnt make sense to put the 4 pins connected with each ohter
other
So now I put the sensor in vertical, I need to put it in horizontal?
here its like you did this
it doesnt make sense
you connected all 4 pins together
each pin have one function
now the pins are separate
now you just have to do this
you have to quit the esp32 like the video
because its too big to connect a pin there
Aaaah
and connect it below
nothing is connected with nothing
yess, unless you have a bigger breadbord
Ok gonna try it now, thank you very much again
will this ram work on my thinkpad t420?
should work
what bout this msata?
that's all they have mentioned
oh i see its msata that will work
yup
i overlooked your message when you sent the ss lol
Yes, I'm thinking uint8_t* buckets = nullptr.
how big is NMAX?
It is unsigned. There is no other restriction.
do you need binary search functions like in the C++ multiset?
Well, a colleague helped me now. Actually, each bit corresponds to a number, I just understood the condition in the wrong way. Thank you very much for your responsiveness!
you can open and see the slot of the ram
i mean the ram should work but for this open up the laptop from below and see if it has the m sata slot
t420s have msata slots
yes it does
t420 also has it
Well anyone give me a suggestion on a topic to make smth in Android studio as a project. I was making weather app but faced lot of errors so i gave up
Make a habit tracker app and add your own little twist to it
Hi yall guys, can anyone give me names of 2-3 books about electromagnetic fields and waves, as simple ones as possible (for dummies or something)
Umm that's a good one but problem is that I have to submit this project in two days and I'm not pro i just know basics💀
based
?
Are u asking me?
No,who are you ☠️
Nah nevermind. I thought..
<@&942391219206647828>
Umm maybe a pomodoro timer?
what is a good flip phone that runs apps? That works in the US lol 🙂
Yoooo that's crazy tho I asked that in like a server like a day ago lol
I'll look and see if I can find my comment
TCL Flip, ZTE Cymbal, Alcatel Smartflip
Alcatel one touch
@idle dew
@fiery pendant 👆🏼
thankyou 
thank you tookie
Yeah that's interesting I'll try..
<@&942391219206647828>
tyty
i need more tho what is the source this is really good
what do you want to know?
Is there a big difference in commands in bash and other stuff between Arch and Debian-based distros? I only know about package manager that it is not apt, but pacman? I'm a beginner in Linux, but I hope that made my question clear.
Hey does someone knows a good chart NuGet package for c# wpf (.net 8.0)? I just found this: C1.WPF.Chart. But I would need to buy licence to be able to use it over 30 days in my project.
if we talking about plain old debian and arch then it's not really a big difference
if there's anything different there's the arch wiki
it basically has everything you need
thank you
hi guys i wonder if anyones has recommendations for websites/documents to learn data structures and algorithms? i have a dsa exam in 2 weeks and have a basic grasp of everything but would like to review on my knowledge. thanks
well i know of leetcode, they have a data structure algorithm session, but it's mostly programming exercises i think
thx im currently doing them, just hoping that there would be structured courses for a clear order of learning and stuff
Leetcode will give you code practice only
This really depends how and what shape your exam will take
What are the resources your course gives you?
You can simply search up Data Structures harvard in youtube and watch entire lectures for the theory
Same goes for algorithms
Those will give you the necessary theoretical insight
But to be honest, the best is always to learn your courses ressources since the questions are built around them
This is CS50, Harvard University's introduction to the intellectual enterprises of computer science and the art of programming.
TABLE OF CONTENTS
00:00:00 - Introduction
00:01:01 - Stacks and Queues
00:09:53 - Jack Learns the Facts
00:12:01 - Resizing Arrays
00:30:33 - Linked Lists
01:16:09 - Trees
01:30:34 - Dictionaries
01:34:26 - ...
This is CS50, Harvard University's introduction to the intellectual enterprises of computer science and the art of programming.
TABLE OF CONTENTS
00:00:00 - Introduction
00:01:01 - Overview
00:02:58 - Attendance
00:09:40 - Linear Search
00:24:58 - Binary Search
00:28:25 - Running Time
00:38:06 - search.c
00:51:29 - phonebook.c
00:53:...
there are also entire playlists of full courses on it from MIT, Harvard etc
is anyone familiar with spin locks
nvm
does anyone has any good dynamic programming course ???
Nope, the only thing that changes with distros like arch or debian is where the files could be located in the home folder or the package manager (the one you use to install or build programs), but the command line is pretty much the same in most distros, if you know how to use a linux terminal then you know how to use it with most linux distros to be honest
hey guys, im making this number guesser on python and for some reason the first line of the program (type a number) is not printing and it straight goes to the error line (please type a number next time) and then the make a guess happens, what i want the program to do is for it to print the type a number first and then the make a guess line, can someone help me?
nvm the code was fine but i just had to kill the terminal completely cause the loop with the incorrect code just kept going lmao 
thx
hi, where i can learn to code html css or js? if you have any video to recomend me or smth its going to help me a lot thanks!
In my current code I am missing a LIST element? Could someone help me include one ?
Oh there is this free course on responsive web design with certification on freecodecamp.org , i tried it for a while and it was great
thanks!
hey everyone, what do you think is the best way to study computer architecture?
i feel like it's a lot of content to learn/memorize and not as much problem solving, if you have any useful youtube channels that would be helpful as well
if you have any notes of dsa please share it with me as well i am a bit weak in dsa
i do but theyre not written in english so 😛
sorry
you can search for lecture notes on MIT or Harvard main websites tho
also ive been doing leetcode problems and they sure do have helped so yay
except that i wish i could find a suitable learning source for complex algorithms/problems, since they are likely to appear in my midterms and finals exam
do you guys have recommendations for classic problems for each type of algorithm/data structures?
like, the classic one for me to understanding dynamic programming fundamentals was LCS and LIS
where're you from?
vietnam
they're hard for me 😭 like espcially using the "." and " * " pointers and stuff
but basically my uni adapts from MIT lecture notes and slides so meh
btw which language do u use
oh
english
doesnt leetcode have all varities of problem including LCS and LIS?
or maybe try hackerrank
yeah just that theyre not really categorized, same for hackerrank. im looking for something more organized or newbie friendly
OHH XD
I use C
i am in 2nd semester rn so in college theyre teaching C
i also want something like that more organized and stuff tried searching but didnt found one
whats your semester?
eh, 2nd semester in 1st year
were doing our course in Python. i also learn and use a bit of C/C++ too
but like bro theyre speedrunning everything and i dont get time to practice anything at all 
exams coming on tuesday, the week after next
lmao youre in same sem as me
exactly dude like i can relate so much
Welp Goodluck 😭
not even tmux?!?!?!??!?!
Ayo you use neovim? Im thinking of switching up to neovim as my text editor in a few months cause i do like doing stuff in command lines but idk if im advanced at it enough to set it up, and also, is it easy to use with C/C++/python/Js and embedded systems usage? Thats what i intend to use it on 😳
btw does anyone have any good video or web page on subnetting?? its urgent 😳
any sort of text editor benefits from being used to its fullest extend by you so in that sense as long as you learn the keybinds and eventually set your own macros even you‘ll be fine writing anything in it
► Get the COMPUTER NETWORKING audio book here ►https://amzn.to/3rxrkfi (Amazon affiliate). Just get the book by signing up for a free 30 day trial of Amazon Audible Premium Plus.
A subnet mask is a number that resembles an IP address. It reveals how many bits in the IP address are used for the network by masking the network portion of the I...
I enjoy this channel
Ty 
coming from someone who recently got into it around 5 weeks ago, i would say that it isn't exactly easy but should be no issue if you genuinely dedicate yourself to reading the documentation and referencing off of youtube videos.
you definitely don't need to be advanced enough to get it set up, not at all! although i never configured vim, nvim is integrated with lua and not vimscript and ive heard its a LOT easier configuring, downloading plugins and really anything on lua. you don't really need pre-req knowledge on lua at all, just basic cs ideas (literally tables 😭)
i have my configs setup for C, C++ and python, however I've mainly only done C++ development with it for now. i can't speak for embedded systems usage, and I'm still pretty new to neovim myself however the biggest reason i've gotten neovim in the first place is because it's just so highly configurable to your liking that you can set it up for really any developer environment you'd like. and also i live on the terminal as well LOL
for short, if you're thinking of switching then go ahead and do it! i can provide some resources to get started. i personally configured from scratch but there's kickstart nvim which is amazing for people first getting in without the overhead of having to figure out from scratch and wtf to do
if you don't know your vim motions, start getting used to it cause yk, nvim. and vim motions are just the best way of getting around in your developer setup period
Hey, I'm not sure whether this is the right place for programming questions but: I need to implement the secant method to approximate the root of a function. One of the given functions is f(x)=tanh(x) with initial values x1=-1 and x2=3. This leads to the output NaN because of the asymptotes of tanh. I asked the tutor for help and he told me that if I make the method return an error message for f(x1)*f(x2)>0, all cases with asymptotes should be solved. As you may guess, that didn't work. I asked chat gtp, which implemented an if statement leading to the root becoming infinity. I am at my wits end and could use some help. Here is my code:
double secant(double x1, double x2, double (*func)(double), int &schritt, const double tol )
{
double xn; // Variable für die lineare Approximation
schritt = 0; // Schrittzähler für Konvergenzgeschwindigkeit
//triviale Lösung
if ( func(x1) == 0 ||func(x2)==0)
{
std::cout<<"0";
}
//checken ob f(x1)*f(x1)>0 => return 0
if (func(x1)*func(x2)>0)
{
std::cout<<"Bedingung nicht erfüllt\n";
}
do
{
// Berechne neuen Wert für die lineare Approximation
xn = x2 - func(x2) * (x2 - x1) / (func(x2) - func(x1));
x1 = x2; // für die nächste Iteration: x2 -> x1
x2 = xn; // xn -> x2
schritt++; // Inkrementiere
} while (std::fabs(x2 - x1) > tol); // Iteration wiederhohlen bis gewünschte Genauigkeit erreicht wird
return xn; // Ergebnis
}
Here is the code from chat gpt:
double secant(double x1, double x2, double (*func)(double), int &schritt, const double tol)
{
double xn; // Variable for the linear approximation
schritt = 0; // Step counter for convergence speed
do
{
// Calculate the new value for the linear approximation
xn = x2 - func(x2) * (x2 - x1) / (func(x2) - func(x1));
// Check for NaN or extremely large values
if (std::isnan(xn) || std::fabs(xn) > 1e10)
{
// Adjust interval away from asymptotes
double mit = 0.5 * (x1 + x2);
if (func(mit) * func(x1) < 0)
x2 = mit;
else
x1 = mit;
}
else
{
x1 = x2; // Update for the next iteration: x2 -> x1
x2 = xn; // Update for the next iteration: xn -> x2
}
schritt++; // Increment step counter
} while (std::fabs(x2 - x1) > tol); // Repeat iteration until desired accuracy is achieved
return xn; // Result
}
how do you call this function? with what params?
nope just me and my little terminal (kitty ftw)
i c a c user i upvote
another embedded systems enjoyer i c
also i literally didnt know anything about setting up neovim i just used nvchad till i decided to watch typecraft playlist
straight to the point and after a couple of videos you will notice a pattern making it easier to add you own neovim plugins
I call it with res1 = secant(a[i], b[i], funktionen[i], n, tol); where a[i]=-1, b[i]=3, tol=1e-8 and f[i]=f3 which is defined like this : double f3(double x) {
return std::tanh(x);
}
Sorry: funktionen[i]=f3
It's a vector containing other functions (which don't cause any issue)
Well I'm using embedded systems on the course I'm doing but I do have an Esp32 module that I will definitely tinker with once I get some vacations hehe 😳
What's the n param for? This maths stuff is a bit beyond me but so I can't really pin down if there'd be an error there but I know C++
n counts the amount of steps until the desired accuracy (tol) is reached (it is also called speed of convergence).
helloo has anyone done rsa encryption and can help me out? i cant seem how to find d which is the while (1+k*phi)/e
real
Can someone suggest a good video tut to study recursion which covers backtracking as well.
hello guys. I want to start coding as a hobby to replace gaming, cuz I don't know what else to do when I'm at my desktop. I know some basic python but that's about it. Where should I start? Should I learn something other than python? Where do I get coding problems to practice?
you can start with basic data structures in python and move on to projects .... tons of videos on yt
projects like trying to write an app/script or something like that?
something like that , i would recommend trying to implement some basic gui using python, i found that to be fun when i was starting out
https://www.youtube.com/@ClearCode
this guy has some great videos on python specifically
any reputed free algorithms mooc should cover that
thank you
shoudl i learn something other than python?
i heard its pretty ez to start with coding on python and it gets you going so you can jump onto the other languages
since your new python should be the best choice since its easy to focus on the main ideas of programming
if u really wanted to go in depth into the gory details of programming, C would be the better choice
which one
C
what about the ++ or #
too advanced imo, very easy to get overwhelmed
should i try to learn c++/# after Ive learned C?
hmmm.... i had the same mindset whn i started lol , but its like ... every programming lang just provides u with a different set of tools to tackle the same problem , what u can solve with c++, u can theoritically do in C / python , so its better to focus on key programming principles using one language you are comfortable with in the beginning
doesn't answer you question specifically but this video really helped me get comfortable with backtracking problems
https://youtu.be/HIt_GPuD7wk?si=rmWnmdLrPfq-E4QF
C Programming: Types of Recursion in C Language.
Topics discussed:
- Tail recursion.
- Example of tail recursion.
- Non-tail recursion.
- Example of non-tail recursion.
C Programming Lectures: https://goo.gl/7Eh2SS
Follow Neso Academy on Instagram: @nesoacademy(https://bit.ly/2XP63OE)
Follow me on Instagram: @jaspreetedu(https://bit.ly/2YX...
Harvard places all their cs videos online for free
Does anyone know why every time he starts a new section, he bends down to press the button? Switch to linux or something?
Does anyone here know how to become an Oracle Certified Java programmer? I would appreciate recommended exams to start with and any other learning resources. Thanks!
U mean james?
He has a monitor switch i think
It's a device where you connect multiple computers to it and there is like a button and some of them include usb ports, so what he probably does is start the session on the streaming computer and then switch to the computer he is using for studying
U can get one for a very cheap price it's really good if you use more than one computer at once and you only have a monitor
Do you know a free online tool that print lines and squares in my A4 white paper so I can write my notes in one line so it doenst look messy ?
Ms word
Hey, guys. I came across a question that said, "describe the process of asymmetric encryption". I would have said, “The message to be sent is encrypted using the sender’s public key and decrypted using the recipient’s private key.” They have it the other way round on the MS, and I'm struggling to wrap my head around that. Clarification would be much appreciated. Please ping in reply and thanks in advance for any help.
anyone knows how to run a mern project
i have copied someone' s project and now i dont know how to run it
you encrypt data with a public key to be decrypted by the corresponding private key. I think it becomes clear if you look at how the rsa key files look for example. Depending on the algorithm used you‘ll have a string sequence that is featured in both pub and private key files. The private key file however is a bit longer. This extra bit is what allows the recipient to decrypt files that have been encrypted using the corresponding public key
You can think of it in a practical way, too. You never give out your private key. You publish the public key so that encrypted communication can be established between you and any potential sender.
That's exactly what I'm saying in my answer, but the mark scheme suggests that decryption can happen with public keys. Also, how can a private key be used for encryption (when it says "the message to be sent is encrypted using the sender's private key")? I thought that public keys are always for encryption, and private keys are always for decryption.
decryption shouldn't happen with public keys, kinda defeats the purpose
you can however verify integrity of the data with a public key that has been signed by a private key
which is not encryption, just verifying that the data has not been manipulated
hello I need some advice, this month I would like to start a project and I like two ideas: 1. Linux From Scartch and 2. a small and simple 3d printer based on arduino, and I don't know wich one to choose
toss a coin:)
hi
anyone familiar with digital design ?
me too i m looking for someone to work on a C project
since I've never done some
I just did an implementation on the huffman algorithm
it was fun, if you know C well you can do it fast
omgg bro this is so cooooool
