#tech-related-help
1 messages · Page 23 of 1
Image dimensions: 314x498
Mimetype: image/gif
Thumbnail: (binary, 2478 bytes)
Image dimensions: 498x314
Thumbnail: (binary, 14473 bytes)
Mimetype: application/zip
Embedded filename: message/
Embedded filename: message/message.pdf
here's more if you need it
FileModifyDate: 2021-10-03T20:01:31.000+00:00
FileAccessDate: 2021-10-03T20:01:31.000+00:00
FileInodeChangeDate: 2021-10-03T20:01:31.000+00:00
FileType: GIF
FileTypeExtension: gif
MIMEType: image/gif
GIFVersion: 89a
ImageWidth: 498
ImageHeight: 314
HasColorMap: Yes
ColorResolutionDepth: 8
BitsPerPixel: 6
BackgroundColor: 0
AnimationIterations: Infinite
XMPToolkit: Image::ExifTool 10.40
Creator: Anish Raghavendra
Rights: aDNfdzQ1X2w0NXRfczMzbl80dF90aDRfbTB2MTM1
Title: The Journalist
FrameCount: 40
Duration: 4.00 s
ImageSize: 498x314
Megapixels: 0.156```
my visual studio missing System.Window.controls for data chart, anyone know what i need to install?
hii,could someone pleasee let me know what is wrong with my program?
//1) Find the maximum EVEN number present in the vector. If there is no even number write an appropriate message.
#include <iostream>
using namespace std;
int main()
{
int n,t=0,massimo=0,pm;;
float o;
cout<<"inserire la quantità di spazi nel array"<<endl;//"insert the amount of spaces in the array"
cin>>n;
int v[n];
cout<<"inserisci i valori dell'array"<<endl;//"insert array values"
for(int i=1;i<=n;i++){
cin>>v[i];
o=v[i]%2;
if(o==0){
t++;
if(massimo<=v[i]){
massimo=v[i];
pm=i;
}
}
} if(t>0){
cout<<"il maggiore numero pari è: "<<massimo<<"\t"<<"nella posizione: "<<pm<<endl;//1.-"the greatest even number is:"//2.-"in position:"
}else{
cout<<"non c'è nessun numero pari "<<endl;//"there is no even number"
}
return 0;
}
does anyone know where to buy a Kindy’s Reindeer Motor that is self reversing or a motor similar to it that self reversing when it hit some resistance it move the other way. the Kindy's website is out of stock of the Reindeer Motor
I don't know C++, only C, but check out this line
int v[n];
What you are doing here is to try to put an array on the stack, but you do not know how big n is at compile time, which means this cannot work. What you have to do instead is to dynamically allocate memory on the heap (with malloc, or similar). I suspect the compiler will be warning you of this when you try to compile.
i took computers like yesterday
i have taken computer in my high school
but can anyone guide me how to write pseudocode programs
or recommend any good source to learn
nvm i got it
Hey all, this might not be the right place to ask, but I'm on a quest to find a neat way of extracting annotations from a pdf file
can anyone help me with my code i have to print all the prime numbers from 2 till n but i am so lost my head is hurting so bad i genuinly do not understand what i just did this is my code
n = int(input('Enter a number.'))
i = 2
while i <= n:
j = 2
if j < i:
i % j == 0
Prime = False
print(int(i))
j = j + 1
else:
Prime = True
print(int(i))
i = i + 1
Google sieve of Eratosthenes
After you implement that, vome back and redo your solution
Make a program that checks if a number is prime in the first place
Can someone help me with a java code? I'm trying to create a method to ignore spaces while reading from a file
Hey! I need some help regarding linkedList using c#, Can anybody help me? HMU
Still need help?
yeah
@warm seal what's the issue ??
here is a way of doing that
char[][] letters = new char[SIZE][SIZE];
String line;
char ch;
String[] array;
Scanner FILE = new Scanner(new File("yourfile.txt"));
while(FILE.hasNextLine()) {
for(int row = 0; row < letters.length; row++) {
line = FILE.nextLine();
array = line.split(" ");
for(int col = 0; col < letters[row].length; col++) {
{
ch = array[col].charAt(0);
letters[row][col] = ch;
}
}
}
I wrote a code for inserting a node in a doubly linked list. I don't know if that's an issue in hackerrank ide or some fault in my code. Here's my code
{
DoublyLinkedListNode node = new DoublyLinkedListNode(data);
if(llist == null){
return node;
}
DoublyLinkedListNode current = llist;
DoublyLinkedListNode previous = null;
if(data<current.data){
node.next = current;
node.prev = null;
current.prev = node;
return node;
}
while(current!=null&& data>current.data){
previous = current;
current = previous.next;
}
if(current == null){
node.prev = previous;
node.next = null;
previous = node.next;
}
else{
node.prev = previous;
node.next = previous.next;
previous.next = next;
node.next.prev = node;
}
return llist;
}```
The error I am getting is in the last line of else loop saying next doesn't exist in current context
Anyone who has experience with the m1 chip, would u recommend it for compsci?
Hi. Have this project program. Students going on a trip. Every ten students, you get 1 free ticket. 10 students = 1 free ticket. 20 students = 2 free tickets and so on. Beginner programmer so don't know how to implement this into the code. If anyone know how to do this, please ping me.
To calculate free ticket, you need to divide ticket with 10
and then use floor function (https://en.wikipedia.org/wiki/Floor_and_ceiling_functions).
dm
nos=int(input())#nos stands for Number of Students
if nos%10==0: #checks to see if the number of students is divisble by ten
print(nos//10)#if so prints nos divided by 10
else:
pass#else it just ignores it
pretty sure you could have done this by your self but im bored
i can, dm me
Hi, can anyone help me with making one trendline for multiple parallels/series in excel? I can only add them one at a time which defeats the purpose of multiple parallels
I tried a method online with creating a new series consisting of all the points, but I'm unable to actually combine the three parallels. It only creates a new series of the first values I pick
Hey, guys !
I need some help
Trying to make a simple html code
But that image simply doesn't load
Doesn't appear when in browser
Is the src the problem ?
if I am right (idk 100% coz I started this year too), but when you put for image, put image in same map as .html document and just do example bj.jpg
Oh, okay bro, thx
ill try
did it work?
Yea bro, it did, thx a lot, btw, if u have some html projecto, dm me, so I can peek at it to understand a little more
project*
Anything rly
Ohh, sure I'll dm u a part of project we have to do now( website)
We r also using for help w3schools website where i can learn all programing languages html too, you may check that out
Whats wrong with windows 11??
no, did u save the img file in the same folder as the html file?
specs? upgrading also isn't the best, a clean install might be better
you can make a iso based on the latest dev channel updates on uupdump
this isn't help i know, but the x220 is so cool asf
@royal obsidian @wary hazel@dusky canyon
Sorry for not replying on time. We actually ended up solving the question. If yall are still curious as to how you've got to do it I'll try and explain it now.
nice. interested
First you install foremost on your linux terminal
Then run this command on the gif
ok...what does foremost do?
it's used to recover data basically
it's essentially a data carving tool
a lot of data recovery centers use it for small tasks
for further information you could probably google it
This has nothing to do with the question you've asked, maybe I didn't get it.
What you were asking was about steganography.
btw this tool is already installed in Kali for forensics purposes..
So you question was not about decryption of anything
yes gimme a min
so at first sight, i think it's clear that message.pdf is within the zip file
the 2 extracted files will be stored in a folder in the pwd
in my case the pwd was the root directory and the directory containing the 2 extracted files was output
Kinda bummed that it's just a matter of one command haha
unzip 00004428.zip
go to your file explorer
open message.pdf
oopsie password protected
Ahh, Was it a forensic CTF?
So now from the metadata of the image you'll find that the license
yessss
is pretty weird
let's go back to this message by @dusky canyon coz it contains the metadata
do you see how the rights is basically base64 encoded. So you decode that using an online base64decode software (https://www.base64decode.org/).
Our password is :
Ah, cool
there's a Google Developers Club in our university. They were hosting a CTF.
The other way around is called steganography, so basically you had to find the data encoded in the GIF or whatever you have
even though I have no interests in forensics, but it's cool ^^ good job
That's exactly the same way DeepSound works, go up there you'll find the message. You can hide stuff in mp3 and protect it with password
Yeah, it's why you gotta learn how things work in the background, with simple scripting knowledge you could make the tool yourself 🤷♂️
facts.
it was our first CTF tho
XD
we're learning now tho
no just general knowledge
get better at CTFs
im just exploring rn
Because if you wanna be a digital forensic to work with gov or anything, you gotta read a lot and take few courses 😅
idk what i'm interested in. it's DS/AI/ML on a Monday
Cloud Comp / Distributed Computing Sytems on a Wed
and CyberSec and Hacking on a Sunday
Maybe take a look at https://www.root-me.org/, in every challenge they provide you with resources to read and learn
Better than just doing a CTF trying to figure out what to do with no background🤷♂️
This is very cool
will be sure to check it out tysm
Hello, anyone here willing to lend some help to this noob person about for-while loops😅(dm?)
jus drop your queries
here
i would defo add hackthissite org , picoCTF and tryhackme me to the list !
Yeah.. hackthissite, picoCTF are so stupid.. THM is good.
HTB as well
I did all hackthissite challenges.. Believe me they don't add much value. PicoCTF is just a CTFish stupid stuff. THM is pretty good for learning yeah. root-me is awesome as well.
THM and root-me are pretty good for learning and hands-on. HTB is for people who know what they're doing.
This is so cool thx man learnt something new today
nice will check them out
depending on the programming language i would be using a for loop in this scenario. i would use a method to determine if the value passed is "numeric"
if you are doing it in java. im sure there is a similar method for other languages
then store that value in a variable so you can compare with other numeric values to get the largest int
can somebody help me with this problem
The Barking Lot is a dog day care center. Write a program that accepts data for an ID number of a dog’s owner, and the name, breed, age, and weight of the dog. Display a bill containing all the input data as well as the weekly day care fee, which is $55 for dogs under 15 pounds, $75 for dogs from 15 to 30 pounds inclusive, $105 for dogs from 31 to 80 pounds inclusive, and $125 for dogs over 80 pounds.
using c++ #include<stdio.h>
LOL, I think we have Java in this semster gonna spend some time reading about it too.
Got a question for those who do web development
do you guys use XD
for your projects?
there is a nice extension that turns your project into an html CSS file
wondering if anyone has made a working product using XD
thinking of scrapping the arch laptop and turning it into a NAS but ive read online you need at least 4gb of ram to make a NAS but some say the bare minimum is a 2gb of ram(i have 2gb of ram),if it will not be enough, any ideas on what i should do with it?
Django backend, html CSS frontend, deploy to live server of heroku
hye i have to do some project like a system but idk what system. so any suggestions? ASAP
How would i do this this is what i got so far
<!DOCTYPE html>
<html>
<head>
<title>Title</title>
</head>
<body>
<h1>Name</h1>
<h2>About me</h2>
<p>About me section write at least 2 paragraphs
About me section write at least 2 paragraphs
About me section write at least 2 paragraphs
About me section, write at least 2 paragraphs.
</p>
<h2>Hobbies</h2>
<p>Hobbies could be anything you like to do in your free time.<p>
</body>
</html>
I use w3schools
in your <head></head> add a <link> tag where you will be referencing your .css file
in your css file you will code all of the fonts, colors, background-colors, center aligns
you will be doing something similar to this but doing it on the personal2.css file not on your html file
ie. changing the color of <p> to red
google is your friend if you want to do something as well as using w3schools
ie. position the text in the middle of the screen, how do you insert a video on your webpage, etc...
that assignment looks very familiar 🤔
I love indian food
Me too, but it's almost always very spicy🌶️
Quick question: is it possible to recover from a bsod without formatting
I did try updating the drivers tho
Digital Systems: If a typical PC uses a 20-bit address code, how much memory can the CPU address?
I am new to this, so idk how please help
<@&717391911132069929>
Why? Just why?
That's the only reason y most Indians stay in india
Yes, depends on what causes the BSOD
Look up possible fixes online, might vary based on the version of Windows 10
Sometimes restoring bootloader works too
Will do ..thanks!
Hi, im gonna have to learn C sharp, does anyone have any tip for begginers? (I do not know any other programming language, i really am just getting started). Thanks in advance : )
Try making small project like calculator or terminal based game
And have fun I guess
i would start off with nailing the basics and fundamentals => start off with the hello world program
creating variables, functions, methods, etc.
there should be a free online course for C#
Thank you!! I will search it up : ) @strange zodiac @twilit hornet
Don't forget to have fun and good luck! @quiet vault
Thanks! Im new to this technology area but i have been working with some simple stuff that also requires variables and that but its in another program and i am enjoying it quite a lot actually : )
thx
Thanks bruh 😊
Love from India too❤
does anyone know what os james is running?
I guess he uses arch..
arch user cringe
how would i code using arduino uno to make two vex 393 motor to turn/rotate 360 degrees for 4 seconds then wait for 4 seconds, then turn/rotate the other direction for 4 seconds
im trying to make a program on finding roots of quadratic equation in c++, (im a beginner) can anyone tell me what am i doing wrong?
#include <stdio.h>
#include <math.h>
void main()
{
int a, b, c, d, sq, sq2;
printf("Enter the coefficients of quadratic equation");
scanf ("%d" "%d" "%d",a,b,c);
d = (bb)- (4ac) ;
sq= (-b + sqrt(d) )/2a;
sq2= (-b - sqrt(d) )/2*a;
printf("The 2 roots are ");
printf("%d" "%d",sq, sq2);
}
You might wanna check if the roots are imaginary
That's possible if 'd' is negative
hey guys I'm currently taking a module on Algorithm and I'm confused about the math behind it, do you have any suggestions/ reading material or resources that might help
Data Structures and Algorithm Analysis in Java by Mark Allen Weiss
Quite possible that the roots of certain numbers be imaginary so you have to check
anyone can help me with a string problem?
does anyone here know about styluses? i want to buy one for note taking or drawing graphs and diagrams and stuff etc
Are there a computer Engineering students??? Please help me to find a path to be a computer engineer...I'm a beginner for this field...
I'm a software engineer wannabe x) I don't really know about computer engineering sorry
Thanks for your feedback bruh
Good luck 🙂
what language and what is your problem
if anyone have some experience on trading contact me
Guys should I pursue one field at a time or should I do two things at the same time? Currently stuck between programming and mechanical engineering both are my passion so... It's hard.
What are you majoring in
I dropped, but I do programming and since I was a kid my passion is machines and stuff idk what to do, nxt yr I could pursue mechanical engineering or I would just continue with software development, what should I do?
thanks dude!
Please help. I got my CyperPowerPC (3 weeks ealy, yay!) but these parts were sent not already set up in my PC. They came in the Z590 VIsion G Gigabyte Creator Motherboard box. I don't know what to do!
Came without instructions. Everything else seems to be in the PC already. Will pay for help 😦
Planning to run Linux on a VM, what distros are good for beginners? Ubuntu? Arch? Does it really matter?
It doesn't really matter, depends on your end goal. For complete beginners Ubuntu is quite lightweight and good for learning the command-line. You can get Lubuntu and Kubuntu if you want, they're even lighter.
I'm a beginner so I think I'm going to go with Ubuntu. I've asked around in my CS classes and my class mates were like half and half
I mean it depends on what your CS classes teach actually. I didn't know you were taking it for college.
Do you have the syllabus of your CS linux related classes?
I can take a look at it if you want
why not duel boot?
Duel boot isn't a good idea for beginners. He needs a virtual machine to practice on, there are a lot of dangerous commands or trying commands can lead to the deletion of sensitive files he owns, accidently.
It's better to simulate the environment, like if you're training to be a pilot they don't let you get on the plane and fly until you've went and tried everything you've learnt in a Flight Simulator.
makes sense.
The problem with emulating ubuntu in windows is that performance is near to none existent with the options you have in my experience even with good hardware
Or I probably just don't know how to do it but whenever I tried that the lag inside the emulators would be terrible
ive got myself a hp stream 14 with linux mint. works well
Umm, not necessarily true, I think 2 GBs RAM will work just fine, I used to use 1 GB in the past for running couple of VMs together.
Xubuntu and Lubuntu are really lightweight also
If Ubuntu didn't work well~even tho it will~ he can use Lubuntu
It also depends on the software you're using.. VBox is more light than VMware
I like membrane keyboard
Ubuntu, def!
what do http protocol and distributed systems have in common?
ive only ever used dual boot but ive heard vm sucks lol
Ohh
Can you tell me how much storage should I allocate to Ubuntu if I go dual boot ?? And pls tell me the reason why vm / dual boot is better??
I am gonna search it google as well
X = [320, 400, 41, 4, 745, 9] then max = 9745441400320
how to write a python program that would print out the max number from a list
x is the list
then max there is the output
You mean you need the max item from the given list?
If you need to find the max from the list you can use .. max() function
x = [320,400,41,4,745,9]
print(max(x))
Output = 745
Actually vm is best if you need to upgrade or practice linux skills .... Or else you are done with windows and want to move to linux . Dual boost is the best choice.
Ooo okay thanks
no but to combine all this number in the list to made it the biggest number
Going to be doing a group project through out my semester. Would github be good for my team to use? I never used it with a team only by myself
Of course yea
Do you have an expected output?
@topaz urchin I would just have to create a repo and invite them to it and give them access? Sorry for the questions lmao.
little confused on what is wrong here
slash at the end, 2nd line
Hello! 🙂 I am learning basics of Java and struggling with deleting elements from Object []. I have a problem when there are 2 element in a row that need to be deleted, my method ends up deleting only one 😦 I searched for algorithms online, but they have the same issue - they skip second element, if there are 2 elements, that need to be removed from the array... Maybe anyone could help me? 🙂
@idle dew lemme c ur method
if im trying to fetch an API is it better to use useEffect() or componentDidMount() in REACT. which is "better" and why
Can someone explain this question for me? It's quite basic but I still don't get how B is different from the rest
this is python btw
The last one 0 = 0.0 is an assignment operator, you assign right side to left side, which will cause an error
Well, let's take a look at the rest.
The first one is a comparison operator comparing two values if they're the same, and 0 is the same as 0.0
But if we come to the second one we'll see is keyword is used, and it's used to check if two variables refer to the same object. So if both values are equal but don't refer to the same object it's False.
Ugh IDk how but the first message got deleted
o
Oh I already said it nvm
so "is" has to be exactly the same?
The same object
yeah like, "0 is 0" would be true but "0 is 00" is false?
No
00000000 is 0
Yeah
0000000.0000000 is 0.0
Why apologize for lack of knowledge, I didn't know anything until I read and studied it.
tru tru
Good luck
thank you
this is so hard TT
i want to build a mini solar system to charge my stuffs, i I searched about it a lot but there are still things i don't understand. Can somone help?
Hello,
I would like to move an Application to one Screen from Commandline under linux.
I have found three solutions, does anyone have a diffrent ideas?
-
i3 related
-
via script with wmctrl
-
via another script with xdotool wmctrl
I am using i3, but i don’t understand why it is so comlicated.
Does anyone have a better solution
Can anyone tell me what the stop band attunation is for this low pass filter
i assumed it was 70 db
Trying to understand this
Im getting this error code in vs code while i was typing a simple java program..........
"Exception in thread "main" java.lang.Error: Unresolved compilation problem:"
is AMAZON ALEXA - an AI considered as a technology driver? why? give examples of what alexa can do
yes, cuz its the "next step" in building more smarter and advanced devices. with the invention of alexa and siri, triggered the race for creating more advanced and better smart voice assistants.
alexa can literally do anything ranging from playing ur fav song to ordering groceries
just elaborate on these points and also, use a formal language
i want to convert celsius temperature into Fahrenheit in c programming but can't get what i want
this is the code i wrote..
#include <stdio.h>
int main()
{
float celsius, fahrenheit;
fahrenheit = (celsius * 9 / 5) + 32;
printf("Tell me temperature of your city in cesius");
scanf("%f", &celsius);
printf("the temperature in fahrenheit is %f\n", fahrenheit);
return 0;
}
#include <stdio.h>
int main()
{
float celsius, fahrenheit;
float const t = 32.0;
printf("Tell me temperature of your city in cesius\n");
scanf("%f", &celsius);
fahrenheit = (celsius * (float)9 / (float)5) + (float)t;
printf("the temperature in fahrenheit is %f\n", fahrenheit);
return 0;
}
I think you have to cast the int to float, and also you have to assign the result to your fahrenheit variable after getting the value of celsius from the user
I'm not really good in C but I think that's how it works
It's kinda messy but I hope you got it 🙂
Oh and if you want to get rid of the 000s consider using %.xf, where x is the number of 0 after the dot
thankyousomuch
Hey guys. Can you help me a task :
Write a funtion that takes your date of birth in: YYYY MM DD as input as well as
the current date, in the same format. The function let you know your age in years,
months and days. Note: You should check for leap year also. Write a separate function to check for leap year.C++
Thanks guys
wheres the code you worked on?
i can start helping from there
and tell me which parts dont work
Hi, im trying to use a sensor of humidity and temperature with arduino but for some reason the coding part isnt working, can someone help?
Do you call loop() anywhere?
Ah im really clueless with how this whole thing works as i am only getting started so i honestly copied that from the internet and also downloaded the library but it tells me there is something wrong and i really dont understand what
The purpose was to make this basically
It is now giving me this error
try
DHT.read11(pinoDHT11);
I think you are using blankspace instead of a period.
and if that doesn't work, try DHT.read11(&pinoDHT11);
I did use blankspace instead of the dot cause it was giving me an error but now ive just put it like u said and it is giving me the same error is it possible that i am connecting stuff in the wrong way in the breadboard?
Also thank you so much for taking the time to try to help
I assume this is the code you are using
#include "dht.h" //INCLUSÃO DE BIBLIOTECA
const int pinoDHT11 = A2; //PINO ANALÓGICO UTILIZADO PELO DHT11
dht DHT; //VARIÁVEL DO TIPO DHT
void setup(){
Serial.begin(9600); //INICIALIZA A SERIAL
delay(2000); //INTERVALO DE 2 SEGUNDO ANTES DE INICIAR
}
void loop(){
DHT.read11(pinoDHT11); //LÊ AS INFORMAÇÕES DO SENSOR
Serial.print("Umidade: "); //IMPRIME O TEXTO NA SERIAL
Serial.print(DHT.humidity); //IMPRIME NA SERIAL O VALOR DE UMIDADE MEDIDO
Serial.print("%"); //ESCREVE O TEXTO EM SEGUIDA
Serial.print(" / Temperatura: "); //IMPRIME O TEXTO NA SERIAL
Serial.print(DHT.temperature, 0); //IMPRIME NA SERIAL O VALOR DE UMIDADE MEDIDO E REMOVE A PARTE DECIMAL
Serial.println("*C"); //IMPRIME O TEXTO NA SERIAL
delay(2000); //INTERVALO DE 2 SEGUNDOS * NÃO DIMINUIR ESSE VALOR
}
If this does not work, then yes, I believe you have connected something wrong
I copied that same code to a new tab and it gave me that error
but yes that is what i was using, it had more stuff because i also have leds
actually i just noticed what u sent me is different from what i had
i had pin and u put DHT
it means you are unable to include the .h (called header) file
in the tutorial, you need to check if you have done these steps correctly
I think you can check if you have it included correctly, if you find "dht" in this menu:
i think i did it
i only need to learn how to read the temperature and obtain the information
thank you so much for the help given
Im so sorry to bother but in the video its like they open this tab and it says the temperature that the sensor is capturing could u tell me how i get there?
so that is how, im really clueless sorry. For some reason it reads as if its zero celsius tho
also i know those stuff written isnt in english if u want me to translate anything i can try
I'm not 100% sure what it can be
do you have the blue or white sensor?
I will try to ask my teacher if he knows why it is giving me 0 celsius then, the class is not really bout programming but maybe he can help. Once again thank you so much!
I think I know what could be issue, you might have mixed up the wires, because your version of the sensor has a different pin layout from the one it the tutorial you are using.
try to swap red and purple cables
if that doesnt work, then i have no idea
That's it, i honestly didnt knew it had an order. Thank you! Couldnt have made it without you : )
Whos buying new macbok
i like the notch
thats my hairstyle
is there any hacker 90s pixelated game theme music?
i have done cs50 harvard course and also the chales severance (coursera) python course , i wanted, also i am currently studying machine learning by andrew ng , am i eligible to apply for some company
Would you recommend cs50? I'm thinking about taking it as well but I'm not sure what the best courses to take would be for someone who wants to learn ML.
cs50 is a very reputed course , almost everyone loves it , but i am unaware of your current experience so i can't suggest, else this course is for everyone , no restrictions/prerequisites
Job will depend on degree you have. There are people who say only your skills matter but that is in the later part recruiters prefer people who have atleast bachelors degree in relevant fiels
so if somebody do not have a degree they should rather start their own business than look for job , am i right ?
So, guys, I need help, a teacher of mine asked us to do a Unrolled Linked List in java, anyone with an idea ?
ARE U STUDYING JAVA
@deft badger
Not necessarily. If you have a lot of projects and contributions to open-source projects you can show (f.ex. on your github), you can (hopefully) get a technical interview where you can prove your skills. But yes it would be very hard to get an interview if you don't have a way to prove that you are a decent programmer
have no idea what that is lol
this might help you
Any recommendation for research title with Hardware and Software?
I am, my teacher asked me to do an unrolled linked list
Cant do it though
Somebody please help, my potato pc is stuck with this 'WELCOME' screen for like an hour now 
There can be many issues that cause this, perhaps try force restarting it
And see if that leads to a different result, whether positive or otherwise
@stable saddle
Gosh, it worked! Thank youuuuu 
@stable saddle As a troubleshoot and precautionary measure
Please have a look at what apps run on startup
One of them could be causing an issue
What does the symbol that looks like a roman numeral II indicate lol
i'm referring to a ppt and this is the first time i'm encountering something of this sort
If I remember correctly, the symbol you're referring to is pi. It's product notation. So similar to how you sum every term with Sigma, you multiply (I assume with respective weights in this case). Not entirely sure tho so someone please fact check me...
for example:
Can anyone help peer review my SQL statements? I'm trying to run this but it keeps erroring out. Did a get any syntaxes wrong or something....?
i would have a statement at the top DROP TABLE PRODUCT
one thing im certain is that unsigned is not supported by Oracle. the rest looks good and it does create a table and insert the values into Product if you remove the UNSIGNED
im getting a red squiggly line
this is what im getting
not too sure
this is my first time seeing UNSIGNED
the only thing i know how to go around this is by adding a constraint to ID
The likely truth here is that the symbol indicates an evaluation of the succeeding boolean expression (which gives 1 if expression is true, else 0). It might be an incorrect application of the Indicator function. Usually the evaluation of a boolean expression would be indicated with Iverson brackets.
can someone help me in arduino and python (seperate things)
Hello, I would like to take a device to be able to work on my medical courses.
I am hesitating between a hybrid and a tablet. Even if I think that a hybrid would be more adapted.
I saw ads for a thinkpad x1 yoga G1 at 650€, do you think it would be a good purchase?
What do you need to know about python ?
from zero
i know nothing
where do i begin
what do i do
all ik is pycharm is an ide
I've got a PDF i used for my python class if you want, very beginner-friendly
@idle dew
Regarding Arduino, you should look for online beginner guides/tutorials. I think finding one all-in guide that covers all the fundamentals is way better than jumping between 300 short ones that each teach only one concept
yep ok will do, tysm
@idle dew Don't worry I haven't forgotten about you, I'm just busy
I'll send the pdf as soon as I can
Hey, if u find some good tutorial on arduino would u mind sharing it ? I am also getting started and i have a project that i will need to work on but i find the programming part quite hard
Actually same, I've been waiting for too long to get started on Arduino lol
I guess we can all help each other if we need then. I will need to measure like CO2 and temperature and that stuff using arduino but im not even sure which language arduino uses, is it just c?
No it uses Arduino's own programming language
You'll be able to find the docs online
Ah alright i guess it is gonna be even harder then
Is this where I can get comp sci help?
Yup
thanks so much man sorry for the late reply fell asleep
i can look but i need help myself, thoughts on creating a group working on arduino? unless there is one
Anyone here familar w vivado/MIPS that could offer some help?
That could be a good idea im really just a beginner myself too tho
true i was just thinking we could learn and help each other, but if ur not interested i understand
Oh i am interested! Cause sharing the knowledge we get is probably way easier than learning everything alone
I will probably just ah study it until the end of this school year tho
yea same
Great, let me know if when we could start
Well i manage to use a sensor for temperature and humidity but this material is borrowed (not sure i think that is the word, basically the teacher lend it to me i will have to return it tho) and i will only be able to bring another sensor in like 2 weeks so until then if i could learn about the language it would be great but i dnt have any other sensor to make experiments in. Are u gonna try to learn the programming part or any sensor or something else?
well i need to be able to control a haptic engine and a pneumatic (wishful thunking) or hydraulic (if all fails an electric linear) actuator, as well as a couple of dc vibrating motors attached to a spring so, i will most likely learn the language first before acquiring the parts.
this may not be the best way to go about doing it but, we shall see
Well i honestly have no clue what those stuff is, i think what i have to do is probably way simpler but still i also need to learn the programming part otherwise i wont be able to do anything
Great me neither ahah
Well what i did when i started was to turn on some leds
Do u have arduino and that stuff or u having it lended to u?
Ah nevermind u said u dnt mb
hahah all good
i will get some though
no point learing without the components
will start simple
like you with led
s
Alright u will need some cables and ah idk how to say it in english like a resistence?
I dnt really know is where to start learning the programming part
a resistor?
neither
youtube is useless
Ah that is probably it, cause i dnt think u can connect the led like directly with the cables without the resistor
yea u cant
idk much about it
but ik bits
yep a resistor
are there different types
if so
how are they different (ik they have different resistances) but in terms of usage
Well i honestly dnt know i just took the one the teacher had but i dnt even know how many ohm (its ohm right?) it has
yea guess we will have to learn that
Arduino is an open-source electronics platform based on easy-to-use hardware and software. Arduino boards are able to read inputs - light on a sensor, a finger on a button, or a Twitter message - and turn it into an output - activating a motor, turning on an LED, publishing something
arduino tutorial
seems really good
Yeah the thing is for instance i measured the temperature and humidity but i will need to be able to send those data as it is measuring to like my phone for instance and idk how to do that
Thanks, i will check it out
hi guys i've been using ubuntu for my laptop i program with for a while now i'm thinking of switching to arch anything i should know or tipps
any coder?
is anyone good w Unity and c#?
im making a black jack game in c#, how do linq helps with that. i know it is query based. but how would it helps make writing code better
do it in a vm first and understand why you're partitioning your HDD the way you are and what filesystem youre choosing... everything else you can change your mind about easily
guys i need some help
i need to buy a machine (desktop or laptop) that can run arch but idk what to get
it also needs to be able to run windows so i can play a couple games in my spare time
what's your budget?
in usd?
Yep
2500
took me ages to save up though
ok, let me see
did u find anything
Thinkpad/system76/dell xps
comes out to 2100
you could also save money on the case, SSD and the fan you dont really need the CPU comes with a a fan( i didnt know if you had a monitor/keyboard/mouse so i just included them)
you dont really need a $2500 pc if your doing casual gaming i also dont know what your going to be using it for. my advice is keep the CPU, GPU, Motherboard, RAM from that list the same and do your own research and save money on the rest : )
you can always upgrade in the future
I made this: https://pcpartpicker.com/list/
I would recommend wait a little while, zen 4 is at the corner...
new intel apparently beats out current zen so all signs point to wait a minute
i want a nice tutorial on CSS
ANY RECOMMENDATION
TODAY I MADE A SMALL LANDING PAGE OF A WEbsite
it took me 3 hours straight
i want to sharp my css skills
Work on fixing this site…
Twitter icon isn’t inline and the explore more button doesn’t reset state
thanks for the feed back ya in mobile that explore more button is not resetting
ive just spent about 3 hours trying to absolute position a svg so i feel your pain
you can also get a cheap laptop (<500USD), like a thinkpad (many guys on yt and so one tell you the best models) that you can install arch on, and later on when new gen cpus come you as said above build a PC for gaming. That setup (laptop work +desktop gaming) works for many people I know.
The color stripes in the resistors tell you the resistance (look up a resistance color chart), and the resistance defines the current it will draw given a certain voltage (arduino has 3.3V and 5V pins, iirc). So you need to choose a resistance that will draw the correct current for your LED (V=R*I, you can look up what operating current each LED needs for each color, they usually need around 20mA iirc, but check datasheets or manuals if you have), or else LED will either not light up or you'll destroy it ahaha. If you need some help with arduino and circuits related stuff I'm happy to help!
Anyone good with python coding
if not I could work around other syntax as long as I understand th elogic
Thank you
I see ty i will look into it
Thank you
What's your question?
yess
Hey guys does anyone need notes of python
<@&717391911132069929>
Write a program that mimics a calculator. The program should take as input two integers and an arithmetic operation (+, -, *, or /) to be performed. It should then output the numbers, the operator, and the result. (For division, if the denominator is zero, output an appropriate message.)
Guys I need help with these :((
@agile sonnet have you figured it out yet? For starters look at line 22. Then line 14. What do you have there that should be changed? Also look at line 31. See what you can change there.
Hey everyonee! I'm currently doing my ITGS Extended Essay research on the Samsung Knox security platform, and I need to gather info on people who use Samsung Smartphones. So if anyone could spare a short time to answer this survey, it would be amazing help!! 😄 Thank youu: https://forms.gle/s3EEktBQGWBbfKGc6
Hello! My name is Muhammad Sean Arsha Galant of 12E, and I am an IB student in Mentari Intercultural School Bintaro conducting an investigation on the Samsung Knox Security System for my research project called the "Extended Essay" in ITGS (Information Technology in a Global Society).
One of the primary sources of information for my research i...
thanks by the way :))
Have you figured it out?
hello
Hi
hey to all my linux anki users out there
do any of you use external tools?
for writing cards, managings stacks etc.
Hello, I’m going to ask it here but I’m not sure this is the right place. Can iOS 15 be automatically uploaded ? My mom has an iPhone 7 (iOS 14.8) and the update could be bad for it…
Depends on her settings but it can
It is set on « automatic update »
But I wasn’t sure this would also concern the switch to a new ios version
It’s does I think
Try checking on YouTube
But I also have iPhone 7 with iOS 15 and got no performance problems atm
Oh really ?I heard that the iphone XR had some battery issues after the update so I through that the 7 moght have some as well
hey
no
tahts my name
@solemn zephyr
i love potato
i will talk in some time
Has anyone made an online resume?
Yes
just confirming guys is it safe to rotate a laptop fan when the device is completely powered off
like rotate for like 5 seconds
If you’ve already done it. No
If you’re thinking about do it again. Yes
yes @olive cipher himself has
Can anybody explain what threading is in cpu cores
anyone knows how the demorgan law works?
i mean you just kinda have to remembe but it makes sense when you the venn diagrams
i think of it as multiplying the not with A and B and then reversing the sign in the middle
if that makes sense
and when you factorise it out it flips agane
ahh yea thank you
Hii tech buddies. Can you please suggest me some good online academic journals about computer science and related fields
resume.io is the best
I'm making a web page I'm not interested in that type
Just wanted to see what design people have come up with
Well I just made a portfolio using html and css
Yes but how did you come up with a design, color theme
i have my own website if you want to take a look. its not a typical resume tbh
https://heyfrancisco.com
Personal website of Francisco do Ó
Well since I just wanted it to be a lil formal so I Googled the formal pallette
Um well anyone?
hello does anyone know what are the DOS commands here:
For bash Linux whats the diff between who and last?
i would try looking here. ive used them for school but i havent been really using atm so i cant help too much
you will for sure be using wildcards
Thanks!
im sure there are other websites that may help
but i went through the list of commands
they should give you want you need to do it
especially this part
should I remove my motherboard when removing my cpu cooler
i think you should so you get a more open area
what are you removing the cpu cooler for
to clean the cpu cooler and reapply thermal paste
haven't cleaned in a couple of years
yeah I thought so
Hi I have a notebook with 256go of storage and I was wondering if a dual boot Windows/Arch was worth it ?
could someone DM me i have an assignment and struggling to find the solution
assignment of what subject?
done 🙂
I hate assembly
Wow I didn’t know they still taught Microsoft dos
can anybody help with C programming?
I am a python person
You can start learning python first
Can someone explain me the uses of else command in python?
The else keyword catches anything which isn't caught by the preceding conditions.
for example
a = 200
b = 33
if b > a:
print("b is greater than a")
elif a == b:
print("a and b are equal")
else:
print("a is greater than b")
since b is less then a it will move down to the next statement, in this case the elif
and since 200 doesnt equal 33
it moves down the next statement
the else will then execute if the other preceding if conditions did not
so it will print out a is greater than b
you can also look at this if you want to read more about it
Thank you!
I just started learning so
I have made a simple calculator with python it works but I am trying to figure out I can only run it using python interpreter is it possible to make it in to exe
Here is the calculator
Anyways I am Zidan and I am 15.
@strange zodiac
nice to meet you. I've only scraped off a little bit of python so I wont be able to help too much
been busy with other stuff so my progress on learning python is still at beginner level
Cool
Sure mate
anyone?
ping peeps?
banned!
look at line 3 and line 5
?
it is a loop but what kind of loop are they using
look at the end of line 5 and look at line 3
u can speak tagalog right
does anyone know how to use tkinter
I don't like how my prof teach us in programming he always shared a video lesson and he didn't even explain it on us
if not ask
i have those types of teachers as well
just ask any simple questions
ok bro thank u! I think I disturb u you playing LOL
I hope i got the right answer
4 and 5 look good
i dont think 3 is right @hasty saffron
i feel like it should be ALL
ok i searched for it
i already found the right answer
im 14 and im trying to learn computer engineering
lets say i have some free time....
so if someone could give me a syllabus it would be desirable
oh wait yall actually got programming
`num = int(input("Please choose a number to divide: "))
divisorList = []
for number in list(range(1,num+1)):
if num % number == 0:
divisorList.append(number)
if len(divisorList) <= 2:
print(f"{num} is a prime number")
else:
print(f"{num} is not a prime number") `
This code is broken, can someone tell me why?
Hey ! Anyone who is intersted and familiar in Algorithms to handle huge data sets!!! ...
*interested
I think you didn't define the num... 1st can you tell what's that num
I think you declared that num as an input value ?
no idea what i did wrong
num = int(input("Enter number: "))
divisorList = []
for number in list(range(1,num+1)):
if num % number == 0:
divisorList.append(number)
if len(divisorList) <= 2:
print(f"{num} is a prime number")
else:
print(f"{num} is not a prime number")
Try this fast
Yeah that works
Okay
😂
i did
*here
Wait
I got it the ouput
nope
learning programming will help, I recommend you to start with python/java
https://java-programming.mooc.fi/ this is a nice course if you are interested
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.
I want to start competitive programming, where do i begin
to experienced people, do you think the 100 days of code python udemy course is worth it? I've purchased it but was just wondering if this is actually a good course to start 😀 am hoping this course could lead to me coding at a level where I could potentially get a job iin the tech/software eng area?
python courses are good for beginners and for sure u will learn a lot from it, but that being said for future references, you can almost always find resources online for free. so depending on how much u spent id say its worth. and for the second part, i dont think a course alone will be able to get you a job. ill certainly strengthen your understanding in a lot of core concepts, but this alone without any other programming background will make it difficult to get a job. That being said, if you learn everything it has to offer and maybe make a few side projects to go along with your resume, imo it can certainly be done. and udemy courses are pretty nice, i did one on vue around a year ago and i learned a decent amout!
also look up leetcode and start breathing it lol
looks good
nice
please don't use that email as working email lmao
It's fake
what are you trying to learn exactly? i could recommend books
Is there a software developer here? what are you writing as coding language? How does working about coding ?
Yesssssss it is, it's really engaging and comprehensive
Totally worth it, I didn't buy it though
I got an online copy
Looks good but i think u shud change the bg
Like a vector or smthg, uk so that ur text and img pops out
And also, can u send ur about page as well
I rly think u might not need it that much
And also, don't make a separate page for contact
Ur clients shud be able to access it easily
Oh alright
anyone has ever worked with bayesiannetwork in python? i need help on cp tables
Yes I am a developer. I utilize a bunch of different languages at work. I have used C# (.Net), Javascript (node and react) and a bit of python. I am not sure about your last question.
I think it's better this way. Having a "Contact" page is very conventional in the professional field, and helps you keep the front page aesthetic and light.
If headhunters are interested in her profile, having to click once on the "Contact" button is definitely not what could change their mind
@tall cosmos
Anybody interested in teaming up for a game jam?
I also know a few languages, but due to my education I have to be more serious. so I don't know how to work
Also I in the main page I'd have my email under my name and in contact phone number, bigger email, and a why to send me a message fast through the website
Atleast that's what I was thinking
@idle dew Ohh I hear that. Coding is one of those things that if you are talented enough you can get on the fly and be fine. I didn't have that luxury. I had to make a decision of what I cared more about and go after it. So if you are interested in coding just start with one language and get good at it and apply for roles for that support one language. And then once you get a job you can begin expanding.
I started out with Java and by luck I was able to land a role that actually was doing C# but because I had good understand of java I was able to quickly pick up C# and that is how my career got started.
Hey, anyone here has experience with Hadoop Streaming?
That's really good advice, I'm starting the same way as you did
does anyone know why this is true? p = not False or True and False
because i thought that true or true -> true and false -> false
ahh i see thank you very much
"and" is treated before "or", just like how in math you compute "*" before computing "+"
sure
hello hello does anyone understand how to use netbeans? my lecturer is horrible at explaining and i dont know what online tutorials to take :/
Where are u from?
Isn't that just an IDE like eclipse? What's there to understand?
if its like the setup u can prob just search netbeans setup (mac/windows) and pick the one with the most veiws lol u can prob get it like that
Europe
The IDE is confusing, I wanted to ask for any videos or something that anyone would recommend explaining how to use it.
It's ok now
thanks
Hi I want to learn C# anyone know what a good first project would be?
https://blog.udemy.com/c-sharp-projects/ theres a lot here, it says for beginners but seem a bit more complex
Cool thank you 🙂
Hi, im also learning C sharp and here are some tutorials i found that seem interesting https://www.w3schools.com/cs/index.php and https://www.codecademy.com/learn/learn-c-sharp . Hope it helps : )
W3Schools offers free online tutorials, references and exercises in all the major languages of the web. Covering popular subjects like HTML, CSS, JavaScript, Python, SQL, Java, and many, many more.
Thank you I appreciate everything !!
i just got an ipad and an apple pencil and my note taking skills have went down the drain. I use noteability and one note. Does anyone have note taking tips for math on ipad. Also Ive found myself note looking over my notes after I write them so should i take them at all and focus on the material during lecture?
you can check out tips by "study quill" and "study to success" on yt
they have g8 tips for note taking on ipad
hello everyone @here
is anyone interest in the #100daysofcode challenge
me and my buddies are planning to take it up and we have a few more spots left
so if anyone is interested, feel free to DM me
we have a group so that it doesn't disturb anyone else apart form the people who are participating in it
xD
Ninja
Hi, what does the #100daysofcode consist of exactly?
Basically, u code for a minimum of 100 days and everyday learn a new concept or do a new (small) project
In what language?
That's up to you
U can make a 100 days of challenge for anything
It may be working out or reading as well
It's main goal is to build up consistency
And skill dev
Thats cool i have a few books to read but i also need to learn c sharp and arduino so i think im gonna try, when are yall starting?
Lol I'm not a part of this, I did challenge earlier this yr
Ah alright i though u were involved, did u manage to do it the 100 days in a row?
Actually its totally fine if u dnt wanna share , thanks for explaining tho
it is basically a challenge where we try to code for a 100 days straight so we can develop the habit and we do it consistently
any language you want to learn and exel in
we will be starting soon
Well i would like to try that, can i try to code some days in one language and others in other tho? Or should it be everyday the same language?
Alright please keep me updated
What would you describe as the average proficiency level of the people in your group?
you can do as you wish
the main goal here is consistency
so we can learn something and not forget about it like most my new years resolutions hahaha
Relatable ahahaha
what is that program?
that's a scam link
I was looking in to find course for making online store for a class project and bump into these 2. Build Ecommerce Like Amazon By JavaScript, Node & MongoDB | Udemy(supposed to be a link)
Build Ecommerce Website Like Amazon [React & Node & MongoDB] | Udemy(shuld be a link also)
One is using js and the other using react instead. I am proficient in C++, and got prior exp in java, python, basic expose to js. I know that react is a framework but still dont know which one to choose. thanks in advance!!
go to codeacademy website
hello everyone
is anyone interest in the #100daysofcode challenge
me and my buddies are planning to take it up and we have a few more spots left
so if anyone is interested, feel free to DM me
we have a group so that it doesn't disturb anyone else apart form the people who are participating in it
(we are just a few beginners so don't mind us)
xD
Ninja
if anyone knows py, can you dm me pls... im new and ive got few questions!
hi
line 32, in play
url2 = info['format'][0]['url']
TypeError: string indices must be integers
I'm making discord music bot
language: python
Lists can only have integers as indexes
If you want to use strings as keys, you could use a dictionary instead, or have an array that matches key strings such as "format" to their index in the array
^
thankyou
np
hey is anyone here familiar with react pwa and node.js??
DOES ANYONE USE "SEND TO KINDLE" OPTION FOR PDF?
are here any video editors?
I can mail pdfs to my kindle id if that’s what you meant?
yeah
there is this manga pdf i want to send to my kindle
but its more than allowed size
Hmm I haven’t tried sending mangas but maybe you could try compressing the size of the pdf?
i'll try that!
i used to transfer by cable, but the wire is broken now 😔
hii can someone help me with a code ? i don't know how to deal with error
pls ping me if you can help
I am currently learning Python. Which language should I switch to after learning the Python language well?
Wt do u wanna do afterwards?
if its jupyter notebook maybe i can help
Hey guys,
Can anyone help me with some Haskell examples? I just can't manage to get them work. 😕
hey can anyone help me with a python problem. im supposed to take 3 inputs and put them into a 1d array. 1st input is the height 2nd one is the width. 3d one is what is in the array
hey guys i have a question in java, im using scanner to read a file and I want to print the first line only once and then iterate only trough the other lines of the file, can someone explain me how?
I'm using a couple of other things (AWS EC2 instance, Jenkins and PuTTy) alongside it too so I was just having problems automating everything together
@idle dew so basically I made a server but I can't load the webpage using the public IP address even though Jenkins is working and the build was successful
check if firewall on your machine allows connections on port 8080
and enable Inbound rule inside the EC2 instance, u can access the url by ControlPanel-->system ans security --> Advance --> Allow Port 8080
yea jenkins is working
if not both these things then u should probably double check network ACL. incoming traffic on TCP port 8080 and outcoming traffic on TCP port 8080 should be allowed
yea but a windows firewall can still disable access
kk I'll check that
Yea it's still busted
what is a good file and folder structure for a php website? this is what im thinking of structuring my files
root
> pages
-> index.php
-> about.php
> images
-> bg.jpg
> css
-> style.css
> scripts
-> script.js
Search on the internet lol, but one of the common ly use is to follow an mvp pattern, it help you to organize your code following a pattern.
Hi, im having kind of a hard time understanding the difference between compilers and interpreters, i made some notes about this topic in which i put that compilers are fast but i also put that in interpreters it is instantly and so kinda not understanding very well the concepts and which one is better to use or when should we use one or other, can someone please explain? thanks in advance
i don't think i can explain every difference but, compilers normally take bulk (1000 lines )of the high level code and make it into a machine level code directly and machine takes the machine level code to run( in bulk ).
while interpreters do this type of conversion for each and everyline.
now a days the speed is similar if we compare the interpreters or compilers but for bulk executing the code the usage of compilers is better since there will be optimizers for the code while conversion.
ah i dnt know very well what bulk means but i think i got it, thank you
oo thanks for the tip. first time hearing about mvp pattern but i do know about the mvc design pattern for asp.net
did anyone here study flowchart using visual logic?
if so i might need some help with a problem i got
I studied flowchart trough flowgorithm so i dnt think i can help but if u wanna check it out i think that "app" is good to learn
aight i'll check that app cause it seems more popular than the one i mentioned
hopefully i find a similar problem so i can solve it on my program
well if u have some doubt in that app i might be able to help idk tho cause i didnt use it much because i need to do flowcharts in paper
No problem, thank you for your help
if i got any doubt i'll reach u out
alright, goodluck
Thanks
class Date:
def __init__(self, month:int, day:int, year:int):
self.__month = month
self.__day = day
self.__year = year
def mdyFormat(self) -> str:
return str(self.__month) + "/" + str(self.__day) + "/" + str(self.__year)
def getMonth(self) -> int:
return self.__month
def getDay(self) -> int:
return self.__day
def getYear(self) -> int:
return self.__year
def penalty(self, b:BorrowableItem, today:Date) -> float:
month = self.__borrowedItems[b].getMonth()
day = self.__borrowedItems[b].getDay()
year = self.__borrowedItems[b].getMonth()
return "Penaly Test: " + str(month) + "/" + str(day) + "/" + str(year)
#calling
print(l.penalty(b, Date(1,8,2021)))
Hello, I'm trying to retrieve the dates from an item that was borrowed from a user with a Library Card. In the penalty function I am trying to test if it gets the needed values for the date it was borrowed on (I have a dictionary with the Borrowable Item and the Date it was borrowed on). However, I am not getting the values cuz I receive this error.
month = self.__borrowedItems[b].getMonth()
KeyError: <__main__.Book object at 0x000002349D6777C0>
Any idea what I'm doing wrong?
Usually when u encounter a KeyError exception, its that ur trying to access a key that doesn't exist in ur dictionary
maybe double check ur values are being properly inputted within ur dictionary, or maybe show a bit more code
ty i already checked it and turns out i did remove the item from the dictionary
its fixed now, thank you
Can anybody tell me a good editor for c# with auto complete? Doesn't matter if the code runs or not
vs code
heyyy
who can help with php?
idk how to "write this element of function coorect"
now my code looks like:
$l=($a*$y) + $y * pow((sin($y + $b)), 2);
can you fix it?
if yyou are asking for pow functtion ig you can jus multiply it twice
havent touched math in a while but is sin^2(y+b) the same as sin(y+b)^2
Thank you guys
Android developer any?
I've just read this article written by Professor Barbara Oakley and was so impressed by the way she applied her Language learning techniques to learn Maths and Science.
I was wondering how to apply those techniques in computer programming, and which types of questions you always ask when you learn a new concept.
https://nautil.us/issue/40/learning/how-i-rewired-my-brain-to-become-fluent-in-math-rp
yeah?
once i get this i wanna work on a stock a12 rom xD
You spelled it wrong in def penalty(self, b:BorrowableItem, today:Date) -> float:
its fixed now but thanks
Anyone knows how to reset laptop with a physical reset button?(the smol ones) if i just press it alone it still doesn’t reset :(
press the power button for 10s
after removing the battery
can anyone explain this program for me??i am a beginner:(
So basically wt the code does is that takes a list from the user as the input and asks the user the element that needs to be searched and prints it's index (not acc to the standard python order, that's y index was defined)
X here is that particular element that the user wants it's index number
but why is flag=1 and flag==1 used ?
when you use "=", you assign a value to a variable
when you use "==" you check if two values are equal (you can also do other operations such as ">" "<" ">=", etc.)
(for more info:)
Flag is just another variable used for defining the loop condition
After a user enters the input, ur function starts running
As u can see v hv defined "x" as the searched element and initially v hv kept the value of flag as 0
Then ur if-else statement runs, and if any of the numbers match "x", then ur flag value changes to 1 (this is the nested if statement)
And ur loop breaks
Then ur next if statement runs, since the value of flag matches
If the value of x doesn't match, then ur else statement would be executed
@idle dew I need one help bro
Yo what’s up man?
Anyone knows how to fix older laptop with windows 10(older versions) wifi issues? We took it to fix like sometime ago and they don't think it's hardware issues. The model is Trekstor surftab 10.1.
I have reseted the whole laptop fully and tried reinstalling the network drivers.
This is what it looks like, with a red cross ;-;
could be issues with your ethernet cables
that could also lead to issues possibly with your router
it doesn't have the port to ethernet cables so the only way is wireless wifi though
and other devices uses wifi fine ;-;
hmmm the symbol should be different if isnt wired
Yea that's what I'm confused on :(
Just released they are all WAN :0 do i need to download some drivers¿?
the Bluetooth works completely fine though
Hey can someone help me write the program for this question?
Enter the lowercase letter A and the number N, print the lowercase letter after the A N unit (note: the letters are arranged in a circle, so in case the input letter is 'z' and N = 1, the answer is sentence is 'a') (N <= 10)
I don't know where to start
start by setting N = 3, and see if you can get the upper-case A to become an upper-case D
Then, start accounting for the case where N > 25, ie. making it into a circle (hint: modulo operator)
Then, convert the resulting upper-case letter into a lower-case letter
What language are you using?
I'm using C++
Try to read up on how a char character (f.ex. 'a')is represented in memory
remember that it is essentially a number, and that it follows a pattern (the difference between 'a' and 'A' is the same as the difference between 'c' and 'C')
Thank you so much I will try again
Just go to settings and reset your network settings!
can anyone explain this to me in a simple way ?
I have a question regarding taking notes in CS. I'm currently studying CS and I want to take good notes for future use, we go through alot of good material and I'm currently taking what I feel like is bad notes because of the templates that I'm using in OneNote. Do you know any good methods, templates or software for taking notes in CS?
Asks user to input data about student and their grade, stores student data in an array, which is then stored in another global array (hence an array inside array, with inner array having details for 1 student)
opens file and stores that data inside the file
second part is just searching for data based on unique identifier (roll no) to look for student data
lol ok this isn't a cs quesion but its to do with tech, does anyone know what james' monitor is called? i think the closest i've come to an answer is an old mnacintosh, but how did he get decent windows on it?
I’m trying to come up with a project idea for a distributed systems class. I need something that would involve at least 3 micro-services. It’s a group project so I need something that won’t be too small but it would have to be doable within two months. Does anyone have any cool suggestions on what I could implement?
Bluetooth is a completely different antenna. Yes I think you need to download drivers.
https://youtu.be/T6eylH81rWU Hello, we have a problem with our rig, we made a YouTube video explaining the problem. We would really appreciate suggestions on how we could get the rig running. Thanks!! U can dm me or write in to the comment section.
Hi, can anyone help me with c sharp? i have some exercises i need to do but the following expression "hipotenuse = Math.Sqrt(Math.Sqrt(l1) + Math.Sqrt(l2));" is not working because i had the variables as int and it requires them to be double, i dnt understand why (i am only getting started) and when i put the variables as double i still cant run the program can anyone explain why please?
the Math.Sqrt() method has **double ** as a parameter and returns a double so your I1 and I2 should be a double type. hipotenuse should be a double as well
you cant put a INT if the method requires a DOUBLE unless you convert it
but with double it gives me this error
are you printing out hipotenuse?
thank you
im trying
ohhh
change the Convert
wait sorry
you want it to be int or double
cause you dont need to have that ToInt32
ah but it needs to be a positive number cause it is a measure
and if i dnt put ToInt32 dsnt it only read strings?
Create a program designed to calculate and display a
hypotenuse of a right triangle (Math library)
this is the question
i mean i copy pasted on translater but in english i think it is used "right angle triangle" and not "right triangle"
i would use this
the scanner class
it can read the nextDouble() so there is no need to convert the type from double to string or vise versa
wait sorry thats java XD
ahh this is the first exercise i do in c sharp and i gotta be honest im really confused
ok i will try thx
sorry i havent been doing this in a while for c#
it is not working, thanks for trying tho
how nice of u, thank you!
what number did you input?
https://docs.microsoft.com/en-us/dotnet/api/system.double.tryparse?view=net-5.0
This is what you want. Put it in a loop where if the function returns false (it can't parse out a double), you tell them the format is wrong and to enter it again.
thank you! ive figured it out : )
I need help with R programming language for ( confusion matrix)
Is anybody in here willing to help me with some stuff in C?
I can try. Shoot
Try to remove the graphics card and seeing if you can boot when connecting the HDMI cable directly from the motherboard.
You also should check with the motherboard manual if you are supposed to connect both the 4-pin and the 8-pin for CPU power, or if you're only supposed to connect one of them.
Also, check if you have connected enough power to the graphics card (read the graphics card manual to figure it out).
You could also try to remove the SSD in order to just rule it out as a factor.
Also, check in the motherboard manual if you have inserted the RAM-stick into the right slot.
can someone help me?
how much battery life should we expect from a gaming laptop ? i was checking some o them and reiews show 2 hrs which is way less
hey. mac user. i'm supposed to be able to use access for my cs class, but since i'm a mac user i installed some other app called MDB ACCDB viewer. I need to be able to search some stuff, but need some help.
like, i need to search the database for some names, that's easy.
but then it asks me to search for land area greater than 21,000.
i tried to do it. but nothing comes up.
call me dumb but this is due tomorrow please teach me.
yo does anyone know any practical application of why you would remove nodes in this order (a, c, f, e, b, d) like is there a scenario where you would do this and it would be beneficial/ a goal
from this tree
is kinda like removing the nodes in a preorder traversal but backwards lol
What is professional malpractice? Can an IT worker ever be sued for
professional malpractice? Why or why not?
You are Basically Removing the nodes using Post Order Traversal. You would want to remove the Root last because if you remove the root first or in the middle then you will be screwed. Lets say you remove the root first then Traverse the Tree to the left. You wont have a root to go back to.
Does anyone have a phonebook program in C language which contains dynamic memory allocation and file management?
can anyone help me with dictionaries in python
nah i got it my assignment was to convert mathematical statements into java, the code actually removed the root node with the largest value within the set of trees, if the node had sub trees they then became just trees within the subset lol but tyty
ctrl - z
Is an ITT better than high school for a career in computer science?
Hello, I would need help for exercises in C language, my exercises are in French unfortunately ( ask private message)
Which is good for c++ coding(non gaming) mac or windows?
my teacher uses mac but everyone in my class uses windows
Usually UNIX systems are the go-to for programmers (except game-dev)
I would really recomend you installing either on a VM or on a spare computer some linux distro and experiment with it a bit
It's not only a really necessary skill for alot of jobs but also it will be really a good thing for you as a programmer
You will soon realize how bad windows is
Can you recommend good laptop for game dev?
Mac is good, prefer that over Windows
Or if you can dual boot your Windows with Linux or use a VM, then windows works
Hardware wise? It really depends what kind of games you want to make honeslty, but usually what you want to look for is good GPU memory, RAM and a recent processor. But again It should fit your game-dev needs, if you can save on some parts cause you dont really need them for what you want to do, go for it
Okay thank you sm, I plan on study game dev and I'm afraid my laptop will crash so I ask in advance
Nothing like experimenting, for small games with few calculations and render modles it should run okay, but then again i don't know your laptop secs
Also really depends whta you're going to render
2d, 3d, all that plays a key part in performance
I recomend you mess around with unreal engine, they did a good job for that game engine
Unity is a popular choice too
Or make your own, if the game is simple
Hello we have a Question regarding our pc build. We don't know why it doesn't work. I would really appreciate suggestions on how i could fix it. Im showing my build in this YouTube video: https://youtu.be/PYB4zvBbaH0
We have a Question regarding our PC build.
Does it beep? If it boots but starts sending sound signals (or visual signals in your motherboard supports them), check the motherboard documentation and see what the signals mean
If nothing boots probably some wires are not connected properly, or there could be some problem with he hardware that prevents the computer from booting, more leaning towards motherboard problems if this is the case
help please...is there any good source to understand data structures in c programming ??
https://www.tutorialspoint.com/cprogramming/c_structures.htm i think this one is very beginner friendly
C - Structures, Arrays allow to define type of variables that can hold several data items of the same kind. Similarly structure is another user defined data type available in C
You can aks here your questions directly if you have anny, ping me and ill get back to you if no one awnsers
Linux
If you're not doing mobile dev, Linux is the best imo
thank you so much
does anyone know how to use python processing
can someone explain the following ? (javascript)
why is the output different?
console.log(x);
}
// output 12
while(x <= 12) {
console.log(x);
x = x + 2;
};
//output 14
i do not have this problem in c++
std::cout << x << std::endl;
};
//output 12
while(x <= 12) {
std::cout << x << std::endl;
x = x + 2;
};
//output 12
retract statement
so this is an JS thing then ?
😄
ah so in JS the while loop runs once
before deciding
thought that was a do while loop thing
but apparently loops do this aswell in JS
i kinda know what you mean
its just im confused that it doesnt in c++ but js i get f over
it just means for me that while loops in JS checks once then execute
but thats weird because thats what do while loops are for