#ot1-perplexing-regexing

1 messages ยท Page 564 of 1

harsh tundra
#

children shouldn't reproduce. therefore pandas shouldn't reproduce. problem solved...?

tardy rain
#

Foxes are objectively better

#

They have nice thick bushy tails

#

Thats it for me

harsh tundra
#

pandas?

#

idk about this gif, but I've seen gifs with adult pandas behaving like that as well...

#

so I just went with "all pandas are children" and continued with panda reproduction

shell raptor
#

๐Ÿ‘‹

vapid nymph
#

Heya

open fern
#

yeet

shell raptor
#

!bะฐะฟ everyone

#

done

vapid nymph
#

Ooh

#

Nice project

#

Pixels

low chasm
open fern
#

it should've been !yeet everyone ๐Ÿ˜‰

vapid nymph
#

lmao

stuck meteor
#

Anyone who plays rocket league ps4?

vapid nymph
#

weet

#

I defintely coded this

chilly needle
vapid nymph
distant hazel
#

ayyyyyy i'm finally honored to witness @lilac badge

lilac badge
#

Finalllly

soft violet
#

I had a hard time working out what I was looking at, at first.

wraith hound
#

!defcon banall

#

gg ez

inland wolf
#

hmm

tribal anvil
#

Heyyy Fellas!

eternal wing
#

howdy howdy

eternal wing
mellow spire
#

i was looking for a discord auth library for starlet, and the second i started looking for it, fisher starred it

#

ty ๐Ÿ™ƒ

acoustic moss
languid flume
leaden goblet
wraith hound
dark verge
#

What Category does competitive programmers falls into?

tardy rain
#

what are the categories

dark verge
inland wolf
tardy rain
#

oh, i thought like in general programming

clear acorn
dark verge
#

@inland wolf @tardy rain
I meant there are competitive programmers, normal programmers, ...

tardy rain
#

bruh what

inland wolf
#

why would u classifiy them like that

dark verge
#

I wanna see how many types of programmers there are

tardy rain
#

just the one

inland wolf
#

yes

acoustic moss
#

the programmers
the amateurgrammers
and the beginnergrammers

tardy rain
#

its not that useful to put programmers in categories like that
if theres a "normal programmers" category does that mean "competitive programmers" are superior?

#

people already complain that webdev isnt "real" programming in social media from what i can tell

wraith hound
#

Web dev is real programming

#

It's not easy

inland wolf
#

yes

#

html is merely the easiest part

wraith hound
#

CSS is literally voodoo

tardy rain
#

i treat css like i do regex

#

i just copy and paste it

#

i dont wanna know about it, i dont wanna understand it

graceful basin
#

There is no single universally useful way to split programmers. It always depends on context. Frontend and backend is pretty useful in some contexts, but meaningless in others for example

tardy rain
#

even with front/backend, i've seen people complain that frontend is inferior to backend, mostly by backend devs

#

i dont understand why theres a need to be "superior", we're all writing spaghetti anyway, just different flavours of it

wraith hound
#

Frontend is complicated, it's not inferior

graceful basin
#

Everyone loves to think that they are somehow the superior breed. System programmers, haskell / C++/julia/elm programmers, backend etc.
And yeah, it is meaningless. Your individual merits matter more than whatever domain you do

inland wolf
#

cough arch users cough

graceful basin
#

yeah, elitism is everywhere

inland wolf
#

agree

tardy rain
#

tbh im kinda ok with actual elites being elitist

#

but the average programmer complaining about php devs is mega cringe

wraith hound
#

As much as I hate php, that doesn't mean the devs are bad

graceful basin
#

yeah, you shouldn't entertain every single complaint made by clearly unqualified people, but there is a line there

tardy rain
#

im kinda annoyed my uni never taught php tbh

graceful basin
#

PHP is a pretty easy way to do freelancing

tardy rain
#

the webdev classes used JSP

#

and goddamn apache tomcat

#

wanted to pull my hair out

runic wigeon
#

Do I need to learn html before getting started with react.js?

graceful basin
#

JSP I must say I dislike

graceful basin
runic wigeon
#

what if I don't , is there any harm?

tardy rain
runic wigeon
#

ah ok

graceful basin
#

you can learn react without it, but having a website that is well marked up is pretty useful

#

even if html lacks some tags

#

such as anything for poetry

wraith hound
#

So you'll need knowledge of both, otherwise you're have some difficulty

graceful basin
#

you don't need to know all the weird niche markups in html, just the basics will do

#

like what is a paragraph and what is a header, and when should you use which

runic wigeon
#

I wanted to try it out for mobile apps

graceful basin
#

ah, react native afaik doesn't really use html fully

#

but I am not sure

runic wigeon
#

oh

verbal glen
#

Created at Sapientia University, Tirgu Mures (Marosvรกsรกrhely), Romania.
Directed by Kรกtai Zoltรกn and Tรณth Lรกszlรณ.
In cooperation with "Maros Mลฑvรฉszegyรผttes", Tirgu Mures (Marosvรกsรกrhely), Romania.
Choreographer: Fรผzesi Albert.
Video: Lล‘rinc Lajos, Kรถrmรถcki Zoltรกn.
Supported by "Szรผlล‘fรถld Alap", MITIS (NGO) and evoline company.

โ–ถ Play video
#

what did i just find

rich moon
#

god windows is pain in assssssss. make c extension and when i import it tells me could not load dll. load the pyd into dependencies and all dlls are found

#

da faq

inland wolf
#

what are u doing

rich moon
#

making extension so python can call compiled code

#

so i dont need to do a rewrite

#

it was working when i tried it in wsl

#

and now it broke in plain windows

inland wolf
#

did u compile it for windows

rich moon
#

yeah

#

i successfully generated a .pyd file

#

its just when i want to import it i get missing dlls

inland wolf
#

hmm

rich moon
#

ifort been giving me pain the entire way

#

or at least intel's oneapi

strange musk
#

What do you think the answer is?

A body leaves a point A and moves in a straight line with a constant velocity of 40m/s. ten seconds later, another body which is at rest at A is given an acceleration of 2m/s and moves in the same direction as the first body. How long does it take the second body to catch up with the first?

