#ot1-perplexing-regexing

1 messages · Page 12 of 1

floral apex
jovial oriole
floral apex
thin cloak
sudden hemlock
#

scaled by the eigenvalues IIRC?

jovial oriole
jaunty wraith
round rose
#

comically large solidus

rough sapphire
#

you think I should

#

shave my beard

#

to go to a date

tardy rain
#

Yes

#

Or at least trim it, shape it up

low chasm
#

depends, is it like, an unkept beard, or do you maintain it

rough sapphire
#

unkept

grave cove
#

The Big Solidus returns

frail mural
#

How would I run through every row in a specific column, apply on a function on that row and then save the value in another column without creating two dataframes and concatting them?

This is my current solution:

# For every row it writes whether or not the OCR detected the keywords listed in the keyword dict.
def recordHasKeywordForDataFrame(df,keyword_dict,pipeline):
    hasKeyworddf = df.apply(lambda x: checkFilepathForKeyword(x['Filepath'],pipeline,keyword_dict), axis=1)
    return pd.concat([df,hasKeyworddf],axis=1)```

The df I pass is just a dataframe consisting of a single column of filepaths to images. 

The functkion "checkFilepathForKeyword" returns a boolean.

I want to create a new column in the df called "HasKeyword" and add the result of the function call to these for each row.
tardy rain
#

Cant you just df["checked"] = df["name"].apply(...)

jovial oriole
#

Was in the gym rn
And someone put on the yt outro music on the speaker 💀
https://youtu.be/3_-a9nVZYjk

Stream 'Xenogenesis' the official Outro Song
Spotify https://open.spotify.com/track/5iRVNYbhfWNO2VzBykX7GS?si=rBbDP9qrRxW9n3dyDUFZJg
Original: https://youtu.be/2Ax_EIb1zks

TheFatRat - Xenogenesis
♫ Download Link ♫
http://bit.ly/1pz1ZMA

🎶 More from TheFatRat 🎶
●"No No No" - https://www.youtube.com/watch?v=Wvot9GV-wdQ

♫ Support Trap Nation ♫
...

▶ Play video
#

And everyone screamed as soon as the beat dropped

frail mural
#

Like, my issues is, that I do not know whether or not I have enough memory for two df of the sizes I need.

tardy rain
#

It should just create a new Series object and assign it to a column in your existing df

ionic bane
mystic isle
#

here is something in regards of the channel's name (nonsense-diagrams)

#

[this is xkcd btw, can't remember the comic number of this]

sterile sapphire
#

kevin conroy batmannnn

grave ferry
floral apex
#

https://youtu.be/G2wICtgtrn0?t=350 The importance of acronyms

Get Nebula together with the CuriosityStream bundle with a HUGE holiday discount: https://curiositystream.com/lowspecgamer

Previous video: https://youtu.be/rNOS-tU_hEY

As legendary game company Sierra rises to the top of the food chain, they pick up the attention of an unlikely person that would set their destiny forever.

Social media:

https...

▶ Play video
restive ledge
#

@hallow stone i forgot to teach you one more thing that is important and relevant to what we were talking about, the reason why your first solution didn't do anything is actually because the result of series.str[start:end] is another series, and you can't call string method on a series. let me show you what i mean

#

!e

import pandas as pd

ser = pd.Series(['hello', 'hey', 'hi'])

print(f"type of ser.str = {type(ser.str)}")
print(f"type of ser.str[1:2] = {type(ser.str[1:2])}")
royal lakeBOT
#

@restive ledge :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | type of ser.str = <class 'pandas.core.strings.accessor.StringMethods'>
002 | type of ser.str[1:2] = <class 'pandas.core.series.Series'>
restive ledge
#

the object you can call string methods on is pandas.core.strings.accessor.StringMethods which you get from calling .str on a series, and only on that object you can call methods such as split, replace etc

#

and that's why your solution was not working as you expected it to work

hallow stone
#

ohh

#

I see

flint basin
#

just remembered again that you had asked for it

carmine apex
#

since you're here, @vale raven , i must say, your new present avatar is rather silly. but i kinda like it

vale raven
carmine apex
#

well i mean it occludes half of the picture

vale raven
#

Yeah, I do admit it doesn't fit quite perfectly

jovial oriole
#

It feels like Sunday 3 weeks ago was yesterday

ionic bane
#

No, i want you for Christmas 😳

thick ore
#

real rizz

fiery vessel
#

I just went from Gold 2 to Silver 4 for OW2 season 2

#

crazy ass 16 losing streak wtf lmao

rough sapphire
#

What exactly is the problem with data being sold to advertisers?

warped sentinel
royal lakeBOT
steady jacinth
#

i hate you python bot

royal lakeBOT
#

Hey @steady jacinth!

You either uploaded a .txt file or entered a message that was too long. Please use our paste bin instead.

steady jacinth
#

now i hate you even more

#

@soft mirage

#

hi

#

it first of all eliminates any words which dont have the same starting letter and last letter

#

makes a few less words to deal with

carmine apex
#

does word == word[::-1] not work?

steady jacinth
#

hmm

#

wdym

#

here be the algo: ```py
import Wordy

contenders = [word for word in Wordy.wordlist if word[0] == word[-1]]
palindromes = []
for word in contenders:
length = len(word) //2
valid = True
for char in range(length):
if word[char] != word[-(char+1)]:
valid = False
if valid:
palindromes.append(word)
palindromes[:] = sorted(palindromes, key=len)
print(palindromes)

#

it starts by assuming it to be a palindrome, then tries to prove it is not

steady jacinth
#

works

#

🥱

#

which one?

#

thursway?

carmine apex
steady jacinth
#

why is that good>

carmine apex
#

i think 20 is enough

floral apex
frozen crane
#

@young shoal

young shoal
#

bruh

frozen crane
#

bruh

young shoal
#

bruh

frozen crane
#

brUh

#

also how did quora know

young shoal
#

there's this one guy, Mark something

ionic bane
#

rober?

young shoal
# frozen crane

who always answers questions about data science and says data science isn't a real job and draws red crosses on screenshots

frozen crane
young shoal
#

apparently he's an MLE

#

he screenshots other answers and crosses them out

#

he is against people learning math for machine learning

#

ah, "Mike West"

#

here's one

young shoal
#

also says postgres is a toy database 🤔🤔🤔

frozen crane
#

@young shoal he sounds like an unhinged person who was hurt by a data scientist/analyst.

#

If you want to use excel, become a business analyst or financial analyst… they love Excel. It is NOT a big boy data tool.
yes, because it's the most popular tabular data manipulation tool for non-programmers. not everyone has to be a programmer. and what's this about big vs little boys?

wraith hound
#

what is a real database, then?

carmine apex
wraith hound
#

tabs are variable length

#

github renders them as 8 by default

young shoal
wraith hound
#

lmfao

frozen crane
#

