#💻|programming

1 messages · Page 16 of 1

sterile apex
#

take your time

ebon yacht
#

❤️

sterile apex
#

👍

severe cradle
#

Cultural stereotypes, or even averages are all very well, but in the end, best to like or not like people, individuals; those relationships are between individuals.
If you like to embrace the differences then you may work: you know; you like Java, she programs in PHP. Sometimes it just works.

ebon yacht
#

spoke the truth

mighty robin
#

i dont like java

#

and why would anyone write php

prime breach
#

That's the best thing to do
I agree with this idea 👍👍

ebon yacht
ebon yacht
prime breach
restive dawn
#

Oh man idk
I’ll try to copy the code from the book and make some changes to finally understand what the thing is

#

Like the <Type> stuff

#

The angle brackets

ebon yacht
#

Copying code from the book is very annoying

pure copper
#

If people are still manually messing around with html /xml stuff after 30+ years of it being around for 'web use' (it was around even before this), then it's time to reconsider your occupation. That was one reason i decided not to follow the web track, as it was a massive step back into the 60s and it still appears to be stuck there.

sterile apex
#

🤔 why dont we go to stone age?

ebon yacht
#

Hnnn

#

If I could, I would like to live in the time of Socrates discussing philosophy with them

boreal adder
#

Welcome to Programming Chat

What we do here

1) We talk about coding and learn new coding.
2) We teach others how to do coding.
3) We chill with coding here.
severe cradle
ebon yacht
#

good point true

severe cradle
pure copper
# sterile apex 🤔 why dont we go to stone age?

Up until 1995, development told were really becoming good. They use of visual products always automated generation of the interfacing code. This was just not needed to be seen by developers. It was only looked at in cases where the automation could not handle complex tasks. However the web browser came in an started using the html, and it being a new dev method, had no tools. So programmers had to manually code the pages. The development tools should have been available through automation by now, and no one should need to be looking at that stuff. It's equivalent to chatgpt being released and 25 years from now people will need complaining, why are there still people talking with each other. The automation just never happened. It's not a case of going back to the stone ages that i am advocating, rather it's the industry is pushing out random languages with trivial differences between them, and only for the sake of trying to make money as the newest bleeding edge tech, when the simple fact is, programming is not all that difficult, and shouldn't be, but industry is continuing to make it more and more complex for no real gain.

ebon yacht
#

Oh my god

pure copper
#

Witch witch. Burn the Peo

severe cradle
#

Automation: humbug; will never catch on.

severe cradle
pure copper
#

The sad tragedy of web page work, is it was just the entry fields and controls that programs already easily had, with drag and drop. But it was also built with an old text definition language that was used for word processing. In the 60s, the office 'girls' would take the documents from the typing pool and mark them up with special characters,(like .b, .l etc) that would create bold or italics, or indent and make nice right justified blocks.

The marked up text would then be run through a program like roff ( run off) and it would insert the Ascii characters necessary for the line printers to perform the magic of font changes and darker characters etc.

In 1995 this was used in the web pages again but the tech has long been replaced with word processing software such as word perfect or word or framemaker or many others. So the advent of web pages, it could only be done by hand using simple text editors (vi, edit), thrusting the industry back 30+ years. Word processors adapted the html and xml, but pulling this into the existing IDEs never happened as it was considered word processing and not programming. And then programmers had to find ways of using macro processing to preprocess the programmable scripts into the html and blah blah here we are with 8000000000 people in the planet and 200000000 trying to learn programming, using straw and cow droppings from the back yard, defined as computing.

Just a rant. I'm sure we will all be here in 50 years time still enjoying our computers.

severe cradle
#

So spoiled if you always were able to use ASCII. EBCDIC - that was fun.

sterile apex
ebon yacht
#

my brain is buggy with so much information

sterile apex
#

But programming become easier and easier with the passage of time

ebon yacht
#

yes, studying every day is progress

#

I have insomnia I can't sleep, meanwhile I'm thinking about creating a website

sterile apex
#

If we use only assembler still still , it would be too difficult for us to make a app such as simple 2048 game.

sterile apex
#

bro

#

did u make your own portfolio?

pure copper
ebon yacht
#

I'll see if I can create my portfolio

sterile apex
ebon yacht
#

Thanks for the sugestion

pure copper
#

$$was$that the only that looked like this$$$

#

For special editing but still was wysiwyg

#

Chills down my spine thinking this far back.

severe cradle
sterile apex
#

we have to rename our OS to battle field of programmers?

pure copper
#

It sort of ctrl-g with me

severe cradle
#

^g - haven't thought that for a while. 🙂

#

Think I tried to send a ^g through the chat at work a while back and found it would not do it. 😦

pure copper
#

Son of @pro, asking his father, wdym keyboards. what's a phone? why did you use your fingers for things. are you just making up the fact you worked with 'so called computers'whatever they are. i don't believe you.

pure copper
#

my house

#

Now back to work

sterile apex
#

my son will believe his father.

ebon yacht
#

Lol

fringe heron
#

Hi I hope you're fine ? I would like to have an idea more than for my end of study project I am going to make a hotel reservation website and therefore I don't know how many pages to make and also for the admin what should I do? If someone has an idea