Most probably the answer in the book is wrong ๐Ÿคท so wanted to check

inland wolf
#

this should be pretty easy

graceful basin
#

m/s is not a unit of acceleration, but I don't think that's really the issue

inland wolf
#

true

#

is it 20 seconds?

graceful basin
#

.wa 40(t+10) = 1/22t*t

inland wolf
#

might be wrtong idk

median domeBOT
acoustic moss
#

30 secs from beginning, 20 secs from second body release

inland wolf
#

true

#

shit the body never stopped

#

dang

acoustic moss
#

?

inland wolf
#

nothin

strange musk
#

yep, the book is wrong

#

๐Ÿคฌ

#

can't they get their answers correct?

graceful basin
#

after 20s, the second body moves 400m, the first moves 40*30=1200m, so they shouldn't meet, no?

acoustic moss
#

wait

graceful basin
#

it should be the equation I posted in theory at least

acoustic moss
#

fuck I can't do basic algebra right lol

#

yeah its 20(1+rt2)

acoustic moss
#

it updated for me

#

F

rough sapphire
#

The logo looks chubby

inland wolf
#

im still on old discord

#

lolz

vapid nymph
#

well

#

we're adding more features today

#

a lot more.

upbeat orchid
#

Hi all, I had a question related to trig(area of a sector). I know the formula is A=1/2โ€ขr^2[theta] but how can I manipulate the formula to isolate the radius? This is the problem in question

#

Not necessarily looking for the answer, rather, some guidance. I understand itโ€™s 23=1/2โ€ขr^2[7pi/15]

gritty zinc
#

well, A = 1/2 r^2 theta, so divide by theta and multiply by 2 to get 2A/theta = r^2, and take the square root

#

so you get r = sqrt(2A/theta)

upbeat orchid
#

Awesome, my confusion lies in do I first convert 7pi/15 to radians which is 1.5 rounded?

#

Also, thanks for meeting here to help out @gritty zinc

gritty zinc
#

I'd just calculate it exactly until the end, where you'd round to 1 place

#

rounding intermediate results can get you an inaccurate answer

upbeat orchid
#

Holy shit i got it!

#

Thank you so much @gritty zinc , i didnt round till the end and thats where i was messing up. I really appreciate your explanation.

autumn night
#

@frozen crane typical common lisp code isn't any more "abstracted" away from the machine than typical python code

#

if your definition of "high-level" is "abstracted away from the machine", you could probably argue that functional languages like haskell are higher-level than python

#

and i guess that makes scheme somewhat higher-level than common lisp, although that's mostly by convention and what people like to use (i am also not much of a scheme programmer)

frozen crane
autumn night
#

yes, in that haskell is a lot more closely related to lambda calculus whereas common lisp (assuming you mean common lisp when you say "lisp") is more like just a general-purpose programming language with s-expressions and macros

#

you might be surprised at how python-like common lisp can be

frozen crane
autumn night
#

(this is an s-expression)

frozen crane
#

so, a function call...?

autumn night
#

pretty much just a tree of symbols

frozen crane
#

o

autumn night
#

interesting, i'm not that familiar with how the metaobject protocol works

frozen crane
autumn night
#

i was just thinking in terms of how it has a lot of features built into the language and it supports multiple styles of programming

#

lisp is a big language, python is a big language

#

lots of features and special syntax

#

lisp definitely encourages and facilitates functional programming more than python

#

but i still think it's a stretch to say that it's higher-level than python

eternal wing
#

ohhh shoutout to the denver doom horse, that is a familiar face to me

nova crow
#

hey

fervent dock
#

hi ๐Ÿ‘‹

rough sapphire
#

oh no , this server got raided

#

why

alpine edge
#

hm

dapper flax
royal sundial
#

hm

#

does anyone know

#

actually nvm

rough sapphire
#

.topic

median domeBOT
#
**What is better: Milk, Dark or White chocolate?**

Suggest more topics here!

rough sapphire
#

neither

#

I consume pure stuff

strange musk
#

Daily dose of question:-

A convex mirror forms an image which is 10cm from the mirror. The height of the object if 5cm and the heigh of the image is 2cm. Find the focal length of the mirror?

the books says it's 16cm, but I can't figure it out

#

Wait, leave the old one

A block of glass of refractive index 1.5 is placed on top of a mark on a sheet of paper. when the mark is viewed perpendicularly through the glass, a virtual image of it appears 3.33cm from the bottom of the block. what is the thickness of the glass block?
quick ledge
#

and you can get the focal length using both those values

low chasm
#

In a basic language, you'd have a lexer, parser, compiler, ast, and maybe a VM. So say you have print("HI") as an input, the lexer will take this, and tokenize it, and turn it into a stream of tokens as the first step, so the output might look like this. PRINT LPAREN STRING RPAREN This is then passed to the parser, which takes this and generates an AST (Abstract Syntax Tree). This AST might look like this py class Expr: def __init__(self, value): self.value=value class FunctionCall: def __init__(self, name, args): self.name = name self.args = args ... This generated AST is then passed to the compiler. Now, in compiled languages, the compiler is the last step, in languages like python, the compiler instead prodces opcodes, which look like this. ```
LOAD_VALUE
PRINT_VALUE

#

this was a bit too much for pygen lol

wraith hound
#

What's a good JavaScript logging library?

#

Kind of like loguru.

low chasm
#

winston?

wraith hound
#

Never heard of it, ty

low chasm
desert fog
#

can you update windows 10 32 bit too 64 bit without deleting any files

#

??????

#

answer

#

please!!!!!!!!!!

low chasm
#

cool

graceful robin
#

could u pls help me at c++

#

?

solemn leaf
tribal aurora
#

wait can's I send links ?

honest star
#

@tribal aurora Not to that website.

vapid nymph
#

alias: yolo git add . ; git commit -m "minor changes" ; git push -f

median domeBOT
#

MONgoDB iS wEb SCAle

tardy rain
#

stop bot, its already dead, jesus

vapid nymph
#

heya

low chasm
#

