#ot1-perplexing-regexing

1 messages ยท Page 67 of 1

high haven
#

?

#

is it that bright

young shoal
#

it's more difficult yk

high haven
#

try this

#

lmk how it goes

#

best of both worlds

young shoal
#

it's ok, but it's hard because at noon the sun is pretty much overhead

#

it's better now that it's more winter but still

high haven
#

hmm maybe you need a tree

young shoal
#

truly

high haven
#

go get a tree

#

๐ŸŒด

young shoal
#

are your cafe's all indoors

high haven
#

theres some outdoor ones

#

and some with outdoor seating

#

i like them

#

i told you about the food court one right

#

that one has more seating outside

#

but if you hate the sun, you can hide inside

young shoal
#

no, or if you did I forgot

young shoal
#

ic

high haven
#

๐Ÿ‡ฎ๐Ÿ‡จ

young shoal
#

outdoor seating is great

high haven
#

did you find a tree yet

#

or did you just deal

young shoal
#

no I'm sitting in the shade

high haven
#

๐ŸŽ„

young shoal
#

it's not that cold

high haven
#

whats the temp

young shoal
#

21

#

like 70s

high haven
#

oh?

#

we are C first

#

here

#

i see

young shoal
#

gotta be accommodating

high haven
#

jk

#

he always talks in C

#

and im like

#

trying to guesstimate the temp

#

in F

young shoal
#

"he"?

high haven
#

oh you missed the deleted message

young shoal
#

ah, I missed something

high haven
#

its fine

young shoal
#

๐Ÿคจ

high haven
#

anyway thats about the temp here plus or minus 2

young shoal
#

huh, I thought it'd be warmer

high haven
#

me too

#

but here we are

#

something something welcome to autumn

young shoal
#

so it would seem

high haven
#

๐Ÿ‚

high haven
#

The Google+ platform is a pathetic afterthought. We had no API at all at launch, and last I checked, we had one measly API call. One of the team members marched in and told me about it when they launched, and I asked: "So is it the Stalker API?" She got all glum and said "Yeah." I mean, I was joking, but no... the only API call we offer is to get someone's stream. So I guess the joke was on me.

high haven
#

bruh

#

i got invited to a tech social thing next week

#

should i go or

young shoal
#

lol

young shoal
grave cove
#

i can go in your place

#

i'll dress up like rex

high haven
#

actually i should see if i can get funding to go to this conference instead

jaunty wraith
#

get funding to go to the conference and then just don't go

young shoal
#

leave after 1 minute

high haven
#

pretty sure in the accounting system they will want receipts

#

i guess you would still get that anyway

#

idk i feel like i would want to if the company is paying for it

high haven
#

also they have student pricing

#

but pretty sure a lot of students would still be like 'thats too expensive unless my school pays for it'

alpine void
#

hello guys

#

can anyone tell me, if i can disable my laptop ram (gets ignored)

young shoal
high haven
young shoal
#

bro. that's just filtering for rich students

high haven
#

my favorite part

#

is how "researchers" are lumped together with students

#

like 'are you in academia?'

#

'ok youre also poor'

#

๐Ÿ’€

solemn tulip
young shoal
#

so true ๐Ÿ˜ฉ๐Ÿ˜ฉ

high haven
young shoal
#

enemies then

high haven
#

frenemies when

jaunty wraith
#

frenemies

#

hello other me

high haven
#

go sleep moyen

#

isnt it night time for you or something

jaunty wraith
#

not feeling too sleepy

young shoal
#

sleepy moyen ๐Ÿฅบ

high haven
#

๐Ÿ›๏ธ

jaunty wraith
#

sleb

high haven
young shoal
#

that's kinda wild

high haven
#

im reading the signs and im like

rugged owl
grave cove
#

yikes

#

kid didn't have to do her like that

grave cove
#

baby was flabbergasted

rough sapphire
#

๐ŸŽถ๐ŸŽตand i nEed you
๐ŸŽถ๐ŸŽตand i miss yOu
๐ŸŽถ๐ŸŽตand now i wOndeR ~

high haven
civic pasture
#

HEY FRIENDS

#

UWU

high haven
#

guess whose playlist im listening to

#

good evening vibes

grave cove
#

hi rex

#

what's for lunch

high haven
#

why is pub here and where is robin

grave cove
#

im covering for pub tonight

high haven
#

ah

#

that makes sense

grave cove
#

watcha listenin to

high haven
#

tell me pub-substitute, what overengineered project are you working on atm

high haven
grave cove
high haven
#

this week's discover weekly is blobsigh

grave cove
#

maybe a 3D graphics rendering engine ๐Ÿ‘€

grave cove
#

you'll never know

grave cove
high haven
grave cove
#

I need to judge aboo

high haven
high haven
#

not for me

#

but still interesting

grave cove
#

but you have fun cat_vibe

high haven
#

whats your vibe

#

๐Ÿ”Ž

eternal wing
#

Metal, always metal.

high haven
#

metal from the 2020s or

#

if you have any playlists, id be willing to give it a listen

eternal wing
#

Any decade will do... For the most part

high haven
grave cove
eternal wing
#

I actually need to make a metal only playlist. I've been slacking

grave cove
#

so im listening to stuff y'all post here to see if I vibe with them

foggy jungle
#

You never listen to my recommended music.

foggy jungle
#

Have you already concluded my tastes are bad?

high haven
foggy jungle
#

No Robin

high haven
#

i like your music rem

#

like i could go for entire playlists with those vibes

grave cove
foggy jungle
grave cove
#

bro probably listens to Beethoven

young shoal
high haven
high haven
foggy jungle
#