pure copper
# fringe heron Hi I hope you're fine ? I would like to have an idea more than for my end of stu...

Work out what you want to show from the hotel as the client. If you are just doing the reservation system, will you make some dummy publicity pages around it, or just straight into the reservations. If reservations, what do people want to see. Pages for room layouts, tables of cost comparisons and selections, what is available on selected dates, then go into the pages needed to enter details and make payment.

If you are stuck for ideas, go to an existing site and see what they show eg hotels . Com.

For the admin you will need reports, like bookings, scheduled dates, times, banking etc

fringe heron
pseudo shale
#

Hi is anyone interested in data science in football?

sterile apex
#

i love football games

#

and know about data science a bit

fringe heron
pseudo shale
#

Lately I've been interested in python and I'm new in that field. I watch the matches of the lower leagues that do not have data and extract the statistics of these matches by myself. Do you know any methods that will make my job easier in data collection? For example, using fc python, I save the actions in the match to csv file moment by moment, but it takes too long to do it manually.

shy glade
#

What are the differences between HTML and HTML5
And between CSS and CSS3

sterile apex
#

HTML, in its basic form, refers to the original version of Hypertext Markup Language. It has evolved over time, and various versions have been released since its inception.

#

HTML5 is the latest version of HTML, introducing new features, elements, and attributes to enhance the capabilities of web pages.

#

HTML5 introduces new semantic elements like <header>, <nav>, <section>, <article>, <aside>, and <footer>. These elements provide more meaningful structure to web documents, aiding in accessibility and search engine optimization.

#

HTML5 has introdeced Audio and Video Support, Canvas Element, Improved Forms, Local Storage, WebSockets and Responsive Design and so son

#

CSS3 being the latest version of the CSS standard. ckeck more details in W3school.

shy glade
#

@sterile apex Thank you very much

sterile apex
zinc narwhal
#

smn can help to solve smth in javafx

restive dawn
sterile apex
#

Today would be a hard day for me.

#

because i didn't updated my code in last weekend.

#

i forgot what i would have to do today, lmaooo

#

i hope all my friends would have a wonderful start of week.

shy glade
#

damn i have to come back to my country

#

😦

#

i miss you AUS

buoyant skiff
#

I have a problem in Python, can you help me?
how to outline in json file??

sterile apex
#

import json

Create a dictionary representing your outline

outline = {
"section1": {
"sub-section1.1": {
"item1": "description1",
"item2": "description2"
},
"sub-section1.2": {
"item3": "description3",
"item4": "description4"
}
},
"section2": {
"sub-section2.1": {
"item5": "description5",
"item6": "description6"
},
"sub-section2.2": {
"item7": "description7",
"item8": "description8"
}
}
}

Convert the dictionary to JSON format

json_data = json.dumps(outline, indent=2) # The indent parameter adds indentation for readability

Write the JSON data to a file

with open("outline.json", "w") as json_file:
json_file.write(json_data)

buoyant skiff
#

what is indent

sterile apex
#

In this example, outline is a nested dictionary representing a structured outline. The json.dumps() function is then used to convert this dictionary into a JSON-formatted string. The indent parameter is optional but adds indentation to the JSON string, making it more readable.

Finally, the JSON data is written to a file named "outline.json" using the open() and write() functions.

sterile apex
shy glade
#

wyeahhh

sterile apex
#

silent

#

i'm working.

shy glade
#

take a break dude

sterile apex
#

it's break time

#

😆

shy glade
#

that's why break is break

#

lol

sterile apex
#

lol

#

wanna see me?

shy glade
#

i don't get it

sterile apex
#

r u going to leave aus?

shy glade
#

yes

#

after 13 hours later

sterile apex
#

fresh air

#

blue sky

#

and kangaroo

#

lol

shy glade
#

yes i really miss it

sterile apex
#

🤓

#

u means kangaroo?

#

lmaoooo

shy glade
#

the nature and land scape

sterile apex
#

i'll show it everyday

shy glade
#

the village

sterile apex
#

just kidding bro

#

don't be serious

#

what about immigrating to aus

shy glade
#

lol those it looks serious?

shy glade
#

whenever i get ready

#

but nationality is not a point

#

The point is what i work, where i live is

sterile apex
shy glade
#

hmm... agree

sterile apex
#

oh gosh

#

where's time go

shy glade
#

lolll

sterile apex
#

time break is done

shy glade
#

gotta go

#

do work hard bro

#

to buy a nice house

sterile apex
shy glade
#

see u

shy glade
sterile apex
#

enjoy my room

#

@shy glade

shy glade
#

cool~

pastel crane
#

Hi, @sterile apex

sterile apex
#

i'm in work bro

#

sht!

blazing bridge
#

yo ppl

#

is there anyone who is currently studying in japan?

#

i want to talk to someone from UTokyo specially

sterile apex
#

🤨

blazing bridge
#

i want to apply in tokyo university next year so i just want to know if there is someone who is currently studying there

sterile apex
blazing bridge
sterile apex
#

なぜ東大が欲しいのですか

blazing bridge
#

did you apply in MEXT?

sterile apex
#

for Monbukagakusho?

blazing bridge
#

there are many reasons why but ig thats the major thing

blazing bridge
sterile apex
#

lol

blazing bridge
#

well ik that there are many scholarships in japan