Ooh

#

Good ot name

#

Great ot name

little wolf
#

i agree with the title of this channel

rich moon
#

i hate having to setup how to find each dll

#

developing some stuff on windows literally brings pain

last mantle
#

WSL ๐Ÿ‘

rich moon
#

true wsl is pretty good

latent scaffold
#

KVM ๐Ÿ‘๐Ÿฝ

acoustic moss
#

WSL ๐Ÿ‘

edgy crest
#

linux ๐Ÿ‘

last mantle
#

WSL ๐Ÿ‘

inland wolf
#

windows ๐Ÿ‘

open kettle
#

fuck๐Ÿ‘

#

i honestly dont know what yall talking bout

inland wolf
#

same

rich moon
#

why not be C# average fan

inland wolf
#

no

#

yo the new user popup

#

loos nice

low chasm
edgy crest
ebon widget
#

windows good

clear shale
#

Windows bad,it give you waps in summer lemon_xd

rough sapphire
#

Windows good

#

Linux ๐Ÿคฎ

left yew
#

Both windows and Linux is good but I use Windows bc my familiy uses the computer too

latent scaffold
rough sapphire
#

Oh sorry

#

I didnt knew that was against the server rules

clear shale
#

Dont use mac OS ;-;

rough sapphire
#

same

clear shale
#

Or tetris Os

rough sapphire
#

manjaro and windows 10

latent scaffold
#

Excuse me

acoustic moss
#

AHHAHAHAHAH

latent scaffold
#

Did you just mention Manjaro

rough sapphire
#

Manjaro is arch based btw

latent scaffold
#

okay? and it absolutely sucks

acoustic moss
#

๐Ÿฟ

clear shale
latent scaffold
rough sapphire
acoustic moss
#

why

latent scaffold
#

be on the side of righteousness

latent scaffold
acoustic moss
#

if you protect the duck i'll be on your side

latent scaffold
#

I'll protect him tomorrow

#

I promise

rough sapphire
acoustic moss
#

the rate at which its going it won't be there tomorrow

latent scaffold
#

yes it will

#

Fine, I'll try and do it tonight

#

which is now morning, actually

latent scaffold
rough sapphire
latent scaffold
#

I said name one

rough sapphire
#

well there were many, sorry

latent scaffold
rough sapphire
#

So do yours

latent scaffold
#

Yes, because I definitely get my information from Reddit

#

of all ungodly places on the internet

rough sapphire
#

OH wait I mean

#

ok nevermind

latent scaffold
#

Linux is great if you use a good distribution

#

Manjaro, other Arch derivatives, Deepin, Mint, Bedrock... all suck

#

(X/K/L)Ubuntu are good, Fedora's fine, openSUSE is good, Arch is... whatever

inland wolf
#

Ok

last mantle
#

Hmm

inland wolf
#

;p;

#

lol*

#

bruh that subreddit is toxic

latent scaffold
#

I hate Reddit

#

with a passion

inland wolf
#

same but twitter

latent scaffold
#

I hate both

inland wolf
#

k

solemn leaf
#

e

rough sapphire
#

Hey, I have a weird question, are there any custom roms for the Google Pixel?

#

I just need something that still gets patches and is secure

rough sapphire
#

eg

#

OTA updates would be awesome but not needed

inland wolf
#

bruh custom roms for google pixel?

#

why would u do that to stock android ๐Ÿ˜ข

rough sapphire
#

it gets no updates anymore

latent scaffold
#

All of the maintained ROMs should get those types of updates

inland wolf
#

which pixel is it

latent scaffold
#

Namely LineageOS is probably your best best

rough sapphire
#

First

inland wolf
#

dang

#

if they dont give u no updates any more

#

ig u should get custom rom

#

or upgrade ur phne

rough sapphire
#

but phone expenisve

latent scaffold
rough sapphire
#

And Google Auth

#

first wow

#

And all the stuff

inland wolf
#

ye

latent scaffold
#

Assuming "first" is Google Pixel with the codename "Sailfish"

rough sapphire
inland wolf
#

i remember when the first pixel would brag abt not having a number in its name

#

now theres pixel 3a

latent scaffold
inland wolf
#

hm

rough sapphire
#

The model just says Pixel

latent scaffold
#

so... yeah, probably sailfish

#

On LineageOS's Wikipedia page

rough sapphire
#

how do I install this UwU

latent scaffold
#

You'd have to flash it

#

which means you'd need TWRP and stuff

quick ledge
#

you will need to install a custom bootloader

#

yeah, like TWRP

latent scaffold
#

I'd recommend looking at XDA Developers (the forum) for guides for your specific model of phone

quick ledge
#

is TWRP a bootloader?? i dont really remember

rough sapphire
latent scaffold
#

TeamWin's Recovery Project

rough sapphire
#

Can I use TWRP to make a backup?

latent scaffold
#

iirc

latent scaffold
rough sapphire
#

I have some secret keys on this phone that need a backup

quick ledge
rough sapphire
#

My banking app is on it

quick ledge
rough sapphire
#

can I back that up with this and load it?

latent scaffold
#

lol

rough sapphire
#

young yoda will take care of them

#

@quick ledge Does that help me load them into the updated phone?

latent scaffold
quick ledge
rough sapphire
#

How do I drag and drop 2fa apps?

quick ledge
#

I dont think you can

latent scaffold
#

Right, that's a different story

quick ledge
#

disable 2fa

#

and shift to your new phone

rough sapphire
#

And send you the logins?

latent scaffold
#

Well actually

rough sapphire
#

yes

latent scaffold
#

Did you save the recovery codes

#

for whatever 2FA you've enabled

quick ledge
#

or use one of those 2fa apps which backup your 2fa "key" (?) to the cloud or something

rough sapphire
#

What are recovery codes, nyaa?

#

I am not good with these modern things youngster

quick ledge
#

which 2fa app do you use?

rough sapphire
#

Google and Blizzard

latent scaffold
#

When you sign up for 2FA, you're given a set of backup codes in-case you lose access to a specific app

rough sapphire
#

For warcraft III

latent scaffold
#