surprised he's not an anti-notebook diehard

wraith hound
#

that is peak comedy

young shoal
#

he also says there are no entry level roles in AI

carmine apex
frozen crane
#

depends on what is meant by "entry level"

wraith hound
young shoal
#

if you read through his answers, a lot of the time you see questions about boot camps or some course and he goes "you won't get a job any time soon, good luck kid. there are no entry level roles in AI"

#

they also like this one picture of a barista

frozen crane
#

ha
ahaha
AHAHAHA

#

I was a barista before I was an AI developer

#

was technically employed by both for a time

young shoal
#

there's questions like "what is the average salary of a data scientist" and he goes "LMAO i love this site. so many moronic questions. ZERO. the data scientist is a fad"

frozen crane
#

they're not entirely wrong, but that's still a shit-tier answer

#

they should really be banned from answering.

young shoal
#

yeah 😔 i'm assuming they adopt this personality to get people to watch his video and do his course

#

it's funny because he roasts all the other courses for being bad and not helpful for getting a job but has his own course

#

hopefully they aren't actually like this in real life 😔

frozen crane
#

if you're willing to be an asshole to someone you can't see, that doesn't make you less of an asshole.

young shoal
#

hm? i'm saying it's a character

frozen crane
#

oh

#

well, even if they have ulterior motives, I don't think that excuses their behavior

#

and it's shitty of him to shit on starbucks workers. it's a lot harder than being an AI dev.

young shoal
#

well yeah. but it's working apparently. we're talking about him

frozen crane
#

are we giving him money?

#

talk is cheap.

young shoal
#

¯_(ツ)_/¯

frozen crane
#

so what was everyone's favorite new vocabulary item for 2022

#

mine is Dark Brandon

young shoal
#

what is that

frozen crane
#

do you know about lets go brandon?

young shoal
#

yeah

frozen crane
#

dark brandon is joe biden's evil alter ego

young shoal
#

huh

#

with the red lights and stuff

frozen crane
#

yes

young shoal
#

why did he do that

frozen crane
#

cuz he's evil

young shoal
#

but like actually

frozen crane
#

he's in front of independence hall, and other parts of the building were lit up in blue

young shoal
#

ah

#

kinda wild though

frozen crane
#

there's also Dank Brandon

vale hull
#

tbh Monocraft is easier to read than included monospace fonts

young shoal
#

what is monocraft

vale hull
young shoal
#

why would anyone want to code with that

vale hull
#

A solid part of my life was on Minecraft so maybe for people used to seeing it.

#

Also same experience using ComputerCraft's built-in editor

young shoal
#

it's so cluttered

frozen crane
young shoal
#

has big "time to switch fonts" energy

frozen crane
#

I use word as my ide so I can have different fonts for each class

grave cove
#

bit cringe innit

frozen crane
grave cove
frozen crane
#

!otn s sus

royal lakeBOT
#
Query results

• brad’s-sushi-taco-classifier
• german-name-generator-suspense
• jesus-christ-this-is-a-python-server
• stelercus-is-sus
• sushi-is-like-minecraft-blocks
• the-jesus-car
• the-jesus-cdr

grave cove
#

haha stelercus-is-sus

acoustic moss
grave cove
#

swag stel fr no cap on jah

#

W

vale hull
#

at least I am not writing code in the Terraria font 😆

rough sapphire
#

gtp3

#

gpt3

#
write for me a funny python program to make my colleagues lol 


#

is what i said

elfin holly
#

does anyone play chess?

thick ore
#

there are a lot of people that play chess

floral apex
# royal lake

Imagine seeing the-jesus-cdr as the name after the-jesus-car

candid grotto
#

Yes,there are a lot of people that play chess

thin cloak
#

And AI

jovial oriole
jovial oriole
clear plume
vale hull
#

Here you go

elfin holly
# jovial oriole Probably

well I expected someone interested to play a round to answer, but yeah from 350k or how many people are here, someone should surely play

craggy crypt
vale hull
craggy crypt
#

👀

vale hull
#

Actually making a monospace version of it right now

craggy crypt
#

sick

vale hull
#

got to fix the widths...

boreal knoll
#

how are the off topic channel names generated?

dapper dew
#

!off-topic-names

royal lakeBOT
grave cove
#

We add it to the pool

#

Also happens outside staff chat occasionally

warped herald
worthy pewter
jovial oriole
regal bluff
lean bone
#

well i think we should use the best lightweight ide MS paint 🤓

floral apex
#

Which Robin are you? @grave cove

#

Are you Tim, Jason Todd, Dick Grayson or Damien Wayne?

carmine apex
grave cove
jovial oriole
# grave cove you're mom

"Uh well actually mister 🔥🔥🔥✏️✏️🔥🔥🔥 jit + tripping and ratio uWu amon Gustavo fring ur mum and I make andrew tatillion dollars on LeBron James 😳😳😳 average npc whenthe arson and felony tax fraud" 🤓🤓🤓

grave cove
#

mongus

jovial oriole
grave cove
#

please stop posting this stuff

elfin holly
elfin holly
thick ore
#

@floral apex do you still remember your brainfuk drawing 😭

elfin holly
#

I think its a bit too much to post it in such a server

thick ore
#

kek mb

regal bluff
hidden pebble
#

making a lexer in rust and i have no clue what im doing

#

lol

floral apex
hidden pebble
#

That seems interesting, thanks!

jovial oriole
#

Joe can I plz be server owner 🥺🥺🥺🥺

#

Am not scamerr

shell raptor
#

@mortal prairie hello, please don't spam

warped herald
jovial oriole
elfin holly
heady kelp
#

Logo looks very cool

thin cloak
#

Mua hahaha

lime ledge
#

I have a problem... I have an infogram I want to extract the data from (like in the form of a spreadsheet or dataset)

But I can't find out how. If I was the creator of the infogram supposedly I could hit a simple download button, so it may be possible to manipulate that? Since the data is shown in the graph and there is a theoretical download source.

The infogram in question is https://infogram.com/average-cd-rates-1984-2022-1h7j4dv98ozy94n

It would be super slow but possible to record all of the data manually but I'm wondering if there's a way

violet roost
#

the fuck is incriptinate

subtle dagger
#

In game dev companies, are they acutally allowed to force you to do overtime?

#

if not then why do ppl work the overtime?

thick osprey
#

In most cases the company has no legal ability to force you to work. In most of those most cases the company also has no legal obligation to keep you on payroll.

#

So one of the possible answers to your question is that people need paychecks.

subtle dagger
#

oh ok

#

so basically ppl only work the overtime so they dont get fired?

thick osprey
#

that one possible reason, sure.

subtle dagger
#

whats the other reasons?

rough sapphire
#

reasons?

thin cloak
#

So you don't appear to be a slacker plus peer pressure

#

Had done OT and overnight in my first IT job and that's it

#

