#💻|programming

1 messages · Page 27 of 1

shy glade
#

Who are you?

spark knoll
#

haha

shy glade
#

so?

spark knoll
#

shoud i leave or somethin

chilly wyvern
#

I have a blockage with AngularJS(not Angular). Can be a simple JavaScript problem as well.
Context:
• Data not displaying on staging environment although it works on development environment.
• Codes are updated, even the counts of data are shown properly but the popover function that shows the list of data doesn't show only on staging environment.

**What I've tried: **
• Implemented callback function (didn't work)
• Implemented setTimeout function (didn't work)

Anybody has faced this issue before and how did you solve it?

spark knoll
#

is this minecraft

pure copper
chilly wyvern
pure copper
# chilly wyvern That can't be it.

basically what I am eluding to is that that particular function is hardcoded to only work with the dev environmet, and so is not pulling the data from the same staging environment

#

at some point in its path

shy glade
#

Who is develoepr?

pure copper
#

almost everyone here

shy glade
#

Nice

shy glade
queen urchin
pure copper
queen urchin
pure copper
#

its in my profile.... don't

#

they be sorry

pure copper
#

I must get back to tv. the servers are dead today

trail aspen
#

To

#

Yo

robust elk
#

I thought it was dead long ago.

burnt yoke
#

Hello people

#

Anyone here, In your country, is it normal to mix your native language with english in your code?

trail aspen
#

i hate angular

#

and backend >, because i hate front end

robust elk
#

Perfect 😄

trail aspen
#

its hard to get a job if you don't even know eng

robust elk
rain torrent
#

Hi gang.

#

nice to meet you.

trail aspen
#

hi prof, teach me

burnt yoke
burnt yoke
pure copper
burnt yoke
#

You're right

vivid warren
gaunt bear
#

yes

storm arrow
earnest fractal
burnt yoke
#

this is essential

austere gate
#

I believe language shouldn't be a barrier when working on projects, as long as we maintain consistency. However, when multiple people collaborate on the same project, it's essential to follow a set of rules to keep everything organised.

vivid warren
# trail aspen why?

um easy to maintain and scale? idk man i didnt use it,just heard in several articles

pure copper
#

I'm the good old days we could only use { A,B,I,J,<digits>} for variable names. Very internationally readable.

#

No fancy "words"

austere gate
pure copper
#

In the olden days, one could compile the machine code into binary and it would save a symbol file with the names of the variables, so that if you decompiled code, you could read it back almost as if it was the original code. But if you lost it did not have the sym file, then reading first come first created pseudo labels like a000001 -a354324 had to suffice.

shell bluff
#

Hi friends

shell bluff
vague peak
#

Hi everyone , can I get some capstone ideas from you guys that are related to computer Science, thank you in advance , it would be greatly appreciated

radiant mango
#

hey

pure copper
# vague peak Hi everyone , can I get some capstone ideas from you guys that are related to co...

WHAT!!!!! whyy step 2 says submit a 200 page proposal to your professor. That's only the proposal. Are you trying to set up a Google competitor in the capstone papers?

https://m.youtube.com/watch?v=FjVnDe6pijo

One essential component of #academicwriting that calls for knowledge and concentration is- the capstone project. We have made attempted to provide you with a thorough understanding of the capstone project in the IT industry through our channel and help you understand - what is a capstone project in college. You must follow the stages when writin...

▶ Play video
coral frigate
#

Hi

dark wigeon
#

Guys, can you tell me, about Junior QA Engineers salary in your country?

pure copper
dark wigeon
#

And I’m moving to Australia🤭

pure copper
#

I should give up my dive job and say I'm a junior

#

And that's impressive for a government job

fluid harness
#

its possible to get job in Singapore as degree student

cobalt olive
#

ok?

hoary copper
#

Is there anyone who works remotely for another country?

final tapir
#

Can any body tell me is it correct?

#

#include <stdio.h>
#include <time.h>

// Function to simulate verification
void verify(v) {
printf("Verification successful! You are now verified.\n");
}

int main(v)
{
char input;

printf("Press 'v' to verify: ");
scanf(" %c", &input);

if (input == 'v' || input == 'V') {
    verify();
} else {
    printf("Verification failed! Please try again.\n");
}

// Get the current time
time_t t = time(NULL);

// Convert it to local time representation
struct tm *localTime = localtime(&t);

// Print the current date and time
printf("Date: %02d-%02d-%04d\n",
       localTime->tm_mday,
       localTime->tm_mon + 1,
       localTime->tm_year + 1900);
printf("Time: %02d:%02d:%02d\n",
       localTime->tm_hour,
       localTime->tm_min,
       localTime->tm_sec);
return 0;

}

cobalt olive
#

nope

#
#include <stdio.h>
#include <time.h>

// Function to simulate verification
void verify(void) {
    printf("Verification successful! You are now verified.\n");
}

int main(void)
{
    char input; 

    printf("Press 'v' to verify: ");
    scanf(" %c", &input);

    if (input == 'v' || input == 'V') {
        verify();
    } else {
        printf("Verification failed! Please try again.\n");
    }

    time_t t = time(NULL);
    struct tm *localTime = localtime(&t);

    printf("Date: %02d-%02d-%04d\n",
           localTime->tm_mday,
           localTime->tm_mon + 1,
           localTime->tm_year + 1900);
    printf("Time: %02d:%02d:%02d\n",
           localTime->tm_hour,
           localTime->tm_min,
           localTime->tm_sec);
    return 0;
}
tame skiff
pure copper
#

oh and add some colour

#

I always get yelled at for my boring colours

errant junco
#

I am learning python whyy whyy

chilly wyvern
# pure copper basically what I am eluding to is that that particular function is hardcoded to ...

Thanks for your response, I finally found the problem yesterday. On the minified version of the code, there were some variable names conflict.
For example, a function:

$scope.a = function(ev){
   //in the code here I am passing ev to another pop up window.      
}

got minified as:

t.a=function(t){
  //now the ev passed to the pop up window is referring to $scope...
}

Since, both $scope and ev minified into t the function keeps returning $scope object instead of the code I want.
Do you know a way to figure this out before pushing it to staging?

chilly wyvern
hardy apex
#

Hello!

#

Is there anyone who can help me?

#

I'm currently have react-native project with kotlin and I want to customize call screen so incoming calls redirect to my own app - custom screen.

#

I've already implemented some code and shows no error but not working(app went halt!!!) in ldplayer!

errant junco
torpid ember
#

I want to be a master in python, is anyone here doing the same or coding in python. I would like to meet with them.

torpid ember
shell bluff
errant junco
final tapir
trail aspen
#

in portugal junior get like 17k

shell bluff
pure copper
pure copper
dusk kindle
#

?

dusk kindle
pure copper
#

I had red, but everyone yelled at me in the vc share

dusk kindle
#

Red?

#

U are in vs yes?

pure copper
#

Give me a few minutes and i will have a look

pure copper
#

My Codeblocks is:

#

VS is Kimbie Dark

#

And my favourite is called 'red'

pure copper
#

My debugger has returned. It's been lost for 5 weeks now. Just reappeared again

lavish pelican
#

hello guys

cobalt olive
#

c++ is fun

robust elk
mighty robin
#

I mean

#

You're Australian so maybe you just like wildfires

#

therefore red

#

but... my eyes certainly wouldn't like wildfires...

final tapir
pure copper
final tapir
#

Hm

pure copper
pure copper
final tapir
livid river
#

Hello guys is there any senior Java dev?

#

By senior I mean anyone who's working

shy glade
shell bluff
hallow kraken
#

Hi guys
Hope you guys doing well and anyone is not so get well soon
Any person over here who is interested in python algo actually im learning so i want someone to learn together

hoary copper
#

in italy ~24k

primal skiff
#

How to hide/delete or something device fingerprint?

eternal sandal
cobalt olive
pure copper
shell bluff
#

Here in Brazil the salary varies between 1500 BRL and 3000 BRL for a junior depending on the company

vivid warren
desert hill
primal skiff
austere gate
vivid warren
austere gate
lapis sequoia
#

hi

#

really i´m not intermediate, i´m consider me begginer ahahhaaha

#

who loves PHP and REACT? to front-end and back-end?

cinder plank
lapis sequoia
#

i want programm like a master

dark steppe
sand marsh
#

any one here learning node js as abackend

#

iam practise c++ and solve many problems if any one intersted can helping us

south rivet
#

can someone share best learning resources for frontend ( Free one )

pearl vigil
shell bluff
#

Hi friends

shell bluff
shell bluff
final tapir
#

Is my code is correct bcz when I click on run then again and again only show that

#

Can any one tell me

queen urchin
# final tapir

first, format your code to be readable and please post your full code here.

final tapir
#

W8 I'm sending

queen urchin
#

u can share it in code sandbox or somewhere else

final tapir
#

Where is samdbox

#

Sandbox*

queen urchin
#

like this

#

or codepen

#

use whatever you like and feel comfortable

final tapir
#

Here is it

queen urchin
#

why did you add space while using scanf

final tapir
#

Where

queen urchin
#

I can find two places

final tapir
#

Can u correct it

queen urchin
#

scanf("%c", &input);

#

you can make it just like this

#

otherwise, if you add space

final tapir
#

I need whole code

queen urchin
#

you will need to input like ' M'

#

not just a character M

queen urchin
#

find them all and remove

final tapir
#

Ok w8

#

Bro I did but its still that problem showing

queen urchin
#

like, you are using switch statement to check the input but there isn't any scanf command before the switch

#

so it will show invalid choice by default at first

mighty robin
#

that's all C code?

#

well interesting

#

the switch statement is definitely something I've seen in JavaScript before

#

but I guess that's just universal, doesn't matter then lol

vivid warren
mighty robin
#

yeah true I forgot

#

haven't done that much of programming when it comes to many langs

#

only one and stuff

final tapir
#

Bro I'm feeling embarrassed

vocal prawn
pure copper
pure copper
#

Mmmm i wonder if that's the cause of one of my bugssmh BirbNotes PandaLoveBlush Pepe_JesusChrist

cerulean zodiac
eternal sandal
robust elk
final tapir
#

Really Do u want to know? Why am I feeling embarrassed

pure copper
#

For our listening pleasure.

shy glade
mighty robin
#

@pure copper What's your view on Java

#

not javascript

#

lmao

feral glacier
#

hey guys, it's good to know that exists a programming channel here!
any typescript/javascript developer online?

pure copper
# mighty robin <@957680716731256923> What's your view on Java

I first learned java in 1996 and thought it was easy to pick up, but that was because i knew C. A lot has changed since then, and the are a lot of alternatives to which i know nothing about, so i cannot compare it.

As it has been around since the start of www, it's i believe still the most common vm language around in industry, so there's no shortage of work in the field.

While i am keen on starting something new like rust or ruby or rant, i think i would resurrect Java again concurrently with this just because it's also formed the basis of new stuff (such as js)

safe cobalt
#

Hi, Friends

#

I'm senior dev, let me know if you need my "HELP".

round jungle
#

@feral glacier yes

cobalt sun
#

hi

#

guys i really need ur help

mystic dawn
#

Hi

mystic dawn
safe cobalt
#

How can i halp you?

vivid warren
vivid warren
#

okay i dont need anymore

rough sapphire
#

Yo

austere gate
#

Yo

topaz sail
feral glacier
#

let's go!!

#

are you guys working in something?

karmic hare
#

Hi!!!! I'm currently learning Golang XD

#

But I'm senior dev in Laravel, VueJS and PHP haha

dapper shadow
#

@sour panther u have a C / C++ course to help me with ?

hybrid heron
#

AI course ?

mighty robin
#

I started reading the internet about it. Some random forums and stuff. It's interesting, because people who write it actually show me these advantages that I was completely unaware of before, over these very modern languages like JavaScript or Python. That java is efficient, more stable, and so on, been the standard for decades and will continue to be the standard. It's all interesting because I've seen stuff like mongoDB and nodeJS, JavaScript related libraries, used for back end web dev, but seems like Java is still the good old winner in the backend

#

Not gonna lie, I like the appeal of it. I heard about the mess it can become, with many legacy codebases and stuff, but overall it appeals to me

#

Especially the fact that it's so damn versatile, like I can end up doing software, but also doing backend, but also easily learn Kotlin from Java knowledge and do mobile dev

#

I never even knew before, that Java has so many usecases and all this. I guess you never know everything

worthy pelican
#

I need an assist to fix the issue like this. I made an api into my dashboard website which is connected for my dashboard and phpmyadmin. But when I desire to send the data, it's running successfull and the api has a different value among requests and responses. may you help me to fix the issue?. cause, I have no idea how to complete it

#

anyway I'm using laravel 11 framework

worthy gate
#

guys i want to start programing which field and languages do you recommend

#

i just started learning web development

#

currently learning HTML and CSS

#

going to start JS after im done with them

#

what do you recommend should i continue or leave them for later and start with another lanuage

#

because i saw a lot of online comments on this topic

#

some say go with HTML , CSS and JS and some say start with Python

#

others said start with Java

#

My Dms are opened if you want to help me

flint tiger
#

i'm starting with python for data science and data visualization

#

I would like try with Raspberry Pi, something like a dron or something like that

remote jasper
#

I've tried python myself and it wasn't that easy 😂

pure copper
mighty robin
#

went for java

remote jasper
mighty robin
#

i tend to say that people don't try hard enough, rather than they are less intelligent or something. that's often the case, that they just don't try as many times

remote jasper
#

yup, fair point, maybe I was a bit lazy

sudden sierra
#

Hi

#

Programmers

pure copper
storm stag
#

maybe all can be

pure copper
#

I'm going to be spending weeks getting my new phone crippled to protect my privacy from Google. In the good old days, i put in my sim in 30 seconds, then made calls or turned my torch on and off.

#

And it was tiny. Didn't need reinforced kevlar pockets to hold it.

pure copper
storm stag
#

Well, who could possibly use this old phone???
Maybe Peo.

pure copper
#

💃💃🥳

storm stag
#

I like nokia and red color

#

don't broke and send me

pure copper
storm stag
#

I mean program language,

pure copper
#

C++ is my go to language for the last few months.

#

I will keep on trying out features i have not used and improve my quality and style

storm stag
#

hmm, basic and system language. That is very difficult.
Ammmm. have you finish to learn about MFC or QT?

storm stag
pure copper
#

When you say 'basic' are you referring to an adjective or the programming language?

storm stag
#

ofc program lang

pure copper
#

Have we spoken about these before?

#

I have used mfc since 92. I am not looking at qt, but started wk widgets or whatever 2or3 letters start that.

storm stag
storm stag
pure copper
# storm stag plz explain more detail. what features?

Just writing class code rather than functional code. Using constant and tokens and routines to make the coffee more generic and easier to manage such as language support functions rather than hard coding strings into the code.

#

As examples only

pure copper
#

?

#

Or mainstream functional coder

#

Multistory fenster cleaner

storm stag
pure copper
#

Some?

#

I saw that

storm stag
#

I mean, your visual achievements. may I see? perhaps It can be fulsome requirements?

pure copper
#

All my achievements are in my backup server, here collecting the dust of time as the world passes through the universe

storm stag
# pure copper

Should you see my typing error???? I pressed enter wrong...

storm stag
pure copper
storm stag
#

?

storm stag
pure copper
#

Asbestos dust from the disk breaking system

storm stag
#

haha..your dust is very pretty becuase of your finger.

pure copper
#

Covered for security reasons

storm stag
pure copper
#

Can't believe how many programmers here find my stuff 'pretty' and 'beautiful'.

#

Well back to my user stories. Got to try and create 100 at least in the next 40 minutes

#

Cause that's what the users want

#

And the pm

storm stag
pure copper
#

'can't read them', cause i write them in 3rd person.

chilly wyvern
#

Hello, here I am again being stuck. I have a problem very similar to these, any idea what can be the issue and how can one avoid this? They all mentioned temporary solutions but not accepted answers.
https://stackoverflow.com/questions/53671821/duplicated-variable-name-in-minified-js-file
https://stackoverflow.com/questions/54146536/asp-net-mvc-bundle-minficiation-duplicate-variable-name-conflict
https://stackoverflow.com/questions/68532459/mvc-minification-seems-to-creating-duplicate-variable-names

storm stag
#

@pure copper I think our discussion have blocked because of this spam

pure copper
#

Not spam. Moving on

storm stag
#

very funny about dust and finger

#

moving on?

#

why?

storm stag
#

these questions should be posted in coding channel.

pure copper
#

Help banshee with get minification

pure copper
storm stag
#

I thought this channel can solve my pressure of working through chatting with you. lol

#

maybe not? @pure copper

mighty robin
#

Maybe you are not told this

#

Not explicitly

#

But deep down they want your soul

eternal sandal
#

you mean to say all those extra hours, unpaid, where for nothing?

robust elk
shell bluff
#

Hi friends

pseudo wagon
#

hi

tropic imp
#

Hello

#

if you want to call about development topic, let get started

candid scaffold
#

Anyone developed a web server based on c and a db based on mongodb. Tag me if there is someone

vagrant pine
#

i dont understand

candid scaffold
#

And a database based on mongo

vagrant pine
#

Does that mean the database is on another server?

candid scaffold
#

Yeah it is the c server will handle the requests and responses and if there is any need to a database it will connect to the mongod server

queen urchin
candid scaffold
vagrant pine
#

show your problem

#

@candid scaffold Are you unable to connect to the mongo server?

shy glade
#

Hello 👋 friends

timid berry
#

hallow

#

what's up

pure copper
#

Hallowed

shy glade
#

How are u

candid scaffold
dim meadow
#

does anyone have a portfolio website?

rugged adder
hazy escarp
#

anyone here is a backend developer?

covert lintel
#

Hi @hazy escarp
I am a backend developer.
what can I help you?

shy glade
vast pewter
shy glade
wet flint
#

Hi

deft oar
#

<@&852814479569059840>

lime kestrel
#

HI chat! , I am competitive programmer and now a days i am working for the robocup.

#

how can i help you

pure copper
#

Following a period of boredom after reaching the 95% complete mark on Space Wars, I am now moving on to writing the specifications for my latest learning endeavour. I think it will be called something like 'Global Domination'. Hopefully that's not a real existing name (let me know if you have heard of such). Again this will be about trying to improve the guts of a program, and not about fancy graphics, but it may attempt to work on components of a P2P network. Yes, that sounds like a tough ask to build and test across the internet straight up, so maybe I will design this with an 'Application Instance' class that can simulate the functioning, and then run instances on my own machine and switch between them to drive multiple users in a simulation. Then implement a sockets comms between LAN machines and then extend to the internet. Anyone interested in chatting ideas?

#

C++ again, but don't let that detract you from participating

pure copper
#

its a weird night in programming vc. Only lost randos dropping in and out

worn lynx
true sapphire
#

Me too

true sapphire
worn lynx
#

Me too

true sapphire
#

And improve my speaking 🫣

true sapphire
worn lynx
#

Venezuela

true sapphire
#

Nice

pure copper
#

I have a project

earnest spear
trail aspen
trail aspen
vernal fern
#

hello, is anyone working in SAP industry here?

trail aspen
#

i need problems to solve

trail aspen
#

too much network stuff

pure copper
#

The network is primarily interprocess communication. How it moves is not important for this project

true sapphire
true sapphire
true sapphire
pure copper
true sapphire
#

I have experience in web development

vagrant pine
#

Laravel number 1

#

PHP number 1

shell bluff
earnest spear
#

does anyone know about Kotlin?

#

and android studio

glass venture
#

halo

trail aspen
#

only java

tall carbon
true sapphire
#

We should do a project 🫢

dire orchid
jovial topaz
#

Can someone do a mock interview for me in 2 hours from now?

shell bluff
#

Yes, I'm changing little by little

shell bluff
pure copper
dim meadow
#

Here is the Link for a gig, If anyone need, ask me.

shell bluff
#

Hi friends

slow plaza
#

Hi

versed cave
#

whats up

wind tendon
#

Hi guys:) Im software enginner using Linux:)