#

but ill try to focus in one first

sterile apex
sterile apex
#

and UTokyo is top-notch university

#

where r u from?

blazing bridge
sterile apex
#

and cute hard

blazing bridge
#

Yeah i heard that

#

Well I'm trying to apply at PEAK
Ik it sounds like i don't have a chance but why not lol

#

So im looking for someone already there and ask for tips

sterile apex
#

i hope u would pass the exam

#

good luck

blazing bridge
#

Thanks

sterile apex
blazing bridge
sterile apex
blazing bridge
#

And what kind of exams is it

sterile apex
blazing bridge
#

Oh nice

#

Im graduating this year
From secondary school💀

sterile apex
#

do your best

blazing bridge
#

Thanks
You too

sterile apex
#

🤗

sudden zodiac
#

hello

buoyant skiff
#

hi

hoary hornet
#

🙋‍♂️

#

who is a microcontroller programmer?

sterile apex
#

ellloooo~~~~

#

is there anyone here?

#

eweeewerrrr~

#

🤨

hoary hornet
#

i

sterile apex
hoary hornet
hoary hornet
#

🤣🤣why?

sterile apex
#

why doesn't anyone say good morning to me?

#

😔

hoary hornet
#

aha ok😅
where are u from

sterile apex
#

i mean los angeles

hoary hornet
#

i understand
about 12 hour difference with me

sterile apex
hoary hornet
#

Right 👍
iran

sterile apex
hoary hornet
#

I'am an electronic student

sterile apex
#

mm.. electronic engineering?

hoary hornet
#

in programming more work with C language and microcontroller

sterile apex
#

AD-DA exchange

#

pic

hoary hornet
#

what about you?

sterile apex
#

adapter

#

...

#

aduino

hoary hornet
sterile apex
#

use proteus?

#

and microc?

hoary hornet
#

sometimes
i surprise that you know these

sterile apex
#

why mustn't I know about electronic engineering?

hoary hornet
#

you didn't say

sterile apex
hoary hornet
#

what is your field?

sterile apex
hoary hornet
#

great 😃

sterile apex
#

🫣

hoary hornet
#

good, do you work or just study?

sterile apex
ancient sun
pure copper
#

dhjscvh,djk vfhglkvmngfhanskjxckljkvjhvjhvkjhkvjfhvkjxhv kjhkcnm cm, v vmv vv

#

df sdfkvklvffdjkhvjfhkjhkjh kjhvjh jkh fkj jkh kfdjh jkhcxkjfhd kjh kjh kjhlk jhc fv f

sterile apex
#

had a nice time at work?

hoary hornet
ancient sun
sterile apex
#

MicroC!!!

#

so funny but memory limite was terrible

hoary hornet
#

i work alone
but i love to be in a team.

hoary hornet
sterile apex
#

🤨

#

I couldn't get used to small memory situation.

#

unsigned int

hoary hornet
sterile apex
#

😆

hoary hornet
#

microc for what
avr
arm
pic

sterile apex
hoary hornet
sterile apex
sterile apex
hoary hornet
#

i work more with ARM and keil compiler

sterile apex
#

but those days, i learnt pic and arm.

#

😁

hoary hornet
ebon yacht
#

He is old

sterile apex
sterile apex
ebon yacht
sterile apex
#

😆

#

he loves asian

#

lol

#

and me too

hoary hornet
#

i'am glad to hear that😀

ebon yacht
#

your food is wonderful

#

minus Susi I hate Susi

sterile apex
hoary hornet
#

Susi?

sterile apex
#

u have to love Susi

restive dawn
#

@sterile apex how would u fix this

sterile apex
#

i'll introduce to u a cute japanese girl

#

lol

#

so u have to do it

sterile apex
hoary hornet
#

you mean sushi?

ebon yacht
sterile apex
#

modify the function

#

or to keep function is
function a5(...rest: string[]) {
// Your function logic here
}

const _a5: string = a5(...["123", "222"]);

restive dawn
#

i aint got to write no logic inside the function

sterile apex
restive dawn
#

i gotta enter the type

#

'any' works but im not sure its the right way to use it

sterile apex
#

do not write logic

restive dawn
#

so what do i do

sterile apex
restive dawn
sterile apex
#

or explain about "any"?

#

The function a5 is defined to take a variable number of string arguments, but you're passing an array directly.

#

You should either modify the function to take an array or spread the elements of the array when calling the function.

restive dawn
#

soooo the solution is??

pure copper
#

My guess is use any to capture the odd stuff

sterile apex
#

i gave it to u

#

lol

restive dawn
#

ye seems like theres no options left

#

but using any

restive dawn
#

it is taking an array

sterile apex
#

function a5(arr: string[]) {}
const _a5: string = a5(["123","222"]);

pure copper
#

In another language I use, one can define type object which is any type. So it gets cast to wnatever you needwhen you need it, but containes a byte blob

restive dawn
#

i have to work with "a5" line only

#

that is the task

pure copper
#

does ...rest :any [] work?

restive dawn
pure copper
#

I was thinking it was a parameter thing ---> function a5(...rest: any[]): any (But I'm not familiar enough with this language I've only spent 2 hours on it and have 30 more lessons to go) cat_Sip But just throwing ideas around the room