Leads to burnout

rough sapphire
thin cloak
#

Then they sing praise if met or pour blame if not

#

Inevitably people leave

rough sapphire
thin cloak
#

First version of Linux I used.. installed in grad school lab PCs to torment MS students with gcc and vi as TA of a crazy prof

thin cloak
#

Seen grown mil type cri in that class

#

Also taught numerical methods using gcc and vi

mystic isle
#

For reasons I will not imply

thin cloak
#

He had some frustrations in life and may have took it out on others

mystic isle
#

that sounds like the beginning of a Horror + psychological movie

thin cloak
#

It was for some students lmao

#

I had a few profs like that at uni..
We call em terror profs

#

Sometimes only square root of class pass

#

So academia as a filter rather than lifting everyone to their potential

#

I think it gotten less bad after teacher evaluation was implemented. I did a python script for that lmao

#

Uni I went to is well known brand in my country

#

I think Sometimes the abuse perpetuates itself like if one gen experience terror profs that breeds next generation terror profs

mystic isle
#

hmm.....

#

very interestinng

thin cloak
#

Lmao I checked reddit for my uni terror profs still is a topic

#

Not only my uni thou many others in my country

#

Could be a cultural thing

#

Mostly in top tier universities

jade stag
#

qq

thin cloak
#

So prepare for broken dreams or be tuff

#

Or extra smart

jade stag
#

@thin cloak Can I ask for help in finding a bug in my code?

thin cloak
#

Oki

jade stag
#

ty

violet roost
mystic isle
thin cloak
#

The output of such is an undifferentiated degree

#

Then the nightmare of a job hunt

#

The horror movie may not end

#

Then you get a crappy job and and take it and get abuse from employers

#

Too many college graduates

#

So maybe not enough terror profs

#

Or we should restructure society in some radical way to fix it and give more opportunities at every stage in life

#

Make the nightmare end lmao

frozen crane
#

@solid elbow what do you think about NFTs? I think public opinion has been turning against cryptocurrency for a while, so I wonder if NFTs were intended to give people a new reason to want to use them.

solid elbow
#

so, uh - not terribly useful.

wraith hound
#

oh, really?

#

i've seen even more hate for NFTs than general crypto

#

given the horrible environmental effects as well as the moral issues of intentionally introducing scarcity

#

maybe that's just my experience though ¯_(ツ)_/¯

#

well, i have heard the occasional teenager talking about NFTs at school, so there's that

frozen crane
#

I think the value proposition of NFTs was oversold. you can't really "have" an NFT. an NFT is an entry in the append-only leger saying that a specific (non-fungible, NF) token (T) is associated with your ID in that leger.

thin cloak
#

It was indeed

frozen crane
#

which is great if a bunch of mutually-distrustful parties want a way of tracking ownership of non-fungible things. but like the use-case for cryptocurrencies (mutually distrustful parties tracking amounts of a fungible currency), it's a pretty rare problem.

thin cloak
#

Let us give a strong use case may be ... if you are a digital asset creator and you want your stuff to have some proof of authenticity or ownership

solid elbow
thin cloak
#

It's the speculation that killed it

frozen crane
solid elbow
#

but speculation is literally its only value proposition. The most generous interpretation of NFTs is that collecting NFTs is like collecting art - but the entire market for art is speculation, there's no inherent value, it's worth as much as someone will buy it for.

frozen crane
thin cloak
#

Since valuation is subjective

#

Eye of the bee holder lmao

thin cloak
#

Whose valuation is subjective too

solid elbow
#

well, sure - which makes it no surprise that people bought it with the intention of selling it to someone who was willing to pay more.

#

just becomes something is one of a kind doesn't mean it's worth anything.

wraith hound
thin cloak
#

Hard to succeed as an artist

wraith hound
#

i absolutely don't disagree that the concept of cryptocurrencies and nfts have their places. i just don't think that they're in those places, right now.

solid elbow
#

I think blockchain has its uses. Possibly NFTs, too, but I'm less convinced. I'm yet to be convinced of any use for cryptocurrencies.

solid elbow
#

it's not even really good for crime

frozen crane
#

well fuck.

solid elbow
#

a pseudonymous append-only ledger isn't great when the feds try for RICO

thin cloak
#

The crime is recorded in the blockchain lmao

wraith hound
#

honestly i've confused all these technologies to some extent, given that they're all lumped into my "red flag" box. so i forget what's useful for what.

#

i just remember encountering, like, 2 use cases for one of these technologies, at some point

thin cloak
solid elbow
#

what makes fiat a poor choice for that?

thin cloak
#

Fees

#

But the volatility of the coins is a hindrance

solid elbow
#

normally people just designate a trusted arbiter when mutually distrustful parties need to agree on something. So it's rare for there to be a case where parties don't trust each other, and can't agree to trust anyone that the other party trusts.

thin cloak
#

That is normally a bank or wire transfer agency

solid elbow
#

yep.

thin cloak
#

Also the cost of exchanging between currencies

#

We need a global frictionless currency maybe in the future

#

Blockchain or not

#

Also if you live in a place with unsound currency governments may restrict you from buying USD or Euro so as to prop up their own currency at your expense

solid elbow
#

sure - though they would restrict you from buying crypto as well, so 🤷‍♂️

thin cloak
#

Yep

#

So crypto is an option there

#

Harder to track if you VPN or tunnel

#

We need institutions we can trust so if trust absent in some places the concept of having no arbiter is valid

#

In the developed world with strong institutions there is less of a use case

#

Unless that trust is eroded further by mismanagement

#

Crypto then is a symptom of distrust for institutions

#

Fix the institutions

stable fulcrum
#

told chatgpt to draw iron man in turtle

jovial oriole
#

Guys help

#

My ears

#

Have been unpopped for 3 days now

#

What do I do

mystic isle
mystic isle
#

it should pop your ears

jovial oriole
#

Well

#

Right one popper

#

I meab

#

Left one popper

#

Popped*

#

Right one half popped

tardy rain
#

.wiki Valsalva maneuver

median domeBOT
#
Wikipedia Search Results

Valsalva maneuver
The Valsalva maneuver is performed by a forceful attempt of exhalation against a closed airway, usually done by closing one's mouth and pinching one's

Vagal maneuver
indications for the use of vagal maneuvers in clinical practice. Diagnostic: Vagal maneuvers (most commonly the Valsalva maneuver) can be used to distinguish

rough sapphire
#

I love the engineers now and days

ionic bane
#

William osman and Michael reeves make pretty funny videos ngl

lunar shore
#

I just watched Fireship's video (https://www.youtube.com/watch?v=Zs9Tifup1Bc) regarding programmers losing their jobs in the future... Could it really happen and does it mean it's not a good major for people who just got to the age when they should choose their major? Or is it most likely gonna be safe? Cause with GPT-3's GPTChat and Github copilot, I personally could see that in hindsight (and maybe in less than 20 years????), programming could be nonsense with robots and sort of "macro"s around... Is this valid or do you think it's not gonna happen?

