#voice-chat-text-0
1 messages · Page 222 of 1
maybe just use a list
the sol is to use a list, get the min and max value from the list and thats your range, from min to max, so iterate through min to max and see if the what is in the list and what is not, then you can find the missing numbers. if there are multiple missing nums you can just make a missing_num_list and append the missing values to it ig
!e
def missing(l: list[int, ...]):
l = sorted(l)
return (set(range(l[0], l[-1])) - set(l)).pop()
print(missing([0, 1, 3]))
wondering if I can merge l = sorted(l) in there somehow
@desert vector :white_check_mark: Your 3.12 eval job has completed with return code 0.
2
!e
def missing(l: list[int, ...]):
n = len(l)
total = n*(n+1)//2
return total - sum(l)
print(missing([0, 1, 3]))
@lavish rover :white_check_mark: Your 3.12 eval job has completed with return code 0.
2
1+2+...+n = n*(n+1)/2
booo, I was having fun with my set solution 
howdy
I was actually in the middle of writing up an AST generator; just saw this problem and I felt the need to solve
parser, yes
as you can clearly see, my brain is melting
toy language :D
sorry, say that again mu?
oh yeah?
pssh, I wish I was at that part already
was really hoping to use this for the advent of code
nahh
I have to write a backend for this too lol
to LLVM, yeah
fair enough; I was thinking about transpiling too but
NAHHHH