gray geyser
wary relic
#

Hello, anyone here worked with vanila js, i have sm questions

true sapphire
#

Hi people

true sapphire
#

What’s that ?

pure copper
#

I find that improbable

gaunt bear
#

anybody who has experience on kubernetes ingress setting?!

fathom gale
#

hello guys. I am a junior student in first year University in Computer Science major. I also have Information Technology class to attend. I have a question. I wanna know how to study It subject. There are many slides that was given out to us by our tr in It class. Even though I know how to self-study Computer Science, I don't know how to do that for IT major. I should just read slides or maybe find something related to these concepts online and try to understand them? and should I also take notes out of it? If there's anyone who would like to suggest me for these things, I would really be grateful and appreciate for that.

daring apex
#

Hi I'm looking for software engineer ( mobile )

grim tinsel
#

Hi, I'm a frontend guy

wary relic
sterile apex
shy glade
#

Hello

#

Hi @pure copper what project?

last badge
empty spear
#

Henno

shy glade
#

How are u

tropic imp
#

@shy glade hello

desert reef
#

Hello

latent quartz
#

Hello guys I am interested in programming. I hope I would learn something from here

coarse zealot
#

If anyone is working kindly DM me

robust elk
vivid warren
#

can somebody help me

#

i cant turn on tailwindcss inlisense in github codespaces