Discord, for example, gives you a text file of recovery codes

rough sapphire
#

gmail does give some key for login as well i think

latent scaffold
#

If it does, I must've not saved it

rough sapphire
#

neither have i

latent scaffold
#

I went on a 2FA spree with 1Password

#

All of my accounts that can have 2FA do have 2FA

#

Google, Microsoft, Discord, GitHub

quick ledge
#

did Katrin dip?

rough sapphire
#

she didn't give you secret keys, did she? you're poor like us again.

latent scaffold
inland wolf
#

dip.

rough sapphire
#

does it fill 2fa automatically as well

latent scaffold
#

Yep

#

It's so handy

#

I can upload recovery codes to it, as well

rough sapphire
#

it sucks that its paid

latent scaffold
#

Meh, I find it kind of worth it tbh

#

$60 per year really isn't that bad for a whole family

inland wolf
#

bruh moient

rough sapphire
#

ill try to see if bitwarden can do it too

latent scaffold
#

I don't think it can on the "free plan" or whatever

quick ledge
#

it's only 10$ per year for premium though

latent scaffold
#

What's TOTP? Timed One-Time Password?

quick ledge
#

time based one time password

latent scaffold
#

eh. same thing

quick ledge
#

when you set up 2fa, you get a key

latent scaffold
#

Yeah, and it refreshes every 30s

inland wolf
#

ye

quick ledge
#

yeahhh

#

well

#

the key is hashed every 30 seconds

#

with the time

latent scaffold
#

makes sense

#

I've just realized... I've been Dua Lipa for far too long

#

yeet

muted shell
#

who named this channel

solemn leaf
muted shell
#

ikr

#

or mac

#

linux and windows r actually not enemies

#

so prob mac

#

or some joker

solemn leaf
sinful mantle
rustic sable
#

windows rekt!!1!

last mantle
#

ok

inland wolf
#

lo

rough sapphire
#

.topic

median domeBOT
#
**What is your favorite video game?**

Suggest more topics here!

rough sapphire
#

Favourtism

solid pollen
#

Control, baby

last mantle
#

ooh

#

that is, if it can even run properly

buoyant gust
last mantle
#

๐Ÿคฎ

tribal aurora
honest star
tribal aurora
#

sad

tribal aurora
#

wait discord changed ?

#

nice

wraith hound
#

They're changing their UI a lot

tribal aurora
#

that's what i like

#

but I didn't like that black background at status

olive hazel
#

i like mine ๐Ÿ™ƒ

rough sapphire
#

LOL

#

I LIKE THE CHANNEL NAME

#

I just realized.

#

ok

last mantle
#

ok

low chasm
#

ok

lunar crescent
#

ok

tardy rain
#

ok

#

What happened to psvm btw

low chasm
#

oh yeah

#

I can still ping them

tardy rain
#

Havent seen them in a while

#

I cant

#

Cant find them through search either

low chasm
#

hm

#

where go

lunar crescent
#

did they leave or smth?

acoustic moss
#

idts

#

think they left staff

#

prolly busy IRL ig

lunar crescent
#

yea

rugged echo
#

what is this chain-

rough sapphire
#

@rugged echo always have been.

rugged echo
rough sapphire
#

LOL

modern haven
rugged echo
solid pollen
edgy crest
#

haha

#

complete it

modern haven
solid pollen
#

ok

modern haven
#

๐Ÿ˜ถ

solid pollen
#

Okay, Iโ€™m sorry, letโ€™s not start a chain once again

rough sapphire
#

ok

inland wolf
edgy crest
solid pollen
#

I mean, ok?

inland wolf
#

yes

modern haven
#

ok

rough sapphire
#

How long do you beings like to sleep for

edgy crest
#

9

inland wolf
#

9hours

#

aha

#

9 hour gang

latent scaffold
#

19

inland wolf
#

bruh

edgy crest
#

bruh

modern haven
#

||bruh chain alert||

inland wolf
#

no

rugged echo
#

no

edgy crest
#

no

modern haven
#

ok

tribal aurora
#

Ima cut that off haha

inland wolf
#

thanks

acoustic moss
#

akarys saying ok is just weird

#

you're not allowed to do that akarys

#

ok

inland wolf
#

lol

rough sapphire
#

ok

tribal aurora
#

ok the ok, okay okay boi?

rough sapphire
#

no

tribal aurora
#

ok

rough sapphire
#

also do .bm 390987816240152576

#

It's good

tribal aurora
#

what's that

#

.bm 390987816240152576

median domeBOT
#
Are you trying to kill me?

Your input was invalid: You must either provide a valid message to bookmark, or reply to one.

Usage:.bookmark [target_message] [title=Bookmark]

rough sapphire
#

.bm 390987816240152576

median domeBOT
#
You're bad at computers.

Your input was invalid: You must either provide a valid message to bookmark, or reply to one.

Usage:.bookmark [target_message] [title=Bookmark]

tribal aurora
#

nope

rough sapphire
#

.bm 390987816240152576

median domeBOT
#
You're bad at computers.

Your input was invalid: You must either provide a valid message to bookmark, or reply to one.

Usage:.bookmark [target_message] [title=Bookmark]

rough sapphire
#

Hax

modern haven
#

.bm 390987816240152576

median domeBOT
#
You're bad at computers.

Your input was invalid: You must either provide a valid message to bookmark, or reply to one.

Usage:.bookmark [target_message] [title=Bookmark]

tribal aurora
#

nope

modern haven
#

huh? i did it like 4 minutes ago

rough sapphire
#

There

modern haven
inland wolf
#

bbrih

#

i was going to complement stelercus ๐Ÿ˜”

#

for being so fast

rough sapphire
#

They listened to me?

rough sapphire
#

@rough sapphire have you read the discord privacy policy before?

#

They use so many words that a person with basic English will get confused so easily.

#

Tbh every PP written has 90% of what are those words called.

#

So let us think about this for a moment

olive hazel
rough sapphire
#

You have sent uh, nudes, for lack of a better word before here, as previously stated

#

do you think discord would risk a terrible lawsuit for what, 5 USD from your data that they can just get back with nitro?

