#voice-chat-text-0
1 messages · Page 305 of 1
yeah I made this a few months ago
4/5 project its cool
Brendan Gregg from Sun's Fishworks team makes an interesting discovery about inducing disk latency. For a ca. 2020 retrospective on this 2008 video: https://www.youtube.com/watch?v=_IYzD_NR0W4#t=28m47s
would be great (if this is a serious project) if you based the lighting with temperature and not on warnings.
Blue < 10
Green 11 - 35
Red > 35
@gentle flint
fiverr
would they be able to help within a day?
dropshipping is really bad if you dont know what ur selling
it also inflates prices
bad for customer experience
the traffic light came as is
so there was no changing the colours
anyone have an xml file i can use for my homework?
i use one i have and says doesnt work
You might need to help us understand your project outline a little, first.
How about you start with the brief you were given?
Under the Get Web Data menu tools, add a submenu Get Web XML Pages (and further sub menus you should design based on lab 12) to view XML news feeds. One of the menu options should ask for the file which contains the xml feed links (one link per line). There should be an option to view the titles of the news in a tabular fashion from each site. There should be an option to save the titles of the news items to a json file (ask for file name). Note: This part is already done for a Lab you just have to integrate it into the assignment #2 based on the menu / class system.
no
!paste
If your code is too long to fit in a codeblock in Discord, you can paste your code here:
https://paste.pythondiscord.com/
After pasting your code, save it by clicking the Paste! button in the bottom left, or by pressing CTRL + S. After doing that, you will be navigated to the new paste's page. Copy the URL and post it here so others can see it.
he asked what it asked me
im trying to finush these last three questions and im lost one the first one
where did the traffic light came from lol?
@uncut crow Do you get an exception traceback message of some sort?
An error occurred while reading the file: not enough values to unpack (expected 2, got 1)
Do you understand this error message?
that what it tells me when i put a txt file with xml
yea i tried fixing it with another txt file with more news feed in them im not sure what the problem is
idk if the code is wrong or the file im using just doesnt work
can you give me a xml file to see if it works maybe what im putting in the file isnt working
What line does this exception occur?
whats the title for this project?
from the syllabus, what was it?
was standing unused in the office
it was used in the past to monitor jenkins build status for a product
he just names everything python classes
L teacher
fr
this makes sense now lol
idk how to fix that part of the code its annoying me
@somber heath lets be friends then so we can be past friends in the future
!rule 9
oh okay sorry
I get no errors or anything I just don’t know why it says the file doesn’t have enough values
@golden cargo 👋
the the file i use for xml links
okay
name, url = line.strip().split(',')
that one?
no
a,b
c,d
e,f
in the news xml files?
name,url
name,url
name,url
like that?
put them after the news name or url
ohay thanks
still says that
in the txt file?
that how the file looks
👋
no its fine
this is just one thing i have to fix i have another 2
& C:/Users/dillo/AppData/Local/Programs/Python/Python311/python.exe c:/Users/dillo/help2.0.py
An error occurred while reading the file: [Errno 22] Invalid argument: '& C:/Users/dillo/AppData/Local/Programs/Python/Python311/python.exe c:/Users/dillo/help2.0.py'
says that
@whole bear 👋
Sorry, co-worker is back here so I can't talk too much
you think i need to install another pip install?
how do i do that
oh yea we can we just have to use visualstudiocode
If you're doing Python stuff on Windows, make sure you're using the py launcher. So in this case, py -m pip install [package_here_or_whatever]
ill brb gonna rewatch class recordings
@sick wave 👋
@somber heath hi
operationframe = tk.Frame(window)
operationlabel1 = tk.Label(operationframe, text= 'xd', font= '1')
operationlabel1.pack()
operationlabel2 = tk.Label(operationframe, text= 'xd', font= '10')
operationlabel2.pack()
operationlabel3 = tk.Label(operationframe, text= 'xd', font= '100')
operationlabel3.pack()
operationlabel4 = tk.Label(operationframe, text= 'xd', font= '1000')
operationlabel4.pack()
operationlabel5 = tk.Label(operationframe, text= 'xd', font= '10000')
operationlabel5.pack()
In this tutorial we will quickly go through an easy way of changing basic properties for a Label widget (or any widget for that matter).
I don't understand why font size is not changing when I set a value for that
I ask by typing if anyone here knows about the problem
@pallid spire 👋
import tkinter as tk
root = tk.Tk()
label = tk.Label(root, text="Default Size")
label.pack()
label1 = tk.Label(root, text="Another size", font="20")
label1.pack()
root.mainloop()
import tkinter as tk
from tkinter import ttk
window = tk.Tk()
operationlabel1 = ttk.Label(window, text= 'xd', font= '200')
operationlabel1.pack()
window.mainloop()```
im not allowed to talk but having some background sounds is not too bad xd
i gave up cant fix it
yeah but I just joined today xD I dont meet the requirements
Yeah plenty of people have us like a podcast, it's pretty great
seeing that win11 screenshot made me actually scream in fear
brb signing in with a mandatory online account just to setup a new computer
No voice today, in a cafe
I could unmute so you could hear the crowd around me
lmao simply cannot talk xD
I don't have anything to say that's on the usual topics on this vc.
I'm on a laptop with a shitty mic, and that's part of it.
Although the way I brew my coffee it's closer to six
I drink coffee for the flavor
"I like my coffee black, like my heart."
The trick to minimizing a bad habit is to make it the path of most resistance. e.g. I keep my phone in a separate room from my bed.
And my alarm is set so that the noise doesn't stop until I scan a QR code in the shower.
I also work on making good habits a path of least resistance, make them obvious, and try to stack them. e.g. I keep my toothbrush, floss, and toothpaste in the shower so I brush my teeth while washing up.
To avoid impulse buying, I keep my electronic payments off of my actual devices, I never save my card info. The physical credit card is currently wrapped with tinfoil and frozen in a block of ice at the back of my freezer.
Oh, one other thing I was thinking about: https://www.yubico.com/products/software-development-toolkits-sdks/
Access free Yubico software and tools that help you integrate YubiKey and YubiHSM capabilities with your applications and services
They've got great tools for YubiKey development
YubiKey is very interesting ngl
Even got a Python integration: https://developers.yubico.com/python-yubico/
oh god the couple that just sat down next to me....I can tell that they powerwashed every single pore on their skin with axe body spray
like what kind of absolute psychopath does that and then deliberately sits in an enclosed indoor space around other people?
🤣 🤣 🤣 🤣 🤣
All languages are slow in their own special way.
There are two types of languages: languages people complain about, and languages people don't use.
I learned everything I know about computing and programming on my own. The classes I took (Matlab and Fortran) I have never used.
Although the Differential Equations class was fun due to the matlab component.
This is why I do not study 😅
Studying itself is a very good skill to have, and taking classes is a great way to practice.
It's not what you know, it's who you know.
When you submit a job app, your best bet is to find someone in your network at that company and reach out. They may be able to get you in contact with someone and that can get your resume in front of a human being.
body language is weird for those of us who are completely blind to it
I didn't hear that one, but I did hear "Be the American the Japanese think you are."
Explosive personality?
The ultimate DIYer apparently
Oh and not only owning a pickup truck but perfectly able to repair it at any time
but yes, loud, talkative, quick to anger, and overweight
That feels more like Southern US and the cowboy ones.
Well which parts of the US get the most media representation overseas?
New York isn't as recognizably "american" as a western.
Stereotypes matter in this case.
Many times when traveling overseas, I've found that playing into stereotypes can be beneficial, depending on the country and the median age of the people around me.
Other times I just pretend to be Canadian.
"I wish to be able to make rent. I wish to be able to make rent. I plan on accomplishing what's asked of me in a timely manner."
"My five year plan is to be alive five years from now, because I have a condition where the average life expectancy is 35."
Most people want their egos to be massaged. Brown nosing is an art.
"I would like to pursue research in stratospheric gravity waves because the polar vortex is one of my hyperfixations."
In fairness, I could see it
"I would want to go to MIT because I can commute there from my apartment."
"I want to research social engineering techniques to manipulate job interviews."
I went to the University of Massachusetts, and if I decide to go for my Master's or PhD, I'll probably just go back there.
Not that a Master's in atmospheric physics will get me anywhere these days...
Could end up being the wind beneath your wings
Okay, brb taking Cloud Physics, Space Weather, Climatology, and Advanced Fluid Mechanics (statistical tensor calculus anyone?)
Honestly, it should be a breeze for you
I'm so out of practice.
Oh come on, those were two puns one after another.
I could probably get back in the game, but the sheer amount of money it'll take to get my foot in the door in the first place. Dr. Barlow does have an opening in his research group, but he requires someone to already have a Master's.
Intellect and money sense aren't the same.
I may be an actual genius (according to doctors) but I am way too impulsive to run a business.
I agree that it should be based on merit. However, that will require a massive overhaul of society itself. I'm in favor of that.
They'll absolutely hire the asshole. They'll probably become an executive.
Not only do I have too much pride to do something, I'll spend five extra hours writing a script to do it for me.
I'm in favor of that automation
That tracks
PYTHON STRIKES AGAIN!
I'm so over this stupid endpoint
!e python a = 1 if bool(a) is True: print('Hello')
@amber raptor :white_check_mark: Your 3.12 eval job has completed with return code 0.
Hello
!e python b = 0 if bool(b) is True: print('Typing is important') elif bool(b) is False: print('Typing is really important')
@amber raptor :white_check_mark: Your 3.12 eval job has completed with return code 0.
Typing is really important
!e print(False == 0)
@rugged root :white_check_mark: Your 3.12 eval job has completed with return code 0.
True
What about?
!e print(True + True)
@rugged root :white_check_mark: Your 3.12 eval job has completed with return code 0.
2
!e python a = "0" b = "1" if bool(a) is True: print("A is True") if bool(b) is True: print("B is True")
@amber raptor :white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | A is True
002 | B is True
(╯°□°)╯︵ ┻━┻
That's not uncommon in a lot of languages
THE ENDPOINT SHOULDN'T ACCEPT WHATEVER GARBAGE I FEED IT
hello
If it's Boolean REST API Field, Then don't accept "1"
I'll Pydantic deez 
they put in Pydantic and it all went to hell because documentation said it accepted "1"
or "0"
or whatever
Weird
BECAUSE PYTHON LET THEM DO IT!
Wouldn't JS as well?
Probably and it sucks too
Fair
it's complying with Postel's law
liberal in what it accepts and conservative in what it sends
Okay, if something says "Deadline is May 1st", do you think you would be able to take care of it that day without penalty
just a wannabe hacker... making videos about various IT security topics and participating in hacking competitions.
-=[ ❤️ Support me ]=-
Patreon per Video: https://www.patreon.com/join/liveoverflow
YouTube Membership per Month: https://www.youtube.com/channel/UClcE-kVhqyiHCcjYwcpfj9w/join
-=[ 📄 Imprint ]=-
Security Flag GmbH
Mühlenstraße 8a
...
it did not
@turbid flame Don't use that word here please, even in modified forms, it's an offensive slur.
Please LX you know that's why they used that word
Achtung, die Rechtslage hat sich lange nach der Veröffentlichung dieses Videos geändert. Pfeilabschussgeräte benötigen nun eine behördliche Erlaubnis. Diese Waffen werden in Deutschland deshalb nicht mehr angeboten und ein Selbstbau ohne Erlaubnis wäre illegal.
As the BKA ruled that arrow shooters that have the arrow gliding OVER and not THROUG...
Check out this RC spy drone here: https://ban.ggood.vip/14gJx
Save with code (exp. 11/30/2023): BGC127AID
This is a knock off Black Hornet drone. This is the RC ERSA C127AI rc helicopter. This knock off military spy drone looks so cool and in this video we test it to see what is can do. Let us know your thoughts about this Black hornet nano d...
Not anymore
is Rust the updated C / C++ thingy ? OR something faddish
Rust is safer than c & cpp
safer as .... it checks more things in ecosystem .. so its not crashy crashy ? , can you eleaborate a bit
in cpp and c you might do a memory leak
in rust you can't leak memory
null pointers
You can but it's much MUCH less likely you'll do it on accident
and the compiler checks everything so you don't run into an error or crash
i mean if you are new to c or cpp you might
I use python , now I need to branch a bit because there is more demand for C / C++ , just mentally preparing myself to start studying it , just dont know the interelationships between rust , c ... bla bla
so many MCUs are just C , if I study C++ will that include C in there somewhere
just build 5 G radios , not design , but I get asked if im gonna learn C
do you want to become a software dev, web dev , game dev , data analyst ... ?
😂
MCUs all the way
Marvel Cinematic Universe?
you can choose between:
asm
c
cpp
and rust
jeebuzzz how dida ya knowaa
@rugged root
I know the usefulness of python , some stuff can branch to C for speed
C is persistance everywhere
learn assembly 💀
im asking all this because I dont want to waste time on buugywhip design
yes , i need 32 bit ASM , did 8 bit ASm before
Micro controller stuff is typically going to be C or C++ and be better documented for that
From what I've seen, anyway
x86 asm 64bits
!stream 514088128315785216
✅ @silk dust can now stream until <t:1714591064:f>.
C++ is C but on steroids
ya , show some sexxy ASM
hey
I heard 64 bit ASM is brain frying
ASM would be amazing for graphics but , brain frying ?
ofc it will fry your brain
I just love that the guy who made Rollercoaster Tycoon did it in assembly
ASM is a diffrent way of thinking ,
i am making a programming language to make software with it , i have to learn asm for the compiler 💀
GPUs have a very different architecture, so it's going to be a bit different from the typical x86 asm stuff
The only reason the second one had C++ was because the people who were working on it with him just couldn't handle it
Depends... You don't always need to learn assembly
LLVM exists, for example
idk llvm tho
and i've worked with asm before for my old compiler
but it was not for software apps
If you compile directly to assembly/machine code, you can only target that architecture
LLVM knows how to compile its intermediate representation to x86, ARM, expressif etc.
yeah ik , even gnu compiler is like that
i guess you can emulate many MCUs or raspi CPU , for ASM
Only do assembly if you have a particular reason to do so
Otherwise you're limiting yourself quite a bit
well i can't find tutorials on llvm
@rustic apex @hybrid barn Yo to you both
What?
Just saying hello
Yes, hello
Hello!
need ASM for propeller 1 MCU , I want to do DRAM refresh experiments @rugged root
Sure and for that it makes sense
that's annoying : can't talk in vc or stream if i haven't been in the server for less than 3 days
You can still hang out and chat in here, contribute to the convo that way.
Plenty of folks do that.
i am lonely i need someone to talk to 💀
for experimantal DRAM interfacing , need speed so ASM OR C , C++ is ??
Arch in virtual env
ASM hand coded ... is it more memory efficient ( compact coding ) ?
i mean in asm you control everything , its a bit faster and efficient but it will take a lot more time for you to code
so how would C OR C++ be different , or jsut use C
how is C++ better ?
😂
or does C++ have some more modern features
cpp have more features than c but i prefer cpp cuz i found it easier than c
idk if it is actually easier
ohh ok , makes sense
will use it on W10 , Ubuntu( raspi ) , propeller 1 MCU - these are my environments
ultimate goal is fast device drivers for MCUs ( general , but prop1 intitially ) , also fast mem access for graphics
why use arch -- ohh FAF is good reason , mmm arch on a raspi 3 to monkey with GPIO interfacing
hydrology modelling ?
huh
how water flowsa round stuff = hydrology
python - interface
write( device , address , data ) #example
write( SRAM , 1000 , 255 ) #example
the idea is to use the ease of python to hide the
overly techno babble
pass SRAM + address and data to C++ code
and have all the MCU stuff run as fast as possible
locally on MCU , if there is a calculation result pass the
answer back to python
Nelen & Schuurmans
fortran faster than C++ , wow @gentle flint
@dapper swan Yo
Hi!
How goes it
I still can't talk in any of the voice channels. I thought I went through all the steps. 😭
You're missing the message count. So just hang out and chat, you'll get it pretty naturally
its a very dynamic use of water , hmmm interesting @gentle flint
use water where necesarry , yet route water away from main land areas , also prevent soil erosion - very dynamic
@gentle flint did you ever look at , Viktor Schauberger and his water ideas , use natures method of water flow
this project is part of it
https://en.wikipedia.org/wiki/Room_for_the_River_(Netherlands)
In the Netherlands, Room for the River (Dutch: Ruimte voor de Rivier) is a government design plan intended to address flood protection, master landscaping and the improvement of environmental conditions in the areas surrounding the Netherlands' rivers. The project was active from 2006–2015.
things like - preventing river bank soil erosion , by controlling vortices
I can't say I ever have
Wikipedia seems to say he was a pseudoscientist?
you mean someone who actually grew up and worked in the forest doesnt know anything ?
he has a bunch of patents
The first film about Viktor Schauberger’s life’s work. A comprehensive survey of historical facts, current research and various practical applications into both technology and the natural world.
Available subtitles: English, Romanian
Click here to watch the German version: https://youtu.be/R4h_yiDIuQE
This film is also available in Amazon Pri...
I always cross check with 3 sources anything from wiki , since they believe the earth is flat , and moon made from cheese
this is an hour and 15 minutes
sorry that's really a bit too long
do you have a key point you want me to look at?
your likely using one of his patents , and dont know it many in industry dont even know who he is
DiscordGPT, summarise conversation.
Did you guys know that blind people don't get schizophrenia?
the point --> he studied water flow of rivers and used it for industrial processes and also minimized soile erosion by following natural river bed dynamics
Surely it has to be that the sample size is just much lower
o
Nobody born blind has ever been diagnosed with schizophrenia
we have no clue why
he actually made and did things , that are still used today , universities study his work to prevent river bed erosion
Huh. That's kind of neat
do you have an example?
what if you were born blind, deaf, and mute?
like how would you learn
how would you communicate
Hellen Keller wasn't mute though
she could still speak
Martha Washington?
Yeah, once you start to speak it becomes a lot easier to continue im pretty sure
Im looking for a university paper on it @gentle flint
use TTS
Code your own tools
something that comforts me (prob wont for you) is that I know I'd never be scared of being blind if I never could see in the first place
For some blind people, but others it's that their eyes dont work
I dont trust the Neuralink in the hands of Elon Musk
why do you even call it X at all 😭
just call it twitter
thx
It just unplugs your life support ig
wait is paint thinner actually bad for you?
I swear it cant be that bad
im already nervous enough
it cant get much worse
does the human body have 1 computer, 2 computers, or 3?
Left and Right side of your brain and your Nerve cells
?
a computer is something that does something
Chronic solvent-induced encephalopathy (CSE) is a condition induced by long-term exposure to organic solvents, often—but not always—in the workplace, that lead to a wide variety of persisting sensorimotor polyneuropathies and neurobehavioral deficits even after solvent exposure has been removed. This syndrome can also be referred to as psycho-or...
thats just a theory
it wont stop me
did you know that with identical twins, if one gets schizophrenia, the other has a 50% chance of developing it too even if they were raised completely seperately?
ok
can you disable your vocal chords?
your ear drum is like a piece of flesh thats stretched out to act like a drum
Tinnitus is honestly horrible
It's super hard to even sleep at night because it's so distracting
Nah I'd honestly rather go completely deaf than have Tinnitus
There's no real way to improve your hearing if its permanently damaged
Who's to say that sensation doesn't continue even after losing your hearing?
😭 please no
😭
Called it
:(
I was prepared to do a Van Gogh
Wait, Tinnitus isn't actual noise inside your ear
It's like a nerve short, I thought
It's sorta like an auditory hallucination
Viktor Schauberger - Comprehend and Copy Nature (Documentary of 2008)
time index 11:00 ~ 12:00 , says a lot , why you have never heard of him , most in the world have.
Otmar Grober - Hydrolic engineer ( Flussbaumeister )
https://riocom.at/en/about-us/ <-- smaller company in Austria , they do what you do
Stanford University is very aware of his work - maybe Stanford is small potatos ? , Oh they have the largest budget of any university from DARPA
https://searchworks.stanford.edu/view/5572498
hmmm , how to get research papers for free , tough one
Protecting banks with small submereged structures (Instream River Training) instead of rip rap. Most hydraulic engineering methods in rivers focus on bank enhancement for protecting the banks from erosion. By contrast, submerged river training
Stanford Libraries' official online search tool for books, media, journals, databases, government documents and more.
@gentle flint
there is no need to be sarcastic
I'll read it but it will take a while
Most have no idea who he is , they called him unlettered ( says it in documentary ) , they use his work to incease efficiency in rocket turbine engines , theres lots there , the math must be crazy , to program the models intense , I keep finding more pages on his work , lots in German
Is there a way to get the research papers for free ? @gentle flint
they might be hosted on certain shadow library websites which I'm not permitted to mention in this server
@short owl
it looks very interesting
ok , night
Guys what is this error yapping about?
!d random.randrange
random.randrange(stop)``````py
random.randrange(start, stop[, step])```
Return a randomly selected element from `range(start, stop, step)`.
This is roughly equivalent to `choice(range(start, stop, step))` but supports arbitrarily large ranges and is optimized for common cases.
The positional argument pattern matches the [`range()`](https://docs.python.org/3/library/stdtypes.html#range) function.
Keyword arguments should not be used because they can be interpreted in unexpected ways. For example `randrange(start=100)` is interpreted as `randrange(0, 100, 1)`.
Changed in version 3.2: [`randrange()`](https://docs.python.org/3/library/random.html#random.randrange) is more sophisticated about producing equally distributed values. Formerly it used a style like `int(random()*n)` which could produce slightly uneven distributions.
!e py print(*range(1, 10)) print('B') print(*range(10, 1)) print('C')
@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | 1 2 3 4 5 6 7 8 9
002 | B
003 |
004 | C
!e py print(*range(9, 0, -1))
@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.
9 8 7 6 5 4 3 2 1
Useful error messages are your friend.
anyone know how to pip install netifaces?
Thanks for help man
How is this result possible?
what's the cleanest way when writing tests to pass in args to a main function that aren't actually used since I'm mocking the return values of the functions they're used in?
oops wrong chat
underscores
or obvious test data, so 123 for ints, 1.23 for floats
"foo" for strings
i've got obvious test data, i didn't know if there'd be a better way. how would I pass in underscores? just within their required types? ['_'], Path('_') ?
can you show me your function and the test?
with patch('func_2_ran_in_func_1') as mock2:
# arg not needed as would be run within func2 in func1 but we mock return value
func1(Path(""))
so the args that are passed to func1 are usually passed to func2 within but aren't needed since i'm mocking the return value. i'm looking for a syntactic way to say "test args aren't used but are still required"
oh
I'd probably do
func1(Path("foo"))
or just leave it empty like you have
I don't think there's a standard way to do that
plome, kindly join the vc when feasible. I have missed your company sir.
Okay, there we go.
No, it wasn't rtc hell.
I know I can change my mic device.
It gets fucky.
Sometimes switching the device doesn't work.
I feel as though it's an Android issue.
It works fine immediately after a phone reset, then gets slowly worse, which makes me think it's some caching bullshit.
What you all doing in VC?? 😶
Sometimes I can poke it, but after a while, all that can be done is a phone restart.
It was working fine, then at some point it just decided to fuck up.
You should steel yourself. The answer may come as some shock.
Hey @somber heath ,
Would you please tell me what I can do for Voice Verification 🙏
I have been on this server for 1 month I guess.. Also sent more than 50 msgs, and then try voice verification, it's not working
You have sent less than 50 msgs
No, I haven't done anything else.. So, I guess not
Means, 4 more to go??
What is your name? What is your quest? What is your favourite colour?
My name is Ankit Bhagat
Currently, I was facing a problem about voice verification, so I was trying to complete that thing
And.. my favourite color is red... ♥️
Give it a whirl, now.
"Your mother was a hamster and your father smelt of elderberries!"
#MontyPython #FrenchKnight
#humor #funny #catcosplay #funnycats #catstagram #parody #british #fyp #memes #cats #HolyGrail #nerdy #armor #catcostume #montypythonandtheholygrail #reels #catreels #catarmor #mondaymotivation
126481
Thanks man @somber heath 🤧
🎵 Owe da knee buoy...
Sequence objects typically may be compared to other objects with the same sequence type. The comparison uses
lexicographical ordering: first the first two items are compared, and if they differ this determines the outcome of
the comparison; if they are equal, the next two items are compared, and so on, until either sequence is exhausted.
If two items to be compared are themselves sequences of the same type, the lexicographical comparison is carried
out recursively. If all items of two sequences compare equal, the sequences are considered equal. If one sequence
is an initial sub-sequence of the other, the shorter sequence is the smaller (lesser) one. Lexicographical ordering for
strings uses the Unicode code point number to order individual characters. Some examples of comparisons between
sequences of the same type:
any idea how to understand this example : (1, 2, ('aa', 'ab')) < (1, 2, ('abc', 'a'), 4) ?
@mint radish 👋
So look at it this way:
(1, 2, ('aa', 'ab'), 4) < (1, 2, ('ab',))
This suggests to me you have yet to install the tls_client module into your project's environment.
Perhaps you need to pip install it in the project's terminal.
well I'm at work
!e print('a' < 'A')
@rugged root :white_check_mark: Your 3.12 eval job has completed with return code 0.
False
im tryna figure out how to install it and put in project
I'll wait for you.
!e print(ord('A'), ord('a'))
@long nimbus :white_check_mark: Your 3.12 eval job has completed with return code 0.
65 97
!e print(ord('a'), ord('A'))
@rugged root :white_check_mark: Your 3.12 eval job has completed with return code 0.
97 65
I'll be at work for the next 2 hours at least
!pypi tls_client
I'll wait for you.
you do you bro
so i install pip
right
py -m pip install tls_client
!e print('ABC' < 'C' < 'Pascal' < 'Python')
@whole bear :white_check_mark: Your 3.12 eval job has completed with return code 0.
True
!e print('ABC' < 'A' < 'Pascal' < 'Python')
@whole bear :white_check_mark: Your 3.12 eval job has completed with return code 0.
False
!e print('A' < 'a' )
@whole bear :white_check_mark: Your 3.12 eval job has completed with return code 0.
True
Based on the way you explained the problem, it shouldn't be too difficult. Now, if you want to hit it with a hammer, try/finally.
But I don't expect it would be necessary.
MAX_INST_LOOKBACK = 256
instr_address = addr
for _ in range(MAX_INST_LOOKBACK):
instr = ida_ua.insn_t()
if idaapi.decode_insn(instr, instr_address) == 0:
return -1
# at this point, instruction decoded
if not instr:
instr_address = idaapi.prev_head(instr_address, func_entry)
continue
if instr.itype != idaapi.ARM_mov:
instr_address = idaapi.prev_head(instr_address, func_entry)
continue
if instr.Op1.type != idaapi.o_reg or instr.Op2.type != idaapi.o_imm:
instr_address = idaapi.prev_head(instr_address, func_entry)
continue
if instr.Op1.reg != ARM_REG_0:
instr_address = idaapi.prev_head(instr_address, func_entry)
continue
return instr.Op2.value
return -1
@rugged root
!e py for _ in range(3): print('A') try: print('B') continue finally: print('C')
@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | A
002 | B
003 | C
004 | A
005 | B
006 | C
007 | A
008 | B
009 | C
@ember sluice 👋
hey
.
@kindred stone 👋
MAX_INST_LOOKBACK = 256
instr_address = addr
for _ in range(MAX_INST_LOOKBACK): (instr_address = idaapi.prev_head(instr_address, func_entry))
instr = ida_ua.insn_t()
if idaapi.decode_insn(instr, instr_address) == 0:
return -1
# at this point, instruction decoded
if not instr:
continue
if instr.itype != idaapi.ARM_mov:
continue
if instr.Op1.type != idaapi.o_reg or instr.Op2.type != idaapi.o_imm:
continue
if instr.Op1.reg != ARM_REG_0:
continue
return instr.Op2.value
return -1
hey peeps
!zen
Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
Complex is better than complicated.
Flat is better than nested.
Sparse is better than dense.
Readability counts.
Special cases aren't special enough to break the rules.
Although practicality beats purity.
Errors should never pass silently.
Unless explicitly silenced.
In the face of ambiguity, refuse the temptation to guess.
There should be one-- and preferably only one --obvious way to do it.
Although that way may not be obvious at first unless you're Dutch.
Now is better than never.
Although never is often better than right now.
If the implementation is hard to explain, it's a bad idea.
If the implementation is easy to explain, it may be a good idea.
Namespaces are one honking great idea -- let's do more of those!
if any(
not instr,
instr.itype != idaap.ARM_mov,
instr.Op1.type != idaapi.o_reg,
instr.Op2.type != idaapi.o_imm,
instr.Op1.reg != ARM_REG_0
):
instr_address = idaapi.prev_head(instr_address, func_entry)
continue
.
.
flag = False
if not ham:
flag = True
if flag:
flag = False
function_you_want_to_do()
continue
what arey ou working on in the voice chat
Introducing and learning about unit tests and mocking
@whole bear 👋
hey Hiie?
snake_case
PascalCase
camelCase
SCREAMING_SNAKE_CASE
I think the other one I've seen for that last one is shouting snake case
But screaming feels better
There's also sPOngE_bOB_CaSE
There isn't, just felt right to say
I only write in sPongE_bOB_CaSE
The important part about using that case is just spamming shift while you type and letting Jesus take the wheel
Assuming you have sticky keys disabled of course
!stream 557427467871322113
✅ @whole bear can now stream until <t:1714662860:f>.
@fickle gust 👋
Ooo pretty
🤣
yo sup
Hey Spark how goes it
doing great hbu
Not too shabby. Just workin'
oh i see working on what?
It's going to sound silly, but I'm making a calculator. Specifically a tape calculator you'd typically see on an accountants desk. They behave a little differently than normal calculators, and there really aren't that many tools out there for them, or at least not free/open source ones
For context I'm IT at an accounting firm
This seemed like a fun little thing
Trying to do it in Rust using the Slint GUI framework
oh cool
yeah it is
Well played
@high acorn ur from south india?
Java ☕️ 💪
I don't think there would ever be a time when one does NOT feel like they know less than they should
hold ig
does anybody know of a good way to ingest a bunch of data from files to be processed as DataFrames. currently just pulling in as JSON and setting fields vs. tags but maybe there's a cleaner approach?
I know I could do .JSONL instead but I don't want to duplicate tag values over most rows
fn main() {
let original_price = 51;
println!("Your sale price is {}", sale_price(original_price));
}
fn sale_price(price: i32) -> i32 {
if is_even(price) {
price - 10
} else {
price - 3
}
}
fn is_even(num: i32) -> bool {
num % 2 == 0
}
This looks like GUI application?
!charinfo
hi everyone
hi
@rich bison yes I am .. sorry I was not checking chat
I am mallu 🙂
Where are you from ?
im form north india
Okay .. 👍
Flutter
@whole bear Are you from Greece or Cyprus?
https://soundcloud.com/tylerduerr/everybody-wants-to-rule-the-world : the mood is going to kill me.
"Everybody Wants To Rule The World" by Tears For Fears
music & vocals recorded and performed by Tyler Duerr
written, originally recorded & performed by Tears For Fears
@whole bear What are the website success critiera? What should you make for them?
@whole bear That is a big task regardless, especially if it is your first time
good song
It's similarity based recommendation
yes
+followers
Yeah
that's why i always disable the mic
hello
hi
how r u
im fine hbu
good
@upper basin what are u working on?
Writing static test checker.
i see
My hands hurt HEHEHE
Bro write a python function that treats all of this as a string , and do the changes automatically or something
Put in some checks to ensure data integrity
The man must suffer for his art!
Hahaha 🤣 , you sound like my old tech lead , he was a hard to deal man 😔 as an intern I used to hate him (now I have huge respects for him )
Hahaha 🤣🤣
🥺
I say it with love
You did it all manually @upper basin ?
Aha Aha
Huge respects bro for the creativity
I used regex, give the ACE some respect.
I wasn't a complete idiot HEHE.
Emphasis on COMPLETE.
Yeah, but I don't like Black's formatting.
Okay . Write one from the scratch , u can use regex to match patterns
I did.
But numpy is not consistent in how it prints the array, so I'd still have to do some manual editting.
Ohh tough life
Treat the list as a string of chars .
Convert that into 2d list using numpy
Plome!!
If this is going to repeat again , there is no point in manually doing it , especially when we have computers .
@high acorn Can you kindly run black or whatever formatter you have on this please? Mine isn't working.
And paste it back here.
Okay 👍
bro black kinda messes it up
i ran black <filename.py> which reverted the changes
!e
def ham():
print("first one")
def spam():
print("second one")
def pork():
print("third one")
functions = [ham, spam, pork]
for fun in functions:
print(fun)
fun()
@rugged root :white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | <function ham at 0x7fd15205aa20>
002 | first one
003 | <function spam at 0x7fd151e5d440>
004 | second one
005 | <function pork at 0x7fd151e5d4e0>
006 | third one
anyone mind joining code/help to help me out with a FastAPI please
Function pointers do exist in C
though if you want to have closures or something similar, that's gonna be a pain
bbl need to do some java 😭
class Resource:
def __init__(self):
self.base = 0
self.added_bonus = 0
self.multiplier = 1
def calculate_tick(self):
return (self.base + self.added_bonus) * self.multiplier
@peak nacelle You can do something like that
Then just have a list of resources and do it all that way
class Resource {
base = 0;
addedBonus = 0;
multiplier = 1;
constructor() {}
calculateTick(): number {
return (this.base + this.addedBonus) * this.multiplier;
}
}
anyone 🙁
@upper basin written a peace of code and shared it to you . It can be used as a starting point to clean the data
yuh
I haven't sent a message. I send a message. That message and all following messages I send in a ten minute window fall into one activity block. The first message I send after those ten minutes starts a new activity block.
This way, you can't pass the voice gate by sending 50 messages in a few minutes.
It can contribute to the messages sent, but as to the activity blocks, it'll only do one of the three.
The best approach is to not think about it.
Enjoy your time having conversations with people.
Satisfying the requirements will happen organically readily enough.
@rugged root Im back! Sorry about that wont happen again
Welcome back
A bit sad that I have to wait 3 days to talk in vc but its fine
@somber heath hi
yepp lol
Nope
Calling Someone a d word
But to be fair they were one
yeah
well
I got permanently banned but I appealed it to a 3 week ban
Yeah admins were nice to me 😊
I have been learning C++ in the last week
I need to learn a bit more about LibCurl
Its a wierd Lang but its really cool
I love the low level Controls like Memory Management
The low Level is the best thing in C/C++ and the worst thing in C/C++
lol
Hi @final laurel I got Perma Ip Banned from the Together C++
lol
yeah
I sent "1984" in every text channel I had access to
idk
Boredom is dangerous
Yeah
I made this tho
Graphic
I need to plan a lot more before doing any implementations
interesting
huh?
any german today
Huh?
My bf has gone on a short little holiday so I am really bored, thats my main reason for choosing to spend years learning C++/C
umm
Its Boyfriend not Best Friend btw lol
@somber heath Can you say "She sells seashells by the seashore" btw?
lol
Wow
I am disappointed at how well you pronounced the sentence
I messed up my streak
Github Contributions
thought it was a covid test
Lol
Also
from english_words import get_english_words_set
from rich import print
wordList = get_english_words_set(['web2'], lower=True)
# Main Loop
def CheckWords(argWordList: str) -> list[str]:
"""Checks if words are correct by looping through provided string and checking if the lowered string is in the Standard English Dictionary"""
checked = []
for word in argWordList:
if word.lower() in wordList:
checked.append(f"[green]{word}[/green]")
else:
checked.append(f"[red]{word}[/red]")
return checked
while True:
userInput = input("Please type in a sentence and press enter to check: ")
checkedWorldList = CheckWords(userInput)
# Turns List to string
consoleOutput = str(checkedWorldList[0])
for iteration in range(1, checkedWorldList):
consoleOutput = consoleOutput + str(checkedWorldList[iteration])
print(consoleOutput)```
Why it not work
Im so confused lol
Lol
nope
bad output
It markes everything as Correct
wait
I just realised
I am looping through a string
not spliting it
from english_words import get_english_words_set
from rich import print
wordList = get_english_words_set(['web2'], lower=True)
def CheckWords(argWordList: str) -> list[str]:
"""Checks if words are correct by looping through provided string and checking if the lowered string is in the Standard English Dictionary"""
checked = []
for word in argWordList.split():
if word.casefold() in wordList:
checked.append(f"[green]{word}[/green]")
else:
checked.append(f"[red]{word}[/red]")
return checked
# Main Loop
while True:
userInput = input("Please type in a sentence and press enter to check: ")
checkedWorldList = CheckWords(userInput)
# Turns List to string
consoleOutput = checkedWorldList[0]
for iteration in range(0, len(checkedWorldList)):
consoleOutput = consoleOutput + " " + checkedWorldList[iteration]
print(consoleOutput)
Now it work
however it concatenates them together
@somber heath
@whole bear 👋
Hru Opal?
i am Making a Language, What should I do TO make the Error Message more Radiable and Beautiful.
remove Colum and sugest fixes
Ok any othr change.
idk
hey
@whole bear
@hollow cairn
@stark river
@quartz creek and mr @plain lark
Wake up lol
nah
yo , eating my Lunch right now.
anyways i dont have no perms
Can you please star https://github.com/superdev3/MiniProjects
Yeah could you please star it tho? @quartz creek
sure
what are you guys doing in voice chat?
hi
@quartz creek
Contribute to superdev3/MiniProjects development by creating an account on GitHub.
hey @hexed acorn
This is how the world ends. Not with a bang, but a semicolon.
@burnt holly 👋
Hey
@high meadow 👋
I dced three times hehehe.
hello
are you using dns or just something like that?
@rugged root could I have the list of the servers available? I would like to see if I can do an optimization to see if there is a better server.
Nope.
Just that the server we're on is on the other side of the world.
hard to imagine , but real.
Althaea officinalis, the marsh mallow or marshmallow, is a species of flowering plant indigenous to Europe, Western Asia and North Africa, which is used in herbalism and as an ornamental plant. A confection made from the root since ancient Egyptian times evolved into today's marshmallow treat, but most modern marshmallow treats no longer contain...
Memory 404 not found
Players rave and rant about the wonders of kernel level anti cheats, and how games like Valorant barely have any cheaters compared VAC secured Counter Strike servers.
But are they as good as people claim?
This video is a deep dive into the world of cheating, how cheaters typically cheat at video games, and how they continue to cheat on games tha...
hey Mr. Hemlock
How goes it
@tight bane 👋
HI
@molten wind 👋
I cannot speak please activate my
@gentle flint
microphone
I agree 👍 don't argue with dump people
How to contribute to open source projects ?
Not being a contributor to be open source projects, I'm not in a position to comment in depth.
Though I did once make a suggestion to an open source game developer that they then implemented.
@whole bear 👋
@rugged root why would the bot reset my stat
now i need to wait for three days to get voice verified
wdym
working?
@turbid sandal how long have you been programming?
will be (hopefully 😭😭😭)
like 3 years
Im 13 btw
do i use leetcode?
Idk if you use leetcode
…to practice
okay okay, approximately, how many projects have you taken part of including the ones you made yourself?
like more then 100
total
Rust bindings for GTK and GLib-based libraries
its so little because I like to make em good
yep, you definitely need to get certified lul
wdym?
its optional, you can find legitimate certification programs if you want, provided that you want to put them on your resume, but those decisions are up to you.
just giving ideas
you find that yourself
ok
anyways, what gotten you into the realm of programming?
i wanna join voice chat but im too social awkard 

for me, because its the future and im curiois
You can still chill and chat in text while listening in. We try to keep people included in the convo
its okay, almost everyone is ❤️
making viruses is what made me get into programming but I don't do that anymore
you may put virus creation aside, the programming world offers more than just spreading viruses lol
I know that was many years ago
you said that you started 3 years ago and told us you are 13 when your bio said 16, im confused 😭
Im 13 years old at 9 years old I started programming
yo, thats even more confusing
this is such a confusing statement
I started programming at 9 years old. Now I am 13 years old
your profile says 16
i think Super said
SHE IS 13 yrs old and started at 9
ur profile do said 16
IM AM 13 AND A BOY
you are such a onion of a person
correct your bio (recommended)
ah yes, the layers
yeah
i was hoping u got that my comment seemed mean if the dots werent connected
planning to correct your bio soon?
nah
but why? u said 13 and not 16
your bio says otherwise
making virus at 9 is the killing animals at a young age of the programing world
ur physically 13 but mentally 16, i think that compliments you positively
I do private commishion work so I need to be 16 and for some people I am 13 (real age)
just straight up say you are 18 😂
UHHHHHHHHHHHHHHHHHHHHHH
is 16 really better tho?
18 seems like the clear choice to lie about
i wish i have the same experience as you do lol
lol
same 😫
zex is that you in pfp
im getting older and my beard are growing thicker everyday 😭😭😭😭
im gonna take that as a no
my PARENTS HATES MY BEARD
they wanted to me to shave it whenever they wish me to
@whole bear sent this then saw ur comment prty funny
do u like horror games?
yes
ur most favorite?
phasmophobia is highly overrated
I think of it less as a horror game and more a detective game
i think nothing scares you tbh
Plenty does, just not games usually
My mom introduced horror movies to me, now im very curious to it
phas in vr is loads scary
I'm waiting for it to be released on PS5
I really really really want it
why?
what are these called?
what does PS5 offer?
I have a PSVR 2, but not any other kind
ohhhh ok ic ic i have the quest 2 and is really fun
i wish it would let me talk
You'll get there. I know it's irritating, but the gate's there for a good reason
We had hit and run trolls. People who would join the server, join voice chat, scream at the top of their lungs or scream slurs, and then leave. It was happening 8 to 10 times a day
im gonna fall asleep to cubes voice (someone please tell him that) 🤣 🤣 also im joking i just had a coffee
It is very calming
ahah
This is a set of recommendations on how to design and present APIs for the Rust programming language.
ive never experienced this, never knew that ppl would do such lol 🙃
It was a loooooot

yeah , i just slept for 6 hours last night , but yeah . sorry didn't see this soon😂
Flight Simulator
in game
original:
wants to try it for long time , harder than i except to be.
yep
would like to play it later
when i have the money :3
how about playing it in real world?
i dont have a pilot locense
problem with alcohol is that it becomes toxic when processed
i think i will be alive for next 50 years.
alr, up to u
yes
Long straw
weed?
if you got REAL beer, in the bottom of the bottle there will be all the tasty stuff
yes
Because Weisse bier has a higher CO2 content than a normal beer it tends to foam, which is why you need to pay attention to a few rules.
First, the Glass should be rinsed with fresh cold water. This makes the beer easier to pour as the surface of the glass is smoother.
Second, when pouring, hold the glass and the bottle at a 45-degree angle, ...
onion
not a fruit 🥹
cashews
google said its a fruit so approved ✨