restive dawn
#

not kidding

#

u barely know the language tho u send ideas as if u know it

#

ur right

sterile apex
#

i'll give u answer

restive dawn
#

okay

sterile apex
#

function a5(...rest: string[]) {
return rest;
}

const _a5: string[] = a5("123", "222");

sterile apex
#

check this

restive dawn
#

wait

#

u changed _a5 again?

sterile apex
#

lol

#

why not?

restive dawn
#

u cant

#

told ya

#

i cant change the _a5 line
i have to work with "a5" line only
that is the task

#

@sterile apex

sterile apex
#

function a5(...rest: string[]): string[] {
return rest;
}

const _a5: string[] = a5(...["123", "222"]);

restive dawn
#

well actually u could just use overloads

sterile apex
#

M.. what about this?

restive dawn
#

to solve this

#

function a5(...rest: string[]): string { } function a5(...rest: string[]): string | void { }

sterile apex
#

i didn't know about your task, lol

#

function a5(...rest: string[]): string[] {
return rest;
}

const _a5: string[] = a5(...["123", "222"]);

#

this is right answer for your task

restive dawn
#

once again we are not returning nothing and we are not changing _a5

#

ill try overloads

sterile apex
#

try this

#

it's right answer

#

ok? @restive dawn

#

u must return value rest.

restive dawn
#

hol up

#

overloads are fucking w me

#

lmao

sterile apex
#

ease~

#

ts is not so difficult

restive dawn
#

wanna see?

sterile apex
restive dawn
sterile apex
#

haha~~

#

u're a genius, @restive dawn

pure copper
#

function a5(...rest: object[]): object maybe

sterile apex
#

and i think u have to be polite to seniors
@restive dawn

#

lol

sterile apex
#

peo is also a senior to u

restive dawn
sterile apex
#

but she doesn't know about typescript

pure copper
#

i c

restive dawn
sterile apex
#

it's not her major .

pure copper
restive dawn
#

i hope peo didn't get me wrong

#

didn't mean to be rude

pure copper
#

im fine

sterile apex
pure copper
#

idc

restive dawn
#

wat
brooo i didn't say anything bad

sterile apex
#

lol

pure copper
#

its dereferenced @pro that is mystery

restive dawn
sterile apex
#

she's also genius

#

but does not reply to me at all.
i was ignored every day

#

haha~

pure copper
#

back to listening to my gramophone

#

32 pffft

#

🥳

restive dawn
pure copper
pure copper
#

Or is that proclaims

sterile apex
#

wht?

restive dawn
#

want more tasks?

#

@sterile apex

sterile apex
#

busy morning

#

let's do

restive dawn
#

@sterile apex
okay so basically u gotta change types BA BB and BC to make it work
`type BA = null;
type BB = null;
type BC = null;

const b1: BA = () => "111";
const b2: BA = a => "111" + a;
b1(10);
b2(15);

const b3: BB = () => [15];
const b4: BB = a => a;
b3([100]);
b4();

const b5: BC = () => 10;
const b6: BC = a => a;
const b7: BC = (a, b) => a + b;
const b8: BC = (a, b, c) => a + b + c;
b5(60, 70, 100, 15, 222, 334);`

restive dawn
#

u only change BA BB BC

sterile apex
#

try this

#

right answer?

restive dawn
#

why any

sterile apex
#

any is perfect

#

lol

restive dawn
#

i bet they'd fire me for using any

pure copper
#

Compiler assumes you know what you are doing with any so doesn't complain. It just accepts it (Just thinking)

sterile apex
#

u would not be fired

restive dawn
#

i got one with overloads

#

wanna try?

sterile apex
#

try

restive dawn
#

specify strict overloads of the c function so there are no compilation errors and the c function cant be called with any parameters
`function c(): number;
function c(...rest: any[]): any{

}

const c1: number = c();
const c2: [number] = c(10);
const c3: string = c("string", "111");
const c4: number = c("number", 10);
const c5: boolean = c("boolean", false);
const c6: boolean = c("any" + "string", true);`

#

@sterile apex

sterile apex
#

got it

#

function c(): number;
function c(arg1: "number", arg2: number): number;
function c(arg1: "boolean", arg2: boolean): boolean;
function c(arg1: "string", arg2: string): string;
function c(arg1: "any" | "string", arg2: any): boolean;
function c(...rest: any[]): any {
if (rest.length === 0) {
return 42; // Default behavior for c()
} else if (rest[0] === "number") {
return rest[1] + 100;
} else if (rest[0] === "boolean") {
return !rest[1];
} else if (rest[0] === "string") {
return rest[1] + " appended";
} else {
return true; // Default behavior for c(...rest)
}
}

#

@restive dawn

#

try this

restive dawn
#

brroooo

#

u aint returning nothing

#

omg

ebon yacht
#

Here's what you do, drop all that and go beat someone in Muay Thai

sterile apex
#

haha~

ebon yacht
#

I do this when the code makes me angry or frustrated

sterile apex
#

👊

ebon yacht
#

Ahhahaha

sterile apex
#

💃

restive dawn
#

so pro

#

is there anything?

sterile apex
#

💪

sterile apex
pure copper
sterile apex
restive dawn
# sterile apex what?