so, what'cha working on mu?
ohhhh, neat
yo
!e
from functools import reduce
from itertools import chain
from operator import xor
def missing(l):
n = len(l) + 1
return reduce(xor, chain(range(n - n % 4, n), l), 0)
print(missing([0, 1, 3]))
@vocal basin :white_check_mark: Your 3.12 eval job has completed with return code 0.
2
true hm I should pirate more of these fucking streaming services
"+" is the biggest fucking scam ever
I'll pirate rick and morty season seven
fuck hulu+
same
my pfp has pirate hat because software piracy btw
ha
terrible I injured and have to coach little kids but I can't touch a ball
all I want to do is play but I can't because I'm injured
you cant touch ball
nope hip flexor
!voice 👇
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
Said no politician ever..
@outer phoenix The voice verification process relies on manual effort on your part to acquire. It is not generally given out elsewise.
This is the associated text chat for the voice chat 0 channel.
In case you needed it again, here's a link to the voice verification channel, which will detail what you need to do.
!voice 👇
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
Hi
happy holidays everybody
@rose warren howdy
i'm doing alright
building a parser in C
how's your day?
yes, i do
yeah, it's a toy programming language i'm making
i was hoping to have it ready for the advent of code challenge thing
but y'know 
things happen
hello, i'm back
what are we on about now
ah, I see
loving powershell is a first for me
i dislike bash/powershell and the like
hey, that just means you're a better person than me lol
i could never
hey
I use python exclusively right now. Used to be a golang coder but I am realizing the momentum in Python is unstopable. Powershell scripts are also very useful too tho.
i exclusively write all the glue scripts on my laptop in python lol
which is fair; I suppose my dislike is sort of invalid because I don't use windows machines a lot (these days)
this past week we had to figure out some multi threading on .ps1 file which wasnt too bad. I use a gpt to give me hints all day long
Google was saying this year they saved over 11,000 work years of labor by arming their devs with AI code assistance. WHich imagine the $$ this converts to,
So the funny thing is.... Accountants don't have a way of recording that benefit as an asset.
And they record the salaries as a liability.
Yup ^^ LOL
Looking for advice: Hey I've got a good grip on python, im in the military and they have taught me a decent amount but im not sure where to go from here. Ive got a good grip on data visualization, pandas and some other major modules. Where should I go from here? Ideally I want to collaborate with others over the web but im not sure what to do.
I am trying to hop on the bandwaggon for AI and learning in my free time. Anthropic, GPTs, LLaMA to just have some basic prompts to these llms with API calls
In python of course
do you have any projects you like? any projects you don't like?
thanks wabi-sabi ill do that.
It seems like this question comes up a lot and I wonder if we should have something like a career channel.
cough #career-advice cough
true
it was more so in jest to @tall ridge lol
you guys are fine
this is an off-topic channel technically, so this is in scope
If you have any data at your job @honest yoke talk to them about getting access to a dataset from this or maybe some mock data. Then you can build an idea around your data
and that's why i'm here sabi boy
ROFL
I think this advise is bullet proof (pun) from Wabi-sabi
yea I have some personal projects but the Tsgt I work under cannot comprhend anyone other than him being smart at all so if i show him my project he is going to eat me alive]
is it common to collab with other people over this channel?
Sorry, I'm multi-tasking and distracted. @honest yoke I would suggest that you think more in terms of the specific problem than the generic technique.
For example "financial reporting" vs "data visualization"
Do you guys find need in corporate environment (military as well) to go around your boss sometimes? i have done this and it worked out once and did not the other.
btw, Tsgt are not know for their visionary capabilities
its very hard to do in the military, aside from things like physical or sexual assault there isnt much you can do.
collaborate... here?
in pydis?
no, mostly because centralizing your discussions is paramount to a good line of communication between everyone
you may find others willing to collaborate here,
but generally you go off and form your own little server or group DM and have fun there
oh, and of course github to host that code you make 
@honest yoke you may find yourself interested in our yearly code jams if you're looking for a project to work on
the last one just ended, but we do have one every year, so next year you can enter if you'd like
where do you guys find people to surround yourself with outside of the workplace? here on discord? twitter? stackoverflow?
sounds interesting
I think its great you are taking steps @honest yoke I am always happy to see people motivated bc it helps me stay motivated.
ah, surrounding yourself around
then yes, 100% here
I rarely find people in that programming niche on twitter (my timeline is full of just art and memes)
like uhhh, salt-die
salt-die always has something fun happening
i think he was working on a water simulation in the terminal last I checked
probably been finished it now
@viral violet you work in water?
underwater programmer???
I thought only the basketweavers worked down there
I mean, you say underwater, I'm gonna think underr da seeaaa~
any of you used a quest?
awww thanks wabi sabi
i'll be here never again
oculus quest?
joking, of course
prereqs for water programmer is hold breath for time.sleep(300)
i wish i could use it for longer than 15 minutes lol
VR makes me super sick super fast
at a depth of 5 nested if statements
yeah, it's the model name
quest 1-2, then the quest pro, then the quest 3.
Gonna drop guys. Keep up the good work!
peace
see ya dylan!!
alright, i'll be back in just a moment
some friends are asking for a beating 
@dark atlas ah, hello, didn't see you there
Hey uhhh how do i unmute
!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
take a look there
whatttt I have to send 50 messages
welp
left my laptop on overnight completely by accident lmao
working on my programming language
Oh rad, how far along are you in it ?
making the parser for it right now
Ive made a couple different scripting languages for my game engines
I made one called Parasite
It went pretty good, Im not too pleased with how fast it is because its interperated, do you plan on making it a compiled language ?
hello @lucid pine
Helloo
what projects have you been working on ?
These days its not really python that much but now writing or worldbuilding
Oh rad are you a game dev ?
Not really, I want to make a game set in one of my worlds but I dont have the skills for it to be honest
Yk if you ever wanna gain some experience im working on a project right now with a small team
Were making a ps1 game
yep, using LLVM to compile to any architecture I want
Thank you ! you dont have to be super into programming or anything to make a game
Awesome!
I'm good at python and javascript but I dont know any engines that well and I cant time manage that well
oh hell yeah, ive always wanted to make a compiled language, its pretty hard though because I get mixed up with arm asm when i have to port everything over to different architectures
We use our own engine !
I often try to make a custom CPU in python and imagining what an 8bit or maybe even 5bit can do
Working with a 5bit cpu would be challenging, Ive made a couple dumb little emulators and stuff
there's a fellow named mark here who's basically recreated a Z80 processor in python
it's a pretty cool little project
Thats cool!
Nice
I love the z80, minus all the repetitive opcodes..
what can you really do though 
it's a 50 year old processor architecture lmao
unless you have a time machine lying around...
I once designed a 16 bit cpu whilst drunk.. still yet to implement it but I can show what the architecture looks like
I will sit here and weep at the 75 different mov instructions
thats impressive, while im drunk alls i can do is sit and space out
move, but you shimmy a little further to the left this time
i have nightmares abt little endian after I tried to make a ps1 emulator
Heres the architecture for my drunk cpu
Woahhh, thats pretty solid for a drunken cpu
I dont know why I went for a register file AND have A and B and then make it so that only A and B can do ALU stuff
so you can make a cpu drunk but a little game dev scares you
I think ur undermining your talent
the stack is massive and will never likely be used and
yeah I guess, I just feel like I cant really get into using a game engine right now
For sure I feel that, Just hit me up if youre ever interested, We definitely could use more writers
Will do!
I say that because our team is mostly made up of like high 24 year olds
I'm 21 haha
Blimey!
Are you Australian ?
I'm british unfortunately
thank god, Australians always have beef with me for some reason.
I've learnt that the stereotype of Austrailians being laid back people isnt neccessary accurate
oh no they always get into it with me since I live in america
Im not even American
I just live here
America is pretty nice, Minus like the guns thing
And the healthcare
and the leaders
Sorry thats my knee jerk reaction haha
But at least the people are nice
its well deserved, I got hit by a car and needed stiches, thank god i have health insurance or it wouldve cost me like 5000$
Yeah.. Here in the UK theres one party (conservatives) who want us to have a similar system to the US's healthcare system.. so no healthcare system
It's really stressful but I'm willing to fight for our NHS (national health service) as its wonderful
Yeahh Id much rather have a little higher taxes then have to pay 5k for stitches in my face
So how does you game engine work? is it based on anything?
Well, its pretty simple, Theres a level renderer that draws the whole scene, and a custom programming language that controls all of the events in game like dialogue and engine settings, then theres a separate 2D engine built into it plus a cut scene engine..
Most of it is written in c++ and inline asm
Oh wow!
Ive been working on it since I was like 13
That's some dedication
Yeah same, I guess in that way I've been writing since I was 12
pointers don't feel that confusing anymore
granted I've been bashing my head against the wall for basically 2 years using them
@lavish rover 
taking down your entire infra down for months for new stuff
that new stuff better be good
10 rays of light
100 rays:
1000 rays:
10K rays:
100K rays, no green outlines, each light ray slightly different colour
Benedikt Bitterli's Portfolio
hi there tater @wise loom
yo yo what;s a tater
oh like a potato
yes
my chrome is acting up can't control volume
mobile or pc
pc
How have yall been 🙂
Hello, just joined in mic not working
Yeah I haven't reached activity levels needed to speak in a call
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
@hot drum 👋
hi
so i can't speak in the voice chat
for now at least
but i wanna know how the chat usually goes
oh or me it's the sunday here and it 's 9 am
so @somber heath what do you do
like im a student
so @somber heath you said you more into visualisation like do you seaborn and matplotlib
or something more advanced
is like more advanced if we compare it to matplotlib
i mean matplotlib is good but i m more to the ml path
and i notice tha i use seaborn more
it's okay take your time
@wise loom let's see
i can't speak in the voice chat for now
but let's see
oh nice, what kind?
@sudden lance @hushed otter 👋
Hello, new member here. So I can't use mic for at least 3 days 😦
I send DM to you sir
You may have attempted one.
yo
I've my DMs set to exclude everyone I haven't added.
Yup I just noticed it
hey bro, you're from PH?
@wide sandal 👋
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
@exotic moon 👋
I didn't have permession to speak in that channel
@whole bear > hello how are you doing
!voice 👇
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
oh I didn't get to 50 messages in the server yet
I've been here for about a year hhhhhh
I was trying to ask a question, it's in the help channel if you'd like to take a look
Thanks
kay
opal i am thinking to create a personalized website for my mom' s birthday
what do you think about it
isn't this a good idea
tell me if you changed you mind
so i need dollars for that(i have none)
@daring swift is like
yeah man do it
completely different
i didnt hear u opal mist sorry 😭
very time isee
but there are exams in between
oh
thats bad
take ur time
@somber heath , is hackerrank a good website to practice problem solving skills related to programming?
oh oka
@somber heath we are back to the same page
should i do it
but that will need money for sure
stones (These indian parents will throw in the river)
agreed
btw is @rugged root coming online
recently
I coughed and made myself dizzy.
Pardon me while I lay down and feel sorry for myself for a while.
take care of yourself
Trying.
that's a heck of a name
opal is like
if you ask me again i am gonna throw you out of the server
no hate to anyone
@whole bear Streaming permissions may be granted upon request subject to the discretion of voice-regular moderator-level users and above.
Ask one when you see them in the voice chat. At present, this usually means one of either Mr. Hemlock, Mindful Dev, Alex, Luna or Griff.
Thanks opal
take care of urself man, hope u gonna get fine soon.
I'm not interested in engaging with you.
@prisma ingot 👋
why am i muted
!voice 👇
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
is it a scam
Sorry if I did smth bad man, can I atleast know what I did wrong?
sounds about right for discord tbf
it does seem like it killed the vcs tho
great so i been scammed then
@inland summit 👋
i just wanna learn how to program
aswell
@obsidian dragon
i know hello world and stuff
what lang
I have no idea lol,
class Car {
constructor(name, year) {
this.name = name;
this.year = year;
}
age(x) {
return x - this.year;
}
}
const date = new Date();
let year = date.getFullYear();
const myCar = new Car("Ford", 2014);
document.getElementById("demo").innerHTML=
"My car is " + myCar.age(year) + " years old.";
@valid axle 👋
@karmic notch 👋
!voice 👇
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
@void forum 👋
oi
my headset not working microfone
hi @dim wagon , but I have no permission still, I think have post more messages than 50
I send the command to #voice-verification but it have no reply
!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
@charred topaz Hi 👋
hey
5% have worse latency than that
@weary halo 👋
@gentle flint macro
@gentle flint variadics functions don't exist in Rust
=> vec, println, etc. are macros
derive macros are useful
@hidden musk 👋
auto-implements a trait
hi
takes type definition as input
(list of fields, variants, ...)
it's like printf
println!("{} {} {}", 1, 2, 3)
it uses format! inside
or something similar
format_args! rather
format_args! is the "primitive" macro in Rust that converts string literal + stuff into Arguments<'_>
that day is not today
Arguments<'_> has Display implemented -- that's what gets shoved into stdout
!voice 👇
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
or, rather, Arguments::fmt takes in a wrapper containing reference to stdout
@simple heath 👋
i am not a member yet for 3 days
@keen heath 👋
Hey there 👋
Everyone mutet 💀
!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
@charred topaz 👋
One of you guys got the AI accent
What's the AI accent? 😄
You seem like a really good person
No not you
This guy!!
When did you started with python and how?
@prime echo 👋
hey
oi
in Dutch we say "de een zijn dood is de ander zijn brood" and nowhere does it apply more than our company
literally it translates to "one person's death is another's bread"
with bread in the sense of livelihood
One man and plug socket = Mayhem. Interesting and mad scientific experiments involving electrical energy, plenty of interesting components and everyday items tested and cranked up with so much power "until it pops!"
With 25 Years Electrical Experience, overload on the internet since 2008 to Now.
No silly expensive lab required, the best Invent...
Hi
hi
@tacit crown 👋
@autumn depot 👋
What's going on?
I gotta wait 3 days for vc 😔
"It's a bit nippy."
Probably all of the snow crabs. 🦀
Hey @torpid needle 👋
@flint girder what level? highschool? university?
univerity
college
👍
@obsidian dragon
Hii Guys!
!traceback
Please provide the full traceback for your exception in order to help us identify your issue.
While the last line of the error message tells us what kind of error you got,
the full traceback will tell us which line, and other critical information to solve your problem.
Please avoid screenshots so we can copy and paste parts of the message.
A full traceback could look like:
Traceback (most recent call last):
File "my_file.py", line 5, in <module>
add_three("6")
File "my_file.py", line 2, in add_three
a = num + 3
~~~~^~~
TypeError: can only concatenate str (not "int") to str
If the traceback is long, use our pastebin.
@whole bear
hiii @somber heath
Join us for our GitHub Bootcamp where we'll be going over the basics of Git and getting you setup for success. This session is open to anyone in the Python Discord server, but it will be geared towards the participants for our Code Jam.
Python discord also organise bootcamp never heard about that
it was a while ago
it was done before a codejam for people who were participating without knowing anything about git / github
Nicee!
we're not sure, but there's a possiblity there might be one if needed before any next codejam / other big team based events
@obsidian dragon huge discount on steam rn
its ending soon
if i was unmuted ong it finna be lit
I have -$40 in bank
0 things on my wishlist on sale 😐
crazy you did the cashapp glitch 💀
nvm had to refresh
crazy you think cashapp is a bank
CHAT IS THIS REAL
only worthwhile sale for me 😔
lil bro take it to dms
aint no way this dude domain is zippocat(dot)com
thats crazy 💀
dw there are people who've been programming for decades that are unskilled
it's just proper practice
yo chat is this real
ye ctrl was gonna say you're mad low
nahh speed server was way crazier
Kill me
yes
I fucking KNEW that they're still having issues
me?
por que no los dos?
whoa. that is not server appropriate @whole bear
🤓
lol this guy's trying so hard
maybe check out the #rules and #code-of-conduct
!mute 598607835047133193 1d Please review our #rules and #code-of-conduct. If you do not improve your behavior by the mute expires, you will be removed from the server
:incoming_envelope: :ok_hand: applied timeout to @whole bear until <t:1701186280:f> (1 day).
lmfao
||been waiting to say that||
@stark river +1 me
yes
django is #3 in stars
only losing to js and php frameworks
it's not the best metric since you don't see what companies are actually using
but it shows that python is huge for web apps
now fast api also gain popularity!
Some of the parts are written in Python
golang forgotten?
xD
I try to forget
ELM MENTIONED
Hi guys
ikr
remember when gmail was invite only?
Wait what
you had to be invited to create a gmail by somebody who had a gmail
Bruh
google used to just be search and ads at the time iirc
and maps
Lol
i remember python 0.1 was there in 1991 i think but didn't have much functionality, java came out 1995 but had much more than python at the time
idk when java development started before the version that came out in 1995
Now you can do a lot and watch a lot of very bad stuff of google now
HTMX is really fun when using templating
overrated just do what's comfy
the actual code you write doesn't care what it was written on
the tools you have available to you may be different on windows vs mac vs linux etc
but like all the shit any of those dudes do on linux, then have those tools available to them on mac as well
and on windows, you've got wsl now
so if you really do that, you can still use windows
i wonder if react still uses leftpad
or did someone have the brilliant idea of copy pasting that 1 function directly into react yet
@amber raptor you said the opposite
i'm still a bigger templating fan
client side rendering is lesser performant for the user
as they have to run more javascript on their side
it could be chromium or chromium or chromium or gecko or chromium or safari
wanna hear a dirty secret?
maybe he means jrpc?
They all have their quirks, even if they run Chromium
i don't got chrome on my windows machine
it's full page refresh vs not
most templating, you'll be doing a full page
between client and server
@amber raptor its a tradeoff still,
Serverside rendering your request latency can be more as you have to render the page
Clientside rendering your initial request is fast but then you spend more time running alot of javascript which for really old pcs and mobile phones can be quite slow
i generally prefer templating anyway
too many sites are bloated, even for my pc
and you're still making multiple requests for that data
you're just hiding that it isn't all there yet
use HTMX if you wanna do partial page changes
or next.js is also pretty decent now where we server-side render all server components, send those and let clientside rendered things be handled on the client
so is htmx
Technically everything is if it's on the browser.
yeye i'm saying htmx is just client running js
htmx is pretty cool but its still new and needs more time to mature is how i feel about it
solid is also pretty nice
but unfortunately noone pays me to use it xD
yeah, i wanna see more what people can do with it
i use it for really simple frontends in django and go
Browser is pretty simple
for me that's probably just gonna be with go 😮
just cuz i'm more used to it and for me there's no real benifit of using django at this point after i've used another language so much
i've been getting more and more comfy with go recently as well
Why would you? Using DJango to render and Go to be backend?
still really appreciate using django for something complicated cause i couldn't be bothering learning a bunch at the same time to get it done in go yet
he was talking about using htmx as a frontend for either of those 2
not using the 2 together
the fact that putting a , breaks django templates but it doesn't jinja2 kills it for me
yeah it's nicer for me writing HTMX over JS tbh
cause like man, i just don't feel like writing JS
Oh, MY god
js isn't that bad anymore. as long as you follow good practices and don't goto the dark side (things like using this inside functions) and using [...arr, newItem] to add items to an array...
ye i'm coming to the opinion that comp sci shouldn't first learn python
it's maybe something more appropriate for someone who needs to learn to code but doesn't have to learn a ton of the why
I'm very boomer, University should be very broad, Data shouldn't be a degree
(coming from someone who learned python as a first language, me)
When kids learn to program they often use either a visual language like Scratch, or a textual language like Python. While visual languages are great for the first steps, children and educators often want to move on to textual, but early on, a textual language and its error messages can be scary. Hedy aims bridge this gap with a programming langu...
python first is good for giving people motivation to learn and hooking them into programming but... it makes you addicted to the abstraction and ease of use which then has a chance to harm you at a later point (mentally atleast)
yeah i mean worked for me
but been seeing hella people learning with js first or python first recently and coming to not understanding many things
@amber raptor how you been
@amber raptor i’m in a meeting rn can’t hear your hot takes
😔
well you should see the ammount of people learning react first, quit it because they don't understand it and call javascript a shit language (although part of it is)
It is
i know too many of them already
yeah but it has gone from unusable to just bad which is an improvement
js is shit, but it's not discovered by them due to their inadequacy with react
i thought typescript solved the javascript problem
it helps with some problems while introducing new ones
looks at Hedy
Fan fucking tastic. I'm learing React right now. I'm worried that when I finish it'll be obsolete.
Meh, I'm just not the type for it
who would’ve thought
typescript offloads pain from the devs to the people who develop libraries
print hello world! 🤮
no shot react will be obsolete in many years to come (my opinion holds no weight)
do you guys actually use sequence diagrams in your work?
that’s an insane way to sell a language
password is ask 'What is the correct password?' Sure, because we didn't want to teach types so we are going to throw them on later and hope the kids pick up on it
it's all the rave to the business people, ye
hi
yeah for your convenience in using types in typescript library developers have to create custom types for everything, sometimes create methods to infer types and other painful stuff which after your library is out you cannot remove without backlash because people rely on it
Dude....
jw cause i have to do a bunch of visio diagrams for my swe course
Like, dynamic interfaces.
!e ```py
x: int = "lol"
print(x)
@oblique ridge :white_check_mark: Your 3.12 eval job has completed with return code 0.
lol
yes ik typing means nothing in python they're comments
type hinting is only used by IDE, never by CPython
yep it adds linting not type checking
lol rip
i've been messing with mermaid recently
can't wait for them to finally add type hinting to js
that's long overdue
meet typescript
Are they going to? I thought JS group was leaving it TypeScript
nah, ts is not optional unless you throw a bunch of object everywhere or whatever
Isn't ECMA getting type hints?
this is what i heard
How is "type hinting" distinct from "typing"?
Type hinting doesn't affect runtime functionality
Runtime will throw if you feed the wrong type
It's mainly for use in the editors or the programmers
Yeah, I heard on Fireship IO that Typescript is gonna be obsolete.
it would basically be comments and really only does things for your linter
HA HA HA HA HA Breath in HA HA HA HA HA HA
at that point, why not use another language
Which a ton of people do
mypy is what i use for type stuff
@stark river Good catch
typescript won't go obsolete just yet as migrating entire apps takes time, also typescript doesn't just do types... it has a bunch of other stuff that some people use
yeah if you need the performance or have a need for strict typing, i wouldnt think of python as my first solution
although as i said it is a pain for library developers so alot of them are dropping typescript to switch to jsdoc
To be fair the way I understand "obsolete" means that "If there was NOT legacy needs then this would be obsolete"
who's jason
json is just dicts
JSON
lol
JavaScript Object Notation
lol ye ik :P
Like XML. XML is obsolete, right? Nobody should learn it.
Big yawn 😄
Looking at Hedy, I'm not a teacher but a big problem with them is jumping out of this language into something else
Learn what?
we use it everyday
HTML is a variant of XML, right?
I'm not sure that's true 
ye right?
Its still used at microsoft
if you can
my_dict = {'key' : "value"}
you got json down
Not just Microsoft
i think both xml and html are based on a 3rd different thing
omg dude all gov APIs on XML lol
i forgot what its called
@scarlet elbow why are you requesting me as a friend over and over?
<name>Rabbit</name>
<angry>true</angry>```
and you just send an email to their webmaster to get access lol
Ah right, that sounds right
isn't XML older?
or am i buggin
i'm no history buff
XPath, XQuery, DTD... I had to learn all these at university :C
yes @rugged root
Not that I remember any of it.
Those are tools
The things already exist, they just know how to make it presentable
That's not XML
yeah
that's like saying jq is json, no, it's a tool for JSON
sorry
but XML and JSON are just exchange
not optimized for it
because it's huge
yes @tall ridge you're stealing the words from my mouth? keyboard?
node is better for consuming storage space
another correction: html came out first, then xml and both were based on SGML, and then xhtml came out based on xml
😭
XML is heavier then JSON, Microsoft at the time didn't see just HOW much would be transmitted.
Do you remember when XHTML was a big thing? 😄 I still don't really know what that was all about.
also any frontend nerds here? my understanding of html says that <div> is no different from <elephant> or <spaghetti> as a tag
So it being bigger was thought as "meh, not a big deal"
fixing my sound
i was taught xhtml in my initial java course
Json is nice. I like json.
at uni
@rugged root please check your dm
Yea, Java was another language that got heavy aboard XML train
yep it still is aboard
JSON is functional (as in programming, functional programming). A given data structure will have one and only one encoding. Where as XML, can have multiple outputs... right?
even modern spring has xml files
Oh right. I remembering learning about it when I was first learning web design like 20 years ago.
YAML clearly hates Norway
@scarlet elbow Please don't randomly send friend requests to folks
ok sir
To help with my middle school's website 😄
How to add commentns to JSON
Jake eagerly stepped into his new job, grateful for more experience and new challenges, craving to learn new software stacks and see what his new company had to teach him about the world of software.
They told him he’d be working on some websites, dealing with JavaScript, Node.js, JSON, and the like. It sounded pretty reasonable for web develop...
There is JSONC
- Make a comment key.
That's it.
love the interchange formats being other interchange formats with a skin
i keep thinking of a way to bring superJSON into the conversation but i just can't find any
HAHAHA
i use typing in almost all the python i write
Lunaaaaa
I want to be like @oblique ridge when I grow up
lol