Or at least more... young people music?

#
grave cove
#

meh mainstream music is mid

high haven
grave cove
#

too picky ig

high haven
foggy jungle
#

Electric Callboy is based.

#

Pump It is a go-to running song for obvious reasons lol

high haven
#

frfr

grave cove
#

What did I just listen to

young shoal
#

it's kinda really good

high haven
foggy jungle
high haven
high haven
young shoal
high haven
#

its great

young shoal
#

๐Ÿ˜ฉ

#

sg would like it, surely

high haven
high haven
# foggy jungle Sounds pretty good with the subs in my car <a:finger_guns_cool:11218791194293862...

"Watch The World Burn" by @FallingInReverse
Stream & download: https://fallinginreverse.ffm.to/watchtheworldburn

Song produced by Tyler Smyth and Ronnie Radke
Vocal Production: Charles Massabo
Song engineered, mixed and mastered by Tyler Smyth
Song written by Ronnie Radke, Tyler Smyth, Cody Quistad, Christian Thompson and Tyler Burgess

Direc...

โ–ถ Play video
foggy jungle
#

Falling in Reverse is based but Ronnie Radke is a deplorable human being.

high haven
#

oof

low chasm
#

I'm trying to study for the SAT - did anyone use any sort of prep programs?

#

my counselor recommended Magoosh, but I'm getting mixed reviews online

high haven
low chasm
#

uh

#

yeah >.>

#

please recommend it again ๐Ÿฅบ

high haven
#

khan academy > practice

#

then spam the practice recommendations

#

until your exam date

low chasm
#

based

#

khan academy it is

high haven
grave cove
#

so true

#

practice practice practice

#

know the test like the back of your hand

low chasm
#

how long do you think I'd need to study for a 1500

#

that's probably a stupid question

#

guess you can't really quantify it

grave cove
#

you know what we tell people that ask how long it takes to master python

high haven
low chasm
#

good point

#

I'm taking one this november

grave cove
#

the exams on khan academy give you back a score immediately btw

#

i would recommend taking one over the weekend to establish your baseline

low chasm
#

I'm going to lowball myself

#

let's say I get an 1100 on my first test

grave cove
#

better get on the grind then

low chasm
#

would it be reasonable to attempt to get it up to a 1500?

grave cove
#

perhaps

low chasm
#

I'm hoping I can manage like, around a 1300 on this first test

grave cove
#

but honestly it really comes down to how good of a test taker you are. you need the timing and pacing to become second nature

#

the content is not that difficult

low chasm
#

I see

grave cove
#

also with enough practice you will start noticing some patterns in the exams

#

abuse reuse recycle

low chasm
#

heh

young shoal
#

bro

#

the courses that say they boost your score by 400 points only work if you get an 800 to start

grave cove
#

i mean its like, pretty easy to go from a 800 to 1200

young shoal
#

that's the point

grave cove
#

me personally i spent so long in the 1400 range

young shoal
#

but anyway you only need like a month of studying

grave cove
#

also you literally get like 400 points for putting your name

young shoal
#

did you know the median is 1200

grave cove
#

who would've thunk

high haven
# eternal wing Any decade will do... For the most part

how do you feel about these vibes or is it not enough metal https://www.youtube.com/watch?v=-0yzb1Jey2c

#OneMorningleft #Tonight #ArisingEmpire
ONE MORNING LEFT's new single 'Tonight'!
Streaming now: https://OneMorningLeft.lnk.to/tonight
The new album ยปHyperactiveยซ (out now)
Purchase, Streaming now: https://OneMorningLeft.lnk.to/hyperactive

SUBSCRIBE to our channel and hit the notification ๐Ÿ”” to not miss new music:
https://arisingempire.lnk.to/Y...

โ–ถ Play video
#

#OneMorningleft #IntergalacticCasanova #ArisingEmpire
ONE MORNING LEFT's bonus track 'Intergalactic Casanova'!
Streaming now: https://OneMorningLeft.lnk.to/casanova
The new album ยปHyperactiveยซ (out now)
Purchase, Streaming now: https://OneMorningLeft.lnk.to/hyperactive

SUBSCRIBE to our channel and hit the notification ๐Ÿ”” to not miss new music: ...

โ–ถ Play video
grave cove
#

did this and realized i wasn't even signed in :/

high haven
#

didnt sign in

#

doesnt count

grave cove
#

๐Ÿ˜ญ

young shoal
#

time 15?

#

bro actually cheated the 180

solemn tulip
#

I did them since I was planning to apply to some US schools

#

I can't for the life of me log in to see my scores, but seems it would be like mid 1400s in the new system

#

(heavily screwed over by writing, some by reading as well)

wicked haven
solemn tulip
#

it's almost as if it not being my native language makes things harder ๐Ÿฅด

#

the math is ez though

grave cove
#

i honestly can't tell if split keyboard makes it better

young shoal
solemn tulip
#

I think I messed up enough to not have a 800

#

but like 790 or something

#

I did have an 800 in math subject test

solemn tulip
wicked haven
solemn tulip
#

essays suck

high haven
grave cove
#

i too had 790 on math

wicked haven
#

unless Monkeytype can't english

high haven
#

that was basically my era older_man_cool

grave cove
#

rex in his prime ๐Ÿ˜ณ

solemn tulip
#

2011 I think

young shoal
#

actual boomers in the chat

high haven
solemn tulip
grave cove
#

almost

#

cope

high haven
young shoal
#

if you're taking the sat in 2011, ain't no way you're almost gen z

solemn tulip
#

well, almost is a bit fuzzy

young shoal
#

unless you're super lenient on the bounds