coarse zealot
pure copper
#

Sorry to disappoint, I'm only Government.

#

Well I guess any individual could only be in one location at any one time, so the advantages of multinational are limited

shy glade
#

Hello @tropic imp

#

@peo is right 👍

#

@pure copper is right

#

@pure copper where u from? Japan? I travel in Japan in 1 of September. Japan is nice

gloomy sentinel
#

I use Arch btw

pure copper
shy glade
pure copper
# shy glade Close to finishing it?

It's a project i have walked away from 3 times already and the fourth attempt is not any better. THis time i only sit back and provide info if explicitly asked to. Bunch of chickens with no heads running around.

#

🐔

heady briar
#

is anybody here, who works with Ontap and NetApp?

vagrant pine
#

Hello everyone, I'm a Coder and I'm thinking about transitioning to a Product Owner role. Do you think it's feasible?

neat blade
pure copper
pure copper
# shy glade Well whatever works for you

It's been a highly political project with competing groups with one group trying to claim ownership because of their role in the business, but ignoring the majority of users that fall into other groups.

pure copper
sly blaze
#

Hello im a bakend guy

pure copper
shy glade
#

@peo.0#0000

sly blaze
pure copper
sly blaze
#

Oowww sorry, HAHAHAHAHA yeah im bacon 🤣