graceful basin
#

programming will get faster and more efficient for sure, which may have a negative effect on the number of jobs. But entirely removing programming as a job seems unlikely to me, there still needs to be someone to tell the AI what needs making

#

and considering how weird and ill-defined the limitations of software are, I doubt that can be anyone but a programmer

lunar shore
# graceful basin programming will get faster and more efficient for sure, which may have a negati...

But entirely removing programming as a job seems unlikely to me, there still needs to be someone to tell the AI what needs making
That is not even close to programming as we know it now right? That WOULD mean anything you'll learn in programming today would be wasted if this ever were to happen
But well I guess no-one can tell with certainty that where this is going; But if programmers would just be the people who tell the AI what to do, considering AI could understand English even now, and it's only gonna get better, it's not gonna be far from now that programming would be so generalized that it may not even be a "job" anymore, or am I in the wrong here?
(P.S anyhow, things might be completely different from what we think, also I've got to go sleep, so I'll read everyone's response tomorrow I guess)

thin cloak
#

Let the robots rise... then tax the robots...implement universal basic income.. programming becomes hobby

#

If the code isn't creative let automation take care of it

#

The idea then is the valuable thing

#

The implementation could be done by AI or person..some creative individual has to come up with ideas

#

So in that context a generalist education might be better... liberal arts ... and emphasis on human creativity

#

We will not be obsolete just be creative

gritty zinc
#

that sounds an awful lot like "you're not obsolete, only your last 5+ years of education, and perhaps all 15+ years of it"

dapper dew
#

Sounds like an opportunity to me

Here is some artisanal, hand typed quality code. Not some cold calculated output mass produced as quickly as possible for the lowest cost

#

I'll charge a premium too

young shoal
#

imagine in 100 years instead of artisanal chess sets or something it's artisanal code

dapper dew
#

I mean, isn't that the trend of automation?

thin cloak
#

Our code smell like cheese lmao

#

Both artisanal...cheese code smell

thin cloak
# gritty zinc that sounds an awful lot like "you're not obsolete, only your last 5+ years of e...

Maybe education needs to change https://youtu.be/MQ8M2GCz3T8

Four years. Seven cities. Zero tests. It’s a new university called Minerva.

The difference in Minerva’s approach:

“It’s practical education grounded in the real world, and that’s what Minerva does,” says Ben Nelson, founder of Minerva University. "I realized that what the universities are supposed to be is not what they are."

Minerva’s educat...

▶ Play video
jovial oriole
#

Wouldn't it be pretty funny if Joe went rogue and banned every member

#

Right, Joe?

#

Right?

#

Please consider, April 1st is in a few months

gritty zinc
#

but consider: #rust-general

jovial oriole
#

How do you search for new servers on mobile

rough sapphire
#

"Oh, hush, my dear, it's been a difficult year"

lunar shore
thin cloak
#

Good question maybe yes at least to get some friends with similar interests and get a network

#

Also problem solving as a skill doesn't go out of style

lunar shore
#

Can't AI problem solve to some extent atm? It's just gonna improve and get better I assume...

thin cloak
#

The AI is only as good as the data it is fed

lunar shore
thin cloak
#

We have more implicit knowledge of the world

#

So we are better than those bots

#

And we make the bots

#

Choosing what data to feed em

lunar shore
thin cloak
#

The task maybe to feed the bots the right data

#

Or we are screwed

#

So people like us are the safeguard

lunar shore
thin cloak
#

Why we should be there

#

To fix the mess

#

There will be false positives and false negatives

lunar shore
#

I guess that is also true... Well what you are implying and I also think is right is that our job won't go away, it's just going to change drastically

thin cloak
#

Yes

#

And creativity never goes out of style

#

We can program art

#

Like games

#

Even retro ones

#

AI needs us

lunar shore
#

But uh there's just one concern I have, being that AIs in the future will be constantly learning, even with interactions with the world, they will be learning, just like a human being. Wouldn't that eliminate the knowledge gap between us and the AI?

thin cloak
#

But we got experience that AI don't

#

That is our edge

lunar shore
#

I mean AI learns exponentially faster than us

thin cloak
#

True

#

In narrow domains they will beat us

lunar shore
#

so if an AI has 1 year of "experience" with interacting with the world, it would be equivalent to multiple-folds of a human's "experience"

thin cloak
#

But if the domain is not well defined we could have an edge

thin cloak
#

But that involves models

#

It's hard to model the entire world

#

What is winning condition

#

Sometimes that function is hard to define

#

In chess it's easy

#

Also Nobody yet would trust AI to be a Doctor or President

#

We are needed still to safeguard

lunar shore
# thin cloak But that involves models

Well we are doing it, what is preventing an AI to do it? Humans learn from image, sound, touch, taste and smelling, what if the AI has a/multiple models dedicated to each one of them? Wouldn't that suffice? At some point it'll be able to categorize the data it's learning too I'm guessing, maybe even create models itself?

thin cloak
#

Eventually yeah non narrow General AI

lunar shore
thin cloak
#

Still a hard problem ML tend to narrow domains

lunar shore
thin cloak
#

Then we will code for fun

#

Hopefully when we are rich

lunar shore
lunar shore
thin cloak
#

Us tech-savvy folks want us to be obsolete lmao

lunar shore
#

We're making ourselves go extinct 💀

thin cloak
#

Vote for someone that supports universal basic income

#

We don't need arms and wars

#

If the AI gets them we are screwed

lunar shore
thin cloak
#

Yeah tru

lunar shore
#

Man, now I don't know if I'm gonna choose a Computer-related major for university or not lol

thin cloak
#

Either way attend uni

lunar shore
#

yea obviously uni is necessary lol

thin cloak
#

I'm a Science (Chemistry) major that got succ into IT by my uni IT dept

lunar shore
#

Daaaamn that's interesting

#

and cool

tranquil iron
#

military spending cannot pay for UBI. not even close

tardy rain
#

Yes

near ledge
#

Hi, I have a question about how I should structure my project.

I have a programm, that is saving data to Google Cloud Firestore.

Now I would like to build a React App, that uses the data in the Firestore.

now my questin:
How do I get the data from Firestore?
I thought about making an api that I could call, but I thnink this would just make it slower...

prime lagoon
#

@quaint juniper Krita isn't lightweight at all

quaint juniper
#

So my PC is trash. What's a good lightweight app I can use for drawing instead of photooshop(free).

I work with a laptop that has no Sdd just hdd and no graphics card

quaint juniper
#

Then which

prime lagoon
quaint juniper
#

It is good for game dev?

prime lagoon
#

it's ok. i wouldn't use it for that, but for your requirement, it's the best there is

quaint juniper
#

It does the job

quaint juniper
#

Well photopea lags on my laptop 💀

prime lagoon
#

yeah paint.net it is. if you do pixel art things, I'd go for Grafx2

quaint juniper
#

I will download both

jovial oriole
#

wrote a script that finds an equation for data given, and the gist behind it is that it compares the data to a bunch of equations that it has

#

and i needed to get as many as possible

#

so i created script to produce expressions

#

the expressions are limited to 4 operations, trig functions, factorial etc with only 2 variable that it can use (total of 2 per expression)

#

and there are a lot apparently

#

ah can't upload it

#

like 50k

rough sapphire
rough sapphire
thin cloak
#

That is a philosophical assumption thou.... that there is no soul or non material thing

quaint juniper
#

I don't mean act conscious

#

I mean be really conscious

#

Alive

#

I believe the furthest we can go is make is behave identically like humans

#

Like if we put it in a human body we can never distinguish them

#

But it won't be really alive

#

There is a paradox called " Philisosophical zombies"

#

It's like you can't really be sure if other humans are alive or not

#

Maybe they are not conscious they just act conscious

#

I believe that if AI became so advanced , the maximum thing we can do is make it act conscious

grave cove
#

then we get into the matter of if humans are conscious
we're really just a bunch of meat put together that we say are conscious
if a bunch of cells and meat can be conscious then theoretically silicon and metal and bits can as well, even if they can't in our time

thin cloak
#

Yes

#

I think it can be

#

It will be our silicon children

#

We gotta guide them

quaint juniper
#

If supposedly we made an AI conscious

#

Would it be moral if we kill it / test on it

grave cove
#

most likely

thin cloak
#

That is a great question

grave cove
#

if we made it "truly conscious" then it's no less a human than you and I

thin cloak
#

Yep

#

So we should not then

grave cove
#

How do we define a "human"? A skinbag of meat and bones? Or an individual composed of memories and thoughts?

quaint juniper
thin cloak
#

And treat them like children

grave cove
thin cloak
#

Maybe we can use cell culture instead of rats or in silicon rat analog

quaint juniper
thin cloak
#

For nao

#

In the future maybe not

quaint juniper
#

What if there was a human and a conscious AI. And you were told to save one. Should you choose the human or are they equal

#

@thin cloak @grave cove

thin cloak
#

Then we eat cultured meat instead of killing animals

thin cloak
#

Imagine Commander Data

grave cove
#

Human bias

#

If the AI was truly conscious then it'd be like asking to save 2 human strangers

quaint juniper
thin cloak
#

I would judge based on the character not on the substance of the entity

quaint juniper
#

Like comparing between a cat and a human

thin cloak
#

Yes

quaint juniper
#

Or is levels of consciousness basically the difference in IQ

grave cove
#

That's.. quite scientific and not something I know if I can answer

grave cove
thin cloak
#

Yep

grave cove
#

IMO IQ is just a load of bull puckey

thin cloak
#

Yeah kinda overrated

quaint juniper
quaint juniper
grave cove
#

It's a biased question and not truly representative

thin cloak
quaint juniper
thin cloak
#

So morally the cockroach is superior

grave cove
#

Sure. Now replace the roach with your pet dog -

#

The inherit revulsion people have to roaches again biases the results

quaint juniper
#

Hmm

grave cove
#

We also feel a kinship towards others of our kind, so a conscious AI pitted against a human, the human will always win

#

This is evolutionary and deeply embedded into us

quaint juniper
#

What if we ask an AI this question. Maybe there will still be bias as in the end , AI is trained by humans

thin cloak
#

Yes

grave cove
#

This "pack instinct" is perhaps one of the reasons we've evolved to be intelligent in the first place

thin cloak
#

Can be mitigated thou

grave cove
#

Sure, but then one could argue you are undoing evolution

#

Which, of course, is debatable

thin cloak
quaint juniper
#

Another question. Did anyone try to simulate a real brain on computers? I an pretty sure our best supercomputer could handle that.

#

I don't mean AI as AI are trained to do a certain task. I mean a real brain

grave cove
#

I have a whole series of books I like to read on just that :D

thin cloak
#

Up to rat level I think

grave cove
#

Theoretically it should be possible

quaint juniper
thin cloak
#

Yes

grave cove
#

Of the series?

quaint juniper
quaint juniper
grave cove
quaint juniper
#

Ohh

grave cove
#

Though the series is about exactly what you describe

thin cloak
#

Too slow...hard to answer we have to define consciousness first

grave cove
#

The book does however explore some of these questions

#

When you replicate a human brain after death - is it still you?

quaint juniper
grave cove
#

We can define consciousness to be the collection of memories, thoughts, experiences, and feelings of an individual

thin cloak
quaint juniper
grave cove
#

That's the thing.
Is your body part of you?

#

You in the abstract?

thin cloak
#

You instances lmao

#

Fun

grave cove
#

Well.
Cloning of the brain would be similar to a class

quaint juniper
#

Even if we clone your body parts , there is still that feeling you have for yourself that you don't have for him.

grave cove
#

A blueprint to build off machines to replicate it

grave cove
#

There exists theories that say no two objects are identical

thin cloak
#

Yep

quaint juniper
#

If they are identical they aren't two anymore

grave cove
#

To be identical would be to violate the laws of science

thin cloak
#

But in quantum realm all electrons are alike

quaint juniper
grave cove
#

Alike is not identical

#

But things start getting funky in the quantum realm

thin cloak
grave cove
#

Quantum superposition, for one

quaint juniper
#

A distinction means there is something you posses which I don't . If you and I are exactly identical , how could there be something you posses that i don't?

thin cloak
#

There could be just one election moving really fast

grave cove
#

Not sure if I believe the "moving back and forth through time part"

quaint juniper
grave cove
#

It's determined that time steadily marches on in one direction - if at different rates

#

(Thanks Einstein)

thin cloak
#

But it appears as many

#

Yeah it's quantum weirdness

quaint juniper
thin cloak
#

But we aren't sure

grave cove
#

Might have something to do with the observer effect

thin cloak
#

It could be many electrons that appear to be all the same

quaint juniper
#

Tbh I believe observer stuff is nonsense cuz idealism is 🤢 🤮

thin cloak
grave cove
#

If we go back to the brain cloning - is that immortality?

thin cloak
#

No universe will end....or heat death at least

quaint juniper
#

If I kill 1/3 of earths population in order to save 2/3 it is moral then (atleast that's what I think(

thin cloak
#

Practically immortal maybe but not immortal as in forever

quaint juniper
#

So if we clone a human brain to test on it to save millions of others why would it be immoral

#

But if we clone it just for fun maybe that's immoral

thin cloak
#

Nah that bad says Marvel

quaint juniper
#

@grave cove what do u think

rough sapphire
#

Well

#

Overpopulation be kinda insane

thin cloak
#

It will fix itself see China and Japan

#

People too busy making money rather than making baby

#

If we kill ourselves that way maybe AI children ok

#

Sad geeks that don't get to reproduce naturally get to make a legacy

grave cove
thin cloak
#

Maybe if there is a limited amount of vaccine enough for 2/3

#

You gotta triage

#

If it's a selective genocide then that is evil

#

If it's a gauntlet snap that does random vanish is evil according to Marvel lmao

#

But that fairer than selective genocide

#

But still evil

gritty zinc
#

maybe we shouldn't use marvel movies as the gold standard of morality

thin cloak
#

Maybe it's all fiction like religion if the story thou makes sense then it is still a useful fiction

#

There maybe no gold standard

#

But we can still be moral

grave cove
#

so what do we base morality off of

thin cloak
#

Logic

#

Don't harm sentient entities if possible. .. minimize suffering

#

Since we are sentient entities ourselves

#

Or we can base it on compassion or sympathy since we can feel what others feel

#

Or ideally both

gritty zinc
#

you can't derive morality from first principles

grave cove
#

we can really define it to be anything without anything to base it off of

thin cloak
#

Logic and compassion is the best we have

thin cloak
#

Maybe be pragmatic

#

Dogmatism could lead to contradictions

#

Like when religions sanction wars

#

Where is the compassion and logic?

#

Aren't these just stories we pass generation to generation and sometimes mislead us

#

Maybe modern stories can guide us better

#

But don't make a religion out of them

#

Unless we don't take it to seriously see https://en.m.wikipedia.org/wiki/Jediism

Jediism (or Jedism) is a philosophy, and in some cases tongue-in-cheek joke religion, mainly based on the depiction of the Jedi characters in Star Wars media. Jediism attracted public attention in 2001 when a number of people recorded their religion as "Jedi" on national censuses.
Jediism is inspired by certain elements of Star Wars, namely the ...

#

A Jedi church wedding with cosplay and lightsabers... awesome

honest star
#

This penalty shootout is so intense

tranquil iron
#

I hear this channel is for world cup chatter

honest star
#

yes!

tranquil iron
#

who won?

honest star
#

Who is everyone rooting for?

#

Not decided yet

#

We're on penalty shoot outs. Next shot could end it

tranquil iron
#

people seem to be cheering

#

you tube has a live stream of a crowd watching the world cup. it's so exciting.

honest star
#

<_< I may be on a delayed televised thing then

tranquil iron
#

other people seem sad

#

I think someone lost

honest star
#

IT'S OVER

tranquil iron
#

I think the sud americanos have won

honest star
#

SPOILERS IN CASE YOU'RE DELAYED ||ARGENTINA BABYYYYY||

tranquil iron
#

there are grown men crying in the argentine crowd

tardy rain
#

Dont cry for me argentina and such other chants

honest star
#

Messi finally got the cup, goddamn

#

What a good match though

lime maple
#

Less go arg

#

I THOUGHT IT WAS OVER AFTER 3-3

#

L MBAPPE

tranquil iron
#

will this mark the turning point for argentine society?

honest star
#

Mbappe played so well though!!

lime maple
#

YES

tardy rain
#

How does this affect Ronaldo's legacy

tranquil iron
#

it takes more than one good player

lucid heart
#

FUCKING GOATTTTTTTTTTTTTTT

jaunty wraith
#

Lloris played so well for the entire match too
gd penalties

lime maple
#

I AM IN TEARS OF JOY

hidden pebble
#

so many uno reverses

#

how many uno reverses are humanly possible

jaunty wraith
#

trés

#

(survivor bias, I know, but it's funny)

odd jasper
#

y'all should hear the amount of noice people are making here in argentina lol

jovial oriole
#

i have more if required

#

iirc i have like 183496 expressions for different graphs somewhere

rough sapphire
#

an AI machine can simulate a corrupted politician?

languid tide
#

probably lol

rough sapphire
#

why AI would need money?

thick ore
rough sapphire
#

but who is gonna delivery the bribe money

thick ore
#

what bribe money

#

wait

#

oh bribe money

rough sapphire
#

in cash

thick ore
#

yes

#

the ai is going to enslave humans to deliver bribe money

rough sapphire
#

that's what we all fear, right

thick ore
#

right

#

well I wouldn't mind

#

after all I can choose whether or not to do what it wants

#

just shut down your computer 😂

rough sapphire
#

but if it still have eletrical activity after shutdown

#

like cellphones

thick ore
#

well that's dumb

#

worst case scenario you'll have to throw it in water

rough sapphire
#

or pretend to do that because the AI gives me bribe money

thick ore
#

😂

rough sapphire
#
``` can someone check this in HTML code, it should be red heart, but in my laptop its black and I cannot understand why
#

you could try it here https://codepen.io/

#

if I added color in css it change, maybe the default is black?

rough sapphire
#

who checks if someone have more accountable money and trusts

#

I already check that

#

they told me that no ones audit and most important nobody cares

#

you just have to have and ideia

#

idea

#

and I don't know make a movie about something and

#

or I don't know

#

take oil in ocean with ridiculous giant machines

#

and we mortal people can't replicate that

#

like it not watch a 3d animation about how nuclear bombs works

#

and then reverse engineering that

#

and even if you do that you probably won't get a normal life and will go insane

#

and people will not believe that you have a very cool explanation

#

and stupidity me have to give opinion that nobody asks

#

and make it a proof myself too

#

it's makes a sense when you're writing your name on documents

#

just don't be silly as me because they give you a temporary sense of power

uneven pine
#

I think there was almost a coherent thought or two in there

#

But it was lost in a sea of random words

rough sapphire
#

you absolutely got it

rough sapphire
#

I had vivid imagination

rough sapphire
#

finally depression

#

is giving a break

thin cloak
#

Nice

final jasper
#

hmm

rough sapphire
#

Lemme check

rough sapphire
#

I guess the red heart was looking white in vscode

#

10084 is HEAVY BLACK HEART, and IIRC, "black" Unicode characters are filled

#

As opposed to "white" Unicode characters that are only an outline

rough sapphire
rough sapphire
#

sorry if my words is confusing, my English is lacking

#

It's okay

#

this image is better

#

Technically, emojis are Unicode characters

#

do you use MAC or Windows? would it look red in IOS vscode?

#

I used it in windows 10 vscode

#

I use Windows 10, and it shows up on my computer like that as well

#

I think that's due to different fonts

#

The Windows emoji selector has a different font than, say, VSCode or your browser or your browser's search bar even

#

And each font has a style in which they show emojis

#

Thank you

#

No problem

rough sapphire
#

When was the last time a ducky_yellow helped you in debugging?

wraith hound
#

yesterday

#

i have 9 on my desk that can get through anything

jaunty wraith
#

why do you have 9 ducks pithink

rough sapphire
#

sorry for sharing that here

#

but I have to drink

#

with my last money

#

my life will not last long for personnal reasons

grave cove
rough sapphire
tardy rain
#

That was a question yes

rough sapphire
young shoal
tardy rain
#

Duck clan

jovial oriole
thick ore
thin cloak
#

Also don't trust that in financial or medical realms

#

Any good benefits maybe down to luck or placebo effect

keen sparrow
#

anyone knows what this is?

thick ore
#

a monitor?

keen sparrow
#

obviously, but

#

what is that terminal ui?

true quarry
#

hi can someone help me with my c lang hw?

thin cloak
keen sparrow
#

ooh ibm

thin cloak
#

Look at upper left says AS400

#

So OS 400 probably

keen sparrow
#

i might be

#

too young to understand what it is

thin cloak
#

Just a computer somewhere else that you connect to

#

In the old days you got dumb terminals with green screens or amber screens

keen sparrow
#

i see

proven ermine
thin cloak
#

Could be AS 400 Cobol

#

So the DMV could be running Cobol

proven ermine
#

most likely

#

years from now people are still going to know Cobol because the DMVs central systems are still running it

rough sapphire
#

Kernels are too bloated 😦

dry raft
#

@short marsh this is a christmas pudding (xmas pud)

short marsh
#

That looks gross

#

Must be british

crisp ledge
#

Why is it on fire

dry raft
#

It's the best bit of xmas.

crisp ledge
#

Is it covered in alcohol

dry raft
#

Yep

crisp ledge
#

😮

short marsh
dry raft
#

Well, not "covered"…

#

Unless you fail to light it several times in a row…which I never did :D

mossy hearth
#

test

jovial oriole
#

Guys I found among us

craggy crypt
#

very sus book

sterile storm
grave cove
stable fulcrum
tardy rain
#

Among us references need to die

thin cloak
thick ore
thin cloak
#

Lmao it's futile

thin cloak
#

It's like the Borg...aliens are here resistance is futile

acoustic moss
#

aliens!??!! like in the game AMONG US!?!?!?

grave cove
thin cloak
#

Lmao see the references are multiplying like an alien invasion

grave cove
small coral
grave cove
#

is this a mutable jojo reference

thin cloak
#

Yes

round rose
#

in c++ yes, in rust no

harsh tundra
#

@cloud urchin question about your name:
Shouldn't your name have tsk and not stk? Because based on your pfp it seems like you were aiming for Soviet aesthetic and adjectives made from nouns end with -ский == -sky/-skiy (depending on transliteration method), so Soviet -> sovietsky (the ie/e sometimes depends on what transliteration method you use as well)

#

I'm just being a language nerd, but being Polish my mind just gets stuck on that stk because it looks/sounds weird

cloud urchin
#

and yes I was aiming for a Soviet aesthetic, made the whole thing in Photoshop wish I still had the file saved somewhere

harsh tundra
#

😄

cloud urchin
#

Now it's the correct way

thin cloak
#

Great comrade

tulip cedar
#

nice

signal scroll
#

does anyone know which programming language this is?

tardy rain
#

Lua?

#

Yea that looks like lua

signal scroll
#

@tardy rain

tardy rain
#

smh banable imho

signal scroll
#

what

tardy rain
#

This bait

signal scroll
#

ok

small coral
stable fulcrum
stable fulcrum
signal scroll
#

but i'll try

#

in c

#

this is what i got but i dont find anything else to do

#

this is what i have now, removed one semicolon and removed the }

small coral
# signal scroll this is what i have now, removed one semicolon and removed the }
#ifndef __cplusplus
#include <stdio.h>
#define and ?
#define or :
#define def int
#define main() main() { a
#define None 0; }
#define print(x) puts(x);
#/*
"""#"*/
int
#/*
"""#"*/
C = 0;

def main():
    print(++C and "C" or "python")
    return None

#if 0
main ()
#endif
#else
#include <iostream>
#/*
"""#"*/
int main() {
    puts("C++");
}
#/*
"""#"*/
#endif
#

works in C++, C, and Python

signal scroll
#

oh nice

#

didnt work for me the python @small coral

small coral
#

psure C compilers accept any sort of extension

signal scroll
#

same

#

oh

small coral
#

so maybe it'll also work with python

signal scroll
#

found the issue

#

vscode auto formatted on paste

#

indentation broke

#

so main didnt get called

#

works now

small coral
#

ok

signal scroll
#

the main() was with a tab

stable fulcrum
signal scroll
#

What

stable fulcrum
#

You also forgot : and why ;

signal scroll
#

Because its C

tulip cedar
graceful basin
#

all of the C preprocessor stuff is a comment, and a lot of the C/C++ code is in string literal

tulip cedar
#

Well why does not the ++C raise an error? Isn't it wrong syntax?

acoustic moss
#

!e print(1, +1, ++1)

royal lakeBOT
#

@acoustic moss :white_check_mark: Your 3.11 eval job has completed with return code 0.

1 1 1
topaz aurora
#

+x corresponds to x.__pos__()

tulip cedar
#

Ah thanks

ionic bane
royal lakeBOT
#

@ionic bane :white_check_mark: Your 3.11 eval job has completed with return code 0.

1 -1
ionic bane
frozen crane
topaz aurora
#

Seems to be the case

sterile grail
#

cause i don't rlky see the purpose of it since it just returns the number

topaz aurora
#

a quick search gives me usage in statistics

graceful basin
gritty zinc
#

huh, TIL

harsh tundra
royal lakeBOT
#

Objects/longobject.c line 6250

long_long,                  /*tp_positive*/```
`Objects/longobject.c` lines 5338 to 5347
```c
static PyObject *
long_long(PyObject *v)
{
    if (PyLong_CheckExact(v)) {
        return Py_NewRef(v);
    }
    else {
        return _PyLong_Copy((PyLongObject *)v);
    }
}```
harsh tundra
young shoal
gritty zinc
#

not interesting enough

frozen crane
#

@dense tusk ask your laptop question here

#

Gaming laptops are more powerful than general purpose laptops. Though they also are heavier

dense tusk
#

here is the question again, just so that others can maybe give suggestions:
Hey ppl, so I'm tryna buy a laptop for my college, but I'm confused which one to buy... My parents say that a working laptop is good, but my friends say a gaming laptop has high performance so go for it, and my budget is just $1100, can someone help me?

frozen crane
sharp jasper
#

Any reasonably modern laptop should be fine for student use.

frozen crane
#

But if you're a gamer, getting a gaming laptop is probably the way to go as a student. You just have to prepare for the reality that it might not last all four years of uni

#

By my last semester, my laptop had become unusable, so I wiped it and installed linux

#

(which is a good way to breathe life into a dying laptop)

tardy rain
#

Getting a gaming laptop as a student might not be the best of things

sharp jasper
#

I used a lightweight laptop in college. I liked taking it to class and the battery lasted pretty good, didn't have to plug in during class

tardy rain
#

Introduces temptation
I really struggled to focus on my studies when i had a machine that could run games i played

dense tusk
young shoal
#

but if you want to game on it then probably not. what are you majoring in?

young shoal
dense tusk
young shoal
#

what do you think you want to major in

dense tusk
#

most prolly computer science

#

or something related to that like cyber security

young shoal
#

other than compiling code faster, there isn't really a need for a laptop with good specs

sharp jasper
#

especially during your freshman year

grave cove
#

@sterile grail 😠

#

how many times do we have to tell you this old man

#

yellow snow is bad for you

drifting sage
#

!catify

#

not a thing anymore 😔

slim spire
#

Am looking for a one teammate or two by max so we can learn together and solve ex. From leetcode everyday by choose a specific hour. I just start to attend udacity course for algorithms and data. Anyone interested DM me

sterile grail
harsh tundra
#

.help catify

median domeBOT
#
Command Help

**```
.catify <text>

**Can also use:** `ᓚᘏᗢ`, `ᓚᘏᗢify`

*Convert the provided text into a cat themed sentence by interspercing cats throughout text.

If no text is given then the users nickname is edited.*
candid lance
tardy rain
#

It is, doesnt mean you need to make it harder to resist yourself

median domeBOT
#

Your catified nickname is: 'Abd al-Wadūd | ᓂᘏᗢ

#

Your catified nickname is: 'Abd al-Wadūd | ᓂᘏᗢ | ᓂᘏᗢ

royal lakeBOT
#

failmail :ok_hand: applied mute to @hallow stone until <t:1672053283:f> (10 minutes) (reason: duplicates rule: sent 4 duplicated messages in 10s).

The <@&831776746206265384> have been alerted for review.

thick ore
#

.catify

median domeBOT
#

Your catified nickname is: ⁉ | ᓚᘏᗢ

tulip cedar
#

nice

#

.catify

median domeBOT
#

Your catified nickname is: Hunter | ᕂᘏᗢ

tidal gazelle
#

.catify

median domeBOT
#

Your catified nickname is: Sine somno | ᕦᘏᗢ

open fern
#

@primal inlet It's really old (C99 wasn't even a thing at the time of publication) but it is "C Pointers and Dynamic Memory Management" by Michael C. Daconta

open fern
#

@rough sapphire so C is a language which allows you to manage memory manually.

Let's start with the automatic variables.

int main() {
    int automatic_variable = 27;
    // other logic, print "hello, world" maybe?
    return 0;
}

They're closest to Python variables. The memory they use (to store their value) is allocated automatically when the function that contains them (here, that's main) starts running, and then freed/deallocated when that function returns. If you're confused by "allocated" , it's like lending a book from the system library (except the books are memory chunks and the library contains all of the memory chunks available).

Now, there are also dynamic variables. These are the variables where you are responsible for allocating (enough) memory for the variable to store whatever it needs to store.

int main() {
    int *dynamic_variable = malloc(sizeof(int));
    *dynamic_variable = 27;
    // other logic, print "hello, world" maybe?
    free(dynamic_variable);
    return 0;
}

This is pretty complicated, let's go through it line by line.

int *dynamic_variable = malloc(sizeof(int));
The malloc call is C's way of asking the system to give us (allocate) a chunk of memory from the system pool (called the heap). How big is the memory chunk? It's the result of sizeof(int) which essentially translates to "enough space to store an integer."

Anyway, the malloc call actually returns a pointer (that's the star before the variable name, it means the variable's type is a pointer). What's a pointer? Basically a value that represents the memory address (ie. location) of some other value. In this case, it points to the memory chunk the system allocated for us. It's like the library giving you a card that contains the information needed to find the books you just checked out (eg. FLOOR 1, SHELF B, BOOK 27).

This pointer points to an integer, or rather a memory chunk containing the ones and zeros that represent an integer.

#

*dynamic_variable = 27;
Here's the actual assignment to the variable. However, we can't just assign to the pointer directly as that would change the memory address it points to. (That would be like switching the card the library gave you with another card that points to a different book.). We first have to deference the pointer (that's the star before the name here) which essentially means "go to the memory address this pointer points to" before assigning the integer.

#

free(dynamic_variable);
Last part. Remember how we asked the system to allocate a memory chunk for us? ... well it won't deallocate that memory for us (it would be like if someone from the library just came to your house and took back their book without asking or warning). Instead, once we don't need that memory anymore, you free it (ie. give it back to the system).

... and that's a heavily simplified introduction to automatic and manual memory management in C!

#

it is complicated, but it offers you a lot of flexibility to control how memory is allocated and deallocated.... which is important if you care about performance (which you probably do if you're using C)

opal island
#

Go Or Rust
For a python and js industry lvl exp guy

rancid hamlet
#

Biased opinion: rust

wraith hound
#

i'd go with rust just because it's wildly different from both the others

#

writing code with a type system that powerful is a significantly different experience

#

and is extremely valuable, whether you work with the language in the future or not

tardy rain
#

Go might be more useful career wise

#

If youre gonna learn something wildly different why not pick haskell or apl or something actually wildly different

wraith hound
#

they gave two options ¯_(ツ)_/¯

#

also i just hate some of go's decisions language wise, so i'm definitely biased

#

particularly as a compiler nerd.

wraith hound
#

particularly on how in rust, the type system doesn't just exist, but correctness is encoded in it

#

you're forced to think about everything that can go wrong. in go, a lot of that doesn't exist.

#

which is something i think is valuable, at least to try once

#

but fair warning, beyond just jobs, rust is a lot harder to pick up

prime lagoon
wraith hound
#

then don't learn it ¯_(ツ)_/¯

#

i think it's a valuable experience, but i'm not shoving it down your throat

#

ftr the syntax isn't that bad, if you can get used to a lot of important information being encoded in few characters

#

which does take some time

silver turtle
#

hiiii everyone im new here and im trying to follow the 'learn python visually' book tutorials but i cant even get past the setting up so i was wondering if anyone could help

drifting sage
#

Damn hadn't checked in here for a while and apparently there are no help channels named after stuff :'(

#

Really liked them

#

Now there are forums :\

jaunty wraith
#

snek support moved to forums

dusty cape
#

Hey!

I am an entrepreneur looking for new opportunities to collaborate and create. I have a background in tech, but have gained expertise on the business side of things over the years. My business partner and I are currently looking for a tech co-founder to join our team to lead the tech side of things.

If you have a background in tech and are interested in collaborating with us on a new project, we would love to hear from you.

Please don't hesitate to reach out if you are interested in connecting and potentially working on something together. If this isn't the right place to post this feel free to delete this and let me know where to post.

royal lakeBOT
#

9. Do not offer or ask for paid work of any kind.

fossil urchin
jovial oriole
#

Found Dwayne Johnson among us

acoustic moss
#

your mother