i hate ambiguity
What's superjson? 👀
Oh, thank God, @desert vector is here... everyghitn is going to be ok.
i gained that hate specifically due to using a library and hovering my mouse only to find i have no idea what type a method takes or gives and their documentation isn't anything better
what if i'm drunk and still not the biggest fan of YAML?
being right is hard
i've never agreed with something harder 😩
its json.... used to serialize javascript objects.......
const fs = require('fs');
const yaml = require('js-yaml');
// Read YAML file
const yamlData = fs.readFileSync('example.yaml', 'utf8');
// Parse YAML to JavaScript object
const jsonData = yaml.safeLoad(yamlData);
// Now you can work with the JavaScript object
console.log(jsonData);
@rugged root be like dreamberd have maybe xD
yes ||maybe|| no
see? boolean
import yaml
# Create a Python dictionary
data = {
'name': 'Osyra',
'programming_languages': ['JavaScript', 'Python'],
'3d_modeling_tool': 'Blender',
'interests': [
'Animation in Blender',
'Writing short books about SCP',
'Watching anime'
],
'location': 'United States'
}
# Convert Python dictionary to YAML
yaml_data = yaml.dump(data, default_flow_style=False)
# Write YAML to a file
with open('example.yaml', 'w') as file:
file.write(yaml_data)
Earlier this week, Haroen Viaene posted this tweet about YAML: worst part of yaml: https://yaml.org/type/bool.html — Haroen Viaene (@haroenv) January 10, 2022 The linked-to page contains the documentation on what defines a boolean in YAML, and details that it can be parsed using this regex: y|Y|yes|Yes|YES|n|N|no|No|NO |true|True|TRUE|false|Fals...
Oh right. When it says superset... does it actually extend the syntax of json? I.e. is superjson not necessarily syntactically valid json?
@peak depot It's just because the country code for it is "NO"
And YAML will treat NO as false
honestly any config or interchange format needs an editor to be easy
it can't be done otherwise
basically lets say you want to send a datetime object to your frontend from your backend (both javascript) usually with normal json.stringify it becomes a string
superjson allows you to keep it a datetime object
but one of YAML selling point is "You don't need an editor"
yeye ik
i'm saying that's a shit point for YAML
blatantly untrue due to not being possible lol
i can write json without an IDE, if i have prettier atleast
TOML is also writable without an editor
FWIW, I'm prepping for the CKA and we have to edit YAML in vi with no plugins....
i deal with YAML too much at work
had to explain to another senior that that files we're using aren't code
it's literally just configs that get read
Then cert sucks and class sucks, there is no reason to enforce that
No reason to require you don't use editor for YAML in Kubernetes
yes, it's a by product of the testing environment, which uses generic vms
@gentle flint but what if they're hot?
Ok, I'll mark that off my test
yeah i was gonna say
in hospitals, everyone goes around dude
they do not care in health care
ymal is best, so is lua
lua 😔
OK, I have to step away and I just want to say I enjoyed the discussion.
I'm working on my portfolio and using pytest. If anyone wants to sit in, let me know.
she is
i like it's nice and fast for being something easy to embed
but like
very
everything is tables and they start at 1
that went 0 to 100 real quick
send her my way
i don't work with her
||don't i'm probably not interested||
probably >w>
Oh god, out new dryer is like that lol
I have an old dryer I guess
I just want: high, medium, low, and a timer :C
Or auto detect dryness
Oh yeah that would be nice.
https://github.com/hainguyents13/mechvibes there's also this which lets you add different sounds (by default mechanical keyboard sounds) when you type
may I propose "dryth"
i wish
also vscode screencast mode
bro it NEEDS to snow by me this winter
oh god
The song plays at the end of every washing cycle on Samsung washing machines. The name of the song is "Die Forelle" (The Trout) bei Austrian composer Franz Schubert.
how saucy?
its been there for a while
I figured out how to turn this off on mine
It got pretty annoying after like 1 week.
i see vscode youtube channel's shorts every now and then and they showcase these features alot of times even repeat the same feature to try and get people to know about them
alrady downloaded
yeah i get nosebleeds so bad when it's arid af
i've gotten so good at recognizing the blood start and will never drip a drop before closing my nose and heading to the bathroom to wash
also ye my dermatitus flairs up hella when it's dry
flares
probably flares
oh i've been in dry saunas
we have dry and wet saunas
also been in a cold sauna
lmao you're meant to toss water in
but you can go with or without it
lol hemlock all i smell is the sweat of those who basted before me
Ick
i remember cutting into birch and it smelling like rootbeer
who would like to engage in fisticuffs?
Like 4?
4
Meaning of life is kind of graphic.
biggus dickus
Clease, Idle, and Palin are still with us I think.
And Gilliam, but he was more behind the scenes I think?
guys, send your snow to new jersey
💀 i remember reading that manga
i wish i never did
genuinely
Ventrillo was the other one of that vein, right?
Yep
water is where it's at for most drank
i'm a big seltzer guy if available
also unsweetened iced tea
for me its
sometimes coffee in the morning if i'm too sleepy to get up and start working
else water.
americano is nice
Right?
i used to drink pepsi alot (i like it better than coke fight me >->) but now i only drink that if i'm already going all in unhealthy with a pizza or fried chicken
ADHD lets me jump between dozens of active projects. I'm pretty sure if I had functioning dopamine system I would only work on a few things at a time
mix that with an extension to edit HTML5 video playback speed and now I sound like an elf whenever I talk to your average person
Open-source cola is any cola soft drink produced according to a published and shareable recipe. Unlike the secretive Coca-Cola formula, the recipes are openly published and their re-use is encouraged. The texts of OpenCola and Cube-Cola recipes are published under the GNU General Public License (GPL).
It started with watching lectures on 3.5x. I was knocking out literally 2 and a half more lectures in the same time they watch 1.
With some people, the difference can literally be as great as 5x. Some of the people I've met, especially in rural america, literally speak a measurable 5x slower than me.
iphone is pretty nice
no
Snarky Puppy - Mean Green
From 'Empire Central' - Available now
Stream/Buy: https://orcd.co/empirecentral
Written by Nate Werth
Arranged by Michael League, Nate Werth, and Snarky Puppy
Bob Lanzetti - electric guitar
Mark Lettieri - electric guitar
Chris McQueen - electric guitar
Justin Stanton - Wurlitzer and Minimoog Model D
Bobby Sparks - Ha...
i hate how true the iphone for dates, pixel for bros thing is
@oblique ridge android good, apple bad
ubuntu touch > android
@tepid mantle explain
@rugged root reminds me of https://youtube.com/shorts/Wq24ebd8Fng?si=Rp6abjPo4LX-lEfA
SUBSCRIBE OR I TAKE YOUR DOG
╔═╦╗╔╦╗╔═╦═╦╦╦╦╗╔═╗
║╚╣║║║╚╣╚╣╔╣╔╣║╚╣═╣
╠╗║╚╝║║╠╗║╚╣║║║║║═╣
╚═╩══╩═╩═╩═╩╝╚╩═╩═╝
Find all my socials here: https://linktr.ee/echo419
Big Enough ft. Alex Cameron,Molly Lewis,Jimmy Barnes lyrics,Jimmy Barnes live,Do Not Play List,Jimmy Fallon,Late Night Sh...
.latex
Your input was invalid: query is a required argument that is missing.
Usage:```
.latex <query>
.help latex
**```
.latex <query>
*Renders the text in latex and sends the image.*
rotate!
no!
A Discord bot started as a community project for Hacktoberfest 2018, later evolved to an introductory project for aspiring new developers starting out with open source development. - python-discord...
can't take a picture correctly oriented.. can't solve partial equations.. what can u do? /s /jk
Shots fired
MAN DOWN, MAN DOWN
.latex
1/x^4+2x^3
Okay I don't know then
A/x+B/x^2+C/x^3+(Dx+C)/(x+2)
.latex
$1/x$
.latex $1/x^4+2x^3$
.latex $A/x+B/x^2+C/x^3+(Dx+C)/(x+2)$
.latex
$\fr{A}{x}$
i'm hearing raisin slander
hey! don't worry about size @peak depot
also @tepid mantle
he's more physically active though, no?
like that's gonna make his caloric needs greater than yours to maintain the same weight
nah but he is 20kg lighter
mildly not by much