#

🥓

real river
#

Hello guys, anyone who is a native speaker here??? Or anyone who knows the best server where I can meet the native friends? I think my English level can be the native level but just wanna confirm it. What do you think friends? Looking forward to hearing from you soon!

real river
pure copper
#

Sorry I was not good enough

pulsar folio
#

hello hello everyone

#

I'm here again

#

glad to see that's all

#

i have a question

#

how to check the wifi module is working well in PC?

#

my laptop cannot find Wifi

uncut yoke
#

depends on which OS are u using

pulsar folio
#

windows

real river
pulsar folio
#

but I don't know exactly

#

and wanna check that

uncut yoke
#

its on "Device Manager" if im not mistaken

uncut yoke
#

yep

pulsar folio
pulsar folio
#

i don't know anything about Linux and how to use that

uncut yoke
#

i see, well if is on module, bad news, in most laptops it is soldered on motherboard, to change gonna take some money. Good luck

uncut yoke
#

I recommend mint to start is pretty easy to get

eternal sandal
#

I am a native speaker of the language spoken in my country :D

daring apex
#

And related with this brand

runic igloo
#

What program do you recommend using? I'm noob

opaque wyvern
#

Web development?

#

I think the best is react js

solemn gale
split nest
#

hi there

zealous island
#

danm