high haven
solemn tulip
#

my brother is 4 years younger and is in gen z

high haven
young shoal
#

like 26

solemn tulip
#

so like ยฑ2 years?

young shoal
#

it's like 97 or something. or maybe 95

high haven
#

zillenial it is

young shoal
#

.wiki millenial

median domeBOT
#
Wikipedia Search Results

Millennials
Orientation for the Millenial Generation". Eastern Michigan University. Retrieved 8 July 2023. "Rethinking Assessment: Understanding how the Millenial Generation

Millennium Prize Problems
The Millennium Prize Problems are seven well-known complex mathematical problems selected by the Clay Mathematics Institute in 2000. The Clay Institute

acoustic moss
#

15s isnt valid tho

solemn tulip
#

millenial prize problems

young shoal
#

starts at 97

#

so like 26

#

shoooot, what ASCII letter is your birth year

acoustic moss
#

h

solemn tulip
#

lol, gen z starts at a

#

that's actually pretty funny

grave cove
acoustic moss
#

yk

solemn tulip
acoustic moss
#

for non terminally online people 60wpm is mad impressive

young shoal
#

there's numbers and some symbols I think

acoustic moss
#

numbers are 48-57

wicked haven
#

\a (BEL)

young shoal
#

oh nevermind. I think boomers might be capitals lol

acoustic moss
solemn tulip
#

man ascii time

Tables
       For convenience, below are more compact tables in hex and decimal.

          2 3 4 5 6 7       30 40 50 60 70 80 90 100 110 120
        -------------      ---------------------------------
       0:   0 @ P ` p     0:    (  2  <  F  P  Z  d   n   x
       1: ! 1 A Q a q     1:    )  3  =  G  Q  [  e   o   y
       2: " 2 B R b r     2:    *  4  >  H  R  \  f   p   z
       3: # 3 C S c s     3: !  +  5  ?  I  S  ]  g   q   {
       4: $ 4 D T d t     4: "  ,  6  @  J  T  ^  h   r   |
       5: % 5 E U e u     5: #  -  7  A  K  U  _  i   s   }
       6: & 6 F V f v     6: $  .  8  B  L  V  `  j   t   ~
       7: ' 7 G W g w     7: %  /  9  C  M  W  a  k   u  DEL
       8: ( 8 H X h x     8: &  0  :  D  N  X  b  l   v
       9: ) 9 I Y i y     9: '  1  ;  E  O  Y  c  m   w
       A: * : J Z j z
       B: + ; K [ k {
       C: , < L \ l |
       D: - = M ] m }
       E: . > N ^ n ~
       F: / ? O _ o DEL
acoustic moss
#

O _ o