#

I mean, I'm accepting their legal documents and as far as I know about the PP is that they can use my data?

#

Share it with their friend companies or whatever.

#

Consent: We may transfer your information with your consent.

#

oh

#

Never seen that line

#

now google, you see

#

But doesn't "may" imply that we may or may not do it with your consent?

#

own google ads

rough sapphire
#

not that they may or may not ask for your consent.

#

Oh okie

#

google, promptly owns google ads

#

windows bad

#

and they're the biggest bad boys in town

#

very bad

#

Yeah it's an ad-oriented company that sells ads

#

their data is worth so much because with their own advertisement front

#

they can fine tune your experience to which they think matters most

#

now tell me, does discord own an advertisement front?

#

tip: no.

#

I don't think so but if Microsoft acquired Discord I think the app would have ads just like Windows has fucking os built-in ads, like why the fuck would an operating system have built-in ads holy shit.

#

Went off-topic sorry.

#

oh did you now

#

really though, windows is but proof of how greedy companies are

#

I don't think Discord sells ads atm.

rough sapphire
#

and make no mistake either, discord is just as bad

#

however selling data isn't as profitable enough as to entirely disregard discord nitro

#

And I ain't actually using Discord myself anymore cause of the terrible community, support and the spooky tracking shit.

#

and EVEN if it was, why would they not just do both, and just make a little extra cash with your oh-so-valuable data

#

Idk how valuable companies think I am nor will I ever know.

#

let's be clear here

#

if you're so concerned with privacy you shouldn't be in the internet

#

no one is ever truly safe

#

But I guess you're right maybe not off Discord, I mean it's not Facebook where you have WhatsApp, Instagram and other Facebook shit

rough sapphire
#

kinda

#

no amount of vpn, information hiding, proxy, browser spoofing, tor network can truly keep you undistinguished from other computers

rough sapphire
graceful basin
#

your best bet is not going to websites that track you

rough sapphire
#

And then again do you trust those websites.

#

Like

graceful basin
#

GNU has a pretty good track record of not tracking people so far

rough sapphire
#

You know open source projects, how do I trust if the hosted version is right off the repository and not a modified version of the source-code tuned to spy on me.

graceful basin
#

as does libera.chat

#

mostly by knowing the people behind the projects

rough sapphire
#

Yeah tbh

#

if I was really concerned, I wouldn't have a computer.

#

Because why can I trust some people on the internet that Linux or whatever other operating system is not tracking you.

#

It's not like everyone saying that it's safe to use to protect your data has read the kernel code and the distribution modifications themselves.

harsh tundra
#

Who remembers "my" birdie?

#

Hm, I don't have signal in the garden, i don't know if my messages are delivered or not

#

Oh, it showed, yay

#

Thanks birdie for moving a bit further where the signal is better, lol

#

I brought him into veggie tent to learn feeding. Because he doesn't want to eat seeds himself and tries to fly at home. Here his instincts kick in and tries to eat insects on his own and he won't fly where I cannot reach him (we don't think he's completely ready yet to be released, but soon!)

edgy crest
#

looks a lot bigger than last time ๐Ÿ‘€

harsh tundra
#

He's basically the same size as when he was last week, lol. Just perspective

#

That was on 18th

edgy crest
#

o

harsh tundra
#

That's now

#

The feathers make a lot of difference, right? XD

#

And last update was with this

#

Sits a bit different. And pecks my hand for lack of attention when I write this, lol. My fingers are like worms, probably

edgy crest
#

lol

harsh tundra
#

That is also from last update, lol

#

Likes sitting under my chin or on my shoulder. But now it's not safe to let him like that in the house because he wants to fly and explore XD

tall stag
#

only big brain people use a text editor inside of a text editor๐Ÿ˜Ž

inland wolf
#

bruh

round rose
#

For when you want vim, but also have resources to spare

inland wolf
#

lol

#

i mean the extension exists

#

but alright

#

bro

tall stag
#

no

#

extension no

inland wolf
#

alright

#

btw

#

which theme is that

tall stag
#

hydroxy

inland wolf
#

hm

#

interesting

tall stag
#

heres how it looks normally

inland wolf
#

dang

#

i liked how the ui was coloured

#

not the font tho

tall stag
#

oh thats fira code

#

you can just use whatever font u want

inland wolf
#

font colour*

#

colours*

tall stag
#

oh yea

inland wolf
#

the font is dope

#

fira code ๐Ÿ‘Œ

tall stag
#

i really hate how in c++ the << and >> are green

#

i wish they were red

inland wolf
#

lol

#

u can change that if ubwish

#

u wish*

tall stag
#

how

#

how i do dat

inland wolf
#

u can change syntax highlighting colours

#

just google it

tall stag
#

ok

#

i do

inland wolf
#

cant find the link

#

ight

tall stag
#

thx

inland wolf
#

k

harsh tundra
#

But recolouring those will recolour other operators as well, I think? >> and << are operators, even in cin and cout, they are bit shifts just overloaded to do reading and writing

inland wolf
#

yes

#

u cant change the highliting of a few characters

#

well

#

it would be hard

atomic horizon
vapid nymph
#

me rn

keen sparrow
#

I still don't understand making webs in Python, and I want to get a reboot lmao

tardy rain
#

Uh what

vapid nymph
subtle dagger
#

Is it safe to use a tv as a monitor up close

brisk spoke
#

lmao i dont thikn so

tranquil orchid
#

I mean, safety wise I wouldn't imagine it would be a major issue, but it's not going to be a pleasant experience

misty sentinel
#

import java.util.Scanner;
public class Homework8
{
   public static void main(String []args)
   {
   double testa;
   double testb;
   double testc;
   double testd;
   Scanner keyboard = new Scanner(System.in);
   
   System.out.println("Please enter the first score between 0 and 100:");
   testa = keyboard.nextdoube();
   
   System.out.println("Please enter the second score between 0 and 100:");
   testb = keyboard.nextdoube();
   
   System.out.println("Please enter the third score between 0 and 100:");
   testc = keyboard.nextdoube();
   
   System.out.println("Please enter the fourth score between 0 and 100:");
   testd = keyboard.nextdoube();
   }
   