#

i didnt knew that have a chat for programming

vagrant pine
green aurora
#

hellllooo:> anybody know how to shortcut this program😭 it's c++

obtuse brook
#

Guys, who is a data scientist here or has some experiences in there sphere? Give me tips, how can i become a highly demanded specialist?

#

What do i need to learn? As i know, python, sql

terse scarab
#

I mean these LED showing something? right?

#

and this is proteus?

#

and this is atmega?

#

I cannot see exactly due to quality of video

#

hey @pure copper do you know ?

terse scarab
shy glade
#

Better learn it, than leave it to AI

green aurora
green aurora
shy glade
green aurora
#

arduino LED project

#

im a 10th grader student, so we're still at the basics:> we js doing light blinking rn

shy glade
#

What's it about?

shy glade
shy glade
# green aurora im a 10th grader student, so we're still at the basics:> we js doing light blink...

🤩 FREE Arduino Crash Course 👇👇
https://bit.ly/get_Arduino_skills

Want to learn more? Check out our courses!
https://bit.ly/388wS6I

Get the transcript, challenges for this lesson on our website
https://bit.ly/3LRy6lJ

We designed this circuit board for beginners!
Kit-On-A-Shield: https://amzn.to/3lfWClU

**Outline:
00:00 Int...

▶ Play video
#

Sorry about that

#

Lag

green aurora
shy glade
green aurora
shy glade
#

Would this work?

green aurora
#

i already have the codee

shy glade
#

What is it that you are missing

green aurora
#

i dont even know if there is atp

shy glade
#

Have you tried shortening the code?

green aurora
#

i dont know how to, thats the problem

shy glade
green aurora
green aurora
shy glade
shy glade
# green aurora yes:>

Another way to shorten code is to define macros. A macro means that certain strings in the code will be changed before the compilation. In C++, macros are defined using the #define keyword. This can be use in competitive programming for faster coding

pure copper
pure copper
pure copper
# green aurora hellllooo:> anybody know how to shortcut this program😭 it's c++

This will generate the sequence f numbers you need to output:

int main()
{
    int x;
    int i;
    int j;
    int HowManyTime = 6;

    for (x = 0; x < HowManyTime; x++) {
        //digitalwrite(a,
        for (i = 1; i < 32; i = (i * 2) ) {
            for (j = 0; j < 3; j++) {
                std::cout << 15 << " ";
            }
            std::cout << i - 1 << " ";
            std::cout << 15 << " ";
        }
    }
}

You will need to add the delays and throw in the digital write statement
15 15 15 0 15 15 15 15 1 15 15 15 15 3 15 15 15 15 7 15 15 15 15 15 15 15 15 15 0 15 15 15 15 1 15 15 15 15 3 15 15 15 15 7 15 15 15 15 15 15 15 15 15 0 15 15 15 15 1 15 15 15 15 3 15 15 15 15 7 15 15 15 15 15 15 15 15 15 0 15 15 15 15 1 15 15 15 15 3 15 15 15 15 7 15 15 15 15 15 15 15 15 15 0 15 15 15 15 1 15 15 15 15 3 15 15 15 15 7 15 15 15 15 15 15 15 15 15 0 15 15 15 15 1 15 15 15 15 3 15 15 15 15 7 15 15 15 15 15 15

#

Thanks for the puzzle. My spongyform brain has solidified a little more for the better

eager edge
#

hello

#

someone

terse scarab
rugged adder
#

halo guys
i made a server for programmers n we mostly r 16 years old
so gonna be nice of u joined us n advise us plsss

#

link is in my bio

dreamy grove
#

Hello guys

#

Who learn cyber security

pure copper
green aurora
pure copper
#

3 full, value, 1 full; repeat

#

And value is bits of 0 1 3 7 15 which are 1 less than 2^n

green aurora
pure copper
#

Perhaps what ever pins work.

#

Hopefully you reduced the code down to a lot less lines

violet grail
shell bluff
#

Hi friends

pure copper
#

hi

earnest fractal
frank marsh
#

Hello

smoky lake
#

Hello, guys.
Who is learning ML?
Now I am learning ML with Andrew Ng.

frank marsh
#

Guys is there someone who learned programming from
Bro Code

pure copper
pure copper
sharp spindle
violet grail
smoky lake
#

And I am working with Andrew Ng those days on Coursera

true sapphire
#

Now I’m focus on web

#

And learn English 🫣

wind mirage
# pure copper I'll just take a snapshot and post it, so it's very colorful and pretty. (Cut pa...

Its general markdown... you can write it several ways... with backticks which is the tilda key on your keyboard.

  • start with a single backtick and write the code, end with single backtick typescript or rust this is under single backtick (useful for single line code)
  • second way, start with 3 backticks and name your programming language name... it will pick up the syntax highlights.. end with 3 backticks (useful for script excerpt or multi line)
// It is python code
name = "samurai"
print(f"{name}")

You are always welcome to codesnap it from any IDE's like CODE, INTELLIJ or even vim/neovim