wicked haven
solemn tulip
#
[\]^_`
#

are the tweeners

high haven
low chasm
#

it's aight

high haven
#

i like 'em

#

i have this one on repeat atm

low chasm
#

I do like them

#

just that

#

this is a bit too metal-ly

high haven
low chasm
#

I like all time low and stuff, though

high haven
#

this isnt even that metal-y but i understand

high haven
grave cove
solemn tulip
thick ore
#

460 changes, i guess

#

which is definitely not normal for one commit

wanton delta
grave cove
#

Me when the commits are not atomic

tardy rain
#

What are they then

thick ore
#

electron-ic

tardy rain
#

Molecular commits

vale raven
tardy rain
#

Theyre implementing atomic design at work for one of the react projects

#

And now we got dirs on dirs on dirs of files that have 3-5 lines of components

#

Fun times

vale raven
#

Ukraine-Relief-Efforts/scraper#25
Ukraine-Relief-Efforts/scraper#49

70k changes anyone?

vale raven
tardy rain
#

Like small stateless styled div's worth

gritty zinc
# median dome

why did having dependencies in VCS seem like a good idea??

wanton delta
# median dome

this is a great source for me to learn about scraping
They're using beautifulsoup and stuff

#

but their website is down?

tardy rain
#

What is this for even

wanton delta
#

ukraine relief efforts

tardy rain
#

What are they doing with border data tho

#

Not very obvious from the readme

vale raven
#

We made lots of bad decisisons

#

It was also...

#

It was 3AM

young shoal
#

resume driven development moment

vale raven
#

We had been debugging since like 4PM

#

We just wanted it to work so we could go to bed

#

I said "What's the worst that could happen if I just [...]"

#

And the other guy sent

gritty zinc
vale raven
#

I fell out of my chair laughing

#

I'd never seen it before

#

It brought some much need humor to our frustation

vale raven
# tardy rain What are they doing with border data tho

We scraped the border crossing details from the countries surrounding the Ukraine and consolidated the information on a single website
We also used Google translate to make the content available in Ukrainian, Russian, and a couple other languages -- Because the individual countries generally only had most of the information available in their own language

tardy rain
#

But what for, how is this useful

wanton delta
vale raven
vale raven
young shoal
#

poggers

vale raven
#

I said "so.... there's these things called ORMs...."
To which they said "Oh we don't need all that complicated stuff for this little app"

#

But 57 Lambas is a-ok apparently

wanton delta
#

๐Ÿ’€ jeez

young shoal
#

aren't you running into overhead with the things needed to setup a rest api at that point

vale raven
#

probably

#

But the biggest problem is the management overhead

#

Guess what happened when we had to update a config var for the database connection?

wanton delta
#

did anything blow up

young shoal
#

yeah i mean

#

all the overhead

vale raven
young shoal
#

but surely you could configure global state

vale raven
#

They forgot to update one of the Lambdas

#

And they shipped it

young shoal
#

๐Ÿ˜”

vale raven
#

They didn't touch that function during their manual testing

#

But the customer sure did

wanton delta
grave cove
high haven
high haven
#

is this you yet

young shoal
#

๐Ÿ˜ญ

#

me fr

grave cove
#

machine learning at call of duty pithink

#

wtf is this person doing

high haven
#

anti-cheat models

young shoal
#

it says right there bro Machine Learning @ Call of Duty

high haven
#

shes been on a lot of podcasts

#

talking about it

high haven
#

pub: "nice PR"
goes and fix immediately afterwards

grave cove
#

full time shipiter shipit

#

shipit code on Fridays

high haven
#

shipit breaks on Saturday

grave cove
#

> be me
> make PR on Friday evening
> it blows up prod
> le me:
> sleb.gif

high haven
#

shipit spend Saturday debugging

#

shipit fix on Sunday

grave cove
#

not my problem shipit

high haven
#

classic

young shoal
grave cove
#

relatable

high haven
#

not this

grave cove
#

alright

#

time to get to class

high haven
young shoal
#

meh i have 15 minutes

grave cove
#

I have 35 but still

#

so far away from classes

young shoal
#

don't you live on campus

#

bruh i just confused myself with my own debug prints

#

i thought the threads will still running after i joined them but they were not ๐Ÿ˜ฉ ๐Ÿ˜ฉ

grave cove
young shoal
#

uh huh

grave cove
#

bro does not believe me ๐Ÿ˜ญ

high haven
tardy rain
#

Everyone and their mom's dog has one of those nowadays

rugged owl
#

|| I totally didn't see this at like 4 am while working on this 18 page hw||

grave cove
high haven
#

wait

#

sg

#

so that means you barely got any sleep

#

if youre here rn

#

kekHands ๐Ÿ•ฏ๏ธ

young shoal
#

๐Ÿ˜ญ

young shoal
#

truly a modern masterpiece

high haven
#

man sg

#

youre a real trooper. i would've dropped a class already if i had your workload

uneven pine
#

I gave the cats a treat each and now they all 5 just follow me around the house

grave cove
#

when kitty tax?

uneven pine
#

Scroll down from there

young shoal
#

๐Ÿ˜ญ

solemn tulip
#

but yeah

#

it looks more fun written out

#

fiery frumpy fenix, master of science ||and soon the universe||

jaunty wraith
#

that skull with cat ears though

#

wtf

#

that's not how ears work

uneven pine
#

Ears are cartilage

#

Actually

#

Those are horns

#

Look, the character has ears lower

jaunty wraith
#

o

uneven pine
#

ears attached to the jawline though, still weird

rugged owl
#

|| I may have also assumed those were ears this entire time and forgot demons have horns||

jovial oriole
#

Linux user lore

undone thorn
#

"and the next thing I knew the entire channel was wearing programming socks and tilting their heads at me, it was crazy"

wicked haven
#

segfault their GPU

grave cove
#

he was probably a JS developer

wicked haven
#

Then their opinion matters little in relation to low level

#

As a Rust user, C is better more fun

#

Rust is fun until it decides to not be

#

or you have to use any library

#

I'd rather use Ammonia than either /currently_a_joke_but_won't_be_when_I_actually_implement_my_programming_language

grave cove
#

why is it so big

wicked haven
foggy jungle
#

Is this cool or turboskid?

carmine apex
#

the owl is cool at least

wicked haven
foggy jungle
#

Hmm.

vale raven
foggy jungle
#

Nothing about this is a regular terminal but aite?

young shoal
foggy jungle
#

really? I kinda like it.

young shoal
#

it's not @ because it's a random symbol it's "at" ๐Ÿ˜ญ

foggy jungle
#

I know what my box is called.

carmine apex
#

fira
firHappy

grave cove
#

fira is based

foggy jungle
#

It's a slightly modified Kali theme.

#

I don't like the OS; but I do very much like Kali's themeing and whatnot.

carmine apex
#

also i thought you didn't like zsh?

solemn tulip
foggy jungle
#

average rem l

young shoal
#

so true ๐Ÿ˜ฉ

high haven
young shoal
#

it may have been while they were not necessarily mentally sound, but still

high haven
high haven
young shoal
#

well yeah

#

at least my music is appreciated by someone

#

hrmph

high haven
#

congrats ๐ŸŽŠ

young shoal
#

yeah they're unlike someone else i know

high haven
#

robin?

#

its robin isnt it

young shoal
#

nah robin loves all my suggestions

#

they're bangers fr

high haven
#

@grave cove

grave cove
#

hi

#

ping

grave cove
young shoal
jovial oriole
#

Theres nothing we can do

#

2 weeks of off-put work due in 1 day be like

idle garden
#

Thank you so much dude. I've been beating my balls against the floor trying to figure this out with less than average intelligence and above average autism/adhd.

undone thorn
#

ay I will take a look, I don't use js professionally tho so no promises

idle garden
#

No sweat. I won't get my hopes up. lol

plush sun
#

Is there somewhere in your code that you use [temperature] = current_weather or { temperature} = current_weather?

idle garden
#

Just knowing someone out there is trying to help me gives me a sense of hope.

#

Let me check

undone thorn
#
main.js:13 Uncaught TypeError: Cannot read properties of undefined (reading 'then')
    at positionSuccess (main.js:13:9)
positionSuccess @ main.js:13
weather.js?t=1697163802913:26 Uncaught (in promise) TypeError: Cannot destructure property 'temperature' of 'current_weather' as it is undefined.
    at parseCurrentWeather (weather.js?t=1697163802913:26:22)
    at weather.js?t=1697163802913:17:26
parseCurrentWeather @ weather.js?t=1697163802913:26
(anonymous) @ weather.js?t=1697163802913:17
Promise.then (async)
getWeather @ weather.js?t=1697163802913:15
positionSuccess @ main.js:8
plush sun
#

Hmm, undefined and then, I feel like that's a wrong Promise

undone thorn
#
export function getWeather(lat, lon, timezone) {
    axios
        .get(
            "url",
            {
                params: {
                    latitude: lat,
                    longitude: lon,
                    timezone,
                },
            }
        )
        .then(({ data }) => {
            return {
                current: parseCurrentWeather(data),
                daily: parseDailyWeather(data),
                hourly: parseHourlyWeather(data),
            };
        });
}
plush sun
#

I think it's this code in weather.js for current_weather: ```js
const {
temperature: currentTemp,
windspeed: windSpeed,
weathercode: iconCode,
} = current_weather;