i did this
function c(): number; function c(a: number): [number]; function c(a: string, a1: boolean): boolean; function c(a: string, a1: string): string; function c(a: string, a1: number ): number; function c(...rest: any[]): number | [number] | string | boolean | void {}

sterile apex
#

i have searched companies in aus.

#

👍

pure copper
restive dawn
#

it kinda does

sterile apex
restive dawn
#

but we do whatever we want

restive dawn
pure copper
#

yes but 'any' doesnt return compiler errors, that's why it says strict only. They don't want you to use it

restive dawn
#

yeah
we also have "number | [number] | string | boolean | void "

#

so we good

sterile apex
#

i don't think so

pure copper
sterile apex
#

😡

sterile apex
#

is also ok

pure copper
#

So provide an overload now that is not strict/

restive dawn
#

no bueno

sterile apex
#

everyone has own coding style

#

it maybe different from each other, but com can accept it without any errors.

#

my code defines strict overloads for c with specific combinations of parameters.
The function implementation then checks the parameters and provides the corresponding behavior.
The given examples should not result in compilation errors, and each call adheres to one of the specified overloads.
Adjust the implementation as needed based on the actual behavior you want for each case.

#

🤨

#

@restive dawn if u'll learn a bit more, u would understand my word.

#

🫨

restive dawn
#

okay im lost

#

gotta define DD interface properly

#

@sterile apex yk the solution?

sterile apex
#

only DD?

blazing bridge
sterile apex
#

what about DA, DB, DC, DD?

restive dawn
#

only DD left

sterile apex
#

interface DD {
(index: number): string | number | boolean;
length: number;
position: [number, number];
}

#

🤨

#

is this right?

restive dawn
sterile apex
restive dawn
pure copper
#

let me try this....

restive dawn
#

go ahead

#

i suppose we gotta use the angle brackets type

pure copper
#

naaa I dont get the format yet.... next year maybe

restive dawn
#

ahahahaha

restive dawn
thick canyon
#

What is your github id

#

Bro

pure copper
#

Try rearranging the union and putting boolean| number| string

restive dawn
sterile apex
#

interface DD {
(index: number): string | number | boolean;
length: number;
position: [number,number];
}

#

i think this is right answer

restive dawn
#

nah

#

same errors

pure copper
#

Try : Object

sterile apex
#

lol~

restive dawn
#

xd

pure copper
#

such a pessimist @sterile apex

pure copper
restive dawn
sterile apex
pure copper
restive dawn
sterile apex
#

interface DD {
(index: number): string | number | boolean;
length: number;
position: [number, number];
}

const d4: DD = null as any;

const l: number = d4.length;
const [x, y] = d4.position;
const d4_1: string = d4(0);
const d4_2: number = d4(1);
const d4_3: boolean = d4(100 + 500);

#

haha~

#

add d4:DD = null as any;

#

lol

restive dawn
#

interface DD { length: number position: number[] <T>(a: T): T }
this works for _d4

pure copper
restive dawn
pure copper
#

sort of on right track then

pastel crane
#

Hello, Everyone
I have Innovative Collaborative Opportunity on Upwork for U.S. Residents

restive dawn
sterile apex
#

T is template

restive dawn
#

is helps me get rid of d4_2

#

its error i mean

#

somehow

pure copper
#

does 100+500 map as a type number?

restive dawn
#

boolean

pure copper
#

how?

#

what is it representing?

restive dawn
#

okay i got it

#

interface DD { length: number position: number[] <T>(a: number): T }

#

@sterile apex

restive dawn
sterile apex
pure copper
#

d4(x:boolean) : string

sterile apex
#

const d4: DD = null as any;

#

lol

#

same same with me

restive dawn
sterile apex
#

u have to add const d4: DD = null as any;

restive dawn
restive dawn
sterile apex
restive dawn
#

i got no errors

#

compilation's done

sterile apex
#

ts version?

#

and tsc

restive dawn
#

wut

restive dawn
sterile apex
#

that code outputs error in my compiler

#

🤨

restive dawn
#

we'll take a look

#

and

#

@pure copper thanks for help!!!!

pure copper
sterile apex
sterile apex
pure copper
sterile apex
#

🫤

pure copper
sterile apex
#

interface DD<T = any> extends Function {
(index: number): T;
length?: number;
position?: [number, number];
}

const d4: DD = null as any;

const l: number = d4.length!;
const [x, y] = d4.position!;
const d4_1: string = d4(0);
const d4_2: number = d4(1);
const d4_3: boolean = d4(100 + 500);

restive dawn
#

still no errors for me

sterile apex
#

interface DD<T = any> extends Function {
(index: number): T;
length: number;
position: [number, number];
}

const d4: DD = null as any;

const l: number = d4.length;
const [x, y] = d4.position;
const d4_1: string = d4(0);
const d4_2: number = d4(1);
const d4_3: boolean = d4(100 + 500);

#

i made like this

pure copper
#

const d4: DD = null

#

-any

restive dawn
#

nah the thing is ur not supposed to touch anything but interface's content that lies inside @sterile apex

sterile apex
#

but if i minus any, it would output error

restive dawn
#

idek why u still getting the error

sterile apex
#

lol

restive dawn
#

try reopening the sandbox

pure copper
#

have you tried switching your machine off and on?