pure copper
lyric frost
#

Hi, friends.

lyric frost
violet grail
smoky lake
wind mirage
pure copper
#

(it appears to be a bug with a few languages presently)

frank marsh
wind mirage
foggy badge
#

Hey I need help on my discord server because I am testing a bot that I made

zealous trout
#

Hey bro tell me about programming

obtuse brook
rugged adder
#

guyssss

#

i hv a question in JS

pure copper
rugged adder
#

🛠️ Question 4:
What will be the output of the following code in strict mode?

"use strict";
let obj = {
  x: 1,
  getX() {
    return this.x;
  }
};
let getX = obj.getX;
console.log(getX());

Answer choices:
🅰️: 1 🅱️: undefined 🅾️: Error 🔄: TypeError

pure copper
#

💃

rugged adder
#

some say it's **undefined **
n some says it's TypeError

#

@pure copper
pls help brooo

pure copper
#

I'm only guessing but i word say typeerror

rugged adder
#

hmm idk chatgpt say it's undefined

pure copper
#

I things strict in js means you need to define the getX in the main

rugged adder
#

@pure copper btw bro we r group almost 16y.o could u come n be with us!

pure copper
#

And perhaps it's undefined if the getX in the class is not defined also.

pure copper
#

I'm scared you are all hackers, out to get me with that link

pure copper
#

Are there not online simulators to try the code

rugged adder
#

n here in discord

pure copper
#

Is the server on disbord

rugged adder
#

@pure copper
bro i swear we r innocent 😶

pure copper
#

I will hunt you down tomorrow when I'm on laptop, then

rugged adder
pure copper
#

Perhaps sssssss......

#

But are you all js people all 32 of you?

#

34

rugged adder
#

different feilds

pure copper
queen urchin
#

typeerror

#

in strict mode, if a function is called without a context (i.e., not as a method of an object), this will be undefined. without strict mode, this would default to the global object (window in browsers).

rugged adder
#

@queen urchin
i tyyyy bro ,i got it

true sapphire
next mortar
#

print('Hello Human')

true sapphire
#

console.log(“hi”);

vocal abyss
#

I hate this C. wtf is * & I can't understand help pls pls pls!!!

#

for example why do I have to * and &?

#

but here I don't need that. what is the difference?

pure copper
#

In the first example you are returning a value from a procedure (void return) using the parameter. In the second you are returning the value as a function.

The first method can be used to return more than just one value from the call. The second only allows a single value to be returned. The second however can be used inline in an equation, hence operates like a mathematical function.

The first method passes the memory address of the variable in the parameter list, and modifies the contents at the memory location, but the memory location address itself remains constant in the call. @vocal abyss

#

You can also use both methods together if you wish. Some changed in the parameter list and a return value. An example of use might be to use the return value to indicate success or failure of the call to the procedure, and the parameters are the things you need modified.

wary olive
#

I have asked ai, and the function of a pointer is to allocate memory so that we can achieve better application performance.

Here is an example program you created. Try measuring the execution time of the functions:

#include <iostream>
#include <string>
#include <chrono>  // For measuring time

using namespace std;

void change_value(string *a, string b) {
  *a = b;
}

string change_value_copy(string a, string b) {
  a = b;
  return a;
}

int main() {
  string name = "Pizza";
  
  // Measure time for the function with a pointer
  auto start = chrono::high_resolution_clock::now();
  change_value(&name, "David");
  auto end = chrono::high_resolution_clock::now();
  chrono::duration<double> duration_pointer = end - start;
  cout << "Time with pointer: " << duration_pointer.count() << " seconds\n";
  cout << "Value of variable: " << name << "\n";
  cout << "Memory address of variable: " << &name << "\n";
  
  // Measure time for the function without a pointer
  start = chrono::high_resolution_clock::now();
  name = change_value_copy(name, "David1");
  end = chrono::high_resolution_clock::now();
  chrono::duration<double> duration_copy = end - start;
  cout << "Time without pointer: " << duration_copy.count() << " seconds\n";
  cout << "Value of variable: " << name << "\n";
  cout << "Memory address of variable: " << &name << "\n";

  return 0;
}

Using pointers, we pass the address of a (defined with &) to directly change the value of a at the memory address pointed to by a (defined with *a). To change it, we must use the explicit syntax (*a = b).

For more explicit syntax explanations, you can refer to this https://techvidvan.com/tutorials/pointers-in-c-language/

Thus, the function using a pointer is faster than the one using pass-by-value.

Learn about pointers in C. Learn Address in C, Pointer to Pointer, Array to pointer, Passing pointer to a function & Applications of pointer.

pure copper
#

Pass by value is also a method of protecting the data sent to a procedure, so that one knows it will not be changed by the procedure call. Its not just about performance.

pure copper
# wary olive I have asked ai, and the function of a pointer is to allocate memory so that we ...

Also in this example, using a high res clock really doesn't make any difference, if you have not run this as a stand alone application on a piece of hardware. Your CPU is being shared with multiple processes all being controlled by your operating systems, and you cannot prove that no page swapping or disk accesses were involved during the run of this example, these being relatively long operations compared to a set of basic register move instructions.

#

Nothing personal but Free Real Intelligence. 🏴‍☠️

vocal abyss
#

@pure copper Hey my Asian friend can you suggest for me a book to learn C as fast as it's possible

pure copper
#

I haven't seen a book for decades. Are you sure something online wouldn't suffice

#

how about a ytube of 74 lessons of about 6 - 8 minutes each. I think its pretty good. watched it twice. Its c++ though, but basically the same

vocal abyss
pure copper
#

of interest?

#

can you program in any other language yet?

vocal abyss
vocal abyss
pure copper
#

Watch the first 20-30 lessons and you have pretty much learned C.

vocal abyss
pure copper
vocal abyss
pure copper
#