idle garden
#

I double checked the API to make sure it was sending data and it's good.

#

Which makes sense because I was getting an error about getWeather method in main.js

#

was getting but not now.

undone thorn
#

think wnb is right

#

it breaks on parseCurrentWeather

idle garden
#

Yeah

plush sun
#

Somehow, current_weather is undefined

undone thorn
#

you should see the response that it's giving you

idle garden
#

Right

#

Yeah I'm getting the same responses that your'e getting

undone thorn
#

if I understand what's happening, you take the data from the response, and try to unpack the json into an object

#

but if the temperature field is not in the json, it will just die

stiff siren
#

With my arcane and interdimensional knowledge I have come to the suitable conclusion to unblock you but a fortnight ago

undone thorn
#

who is you

idle garden
undone thorn
#

log the data in your getWeather function and see its fields

idle garden
#

With catch blocks off, right?

plush sun
#

I think it should log even without a try-catch

undone thorn
#

yeah before you try to return, it won't error yet

plush sun
#

I'm wondering what causes the then error

idle garden
#

Yeah that was kinda my preponderance too

plush sun
#

Oh, looking at the error, it's at main.js inside positionSuccess

idle garden
#

Ok what did I do?

#

Wrong?

#

lol

undone thorn
#

I figured it might just be a downstream effect of the first error

#

idk how js execution works intimately, if it errors in the return will it just return undefined?

#

or do you need a promise to be returned by getWeather since it has to wait? idk

plush sun
#

I'm thinking it's because the .then in getWeather (which positionSuccess uses) returns an object, not a Promise that can be .thened (which positionSuccess does)

idle garden
#

ahhhh

plush sun
#

Wait, I also noticed you're missing a return in getWeather

idle garden
#

Or is main.js just linking to weather.js

#

Reason I ask is because if I hover over the .then in weather.js it shows its a promise.

#

But if I hover over the .then in main.js it says "any"

#

same if I hover over the catch in main.js

plush sun
#

I think you're importing weather.js inside main.js

idle garden
#

Oh ok

#

I thought the two blocks were affecting each other

#

indpendently

#

independently *

plush sun
#

In this case, they are

idle garden
#

So how or rather where do I put a return in the getWeather func?

#

I tried earlier but couldn't figure it out

plush sun
#

I think you add a return before axios

idle garden
#

Tried and failed. Maybe return before "params"

#

?

plush sun
#

Hmm, what's the error? I feel like that should've worked

idle garden
#

Ok one sec

#

Let me get it real quick

plush sun
#

Sure, no problem

idle garden
#

Maybe I did it wrong but this is how prettier formatted it for me so.. any way here it is.

#