   public static void displaygrade (double testa, double testb, double testc, double testd)
   {
   if (testa โ‰ฅ 90 || 100 โ‰ฅ testa)
      {
      System.out.println("A");
      }
      
   else if (testa โ‰ฅ 80 || 89 โ‰ฅ testa)
      {
      System.out.println("B");
      }
   else if (testa โ‰ฅ 70 || 79 โ‰ฅ testa)
      {
      System.out.println("C");
      }

   else if (testa โ‰ฅ 60 ||69 โ‰ฅ testa)
      {
      System.out.println("D");
      }
   else
      {
         System.out.println("F");
      }
   }
   
   public static double average (double testa, double testb, double testc, double testd)
   {
      double averagetest = testa+testb+testc+testd
      System.out.println(averagetest)
      
      if (averagetest โ‰ฅ 90 || 100 โ‰ฅ averagetest)
      {
      System.out.println("The average grade is: A");
      }
      
      else if (averagetest โ‰ฅ 80 || 89 โ‰ฅ averagetest)
      {
      System.out.println("The average grade is: B");
      }
      
      else if (averagetest โ‰ฅ 70 || 79 โ‰ฅ averagetest)
      {
      System.out.println(The average grade is: "C");
      }

      else if (averagetest โ‰ฅ 60 ||69 โ‰ฅ averagetest)
      {
      System.out.println("The average grade is: D");
      }
      
      else
      {
         System.out.println("The average grade is: F");
      }
   }


}
#

i need help

#

its not letting me run

#

this is java

noble atlas
# misty sentinel

Which one is line 31?
And btw, your if statement, how about using "&&" statement instead of "||".
So :
If testa >= 90 && testa <= 100

latent scaffold
#

Can't you just do 90 <= testa <= 100 or is that not something you can't do in Java

rich moon
#

i have a feeling thats not allowed

latent scaffold
#