very simple one statement a lesson type instruction. Run through this and then grab a book. I have found that I have still had to look up some things that are not covered, even while doing simple programming for myself, but there is still a good introduction to the syntax and concepts

#

I found that by setting yourself a programming task and working to build that, you will need to exercise your mind and pull in all of the things you are learning. Think of a simple game, and solve that using the language. Try tic tac toe as a simple starter. Lay it out using characters on the screen and use this wil give you some loops and conditional statments and comarisons etc

#

@vocal abyss

#

As you learn the syntax of C/C++, try out some simple programs that are different to those shown in the video. This will help reinforce your understanding

#

Be cautious about using AI. It inadvertently introduces a lot of complex programming that is not part of the simple example it is trying to educate you on, and consequently confuses the reader.

#

casting pointers... Really Easy

shy glade
pure copper
shy glade
pure copper
#

(void *)&ptr;

vocal abyss
vocal abyss
pure copper
shell bluff
brittle solstice
#

Hello guys 👋🏽

inland marlin
#

Hi

brittle solstice
#

how are u? 🙂

#

I'm new here, I'd like to practice my english everyday 😩

inland marlin
brittle solstice
inland marlin
inland marlin
brittle solstice
#

thank uuu @inland marlin 🥰

pure copper
vocal abyss
#

bro wtf is that

#

there is my code , idk what is that can someone explain?

shy glade
vocal abyss
shy glade
#

as a file or a message

vocal abyss
shy glade
vocal abyss
#

why do I must write '3' 2 times?

#

never mind it's because of \n in the scanf

#

Caesar's cipher is here

pure copper
# vocal abyss Caesar's cipher is here

It is better that you cut and paste the lines of code into a post, rather than a picture. That way people here can paste it into their IDE and run it if necessary. Otherwise they need to type it all in.

vocal abyss
pure copper
vocal abyss
vocal abyss
pure copper
vocal abyss
pure copper
#

So that is the program.

vocal abyss
pure copper
vocal abyss
pure copper
#

sorry, I meant you have not decalred c

#

appropriately

#

h needs to be a constant in the declaration of c

vocal abyss
pure copper
#

You have it working in your compiled program? @vocal abyss

pure copper
#

I am glad then. I need to make some changes in my compiler, so if it is working for you all is good.

pure copper
#

Are you going to do another problem?

vocal abyss
pure copper
#

I hate random mathematical problems.

#

I think the problem is generally understanding mathematics rather than coding... But thats just me

vocal abyss
pure copper
#

Then ceasar was a good trial

vocal abyss
pure copper
#

Tyr and make a program that simulates a login.

vocal abyss
pure copper
#

Ask to input a user name, then ask for a password. Do not print the password as it is typed by the user.

#

Check that it works by printing the user and password. Compare the password with a list of users and passwords held in the program.

heavy oracle
#

c++ or c#, i’ve been doing python for just over 2 years and intend on moving over to game development (making a project as part of my course)

#

i know the basic differences but it depends on past experience

heavy oracle
#

i don’t have any spec or guidelines for the project other than word for word “complex video game (e.g including computer ai)”

heavy oracle
#

i have until around march 2026 to make it from the ground up

#

a fair bit of that being the theory/written work + learning the language

pure copper
# vocal abyss It's so hard <:whyy:1197825199131861082>

Plan out the steps you need to perform. Just simple plain language steps. Then start writing the code

Print a prompt, read a user name, print a password prompt, turn off the echo of characters and read the password. Cycle through an array of users and find the username, then compare the password stored for the user with the password typed in. If the same, them tell user welcome otherwise te;ll them its bad and ask again.

heavy oracle
#

or any of these

pure copper
vocal abyss
heavy oracle
#

it’s a college level assignment but college ≠ uni

pure copper
#

Its sounding like a lot of engine learning there.

heavy oracle
#

fun fun fun

pure copper
#

until your daddy takes your T bird away

#

🎶

heavy oracle
#

a levels are basically the bridge between school and uni

vocal abyss
heavy oracle
#

i will prolly do unreal

pure copper
#

You make up some test names for your program.

#

Dont accept names that are not valid either

pure copper
heavy oracle
#

uhhh

#

compare it to AP courses but more in depth

#

split into the AS year and A2 year

#

years 12/13

pure copper
#

ok. I see that OCR is a private business providing education.

#

in UK

#

so UK Level A

heavy oracle
heavy oracle
#

there’s multiple exam boards that provide different courses

lavish scarab
#

Guys I know what the code do but when I try to do a project I can't
Any tips?

heavy oracle
#

the exam board for my maths course is a fully private company though

pure copper
heavy oracle
#

i am in england

pure copper
pure copper
vocal abyss
pure copper
vocal abyss
pure copper
vocal abyss
pure copper
vocal abyss
pure copper
#

explains it then. Happy coding

#

Move on to leetcode

vocal abyss
pure copper
#

Its a website that provides challenging little exercises, that you need to solve. It will test the code you write and rank how good it is against other people who have solved the problem

vocal abyss
pure copper
#

The website provides test data into the code you type in , and checks that it works. If an expected answer does not happen, then you have made an error.

#

It tells you what it put in and what it expected, and what you produced.

vocal abyss
paper saffron
#

Hi

#

Is someone here know golang

shy glade
paper saffron
paper saffron
#

@shy glade @inland marlin thanks a lot

wary olive
heavy oracle
#

what are the best resources for learning c++

#

i come from python

heavy oracle
shy glade
pure copper
pure copper
shy glade
pure copper
vocal abyss
#

I need help! How can | start create my own 3d game in C? there's so few resources and they told me better do that in c++ but I want to do that in C!!!

pure copper
# vocal abyss <@957680716731256923> Hey my Asian friend can you suggest for me a book to learn...

Hey, I found this link when you asked the questioon. It has a number of C books and links to the online texts of these books, so its not too bad. I had a browse through some of them and they are a 'source' of knowledge. Happy reading