restive dawn
#

ye

sterile apex
#

oh stressful

pure copper
#

probably some random static between a memory pin

#

have yuou cut and pasted shotguns code into your thingy

#

@sterile apex

sterile apex
#

i think it's perfect answer that is added "any"

sterile apex
#

if we don't add "any"

pure copper
#

JUST DO IT

sterile apex
#

the compiler may not output any "errors", but it would make "runtime error"

pure copper
#

interface DD<T = any> extends Function {
(index: number): T;
length?: number;
position?: [number, number];
}

const d4: DD = null;

const l: number = d4.length!;
const [x, y] = d4.position!;
const d4_1: string = d4(0);
const d4_2: number = d4(1);
const d4_3: boolean = d4(100 + 500);

What does this do?

sterile apex
#

@restive dawn bro

#

run my code without "any"

pure copper
#

where's that emoji you like to use?

#

🔴

#

close enough

#

🍓

#

oh

#

😡

sterile apex
#

🤬

#

oh~

#

time to work

#

i'm late

#

🥴

#

by @pure copper

#

gn

pure copper
ebon yacht
#

Cute

livid osprey
#

Hey guys

severe cradle
blazing bridge
#

bro isnt MEXT and Monbukagakusho are the same?

prime breach
#

Hi i have a problem with the network in my pc , there is anyone knows about these stuffs ?

ebon yacht
gray verge
ebon yacht
prime breach
ebon yacht
prime breach
ebon yacht
#

It's cool to hit the modem

prime breach
#

Hahaha

gray verge
#

Don't vent on the modem whyy

#

I can't hear nor speak when i use dc in my pc

ebon yacht
#

I'm a person who likes to take my anger out on objects and fighters, sorry

gray verge
#

It's oky pats

#

My brothers r the same

ebon yacht
#

🙏🏻 วันที่ดีกว่าจะมาถึง

ebon yacht
ebon yacht
prime breach
plush parrot
#

@prime breach did you try rebooting

ebon yacht
prime breach
plush parrot
#

@prime breach try turn off and then on again

prime breach
plush parrot
#

if problem persist, go to settings > system > troubleshooting > other troubleshooting methods > network and internet. then click run

#

thats for windows 11 but i guess on win 10 is kinda the same

plush parrot
#

reboot modem?

#

router

#

unplug re-plug

prime breach
prime breach
#

Maybe it will be clearer

#

@plush parrot i think this is instead of the wire right?

plush parrot
#

you use a wifi adapter?

prime breach
prime breach
plush parrot
#

ok then plug it and click first option

#

also try to disable and enable wifi adapter from control panel > network and internet > connection and sharing center (or something similar) > click on wifi link to disable

prime breach
#

The networks appeared

plush parrot
#

nice 😊 👍

prime breach
plush parrot
#

no problem

sterile apex
#

🤨

fringe heron
#

hello someone has idea about a startup please!! i've a project to do in my college

mighty robin
#

Yes, sell AI generated nude photos of AI generated influencers

prime breach
#

It suggests a lot of ideas

bronze stag
pure copper
sterile apex
#

the real administrator of this OS is @pure copper

#

and i think we have to learn from each other in this OS.

#

So, u would be our teacher.

ancient sun
#

guys do you know a good server for programmers?

prime breach
ancient sun
karmic snow
sterile apex
#

🤬

prime breach
#

To share another server

prime breach
sterile apex
#

haha~

prime breach
#

I'll sapous thats mean No

sterile apex
#

tell us about yourself

prime breach
#

I'm new here

sterile apex
#

nice to meet u

prime breach
#

Nice to meet u too tomsip

sterile apex
#

do u know?

prime breach
#

Lol😄

sterile apex
pure copper
# ancient sun guys do you know a good server for programmers?