export function getWeather(lat, lon, timezone) {
return;
axios.get

#

I think I did it wrong.

undone thorn
#

you have the semicolon in the code?

idle garden
#

Auto formatted

plush sun
idle garden
#

oops

#

I'm so embarresed lol

#

Feels like I'm failing a job interview.

#

lmao

#

Yeah my mom wants to quit her job and so I'm learning to code to support her and my dad.

undone thorn
idle garden
#

She just had surgery for cancer.

#

So it's not an option to fail. lol

#

Gotta stay positive and figure it out so I can learn from my mistake and help my mom.

undone thorn
#

WHOS GONNA CARRY THE BOATS

idle garden
#

Whos's gonna carry the broccoli

idle garden
#

๐Ÿคฃ

#

Yep

plush sun
idle garden
#

It hurts to be this inept today...but if I just keep trying to lift the boats and the logs eventually I will be able to pick up a stick...and then a branch... and then a log etc etc...

#

It just really eats dirty butts right now. lol

undone thorn
#

exactly

plush sun
#

I get you

#

I've been there too

idle garden
#

But I guess that's the point of fixing it in the first place. l ol

wanton delta
idle garden
#

Probably not because it's not that complex

#

What say you?

plush sun
#

Well, I think your code *should* work if we fix current_weather without turning it into async/await

rough sapphire
undone thorn
#

what'd he say?

idle garden
#

@rose grail that would be awesome

rough sapphire
#

no he didnt say anyth

undone thorn
#

david goggins

rough sapphire
#

theres just a theory about HIM

undone thorn
#

oh about him

#

what is it

rough sapphire
#

promise not to ban me

#

idk if its bannable

undone thorn
#

I'm not a mod ๐Ÿคท

plush sun
rough sapphire
#

okay ill say it for education

#

i heard the only reason hes popular cuz the american military wants more black people to join the army

#

so hes like a propaganda tool

undone thorn
#

I mean they might be enjoying his propaganda but that's absolutely not the only reason

#

man ran like a hundred miles in 24 hours

#

and has a whole motivational/fitness career

idle garden
#

Sempi

plush sun
#

Can you console.log(data) inside the then(({ data }) => {?

idle garden
#

Let me try

rough sapphire
undone thorn
#

fr

plush sun
idle garden
#

Oh ok ty

#

Ok I get this new thing in my console:

plush sun
#

Oh, can you censor the latitude and longitude

#

That might be personally-identifying info

#

@idle garden

idle garden
#

Yeah

#

Your'e right about that

#

But I'm still getting the undefined error as well.

plush sun
idle garden
#

Lmao your such an awesome freind...

#

I had almost given up all hope...

#

Ok so let's see

wraith hound
#

You should delete your message with the data.

plush sun
#

Yeah

#

I can remember the structure, so there's no worries

wraith hound
#

I'm just going to do it for you.

plush sun
#

Thanks, dawn

#

So what happens is that data is an array of objects

#

But when you give it to parseCurrentWeather, it tries to destructure data in such a way that it assumes that data is an object

idle garden
#

Yeah I was reading one of the errors saying that it was having trouble destructuring data

plush sun
#

Did you request one latitude/longitude pair or two?

idle garden
#

It's 2 in the URL

#

In the API

#

as well

plush sun
#

Hmm, one second

idle garden
#

np

#

Iโ€™m on the iPhone so I can still see you if you mssg me

#

Had to run outside for a secโ€ฆlol

plush sun
#

No problem

idle garden
#

Ty

plush sun
#

I wanna ask, how do you request the two pairs?

idle garden
#

I thought individually

plush sun
#

axios's params seem like it should only be able to request one

idle garden
#

Hmmm

#

And Iโ€™m req 3 from axios correct?

#

Timezone too right?

plush sun
#

Oh, not really

idle garden
#

k back on my machine

plush sun
#

The data that was logged showed an array containing 2 objects (I'm assuming that somehow, two pairs of lat and long were requested)

#

When you request only one from the Open Meteo API, you only get an object

#

When you request two (or more, I didn't check for more), you get an array of objects

#

I'm wondering, because if you only request one, you *can* destructure current_weather

idle garden
#

Makes sense.

plush sun
#

Can you DM me what you give as the lat, long, and timezone for getWeather?

idle garden
#

When I hover over my getWeather method in main.js on line 7 i get this: (alias) getWeather(lat: any, lon: any, timezone: any): void
import getWeather

#

Oh I went ahead and re requested a different lat and lon by changing the api real quick

#

I can send you the whole thing

#

I live 2000 miles away lol

#

But if you prefer it in the DM's because of the server rules then yeah of course

plush sun
#

(They DMed me)

idle garden
#

Ok

plush sun
#

In the API link you gave, there's no current_weather but there is a daily

#

Did you forget to enable something in the API?

idle garden
#

Let me check

plush sun
idle garden
#

I know it's not there in the api... but I didn't see it on meteo website

#

lemme check again

plush sun
#

No problem

idle garden
#

Ok I found it one sec

#

Huh. That's funny. I clicked the slider that asked me if I wanted to add current weather but it's not showing up in the API req...or it's not visible anyway.

plush sun
#

Where do you seeing the slider? I don't think there is one in the link I gave you

idle garden
#

Right under settings towards the middle to bottom of the page

#

It's there. I just checked

#

I checked your link

plush sun
#

Lemme check

idle garden
#

k

#

RIght below where the "Daily Weather Variables" section is

#

Where you select Fahreheit

plush sun
#

Hmm, for some reason, I don't see a slider there, one second

idle garden
#

Ok np take your time

plush sun
#

I can't see it, sadly

#

I wanna ask instead

#

Do you have &current= in your API URL?

idle garden
#

Lemme check

plush sun
#

That seems to be present when you check a box in the "Current Weather" section

idle garden
#

I have current_weather

#

But I don't think just "current"

plush sun
#

Hmm

#

One second

idle garden
#

There's a pic of the settings slider engaged.

plush sun
#

With the new API URL, can you console.log(data) again and DM me what it shows?

#

Oh, I can't see the slider

#

I think that might be because I'm using a phone

idle garden
#

Ah lol

#

Youre a beast lmao

#

Ok one sec

#

lemme see

#

Here's where I'm consol.logging. Is this right?...

#

params: {
latitude: lat,
longitude: lon,
timezone,
},
}
)
.then(({ data }) => {
console.log(data);
return {
current: parseCurrentWeather(data),
daily: parseDailyWeather(data),
hourly: parseHourlyWeather(data),
};
});

#

My dev tools console output is this:....

#

I'm still getting the .then error. But I also and getting this...

plush sun
#

Oh wait

idle garden
#

oops wait

plush sun
#

I think you should DM me the result

#

There might be personally-identifying info in the result

idle garden
#

ok to the DM's

#

back

plush sun
#

Oh, did you send it? I don't see anything

idle garden
#

I sent to your DM's

plush sun
#

Can you resend? I don't think I saw it

rough sapphire
#

in terminal, there is a better way to compile files in cpp instead of g++ -o file file.cpp

rough sapphire
thick ore
#

is it clang++

rough sapphire
#

the point is some people say this is the "best way"

thick ore
#

g++ -o file -Wall -O2 file.cpp

rough sapphire
#

that's sad

#

what would means this?
-Wall -O2

thick ore
#

-Wall enable all warnings
-O2 optimization level 2, i think

rough sapphire
thick ore
#

compile and run the binary?

#

./file

wanton delta
#

visual studio (not the code) makes this process easy

thick ore
#

make

rough sapphire
#

i was thinking in that

wanton delta
#

vsc?

thick ore
#

Justfile better TBH

rough sapphire
#

dont code in compiled programming language better haha

rough sapphire
thick ore
#

yo

rough sapphire
thick ore
#

i can try

#

really rusty in my C++

rough sapphire
#

i want all the numbers even and odd be in the same position

#
#include <iostream>
#include <string>
#include <vector>
#include <algorithm>
#include <iomanip>
using namespace std;

int main(){
    int even[10] = {10, 20, 30};
    int odd[10] = {1, 3, 5, 9};
    cout << "EVEN     ODD" << endl;
    for (int i = 0; i < 10; i ++){
        if (even[i] != 0){
            cout << even[i];
        }
        cout << "      ";
        if (odd[i] != 0){
            cout << odd[i];
        }
        cout << "\n";
    }
    
}```
thick ore
#

my first idea was to add spaces the same amount of how many digits there are in even[i]

#

or that

#

probably better to use a stdlib function so yea

harsh tundra
fair summit
#

Someone knows about cheap hosts in europe?
I need around 4gb ram
And i need it for like 1 day, or 6 hours

#

And i even not need machine, just host 1 java program will be enough

solemn tulip
#

C++20 has std::format

#

which is similar to python string formatting

rough sapphire
solemn tulip
#

a less awkward way to format that output is two lines, odds in one and evens in another

#

having potentially missing items is a tad awkward

graceful basin
#

Actually, hetzner can also do it and much cheaper

#

so probably go with that

solemn tulip
#

or go with the thrill of self hosting

graceful basin
#

for a day, that's probably also fine

lament cairn
rich karma
#

i use ovh and i really do like the service. you get what they told you you'd get + support is quasi instantaneous

#

i don't believe they have per hour options, though

#

and i wish they would offer alpine linux as an option

fair summit
#

Why hetzner wants my photo+id card.??

#

Dismiss it

thick ore
#

to see if you look good enough for their service, obviously

fair summit
#

Hmm

#

Let me send them my discord pfp

#

Then

fair summit
thick ore
fair summit
#

Got it

#

And it works?

thick ore
#

maybe, maybe not

fair summit
#

Ah just screw it

#

Too much effort already put

thick ore
#

i never knew dogs could drive

vale raven
#

Yeeeap

wanton delta
#

very good dog

vale raven
wanton delta
#

i imagine they would have some failsafe measures for this

vale raven
#

You don't trust me??

#

Have some faith man!!

naive igloo
harsh tundra
naive igloo
#

afterall i think hetzner is a more enterprise solution

#

at least i think of it that way

harsh tundra
#

Yes?

rough sapphire
#

please help me with something

#

my teacher said when you want to refer to the skin of somebody you need to say "he is caucacian skin"

#

but in my mind is "he has caucacian skin"

#

idk the answe

#

๐Ÿ˜ฆ

harsh tundra
#

He is Caucasian/white. He has Caucasian/white skin.
A person is not a skin, so he will never be (a) Caucasian/white skin.

rough sapphire
#

ohhh okay okay okay

#

makes a lot of sense

harsh tundra
#

Unless we're talking about skinheads, sometimes shortened to just skin - idk if that short version works in English, but it does in Polish

harsh tundra
lament cairn
# fair summit Then

Then either your account will be closed or your request will be rejected.

It's, as others said, a security measure.

harsh tundra
#

He has a white duck -> He has a duck โœ… ducky_ghost

fair summit
#

doesnt matter my friend with home server said yes

lament cairn
#

Nice

fair summit
#

who wants to play some mindustry btw?

lament cairn
#

Also, hetzner takes a while to process IDs in my experience. Maybe it's because I'm not from Europe?

rough sapphire
#

nicky you are a life saver

#

nicky is caucasian (correct)

#

nicky is caucasian skin (incorrect)

#

there is something i think ill never learn and its pronunciation but well, i hope someday i will speak more fluent

harsh tundra
# rough sapphire nicky is caucasian skin (incorrect)

If it wasn't "Caucasian" but rather just "white", then "he is white-skinned" (or light-skinned, as the counterpart is dark-skinned rather than colour) would work. It's a phrase converted to a single adjective, hence the hyphenation. Like "he is 10 years old" == "he is a ten-year-old" (also notice how years became singular)

harsh tundra
jovial oriole
#

English speaker and subtitle addicts explaining to me its not an addiction and they can stop anytime (they are deaf without subtitles)

fossil solar
#

I git gud by reading novels

#

That's an option

harsh tundra
low chasm
#

you'll get better by exposing yourself to the language, there's tons of ways to do that

harsh tundra
vale raven
vale raven
spare oriole
vale raven
# spare oriole SPEAK SILENTLY LOUDER

And some of us just grew up with deaf people

Iโ€™d get through multiple episodes of shows with my grandparents before theyโ€™d realize and unmute the TV for me

spare oriole
vale raven
vale raven
spare oriole
spare oriole
spare oriole
vale raven
#

He's everywhere

#

This website has so much crap

spare oriole
#

idk how he got time for it all

#

i think i met him by accident

vale raven
spare oriole
#

there was a conference at NTID and there was a bald dude that suspiciously looked like him

vale raven
#

I'd like go to some of those places some day

spare oriole
#

you're welcome to visit me

vale raven
spare oriole
#

(as long as wilder aint get jealous)

vale raven
#

... What'd you do to Wilder?? ๐Ÿคจ

spare oriole
#

i'm friends with some wonderful people over at the NTID summer transition program

#

where they prepare high school kids for college life

spare oriole
#

NTID kinda sucked for me though, they don't really know how to deal with mainstream HOH peeps

vale raven
# vale raven I'd like go to some of those places some day

The culture is so much friendlier than most people these days

I should probably learn enough to actually be able to hold a conversation though first
It was juuuust starting to all "click" for me, and then we moved away, and I had to start the language learning process over and I promptly forgot everything I had learned
I'm embarrassed about how little I can understand these days

vale raven
spare oriole
#

one of my professors had a burning hate because i didn't know ASL

#

my interpreter and i bonder over our hatred of that hoooligan

#

i actually took an LOA cuz it was all so shitty, i'll go back soon though

vale raven
grave cove
lament cairn
#

criminal

jovial oriole
#

Remove apps

rich karma
high haven
#

backup your photos. then delete them from your phone

#

anyway

#

when someone takes forging signatures to the next level pensivewobble

glossy niche
#

telegrams moderation is disgustingly incompetent

ive reported all manner of violence, extremism, bomb threats, doxxing, child abuse, and they havent done anything

i changed my mind, that app deserves to be banned.

#

also posted links to the TOS breaking posts elsewhere and had groups of ppl report them, nothing pithink

#

the disgusting people roam unbothered

glossy niche
#

yes

#

but only for piracy groups

harsh tundra
#

Mine's better XD

glossy niche
#

cause lord forbid you pirate an anime or something

lament cairn
#

Seems more like a legal complaint kind of reporting system than actual moderation

glossy niche
#

the gore videos and literal nazism can stay tho

#

what disgusts me most about its moderation is that a lot of those disgusting humanoid insects who post this kind of content are subscribed to telegram premium

they make money off of that content

vale raven
#

We're doing storage breakdowns now?

high haven
#

@young shoal are you around or

jaunty wraith
high haven
jaunty wraith
jaunty wraith
high haven
#

doggo

#

i see

solemn tulip
#

ah yes, it's under payments โ…ž subscriptions

#

of course

#

or at least some form of it

idle garden
#

Hey @spare oriole how are you today friend?

spare oriole
idle garden
#

Hey can you tell me who that wnb dude is? That dude is cool as ice! Super cool dude.

spare oriole
#

no clue who you're talking bout sorry

idle garden
#

Wanted to say ty for helping me. Meant a lot to see my prog working.

#

Oh dang

tardy rain
#

Just ping em i guess?

idle garden
#

Well anyway ty for helping me w/ my code.

idle garden
#

He debugged my program from his phone.

#

lol

#

Any way. How is everyone? I hope yโ€™all good!

#

Thereโ€™s is no worse feeling than a broken program and no better feeling than getting it working! Itโ€™s like a drug.

tardy rain
#

Idk tbh, i only write correct code (I dont code at all)

idle garden
#

Yeah my sister is some big fancy smart engineer lol so she runs a dev ops team. She never codes.

jaunty wraith
idle garden
#

But yet she codes better than me and I do it for 12hrs a day. ๐Ÿคฃ

#

Thatโ€™s hilarious

#

Good olโ€™ Kelsey; may his no code live online for never!

high haven
#

its p good

#

you dont have to listen. theres a transcript if youd rather read.

#

And I remember being at a conference right around the time Kubernetes came out. And at that time, I'm contributing to the core of Kubernetes at the source code level. I was one of the few people that didn't work at Google or Red Hat, that had commit access. I earned that commit access through keystrokes.

But at the conference, they only saw Kelsey the dev-rel person, there is no way he knows how any of this stuff works. And at the end of a presentation, you welcome people to ask questions. And some people use that time to make a statement. And also statements are welcome. And the statement just walked on the lines of that's not how that works, it worked this way instead.

#

this was the spiciest part

#

[18:52]

jaunty wraith
#

spicy

#

I'll give it a listen

idle garden
#

I donโ€™t know if my stomach can handle the spice level of that savagery

high haven
idle garden
#

RIP

#

LOL

high haven
# idle garden LOL

incoming text block, sorry its a slow friday anyway:

And so what I decided to do was pick a part of the comment in a way that everyone else could benefit to and say, "Hey, you believe that in terms of CAP theorem that this system was designed as a I don't know, CP system versus an AP system, meaning what would happen if there was a network partition in a Kubernetes cluster?" And I was like, "Well, I can tell you from experience that if there's any problems, the whole system will stop. It's going to favor availability in order to preserve consistency. This is not like MongoDB, or maybe some other 'eventually consistent system', we have very strict consistency. And I'm going to show you. So let's boot up at etcd, I'm going to go back to my laptop. This is the first node, this is the second node. And this is the third node, we now have quorum.

Now according to CAP theorem, then, everything should be fine, we have no problems. And consistency is a tradeoff. Now I'm going to bring down one of the nodes. We have a network partition. But we have quorum, so everything still works. Now, let's remove the third node. Now we only have one, we can't be consistent. And guess what's going to happen. As I run this command attempting to put new information into this SCD database, it doesn't work. We've now lost availability to preserve consistency. This is your answer. This is how it works. And this is how you go from theory to reality." And you can see the person walks slowly back to their seat. And they probably ask themselves, "Why the hell did I make that statement? Well, I could easily ask him to show me after the talk."

idle garden
#

Damn

#

That's savage

high haven
#

lots of spice ye

#

anyway the lesson here is always to approach with humility and a learning mindset

#

thats my takeaway anyway

young shoal
high haven
#

i was going to ask a dumb question

young shoal
#

classic

#

I was rizzing recruiters

high haven
young shoal
#

pretty good

high haven
high haven
young shoal
#

we don't have sushi around campus sadly

#

actually I think that's a lie

high haven
#

its ok. i didnt end up getting sushi anyway

young shoal
#

oh?

#

well?

high haven
#

what happened