https://www.linuxlinks.com/excellent-free-books-learn-c/

C is a general-purpose, procedural, portable, high-level programming language that is one of the most popular and influential languages.

#

As you wrote programs in minutes, I think these will be fast to read for you also.

#

💃

violet grail
heavy oracle
hallow kraken
#

hi

#

any python developer or anyone learning i need to study with me

shy glade
hallow kraken
shy glade
hallow kraken
pure copper
#

I think most learning by oneself is still supervised by proxy. When you read a text book or a wiki, there is structure in the writing put the by the author that typically guides from easy to hard, provided you start at the beginning and move towards the end of such texts.

Picking up some written coffee and trying to understand it by searching for the syntax on each line would be closer to unsupervised. Completely random stuff, needing to be learned as you come across it.

shy glade
pure copper
#

But unsupervised computers learning is a completely different ball game

shy glade
heavy oracle
#

once you reach a certain point you gotta wing it

hallow kraken
pure copper
#

Supervised programmers learning to teach supervised computers to learn unsupervised.

pure copper
#

The output is memory and ability to pull memory and construct things from it based on random input requests.

#

When i was six, i bought a pound of random nails, and hammered them into wood laying around the yard. I learned that some nails work better than others when hit into some types of wood. Later when i had those pieces of wood, i would use the nails that worked best in previous attempts.

#

A +b : use method x

pure copper
#

@tiny jewel No I don't program with Python. I could probably understand it though

shell bluff
#

Hi friends

violet grail
shell bluff
violet grail
plush ether
#

👁️

full tree
#

hello, everybody how are you? Can you help me with html css and javascript coding?

full tree
#

Thanks, for how I shall communicate with you to learn coding.

oak elm
#

Hi all! how its going? Im dev if any has a project I like to help.. so md me

heavy oracle
#

aka hello

plush ether
cobalt ridge
#

Hii

heavy oracle
cobalt ridge
#

and also the royal family

heavy oracle
#

you are awful at pretending 😭

pure copper
#

I believe there are emulators you can use

misty fractal
#

Pls help 😭

#

Ai is taking my job

#

😔

#

How do I defeat Ai and become a superhero in coding, guys 😔

#

I want to save the lives of others as well as my own in programing😔

inland marlin
shell bluff
wary relic
#

u can use virtual machine or search about dual boot

cobalt ridge
bronze stag
pure copper
#

🐰

opaque wyvern
shy glade
opaque wyvern
queen spindle
misty fractal
#

Okay i will be his friend

misty fractal
#

im jk guys

queen spindle
#

anyone who learning spring + java blob_peek

pure copper
#

Tonight I am learning Rust... Interesting but I don't think its going to be my favourite

shy glade
digital badger
#

Hello I am a new student in a programing's university and I want to ask you how to began learning the cybersecurity and programing the application and making the websites

hollow fog
# digital badger Hello I am a new student in a programing's university and I want to ask you how ...

Hey,
If you are a really beginner (I mean zero in IT field)
First of all You should to learn about computer science in general
There a course called cs50 from Harvard university
It is a free course
And it is a great course
Then you should to learn about networking
There is a course called network+ from the CompTIA company
It is a good after this take a security+
Then you more than welcome to cyber security

dire lotus
#

hi

earnest spear
#

hi

pulsar folio
#

hello everyone. Who can explain to me how Humanitarian, HOW people have created programs, computer languages etc.
How of 0 and 1 it's possible?

earnest spear
quiet spoke
#

hey guys i learned JavaSE (Java Core). and looking for a path for java. what you doing at the moment

high oasis
#

hi

dire lotus
#

Is there anyone between the ages of 13-15?

glossy edge
#

C++ is the best programming language

carmine echo
glossy edge
carmine echo
inland marlin
heavy oracle
shy glade
pure copper
#

Snobol is the best

pure copper
earnest spear
#

i'm working on a small project that i was excited to put together, it's a website to learn languages with other people (i know there are already many but i was excited to create one)

#

planned to make it open source, so if anyone wants to contribute i would love it

robust elk
pure copper
#

a peer to peer network could alleviate that

pure copper
#

How about talking about your project here @fast depot , rather than me emailing you about it.

signal mist
#

hi

#

anyboby know SAP sd

earnest spear
# pure copper What will it do?

you'll be able to chat with an AI, join voice rooms, and hang out in chat rooms too. there’s also gonna be a section for books, magazines, and other stuff from different countries, so you can explore a bit of everything SadHamster

#

i’ve already set up the chat rooms, so you can talk with others one-on-one or in groups

pure copper
earnest spear
earnest spear
split sky
#

Hi there!
i'm front-end developer, using the ecosystem of react someone working with those stacks?

primal delta
#

I'm a programmer

earnest spear
violet grail
split sky
fast depot
#

Where is developer?

#

Hi, Peo

#

@pure copper Let's talk in DM.

earnest spear
shy glade
#

learnt how to use boolean and if's in java :D I was about to send the code here but it won't let me :c

#

import java.util.Scanner;
public class wewe {
public static void main(String[] args) {
Scanner number = new Scanner(System.in);
String num1;
boolean lol;
System.out.println("is cheese good? ");
num1 = number.next();
lol = (num1.equals("yes")); if(lol){ System.out.println("agreed"); }else{ System.out.println("too bad we only listen to people who's opinion don't SUCK");} }}

#

welp that's a way to bypass it

#

it just looks odd xD

earnest spear
#

but is cheese good?

pure copper
shy glade
trim gate
#

ooh, I just realized there is a prog channel here, wsp CS nerds

earnest spear
inland marlin
queen urchin
inland marlin
earnest spear
#

front

#

express on backend

#

dunno what's the best, just chose what is easiest for me

limber mulch
viscid geyser
#

hj

pearl spire
#

Is this channel for programmers?

#

Is it possible to talk about programming here?