:[

#

Stinky Java

rich moon
#

stimky

golden walrus
#

I don't know that many mainstream languages that allow that

tardy rain
#

Its such a minor thing

golden walrus
#

and some of them will but wouldn't give you what you'd get in Python

#

they might evaluate 90 <= testa to a boolean or 0/1

#

well ranges do exist in many languages now, I think (as in testa in range(90, 101))

#

but they don't in Java. There are ranges but don't have that purpose

#

you'd have to download some library (or write your own) to have the same functionality and it'd be less efficient

copper hatch
#

pp drop

golden walrus
copper hatch
#

eta carinae

tardy rain
#

No you can get ranges with streams

golden walrus
#

it's just >=

golden walrus
latent scaffold
#

I'm too used to ligatures lmfao

golden walrus
#

the ranges that come from IntStream are not like Python's range at all

tardy rain
#

How would you use range differently

golden walrus
#

I don't understand what you're asking

tardy rain
#

How is python's range used differently than the ranges from intstream

golden walrus
#

there's no .contains(...), for starters. As I said, you could have something to make it work, but it's not really something you would see in Java just to check if a number is within a range

latent scaffold
#

uh I don't think there's a method "contains" for range in Python

golden walrus
#
>>> range(0, 10).__contains__(5)
True
>>> range(0, 10).__contains__(15)
False
>>> 5 in range(0, 10)
True
>>> 15 in range(0, 10)
False```
latent scaffold
#

hm

#

wouldn't that burn up the range, though?

golden walrus
#

ranges are not generators, if that's what you're saying

#

you mean if it's optimized?

latent scaffold
#

They're not generators? D:

tardy rain
#

No

latent scaffold
#

Are they iterators? \๐Ÿค”

golden walrus
#

they are iterables

#

you can get an iterator from it, and exhaust it, but it won't affect the range itself

#
>>> x = range(1, 10)
>>> 
>>> for _ in x: pass
... 
>>> for n in x: print(n)
... 
1
2
3
4
5
6
7
8
9```
latent scaffold
#

Interesting

tardy rain
#

Getting a arbitrary element in a range is simple arithmetic you dont need to iterate over it or consume it

#

Thats how theyre subscriptable

#

Its an arithmetic series

latent scaffold
#

Right... my head hurts

golden walrus
#
jshell> for (Integer number : (Iterable<Integer>)IntStream.range(0,6)::iterator) System.out.println(number);
0
1
2
3
4
5```I still think this is hilarious. This works because of how _functional interfaces_ work in Java
#

(the code itself is just a joke btw)

misty sentinel
#

cus i changed it to default for mac

#

and it works

vapid nymph
#

@mellow spire better_exceptions

misty sentinel
#

i emailed my teacher for help

latent scaffold
#

mac ๐Ÿ˜”

mellow spire
vapid nymph
#

!pypi better_exceptions

royal lakeBOT
vapid nymph
#

@mellow spire ^

#

Pair it with rich

mellow spire
#

Hmm will try

inland wolf
#

yo

#

the set of all irrational numbers and the set of all rational numbers are disjoint right?

rough sapphire
#

zalgo

inland wolf
#

thanks

#

yo @acoustic moss the power set of a null set would just be a null set right

acoustic moss
#

yes

inland wolf
#

bruh

#

that was fast

#

wtf

#

were u watching me type

acoustic moss
#

no

#

i'm switching between windows

inland wolf
#

interesting

#

damn

acoustic moss
#

switched at the right time

inland wolf
#

that was perefect timing then

#

yea

#

so n(P(P(P(ฮฆ)))) = 4?

acoustic moss
#

what are n and P

#

P is cardinal number

#

?

quick ledge
#

P() -> powerset of

inland wolf
#

yes

inland wolf
acoustic moss
#

n()?

quick ledge
#

number of

inland wolf
#

ye

#

essentially len()

acoustic moss
#

how is it 4 then

quick ledge
#

P(P(phi)) is {{phi}, phi}

inland wolf
#

well the legnth of a null set is 0

#

so the pwoer set of that would have 2^0 lements

#

ie. 1

#

then the power of set of a set with 1 element would be 2^1

#

and thats 2

#

and the power set of that would be 2^2

#

4

#

eh?

#

its a pain in the ass to write out the set

#

so many curly braces ๐Ÿ˜ฉ

acoustic moss
#

huh

quick ledge
inland wolf
#

yep

quick ledge
acoustic moss
#

ye

#

aight

#

got it

#

nvm

inland wolf
#

u can name it misinfopedia

#

what the hell

#

lol

#

guys linux !!!!!

quick ledge
#

Economy

Most people here have jobs. I stock the shelves at a Lidl store.

inland wolf
#

lol

quick ledge
#

hello ducky_maul

acoustic moss
#

bruh

inland wolf
#

hm

past prairie
#

i added my file in .gitignore and deleted it from my repo but still can see it there. how to resolve this?

#

yes

#

i deleted it through command line

#

okay

inland wolf
#

C++

#

Given the complexity of the language, only the best programmers can actually use it, and because of the necessary skills, the programs are always smaller, faster, and better than programs written in other languages, except any language that has been released after 2000.

acoustic moss
#

burn

last mantle
#

Hello

inland wolf
last mantle
#

Should have been ++C ๐Ÿ˜”

acoustic moss
#

(C:=C+1)

last mantle
#

:=

acoustic moss
#

๐Ÿฆญ

inland wolf
#

The C++ language is a close relative of Gibberish, and is spoken by the people of Atlantis. However, nobody can study the language closely because Atlantis has yet to be found.

tranquil orchid
#

lol

inland wolf
#

best website

tranquil orchid
acoustic moss
#

lmao

last mantle
#

Lol

inland wolf
#

omg bruh

acoustic moss
#

"National Laboratory of Matter"

tranquil orchid
#

๐Ÿ˜”

tranquil orchid
#

Fair enough

inland wolf
#

lmaooo

last mantle
#

Lmao

acoustic moss
#

damn

#

matthew solenya really has a bone to pick with js huh

inland wolf
last mantle
#

Can't relate

inland wolf
#

js has its own tab

last mantle
#

Link?

inland wolf
tranquil orchid
inland wolf
#

lmao wtf

edgy crest
#

wtf

last mantle
#

Lmao

past prairie
#

see here i committed my gitignore file and also deleted get_api file but still in my repo i can't see .gitignore file and get_api file is still there in my repo.

inland wolf
past prairie
last mantle
#

Uhhhhh ok

past prairie
#

do you have any idea?

inland wolf
mild abyss
#

im also good with computers

median domeBOT
#
**What are your hobbies other than programming?**

Suggest more topics here!

rough sapphire
#

illegal stuff

solid pollen
#

Lmao

#

It has been discovered that C++ provides a remarkable facility for concealing the trivial details of a program - such as where its bugs are.

David Keppel

inland wolf
#

lol

solid pollen
#

Yeah lol

strange scarab
#

Me and my homies love guido

#

Guido is cool

last mantle
#

ok

inland wolf
#

yes

rough sapphire
#

Hello beings

rugged echo
zealous hull
#

i dont know why i expected Guido Van Rossum to look like a mafia boss

rough sapphire
#

I just got deja vu

full needle
#

@iron violet lol

#

ping galore :D

iron violet
#

so my discord is sending me a lot of notifications

rough sapphire
#

hey, guys, lets do some ascii art!

tardy rain
#

FB evolving backwards

rough sapphire
#
โ•”โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•—
โ•‘        โ–—โ–„โ–„โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–„โ–„โ––        โ•‘
โ•‘     โ–—โ–Ÿโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–™โ––     โ•‘
โ•‘   โ–—โ–Ÿโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–™โ––   โ•‘
โ•‘  โ–Ÿโ–ˆโ–ˆโ–ˆโ–ˆโ–€โ–€โ–€โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–€โ–€โ–€โ–ˆโ–ˆโ–ˆโ–ˆโ–™  โ•‘
โ•‘ โ–Ÿโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ                โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–™ โ•‘
โ•‘โ–โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–›                โ–œโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–Œโ•‘
โ•‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–›                  โ–œโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•‘
โ•‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–Œ                  โ–โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•‘
โ•‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ                  โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•‘
โ•‘โ–œโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–™                โ–Ÿโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–›โ•‘
โ•‘ โ–ˆโ–ˆโ–ˆโ–›โ–ˆโ–ˆโ–ˆโ–™โ–„โ–„โ–„      โ–„โ–„โ–„โ–Ÿโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ โ•‘
โ•‘ โ–โ–œโ–ˆโ–ˆโ–™โ–โ–ˆโ–ˆโ–ˆโ–ˆโ–›      โ–œโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–›โ–˜ โ•‘
โ•‘   โ–€โ–ˆโ–ˆโ–™โ–„โ–€โ–€โ–€       โ–โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–€   โ•‘
โ•‘     โ–€โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–Œ      โ–โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–€     โ•‘
โ•‘       โ–โ–€โ–œโ–ˆโ–˜      โ–โ–ˆโ–›โ–€โ–˜       โ•‘
โ•‘                    Git Hub   โ•‘
โ•šโ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•
surreal otter
#

why is Discord such a mess? top icon in discord doesn't match the icon on my bar...

#

Old in the client, new on the bar? c'mon, you guys were looking to be bought for billions and can't rebrand?

last mantle
#

Probably an ubuntu problem

median domeBOT
#
**What is the most useless talent that you have?**

Suggest more topics here!

rough sapphire
#

I hate biased opinions and I feel like shit after throwing my bias to someone new in a topic, I'm literally deciding the dude's future.

rough sapphire
tardy rain
#

All opinions are biased, thats kinda the definition

#

Not to be confused with expert opinions

full needle
#

expert opinions are still biased

#

they are just the biased opinions of experts

tardy rain
#

Not really

#

For an expert opinion to be accepted in court you have to testify extensively

full needle
#

absolutely. every opinion is biased

#

if its not biased its not an opinion, its a fact

rough sapphire
#

i want to remove mariosis

full needle
#

rude

#

๐Ÿ˜ฆ

tardy rain
#

It doesnt work like that, its not like an expert can get up in court and say the sky is green

full needle
#

'a belief'

tardy rain
#

You have to explain your credentials thoroughly, explain where your opinion comes from, what facts support it

#

Thats not the definition people use in court

full needle
#

why are you suddenly talking about courts at all even

tardy rain
#

Because thats where expert opinion comes from?

full needle
tardy rain
#

Its one thing for a random dude to opine about something and another thing for someone thoroughly examined and accepted by the court to opine

full needle
#

dude we are in a conversation about giving opinions to people new to a topic opinions, stop talking about court systems lmfao

tardy rain
#

Bruh

full needle
tardy rain
#

You mentioned expert opinion

full needle
#

see the context

tardy rain
#

Besides you arent having a conversation with anyone

#

You responded to me

full needle
#

and now i'll just stop because ur crazy

tardy rain
#

Im responding to "i hate biased opinions"

#

There was no convo about this lmao, it all started with the bot topic

#

Are you actually blind

#

Why start something you cant finish

rough sapphire
#

Those be fighting words

rough sapphire
#

hey guys, do you know a module that can monitor a certain area on the screen and detect if it changes? i need to automate a simple stupid mouse button click program

#

oh.. pyautogui.locateonscreen() nice

inland wolf
#

gamers

#

can i have *args and a keyword only argument in a function

#

like what order should i use

last mantle
#

Hmm generally keyword arts come last

acoustic moss
#

the opposite order should work I think

last mantle
#

Idk with the *args tho

acoustic moss
#

(self, *args, case_insensitive: bool = False)

#
In [13]: def func(*args, kwonly):
    ...:     print(args, kwonly)
    ...:

In [14]: func(1,2,3,4)
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-14-e8c91d9d8fe8> in <module>
----> 1 func(1,2,3,4)

TypeError: func() missing 1 required keyword-only argument: 'kwonly'

In [15]: func(1,2,3, kwonly=5)
(1, 2, 3) 5
inland wolf
#

hmm

#

but doesnt *, signify keyword only?

inland wolf
#

didnt work ๐Ÿ˜”

acoustic moss
#

๐Ÿค”

acoustic moss
inland wolf
#

oh

#

ig i can just use **kwargs for the keyword only args

round rose
#

Any arguments after *args are effectively keyword-only

#

You can't use * with *args because there's no point in doing so

inland wolf
#

ohh

#

thanks

rough sapphire
#

true

#

true

inland wolf
#

very

sudden robin
#

lmao, my friends DM from my bot while I had him test the ban and kick commands

latent scaffold
#

Seems like a lot of testing for such simple commands

sudden robin
#

yeah hehe

#

it didnt kick or ban him for a while had errors to sus out

vapid nymph
latent scaffold
#

or am I mistaken

vapid nymph
#

the first command is the hardest, since you encounter the errors for possibly the first time

latent scaffold
#

\๐Ÿค” wot

vapid nymph
#

like

sudden robin
#

it would not send a message to the log channel so I could log who did what

vapid nymph
#

you want to check that the user has a higher role that the person

sudden robin
#

thats why I had to do it so much

vapid nymph
#

then that the embed is valid

#

then that they have perms

#

then that the bot has perms

#

etc etc

#

not necessarily in that order

latent scaffold
#

shouldn't those checks kind of be preliminary

vapid nymph
#

yeah but you have to have those

latent scaffold
#

and

#

\๐Ÿค”

latent scaffold
#

Brave > Chrome > Edge > FF > Opera > IE > Vivaldi
@formal roost Why do you prefer Chrome over Edge?

#

(moved to ot cause... it was basically not pixels related)

formal roost
latent scaffold
formal roost
#

Passwords mainly, I do use LastPass now but still

#

I haven't had any reason to ditch Chrome/Brave

latent scaffold
#

I still have no clue what that means

#

cause I moved all my passwords from Chrome to Microsoft Edge

#

and... I see no difference

formal roost
#

But they're synced between devices

latent scaffold
#

Really? I'd never known that

#

I just use 1Password regardless

#

cause it has TOTP and stuff

#

Lastpass isn't that good anymore

formal roost
#

It was annoying when they made the free tier shit, but I was already paying so I wasn't affected

latent scaffold
#

Ah, I didn't even look at the paid options

#

It has never really sounded worth it

#

when compared to Bitwarden and 1Password

formal roost
#

My subscription is coming up for renewal, I should check out the other options catok

latent scaffold
#

I'd recommend 1Password tbh

formal roost
#

I shall check out that first

latent scaffold
#

I really like 1Password

#

convinced me to enable 2FA on every account I have

formal roost
#

2FA is essential

vapid nymph
#

NEW VSC FEATURES

latent scaffold
#

apparently this is a thing

#

why has nobody told me

vapid nymph
fallow warren
#

:0

#

2 weeks ago I realized an icon change

mild abyss
#

shutup emacs users

vapid nymph
#

(for)

fallow warren
topaz aurora
#

Emacs gang

inner prairie
#

I'm looking for the vim OT

near bolt
#
public class search {
    static Integer linearSearch(int arr[], int toSearch) {
        for (i = 0; i < intArr.length; i = i+1){
            if arr[i] = toSearch {
                return i;
            }
            else {
                return null;
            }
        }
    }
    
    public static void main(String[]args) {
        int x[] = new int[]{100, 200, 300};
        int a = 200;
        System.out.println(linearSearch(x, a));
    }
}
#

for this, i have an error in line 5

#

cuz it can only return a boolean value

#

so how shd i change it to return the position i instead of boolean

#

do i create a variable starting from 0 then add one until the integer is found? that's abit slow right

acoustic moss
#

if arr[i] = toSearch should be if (arr[i] == toSearch)

near bolt
#
public class search {
    static Integer linearSearch(int arr[], int toSearch) {
        int b = 0;
        int i = 0;
        int size = arr.length;
        for (i = 0; i < size; i = i+1) {
            if (arr[i] != toSearch) {
                b = b + 1;
            }
        }
        if (b == size) {
            return null;
        }
        else {
            return b;
        }     
    }
near bolt