#tech-related-help

1 messages · Page 23 of 1

dusky canyon
#

because idk how to yet

#
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```
modest wolf
#

my visual studio missing System.Window.controls for data chart, anyone know what i need to install?

unkempt smelt
#

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;
}
red lily
#

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

thin hound
# unkempt smelt hii,could someone pleasee let me know what is wrong with my program?

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.

cedar elm
#

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

cedar elm
#

nvm i got it

pallid lark
#

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

idle dew
#

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
molten estuary
#

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

shut vale
#

Can someone help me with a java code? I'm trying to create a method to ignore spaces while reading from a file

warm seal
#

Hey! I need some help regarding linkedList using c#, Can anybody help me? HMU

warm seal
azure pawn
#

@warm seal what's the issue ??

azure pawn
# shut vale Can someone help me with a java code? I'm trying to create a method to ignore sp...

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;
        }

    }
}

warm seal
# azure pawn <@!655790833634770966> what's the issue ??

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

idle dew
#

Anyone who has experience with the m1 chip, would u recommend it for compsci?

glacial leaf
#

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.

placid thicket
dusky canyon
#

pretty sure you could have done this by your self but im bored

vestal talon
#

can someone help me make a website template?

#

about agent of socialization \

errant flower
stoic sapphire
#

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

deft badger
#

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 ?

restive ether
# deft badger

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

restive ether
deft badger
#

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

restive ether
restive ether
# deft badger Anything rly

We r also using for help w3schools website where i can learn all programing languages html too, you may check that out

deft badger
#

We're using it too, lmao

#

I just started now

#

Like, 2 days ago

valid fable
#

Whats wrong with windows 11??

errant flower
idle dew
#

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

idle dew
#

this isn't help i know, but the x220 is so cool asf

still flame
#

i reached this step too

#

lol

#

thee hard part is getting into it

still flame
#

@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.

royal obsidian
#

nice. interested

still flame
#

First you install foremost on your linux terminal

#

Then run this command on the gif

royal obsidian
#

ok...what does foremost do?

still flame
#

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

wary hazel
#

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

still flame
#

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

royal obsidian
#

Kinda bummed that it's just a matter of one command haha

still flame
#
unzip 00004428.zip
#

go to your file explorer

#

open message.pdf

#

oopsie password protected

wary hazel
#

Ahh, Was it a forensic CTF?

still flame
#

So now from the metadata of the image you'll find that the license

still flame
wary hazel
#

So you would probably need to brute-force the password

#

What ctf was it

still flame
#

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 :

wary hazel
#

Ah, cool

still flame
#

voila... flag is right there

still flame
wary hazel
#

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

still flame
#

we tried a shit ton of steg tools

#

zsteg and shit

#

none of them supported gif files

wary hazel
#

Yeah, it's why you gotta learn how things work in the background, with simple scripting knowledge you could make the tool yourself 🤷‍♂️

still flame
#

it was our first CTF tho

#

XD

#

we're learning now tho

wary hazel
#

Digital forensics?

#

like as a specification? or just general knowledge

still flame
#

get better at CTFs

#

im just exploring rn

wary hazel
#

Because if you wanna be a digital forensic to work with gov or anything, you gotta read a lot and take few courses 😅

still flame
#

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

wary hazel
#

Better than just doing a CTF trying to figure out what to do with no background🤷‍♂️

still flame
#

will be sure to check it out tysm

cursive light
#

Hello, anyone here willing to lend some help to this noob person about for-while loops😅(dm?)

azure pawn
wary hazel
#

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.

dusky canyon
dusky canyon
strange zodiac
#

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

agile sonnet
#

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>

idle dew
#

Hey hi all

#

Learning java

wary hazel
#

LOL, I think we have Java in this semster gonna spend some time reading about it too.

tall cosmos
#

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

dusky canyon
#

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?

twilit hornet
nova basin
#

hye i have to do some project like a system but idk what system. so any suggestions? ASAP

red lily
#

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

strange zodiac
#

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 🤔

azure pawn
#

if any indian 's here : i love you and your country :v

true prairie
#

I love indian food

tawdry ginkgo
oblique niche
#

Quick question: is it possible to recover from a bsod without formatting
I did try updating the drivers tho

plush stirrup
#

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

idle dew
#

<@&717391911132069929>

errant flower
errant flower
verbal wraith
#

Look up possible fixes online, might vary based on the version of Windows 10

#

Sometimes restoring bootloader works too

oblique niche
#

Will do ..thanks!

quiet vault
#

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 : )

twilit hornet
#

Try making small project like calculator or terminal based game

#

And have fun I guess

strange zodiac
#

i would start off with nailing the basics and fundamentals => start off with the hello world program

#

creating variables, functions, methods, etc.

twilit hornet
#

Input output

#

Etc2

strange zodiac
#

there should be a free online course for C#

quiet vault
#

Thank you!! I will search it up : ) @strange zodiac @twilit hornet

twilit hornet
#

Don't forget to have fun and good luck! @quiet vault

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 : )

red lily
sharp scaffold
dusky canyon
#

fam should have switch to android a long time ago

#
  • its open source
agile badge
#

does anyone know what os james is running?

valid fable
tall cosmos
#

arch user cringe

red lily
#

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

raw prairie
#

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) )/2
a;
sq2= (-b - sqrt(d) )/2*a;
printf("The 2 roots are ");
printf("%d" "%d",sq, sq2);
}

verbal wraith
#

You might wanna check if the roots are imaginary

#

That's possible if 'd' is negative

idle dew
#

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

coral fjord
hybrid chasm
#

How do arguments work in bash

#

echo helloworld $1

spiral yarrow
brittle bluff
#

anyone can help me with a string problem?

willow tartan
#

does anyone here know about styluses? i want to buy one for note taking or drawing graphs and diagrams and stuff etc

faint mantle
#

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...

flint ledge
faint mantle
flint ledge
strange zodiac
trail agate
#

if anyone have some experience on trading contact me

viral reef
#

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.

viral reef
# halcyon python 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?

half kindle
#

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 😦

tall cosmos
#

homie sent a virus

#

pog

agile badge
#

Planning to run Linux on a VM, what distros are good for beginners? Ubuntu? Arch? Does it really matter?

wary hazel
agile badge
wary hazel
#

Do you have the syllabus of your CS linux related classes?
I can take a look at it if you want

tardy spire
#

why not duel boot?

wary hazel
#

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.

tardy spire
#

makes sense.

tall cosmos
#

Or I probably just don't know how to do it but whenever I tried that the lag inside the emulators would be terrible

tardy spire
#

ive got myself a hp stream 14 with linux mint. works well

wary hazel
#

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

modest wolf
#

I like membrane keyboard

past wasp
#

what do http protocol and distributed systems have in common?

tulip moss
#

VM or dual boot for Ubuntu ?? 512 gb SSD

#

Ping me if someone answers

sleek wyvern
tulip moss
#

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

potent prairie
#

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

topaz urchin
#

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

topaz urchin
potent prairie
agile badge
#

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

topaz urchin
agile badge
#

@topaz urchin I would just have to create a repo and invite them to it and give them access? Sorry for the questions lmao.

topaz urchin
#

Its okay !

#

First add your teamates

#

Clone repo

#

Create and merge the branch

granite sleet
#

little confused on what is wrong here

errant flower
idle dew
#

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? 🙂

azure pawn
#

@idle dew lemme c ur method

strange zodiac
#

if im trying to fetch an API is it better to use useEffect() or componentDidMount() in REACT. which is "better" and why

elfin sparrow
#

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

wary hazel
# elfin sparrow Can someone explain this question for me? It's quite basic but I still don't get...

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

elfin sparrow
#

o

wary hazel
#

Oh I already said it nvm

elfin sparrow
#

so "is" has to be exactly the same?

wary hazel
#

The same object

elfin sparrow
#

yeah like, "0 is 0" would be true but "0 is 00" is false?

wary hazel
#

No

elfin sparrow
#

ohhhh

#

like an "int"

wary hazel
#

00000000 is 0

wary hazel
elfin sparrow
#

THANK YOU SO MUCH

#

and im terribly sorry for my lack of knowledge

wary hazel
#

0000000.0000000 is 0.0

#

Why apologize for lack of knowledge, I didn't know anything until I read and studied it.

elfin sparrow
#

tru tru

wary hazel
#

Good luck

elfin sparrow
#

thank you

ocean ivy
#

this is so hard TT

visual relic
#

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?

idle dew
#

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?

  1. i3 related

  2. via script with wmctrl

  3. 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

real berry
#

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

grim vault
#

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:"

amber mountain
#

is AMAZON ALEXA - an AI considered as a technology driver? why? give examples of what alexa can do

errant flower
median halo
#

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;

}

flint ledge
#
#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;
}
flint ledge
#

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

slender harbor
#

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

shrewd cipher
#

wheres the code you worked on?

#

i can start helping from there

#

and tell me which parts dont work

quiet vault
#

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?

still flame
#

Anyone good at hadoop here?

#

can't seem to fix this error

quiet vault
# thin hound 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

thin hound
#

try

DHT.read11(pinoDHT11);

I think you are using blankspace instead of a period.
and if that doesn't work, try DHT.read11(&pinoDHT11);

quiet vault
#

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

thin hound
#

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

quiet vault
#

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

thin hound
#

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:

quiet vault
#

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

thin hound
#

excellent

#

no worries 👌

quiet vault
#

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?

thin hound
#

try pressing that button

quiet vault
#

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

thin hound
#

do you have the blue or white sensor?

quiet vault
#

I have the blue one

quiet vault
thin hound
#

try to swap red and purple cables

#

if that doesnt work, then i have no idea

quiet vault
#

That's it, i honestly didnt knew it had an order. Thank you! Couldnt have made it without you : )

modest wolf
#

Whos buying new macbok

#

i like the notch

#

thats my hairstyle

#

is there any hacker 90s pixelated game theme music?

quasi geyser
#

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

odd elbow
quasi geyser
warm seal
quasi geyser
deft badger
#

So, guys, I need help, a teacher of mine asked us to do a Unrolled Linked List in java, anyone with an idea ?

idle dew
#

@deft badger

thin hound
still flame
#

this might help you

dense dock
#

Any recommendation for research title with Hardware and Software?

deft badger
deft badger
stable saddle
#

Somebody please help, my potato pc is stuck with this 'WELCOME' screen for like an hour now fofaanatiti

verbal wraith
#

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

stable saddle
verbal wraith
#

@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

still flame
#

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

odd elbow
# still flame

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...

odd elbow
zenith frigate
#

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....?

still flame
#

aright thanks!

strange zodiac
#

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

strange zodiac
#

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

thin hound
# still flame

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.

idle dew
#

can someone help me in arduino and python (seperate things)

quartz plinth
#

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?

wispy hamlet
idle dew
#

from zero

#

i know nothing

#

where do i begin

#

what do i do

#

all ik is pycharm is an ide

wispy hamlet
#

I've got a PDF i used for my python class if you want, very beginner-friendly

#

@idle dew

idle dew
#

thank you so much

#

you are a life saver

wispy hamlet
#

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

wispy hamlet
#

@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

quiet vault
# idle dew yep ok will do, tysm

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

wispy hamlet
#

Actually same, I've been waiting for too long to get started on Arduino lol

quiet vault
wispy hamlet
#

No it uses Arduino's own programming language

#

You'll be able to find the docs online

quiet vault
#

Ah alright i guess it is gonna be even harder then

solid stone
#

Is this where I can get comp sci help?

wispy hamlet
idle dew
idle dew
waxen remnant
#

Anyone here familar w vivado/MIPS that could offer some help?

quiet vault
idle dew
#

true i was just thinking we could learn and help each other, but if ur not interested i understand

quiet vault
#

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

idle dew
quiet vault
# idle dew 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?

idle dew
#

this may not be the best way to go about doing it but, we shall see

quiet vault
#

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

idle dew
#

yea true

#

ik nothing about arduino though

#

so

#

we are in the same boat

quiet vault
#

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

idle dew
#

i will get some though

#

no point learing without the components

#

will start simple

#

like you with led

#

s

quiet vault
#

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

idle dew
#

youtube is useless

quiet vault
# idle dew a resistor?

Ah that is probably it, cause i dnt think u can connect the led like directly with the cables without the resistor

idle dew
#

idk much about it

#

but ik bits

quiet vault
#

This is what im talking about

idle dew
#

yep a resistor

#

are there different types

#

if so

#

how are they different (ik they have different resistances) but in terms of usage

quiet vault
#

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

idle dew
#

oh lol

#

but i thought there were different ones

#

i could be wrong

quiet vault
#

No, i think u are right

#

I just dnt know when u need to use a different one

idle dew
#

arduino tutorial

#

seems really good

quiet vault
quiet vault
civic pulsar
#

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

fluid flint
#

any coder?

dire vapor
#

is anyone good w Unity and c#?

modest wolf
#

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

unborn talon
idle dew
#

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

idle dew
#

in usd?

#

Yep

#

2500

#

took me ages to save up though

idle dew
idle dew
unborn talon
#

Thinkpad/system76/dell xps

frank star
#

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

idle dew
#

I would recommend wait a little while, zen 4 is at the corner...

frank star
#

thats the same exact list i sent lmaoo

idle dew
frank star
#

ahh my browser must have cached the list i made

#

understood my apologies

unborn talon
#

new intel apparently beats out current zen so all signs point to wait a minute

granite bloom
#

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

unborn talon
#

Work on fixing this site…

Twitter icon isn’t inline and the explore more button doesn’t reset state

granite bloom
unborn talon
#

ive just spent about 3 hours trying to absolute position a svg so i feel your pain

tacit kite
tacit kite
# idle dew how are they different (ik they have different resistances) but in terms of usag...

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!

warm nacelle
#

Anyone good with python coding

#

if not I could work around other syntax as long as I understand th elogic

idle dew
idle dew
wispy hamlet
granite bloom
shut sail
#

Hey guys does anyone need notes of python

valid fable
#

<@&717391911132069929>

agile sonnet
#

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 :((

shadow bluff
#

@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.

uneven juniper
#

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

shadow bluff
ocean dagger
#

hello

meager dust
#

Hi

sour terrace
#

hey to all my linux anki users out there

#

do any of you use external tools?

#

for writing cards, managings stacks etc.

limpid barn
#

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…

buoyant dew
limpid barn
#

It is set on « automatic update »

#

But I wasn’t sure this would also concern the switch to a new ios version

buoyant dew
#

Try checking on YouTube

#

But I also have iPhone 7 with iOS 15 and got no performance problems atm

limpid barn
turbid vessel
#

hey

#

no

#

tahts my name

#

@solemn zephyr

#

i love potato

#

i will talk in some time

tall cosmos
#

Has anyone made an online resume?

verbal wraith
#

Yes

pastel onyx
#

just confirming guys is it safe to rotate a laptop fan when the device is completely powered off

#

like rotate for like 5 seconds

unborn talon
idle dew
peak iron
#

Can anybody explain what threading is in cpu cores

idle dew
#

anyone knows how the demorgan law works?

peak iron
#

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

idle dew
#

ahh yea thank you

elfin veldt
#

Hii tech buddies. Can you please suggest me some good online academic journals about computer science and related fields

buoyant dew
tall cosmos
#

Just wanted to see what design people have come up with

elfin veldt
tall cosmos
#

Yes but how did you come up with a design, color theme

buoyant dew
elfin veldt
craggy fern
#

hello does anyone know what are the DOS commands here:

hybrid chasm
#

For bash Linux whats the diff between who and last?

strange zodiac
#

you will for sure be using wildcards

craggy fern
#

Thanks!

strange zodiac
#

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

floral fog
#

should I remove my motherboard when removing my cpu cooler

idle dew
#

i think you should so you get a more open area

#

what are you removing the cpu cooler for

floral fog
#

to clean the cpu cooler and reapply thermal paste

#

haven't cleaned in a couple of years

idle dew
#

better to not remove the motherboard

#

only remove the cpu cooler

floral fog
#

yeah I thought so

quartz plinth
#

Hi I have a notebook with 256go of storage and I was wondering if a dual boot Windows/Arch was worth it ?

mental flare
#

could someone DM me i have an assignment and struggling to find the solution

tacit kite
mental flare
#

computing

#

javascript

vagrant wadi
open solstice
#

I hate assembly

idle dew
random shard
#

can anybody help with C programming?

idle dew
#

You can start learning python first

#

Can someone explain me the uses of else command in python?

strange zodiac
#

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

idle dew
#

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

#

Anyways I am Zidan and I am 15.

#

@strange zodiac

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

tacit kite
hasty saffron
#

anyone?

strange zodiac
#
  1. Array
#
  1. I think Matrix 👀
#

why is this here

idle dew
#

that's a scam

#

it hacks your discord account

#

dont press it

strange zodiac
#

ping peeps?

hasty saffron
#

banned!

hasty saffron
#

anyone?

strange zodiac
#

look at line 3 and line 5

hasty saffron
#

?

strange zodiac
#

it is a loop but what kind of loop are they using

#

look at the end of line 5 and look at line 3

hasty saffron
#

u can speak tagalog right

strange zodiac
#

sadly i cannot anymore

#

i am whitewashed

hasty saffron
#

aw my bad

#

I'm just a newbie programmer here

strange zodiac
#

its all good

#

i would look into loops and their types

languid wren
#

does anyone know how to use tkinter

hasty saffron
#

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

strange zodiac
#

if not ask

#

i have those types of teachers as well

#

just ask any simple questions

hasty saffron
#

ok bro thank u! I think I disturb u you playing LOL

hasty saffron
strange zodiac
#

4 and 5 look good

#

i dont think 3 is right @hasty saffron

#

i feel like it should be ALL

hasty saffron
#

ok i searched for it

hasty saffron
mild thistle
#

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

burnt jasper
#

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?

topaz urchin
#

Hey ! Anyone who is intersted and familiar in Algorithms to handle huge data sets!!! ...

#

*interested

topaz urchin
#

I think you declared that num as an input value ?

burnt jasper
#

no idea what i did wrong

topaz urchin
#

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

burnt jasper
#

Yeah that works

topaz urchin
#

Okay

burnt jasper
#

😂

topaz urchin
#

😂

#

Hey wait a min

#

Did you use the first line in your code?

burnt jasper
#

i did

topaz urchin
#

Wait

#

I got it the ouput

burnt jasper
#

nope

burnt jasper
#

there was nothing wrong

#

I am the strongest programmer there is.

open solstice
#

https://java-programming.mooc.fi/ this is a nice course if you are interested

idle dew
#

I want to start competitive programming, where do i begin

tough estuary
#

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?

scenic oriole
# tough estuary to experienced people, do you think the 100 days of code python udemy course is ...

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

tall cosmos
#

One question lads how does this look

#

im ded

idle dew
#

looks good

scenic oriole
#

nice

paper crow
tall cosmos
#

It's fake

paper crow
#

I have seen worse working emails than that

pale mist
idle dew
#

Is there a software developer here? what are you writing as coding language? How does working about coding ?

errant flower
#

I got an online copy

errant flower
#

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

tall cosmos
#

Oh alright

twin bobcat
#

anyone has ever worked with bayesiannetwork in python? i need help on cp tables

void halo
wispy hamlet
# errant flower And also, don't make a separate page for contact

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

warm seal
#

Anybody interested in teaming up for a game jam?

idle dew
tall cosmos
#

Atleast that's what I was thinking

void halo
# idle dew I also know a few languages, but due to my education I have to be more serious. ...

@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.

tacit vine
#

Hey, anyone here has experience with Hadoop Streaming?

polar wasp
idle dew
#

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

dull yoke
wind vine
#

hello hello does anyone understand how to use netbeans? my lecturer is horrible at explaining and i dont know what online tutorials to take :/

tacit kite
scenic oriole
#

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

wind vine
wind vine
#

It's ok now

#

thanks

jade narwhal
#

Hi I want to learn C# anyone know what a good first project would be?

scenic oriole
jade narwhal
#

Cool thank you 🙂

quiet vault
# jade narwhal Hi I want to learn C# anyone know what a good first project would be?

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 : )

jade narwhal
#

Thank you I appreciate everything !!

wraith raven
#

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?

idle dew
minor parcel
#

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

quiet vault
errant flower
errant flower
#

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

quiet vault
#

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?

errant flower
quiet vault
#

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

minor parcel
minor parcel
quiet vault
#

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?

quiet vault
verbal wraith
minor parcel
quiet vault
#

Relatable ahahaha

minor parcel
#

yeah

#

we can continue the discussion on the thread

idle dew
#

what is that program?

idle dew
#

that's a scam link

modest wolf
#

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!!

cyan rivet
#

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

humble sierra
#

if anyone knows py, can you dm me pls... im new and ive got few questions!

mental pecan
#

hi

#

line 32, in play
url2 = info['format'][0]['url']
TypeError: string indices must be integers

#

I'm making discord music bot

#

language: python

wispy hamlet
#

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

wispy hamlet
wispy hamlet
#

np

mental pecan
#

My bot is working fine now

#

thanks ❤️

green hollow
#

hey is anyone here familiar with react pwa and node.js??

idle dew
#

DOES ANYONE USE "SEND TO KINDLE" OPTION FOR PDF?

tribal canyon
#

are here any video editors?

indigo mantle
idle dew
indigo mantle
idle dew
tacit flare
#

hii can someone help me with a code ? i don't know how to deal with error
pls ping me if you can help

fervent onyx
#

I am currently learning Python. Which language should I switch to after learning the Python language well?

tacit flare
simple patrol
#

Hey guys,
Can anyone help me with some Haskell examples? I just can't manage to get them work. 😕

idle dew
#

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

craggy hill
#

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?

green hollow
#

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

idle dew
green hollow
#

yea jenkins is working

idle dew
#

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

idle dew
green hollow
#

kk I'll check that

green hollow
#

Yea it's still busted

strange zodiac
#

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
valid sparrow
quiet vault
#

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

mossy copper
#

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.

quiet vault
#

ah i dnt know very well what bulk means but i think i got it, thank you

minor haven
#

who knows about relations in discrete math?

#

how i can prove this: (¬AUB)⋂A = A⋂B

strange zodiac
glass pecan
#

did anyone here study flowchart using visual logic?

#

if so i might need some help with a problem i got

quiet vault
glass pecan
#

hopefully i find a similar problem so i can solve it on my program

quiet vault
#

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

glass pecan
#

if i got any doubt i'll reach u out

quiet vault
#

alright, goodluck

glass pecan
#

Thanks

shrewd cipher
#
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?

scenic oriole
#

maybe double check ur values are being properly inputted within ur dictionary, or maybe show a bit more code

shrewd cipher
#

its fixed now, thank you

warm seal
#

Can anybody tell me a good editor for c# with auto complete? Doesn't matter if the code runs or not

rotund crow
#

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?

mossy copper
# rotund crow

if yyou are asking for pow functtion ig you can jus multiply it twice

strange zodiac
#

havent touched math in a while but is sin^2(y+b) the same as sin(y+b)^2

rotund crow
#

Thank you guys

idle dew
#

Android developer any?

dusk frigate
#

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

Nautilus

I was a wayward kid who grew up on the literary side of life, treating math and science as if they were pustules from the plague.…

idle dew
#

once i get this i wanna work on a stock a12 rom xD

idle dew
stark prism
#

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 :(

errant flower
#

after removing the battery

tulip pike
#

can anyone explain this program for me??i am a beginner:(

errant flower
#

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

tulip pike
#

but why is flag=1 and flag==1 used ?

thin hound
#

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.)

errant flower
#

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
#

@idle dew I need one help bro

idle dew
stark prism
#

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 ;-;

strange zodiac
#

that could also lead to issues possibly with your router

stark prism
#

it doesn't have the port to ethernet cables so the only way is wireless wifi though

#

and other devices uses wifi fine ;-;

strange zodiac
#

hmmm the symbol should be different if isnt wired

stark prism
#

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

wide thistle
#

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

thin hound
#

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?

wide thistle
#

I'm using C++

thin hound
#

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')

wide thistle
#

Thank you so much I will try again

naive breach
tulip pike
#

can anyone explain this to me in a simple way ?

alpine cedar
#

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?

tawny burrow
#

hempl

errant flower
#

U sure this is the full data that was provided for the q?

#

I'm pretty sure its 3

dreamy rune
#

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

topaz siren
#

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?

tacit vine
#

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?

low stump
modest agate
quiet vault
#

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?

strange zodiac
#

you cant put a INT if the method requires a DOUBLE unless you convert it

quiet vault
#

but with double it gives me this error

strange zodiac
#

are you printing out hipotenuse?

strange zodiac
#

ohhh

#

change the Convert

#

wait sorry

#

you want it to be int or double

#

cause you dont need to have that ToInt32

quiet vault
#

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"

strange zodiac
#

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

quiet vault
#

ahh this is the first exercise i do in c sharp and i gotta be honest im really confused

strange zodiac
#

this

quiet vault
#

ok i will try thx

strange zodiac
#

sorry i havent been doing this in a while for c#

quiet vault
#

it is not working, thanks for trying tho

strange zodiac
#

really?

#

let me see

#

cause its working for me cause im doing it with you

quiet vault
quiet vault
strange zodiac
#

what number did you input?

hard coral
quiet vault
signal marten
#

I need help with R programming language for ( confusion matrix)

obsidian holly
#

Is anybody in here willing to help me with some stuff in C?

hard coral
thin hound
# modest agate https://youtu.be/T6eylH81rWU Hello, we have a problem with our rig, we made a Yo...

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.

amber mountain
#

can someone help me?

tired yarrow
#

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

glacial leaf
#

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.

scenic oriole
#

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

amber mountain
#

What is professional malpractice? Can an IT worker ever be sued for
professional malpractice? Why or why not?

hexed knoll
# scenic oriole

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.

outer meadow
#

Does anyone have a phonebook program in C language which contains dynamic memory allocation and file management?

orchid pier
#

can anyone help me with dictionaries in python

scenic oriole
wide juniper
#

what was the keybind on powerpoint again so you can get back again

shadow bloom
#

Is an ITT better than high school for a career in computer science?

loud shale
#

Hello, I would need help for exercises in C language, my exercises are in French unfortunately ( ask private message)

warm seal
#

Which is good for c++ coding(non gaming) mac or windows?

loud shale
red hare
#

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

wide thistle
verbal wraith
red hare
# wide thistle Can you recommend good laptop for game dev?

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

wide thistle
red hare
#

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

modest agate
red hare
#

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

unborn quail
#

help please...is there any good source to understand data structures in c programming ??

red hare
#

You can aks here your questions directly if you have anny, ping me and ill get back to you if no one awnsers

idle dew
#

If you're not doing mobile dev, Linux is the best imo

idle dew
#

does anyone know how to use python processing

hidden forum
#

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
hidden forum
#

😄

#

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

strange zodiac
#

do while runs the command then checks

#

while checks then run the command

hidden forum
#

still how are 2 languages different in their while loops

#

XD

#

i think that c++ requires that <= should both be true ?