Hey, I didnt join discord for computers, but over the past year, I entered a number of servers that were looking really good, but they had all died. No activity for months of even years apart from a few hellos of people enterings and seeing an apocalypse. This channel here, while not in a 'computing server' as such has been the most active I have found in 2 years. (Sure maybe it could have been better for me if I wasn't searching for COBOL and Fortrancat_nkoderp bubbles_sad shy_stare )

#

Just feeding the room for tonight's trolling 🥳 🧜‍♀️

sterile apex
#

let's reply together to guys.

pure copper
sterile apex
pure copper
sterile apex
#

if u do, he would return back

pure copper
#

tech talk wins all here

pure copper
sterile apex
sterile apex
#

perfect comparison

#

u know korean?

shy glade
# pure copper Hey, I didnt join discord for computers, but over the past year, I entered a num...

I've been an owner for some servers and an admin or moderator for many others. In my experience, I've noticed that there are many factors for a successful Discord server, whether it's about computing and programming or just about anything else.
Among the factors is a point I call the equilibrium, it's the point in which I noticed the amount of server members fit the amount of channels in the server, in the sense that they don't look overwhelming while having only few members.
My approach is that you start small, focus on individual parts that your server members are really interested in, try to preserve these individual parts and possibly improve them (mostly through trial and error of things that can be added, altered, or removed).
Over time the server will grow, both in members, and in fun.

karmic snow
shy glade
karmic snow
#

computer nerds

#

tomsip how's life going ||hello world||

shy glade
karmic snow
#

BirbNotes I only coded in Js haven't tried Typescript yet

pure copper
shy glade
karmic snow
#

Wow! neat

pure copper
shy glade
karmic snow
karmic snow
#

BirbNotes very big que of the tech industry AI will replace many jobs or its already started to take over

#

@prime breach you stalker PepeGun

karmic snow
shy glade
shy glade
shy glade
# sterile apex else if {

Yes you're right. 😂
Maybe I should edit the code to be as follows:

if(life === "mine") {
  console.log("Alhamdulillah, my life is going okay")
} else if(life === "yours") {
  console.log("How about you?")
} else {
  console.log("Unknown recipient")
}
#

wait, it doesn't feel right. 🤔

prime breach
#

BTW anyone here know about Big o notation?

karmic snow
karmic snow
karmic snow
prime breach
shy glade
#
switch(life) {
  case "mine":
    console.log("My life is going well, Alhamdulillah")
    break;
  case "yours":
    console.log("How is your life?");
    break;
  default:
    console.log("Unknown recipient")
}

Now feels a bit better. 😎 😂

prime breach
warm pebble
#

Hold on

karmic snow
#

Uh YouTube ig BirbNotes

warm pebble
#

Are links allowed there?

#

I'm new here, didn't see any prohibition on that stuff

prime breach
#

Thxx , its not a problem give the name of the channel if u want

warm pebble
#

I used to learn some stuff by this channel

shy glade
# prime breach BTW anyone here know about Big o notation?

Sure. The Big O Notation is the measurement of algorithms complexity.
If you'd like to dig deeper in the world of data structures and algorithms, I highly recommend the book "Grokking Algorithms: An illustrated guide for programmers" by Aditya.

warm pebble
#

Pretty good book, yeah

prime breach
#

Thx to all of u 🤗😄

shy glade
# warm pebble Pretty good book, yeah

Yep, one of the best, especially for beginners and intermediate level programmers interested in a deeper understanding of data structures and algorithms.

outer shore
#

Any java developer wants to join my team for building a great project ?

ebon yacht
#

I'm a Java developer but I won't be able to join your project

shy glade
#

Hi, I am a student learning cybersecurity if anyone here want to join me for group study.

prime breach
shy glade
prime breach
prime breach
shy glade
#

can we chat personal to dicuss about timing e

prime breach
shy glade
#

hahahahh

#

like i am somewhere in this planet so we have different time zi

#

zone

prime breach
#

What's the time is now at yr place

#

?

shy glade
#

is 2 30 am

prime breach
#

Mmm I will make my calculations , its 11 pm now
I used to study at 7am so it will be 10:30 am for u

shy glade
#

at 7 am damn

#

nope i can join you at that time is that ok if i say 12 am

prime breach
#

Look , honestly im studying all the day , so u determine the time

shy glade
prime breach
#

There's a server for studying rooms , I think it make a good environment to study too

shy glade
#

great sound

#

i will msg you soon

#

if you have no issue

prime breach
#

No problem, I like to study with groups , its encouraging

shy glade
#

great we will meet soon

#

accept my friend request bye

ebon yacht
shy glade
#

are you interested in cybersecurity

ebon yacht
#

and interesting safety first

shy glade
#

would you like to join us

harsh lantern
sterile apex
ebon yacht
ebon yacht
shy glade
#

goodmorning buddies

shy glade
#

wow what project it is

outer shore
#

I can give you more details on the dm

shy glade
#

interesting...

outer shore
sterile apex
#

Good morning. guys~

shy glade
#

oh

sterile apex
#

lol, here's afternoon...

#

and good afternoon guys

outer shore
#

Good night

sterile apex
outer shore
#

Yes

sterile apex
#

@shy glade , are u arrived?

shy glade
#

hi dude

sterile apex
shy glade
#

now i'm in home

sterile apex
#

how was your travel?

sterile apex
shy glade
#

veeeerrrryyyyy nice except sitting 16hours

sterile apex
sterile apex
#

i'm sorry for some minutes.

#

see u

shy glade
#

bb

sterile apex
#

@shy glade

outer shore
sterile apex
#

agree

#

no salary is a slave

ebon yacht
ebon yacht
ebon yacht
shy glade
#

too much error on my spring app

shy glade
#

@shy glade I'll tell u

sterile apex
#

🤨

#

actually, this OS needs administrator

#

but what does she doing?

pure copper
#

OK Team.

#

I have a project for us. Its worth $100000

sweet hornet
#

I'm all ears

pure copper
#

This is the challenge. It will be a 'Herculean' task. We have charcoal scrolls from the volcanic destruction of the town of Herculaneum in the south of Italy (near Pompeii).

#

The Paris musem has done some cross sectional scans of ththis with an electron microscope

outer shore
pure copper
#

Your challenge is to take each slice. Identify each slice. Locate the bumps on each slice that represent the raised ink along the slice. Link to to adjacent slices. Then tranpose that data onto a flat view of each slice giving you something that will look like this:

#

If we get this far. Thats $100000. They will do the translating

#

Sound fun. I think so. None of this boring web page stuff every talks about. Some realimage algorithms needed here. Lets go

#

💃

#

All the data is available at
https://scrollprize.org/data_scrolls

If you want to do it for yourself go ahead. I'd be happy to have challenged you. There are discord people on this project task already so give it a go. Its not all that complex if you do it in pieces (ahahahaa)

A $1,000,000+ machine learning and computer vision competition

#

Oh its 1million

#

even better

pure copper
outer shore
#

Python :

print("hello world"*10)

Java :

public class Main {
    public static void main(String [] args) {
           Loop(1);
    }
void Loop(int num) {
       System.out.println("hello world");

while (num<=10) {
   Loop(num+1);
break;
            }
      }
}

Javascript :

For (int x = 1;x<=10;x++) {
console.log("hello world");
}
#

So java developers suffer

outer shore
#

It's Maklord[0] or Maklord.get(0) or Maklord.charAt(0)

subtle glade
#

Hello everyone, I am a Chinese programmer with 8 years of experience in Java development. My English reading and writing skills are decent, but my listening and speaking abilities are not very good. I hope to find a programming partner who can speak English, with whom I can communicate. If possible, I am willing to help you with some development tasks for free, solely to improve my English communication skills.

pure copper
subtle glade
subtle glade
outer shore
subtle glade
subtle glade
sweet hornet
outer shore
outer shore
subtle glade
subtle glade
subtle glade
shy glade
pure copper
pure copper
outer shore
karmic snow
pure copper
outer shore
outer shore
#

Something like that yeah

shy glade
pure copper
#

Partnership... Develop something with each other, with your limited resources, no money, then put it on the markeyt and share in the profits once its built

shy glade
shy glade
#

U asked me what happened

#

I'll read it

#

So I ping you here

shy glade
#

Ah ok

#

You guys were fighting thats why but nvm

#

If it's over I don't wanna involve

#

I can't send u request

shy glade
#

Try it now

shy glade
pure copper
#

(ooooh a police stop ^)

sterile apex
#

🤨

#

what were they doing here?

outer shore
#

Clara and Agathin

#

Agathin and Clara

sweet hornet
pure copper
#

I think Clara was speeding past the Channel when Agathin pulled her over and they drove in here

sweet hornet
#

Clara is having an issue w his ex. They both are on this server, they r fighting in the "voice to chat" channel

pure copper
#

Forget the AI. We nee dsome human brains. Perhaps as a basic suggestion laplace image edge detection to get the path, and then breaking the segments up and stacking them in a pointer list, with some key ids, then lining them up with the next image

sterile apex
#

but Here isn't a smart place for them.

pure copper
#

The edge stuff will need to be followed either using some sort of x,y or polar or some other coordinates, and then look for anomalies along the edge that will indicate the raised ink. Thes will then need to be noted alongside the linear position on the unraveled line, and then matched to the adjacent images' raised positions. Once they are placed on the unraveled line they can be laid out next to each other in a flat view to reveal the hidden text.

sterile apex
pure copper
sterile apex
pure copper
#

Our learned colleague from China - Youth 6966 is probably very mathematically inclined

pure copper
#

ofc use a computer. why are we here!

#

🙅‍♀️ blossom

sterile apex
#

lol

sterile apex
#

🤨

#

🇦 🇮

pure copper
#

So we let the computer work out what it wants to do (machine learning), rather than us telling it what to do (programmjng)

sterile apex
#

🤨

#

machine learning go beyond of humans' limits

pure copper
#

We can write something that learns how to interpret the image, and maybe enhance it, but it will take longer to write something to make it learn what it wants to do based on what we want it to do.

pure copper
#

SCOPE is key

pure copper
#

It a TEAM project. Right TEAM!?

sweet hornet
pure copper
#

Seriously, if this was to progress, we would be looking at all types of skill. From proj mgmt, specialists experts, designers, analysts, programmers of all levels.

#

But it also doesnt need to be a huge team, Even entry level programmers can build up algorithms designed by others and proofed by senior coders and testers

#

Also, source code controllers, database management.

#

document controllers

#

ofc as a jonior programmer, you may still be able to provide skills you did not know you have, such as document control, so you can improve your skills by joining such a project.

#

Reduce our HR demand but decrease our time expendituure by multitasking

sweet hornet
#

Tbh, I hv zero experience when it comes to working on a project, According to you, approximately how many people should be there in the team? What are the system requirements for this project ?

pure copper
#

Well, remeber I only read about this in today's news, so its like putting together a mission to Mars. its a world wide challenge. Its not easy, but it is a benefit to humanity and history. The project may not succeed in being the first to solve the problem, and so there is no guarantee of monetary award, but the prestige of being on such a worthy project if it started would be great for a resume. It would really require some CS people who are realy clued up on image processing, and or mathematics (as pro said)

#

Meetings to brainstorm ways of approaching the problem would be essential, and then detailing the outline of the work packages and then designing the algorithms to be used, and then getting those coded and tested. Then putting the system together and running test data through it as we progress, untill we get to the answer (hopefully)

sweet hornet
#

Mission to Mars!! damn, I have heard it somewhere that working on a project is the best way to learn and I'm eager to work on a project, but I just wanna start with a simple project. And My exams are near so I don't think I will be able to spend much time on this project. Wish you all the bestblossom

pure copper
#

we will ofc challenge ourself by using imperial measurements, as the actual task will be trivial using metric