#ot2-the-original-pubsta
652 messages Β· Page 96 of 1
hmm
hi @hazy laurel's partner
wow
don't sexually harass ppl challenge
@carmine herald im a sigma male
so hard you get brain damage
no nugget novermber
Anyways
surebuddy
use a landline
shut
why
no september september
yeet bye bye
take us w/ u
peace
off to bigger and better
This is the sound of a dial up modem. I'm positive this is already on youtube in a hundred places, however I have a sample myself and I figured I'd upload it too. I always hated that sound... AOL was awful.
tw 90s noises
tf is that black thing
I need your ip
Spam , banned
Pls
At helpers
I want to get your attention here
I am half a way in installation
Pls tell
U lookin sus
U mean thick
Heck
look on youtube I'm not a linux user
Don't be selfish
Assuming you mean their original question
I am not getting any videos related to that
Yeah... This is why I don't wanna help
What
You're not gonna find videos
linux user keep thier secrets
Hmm
You shouldn't even really be looking for them
You should be reading the Arch Wiki, it explains all of this
Then how do I connect
Maybe that's too RTFM but like
Heck
It's Arch, you really should be doing all of this yourself
The wiki explains your problem
But I don't have editor
What
You have vi preinstalled
Ohh
But I can't use in iwdtp
Iwd
For network
But I need to power it on
How do I do
... exit iwd
Also vi not vim
read the wiki page on installing Arch
In the wifi section, you'll see what you're skipping over
You need to unblock your device
How
Howww
Howow
Hewwooooo
HewwwooooooooΓΆ
π π π π π π π π π π
I am.crying
Pls
Tell
π π π π π π π π π π π π π π π
Arch is a distro meant for power users and tinkerers who are very familiar with Linux usage and troubleshooting.
Why don't I learn it
You learn on a distro that doesn't break and become unusable every other update
You're expected to know how to troubleshoot and fix things
... and read the instructions to install it
I mean... You're barely at the wifi section and it's been like an hour I think
Yea
Personally I think no one should use arch as it has basically no benefits, the few has don't outweigh the negatives of running such an unstable operating system. That's just my opinion though
Maybe that's rude but... Please consider what you're getting yourself into
This is basically my opinion as well
Anyways but I could make it as much easier
By customizing
It
Good luck with that one
You can customize any distro
Hmm
Anyways... Your problem is likely rfkill
But not with the wifi screen
How
That's all I'm gonna say
Anyway I have to go to work, good luck, I recommend choosing a different OS such as Ubuntu (or any derivative) or Fedora
First how could I scroll up and zoom out
You can't
You signed up for this
What if I reboot now
install mint then
I don't you've made any changes to your system
Yep
Mint is stinky, I think you knew that
Just for sake
Ubuntu MATE would be better imo
Ubuntu is great
You can't go wrong with Ubuntu
It's so easy to install
I use KDE Neon, though
why not argon?
Should I need to have a ethernet to do this???
No
just google it
All this info is in the Wiki
I hate to be the "RTFM" guy... but your literally won't make it far at all at this pace
You're expected to be able to do all of this yourself
I don't think he even read the wiki
I have my doubts as well
No i did'nt
Idek if I could get in trouble for almost forcing you to read the Wiki
But... You can't expect us to handhold you through this
Ok ysinbrfkill how do I trouble shoot
...
Using rfkill
Please... Open the installation guide in the Wiki
Advise you guys stop trying to help this kid and let them figure it out themselves
Arch is sink or swim
By helping them you're just causing them more grief in the future
Yeah... Idk, I want to help but it's really not gonna work out with the current method
dm me for kis
I don't you even got to the drive partitioning stage
Doubt*
So... All of what you've done has had no effect on the system yet
ctrl + C
Which tbh that'd kill the heck out of my spirits
I did
For swap
And I did for linux with 97gb
/sbin/shutdown -h now
well.... Hope you didn't wipe your drive
I have a feeling you just watched a video or something
Partitioning is much more difficult than unblocking a device through rfkill
boomer jim's guide to arch?
its ez
shorten -> extend
.topic
harambe wall mounted lg screen
Live boot
Pog
no more macro generators
Wait holup
By vector did you mean the c++ one (dynamic lists in python) or the math one (2D, 3D vectors)?
dynamic list
Cause it's the math one here lel
i have written a mathematical vector library too.
Woah GitHub is kinda fast with it's meta data image generation
I started the repo not more than a minute ago
Started*
that one is based off Roblox's Vector3 library.
Starred
get nitro
Gib π«
i am poor sorry
hopefully soon i will be able to clear out that disgusting macro library with this stuff.
@vital crown re: #help-cupcake message
ah, gotcha
I was actually thinking about something like this. That way you dont get terrible error messages
ah
you also have the option of using macros to generate functions on its own.
..which i would be able to show you if GitHub was up.
but i can invoke the command from anywhere in my shell, and generate array operations from there.
pretty convenient.
man i want to write that kind of stuff. It seems cool but im not smrt.
that thing was not difficult to write, just incredibly tedious.
you could definitely do it.
let me show it.
const char insert_template[] =
"void %s_array_insert(struct %s *array, %s value, unsigned int index) {\n"
" if(index < 0 || index > array->logical_size) {\n"
" fprintf(stderr, \"%s_array_insert: attempt to insert out of the bounds of array (array: %%p, index: %%u)\\n\", (void*) array, index);\n"
" exit(EXIT_FAILURE);\n"
" }\n"
"\n"
" if(array->logical_size == array->physical_size) {\n"
" array->physical_size = array->physical_size * 2;\n"
" array->contents = (%s*) realloc(array->contents, sizeof(%s) * array->physical_size);\n"
" }\n"
"\n"
" memmove(array->contents + (index + 1), array->contents + index, sizeof(%s) * (array->logical_size - index));\n"
" array->contents[index] = value;\n"
" array->logical_size++;\n"
"}\n";
const char insert_template_stack[] =
"void %s_array_insert(struct %s *array, %s value, unsigned int index) {\n"
" if(index < 0 || index > array->logical_size) {\n"
" fprintf(stderr, \"%s_array_insert: attempt to insert out of the bounds of array (array: %%p, index: %%u)\\n\", (void*) array, index);\n"
" exit(EXIT_FAILURE);\n"
" }\n"
"\n"
" if(array->logical_size == array->physical_size) {\n"
" fprintf(stderr, \"%s_array_insert: attempt to insert into full array (array: %%p, index: %%u)\\n\", (void*) array, index);\n"
" exit(EXIT_FAILURE);\n"
" }\n"
"\n"
" memmove(array->contents + (index + 1), array->contents + index, sizeof(%s) * (array->logical_size - index));\n"
" array->contents[index] = value;\n"
" array->logical_size++;\n"
"}\n";
here is an example.
i just use a 'template' which is then filled in by printf's specifiers.
case FIND_HASH: printf(find_template, namespace, array, type, namespace); break;
ah this is dynamic array. I havent written those. I need to figure out how to use malloc and realloc. I know you have to cast the return type and stuff.
im sure when you know that stuff the generator lib itself is easy to write
it is
yes
i was essentially copy pasting code from one of my already existing implementation.
code generation is a wonderful thing.
Im just happy i got this working.
struct int_array
{
int *ptr;
size_t count;
size_t capacity;
};
void int_array_init(struct int_array *a)
{
a->ptr = NULL;
a->count = 0;
a->capacity = 0;
}
void int_array_reserve(struct int_array *a, size_t capacity)
{
if(capacity > a->capacity)
{
a->ptr = realloc(a->ptr, capacity);
a->capacity = capacity;
}
}
void int_array_push_no_alloc(struct int_array *a, int value)
{
if(a->count >= a->capacity)
return;
a->ptr[a->count++] = value;
}
int main(int argc, const char *argv[])
{
struct int_array a;
int_array_init(&a);
int_array_reserve(&a, 2);
int_array_push_no_alloc(&a, 2);
int_array_push_no_alloc(&a, 3);
int_array_push_no_alloc(&a, 4);
int_array_reserve(&a, a.capacity + 2);
int_array_push_no_alloc(&a, 4);
int *ptr = a.ptr;
for(int i = 0; i < a.count; ptr++, i++)
{
printf("%d", *ptr);
}
// printf("%d\n", *a.ptr);
return 0;
}
oh so you got an array setup?
watch out, i think incrementing it in the index expression will put it one after the size.
a->ptr[a->count++] = value;
Nah, that's fine
i check before
i++ returns the value of i before increment
and i make sure to do post increment
zig doesnt have it
I hope so
oh okay
what does amortized mean?
I hear it a lot when people talk about vectors or datastructures
like when they grow
Ye, it occurs when a certain algorithm takes a linear amount of time to do something per an exponentially growing number of steps
Essentially appending to a vector is O(1), but there is a difference between minimum of a sorted array O(1) and vector append O(1)
yes becuase append sometimes needs to allocate more memory. So you need to find out how much memory you allocate ahead of time in order to keep performance up when appending
Ye
I had an error in my code that i caught with gcc's fsanitize=memory option
i was allocating wrong
i needed to multiply the capacity by the size of the type(int).
so i learned something new today
but it still worked regardless
i wonder why
I guess i was still allocating enough
excited excited lol. Ive never done this before.
cant wait to get a working hashmap
$ dig +short @208.67.222.222 -p 443 LOC jb3.dev
38 57 6.120 N 77 8 48.120 W 0.00m 0.00m 0.00m 0.00m
208.67.222.222, 208.67.220.220, 208.67.222.123, 208.67.220.123
all on either port 443 or port 5353, UDP or TCP
@full haven Do a git log --oneline and paste the results here. top 10 lines if there are more than that.
git log --oneline
082d206 (HEAD -> master) A new fixed version of MyBot
f0c705f New features
e1494fb New files
b90e46c Fixed logging
aeb8c59 Small fixes to .gitignore
Huh I remember when this otn got added
Do a get checkout 082d206 and see if your work is restored.
Don't do anything else until the question is answered
oh.
Good evening Preocts π
This, 082d206 was the one I made a commit just a 10 minutes ago or smth
and did you mean git or get?
git. Typing and eating
git checkout 082d206
error: you need to resolve your current index first
LICENSE: needs merge
MyBot/.gitignore: needs merge
MyBot/__main__.py: needs merge
MyBot/cogs/moderation/admins.py: needs merge
MyBot/cogs/moderation/dm.py: needs merge
MyBot/cogs/moderation/general.py: needs merge
MyBot/cogs/moderation/warnings.py: needs merge
MyBot/cogs/other/default.py: needs merge
MyBot/cogs/other/event.py: needs merge
MyBot/database/sqlite.db: needs merge
MyBot/utils/config.yaml: needs merge
MyBot/utils/constants.py: needs merge
README.md: needs merge
requirements.txt: needs merge
it seems like, at least half of project was marked as redd
oh wait..
it's a lot, like a lot of this
You'll get the joy of cleaning that up. What you've done is pulled something down that doesn't line up with what you have. These are merge conflicts. git is asking "which do you want to keep".
Incoming - from github
Current - what was on your local machine
VScode makes it easier, you can just click on what you want.
it's a lot of clicking, I have no idea which one is the correct one that I made a commit for
You can git merge --abort and that should stop the merge attempt. Again, this can be destructive so I'd make a backup even now.
is there a way to merge everything with the "Accept current change"
@mental idol what would happen if I close vsc now?
Nothing
vsc is just offering you assistance with the merge. It will remain in that conflict state until you either handle all conflicts or abort the merge.
thx god I can close it
but why do the files stay like this? even tho I merged everything from it alrd?
ok, now I merged everything I guess
Merge conflict steps:
- Select which piece of conflict to accept (both|incoming|current)
- Save files
- Commit changes
When all conflicts listed, those files saying "needs merge", are completed then you are done.
so now I just commit?
git commit -m "Merged new files"
error: Committing is not possible because you have unmerged files.
hint: Fix them up in the work tree, and then use 'git add/rm <file>'
hint: as appropriate to mark resolution and make a commit.
fatal: Exiting because of an unresolved conflict.``` well I have fked up
git status to see which files still have conflicts.
I fixed these alrd ```
git status
On branch master
You have unmerged paths.
(fix conflicts and run "git commit")
(use "git merge --abort" to abort the merge)
Changes to be committed:
modified: MyBot/init.py
new file: Procfile
new file: init.py
new file: run.py
Unmerged paths:
(use "git add <file>..." to mark resolution)
both added: LICENSE
both added: MyBot/.gitignore
both added: MyBot/main.py
both added: MyBot/cogs/moderation/admins.py
both added: MyBot/cogs/moderation/dm.py
both added: MyBot/cogs/moderation/general.py
both added: MyBot/cogs/moderation/warnings.py
both added: MyBot/cogs/other/default.py
both added: MyBot/cogs/other/event.py
both added: MyBot/database/sqlite.db
both added: MyBot/utils/config.yaml
both added: MyBot/utils/constants.py
both added: README.md
both added: requirements.txt
all of this is gone
Then you need to add everything and make a commit or abort the merge.
Don't just slap commands next time :V (I'm glad it worked)
I will try to remember
.bm In case I fuck up again to push/merge
it might be hard to forget this experience lol
Your first huge conflict fix is always the worse.
Hmm no bookmark
.bm Push/merge fix
oof
for twice the rememberance
Ik, damn lag
Gateway Latency: 230ms
176.978 ms
Healthy
124.173 ms
https://www.reddit.com/r/programming/comments/r3rxvb/zelda_64_has_been_fully_decompiled_potentially/
k
Can someone please help me with this
I keep on getting errors on Excel
I'm trying to create a column sparkline
is "$G$5" valid?
Oh we have to do data validation first before doing sparklines
Well the $ means that you are referencing those cells, well thats what I believe
well... $G$5 wouldn't make much sense
"G" and "5" aren't cells
highschool? ooooh
lol np
lemon
.topic
Suggest more topics here!
earth
to find out
:incoming_envelope: :ok_hand: applied mute to @thorn shadow until <t:1638159512:f> (9 minutes and 59 seconds) (reason: discord_emojis rule: sent 24 emojis in 10s).
stimulated monkey
wot
its a good name
code gamma
or omega incineration
or yellow amogus butt
sus
exe vs msi(windows installer)
what is diffrence between them ??
msi is windows installer ,they have a fixed interface to install anything ,exe is any executable installer
modern software installers use exe because you have the full freedom to design the user interface of the installation dialog
ok got it
msi is just like universal type something that gonna work on every pc so it have limited feature
every windows pc
yup yup
standardized
by Windows standards, anyways
ok thanks Oreo πͺ
np

hi graduaction guy
ayooo
yes
heyyy ahah
hi graduaction guy

@sudden swallow wanna come to erfan's graduation party?
π¬
i read that as time to get daddy
No
too late. The bois are already coming to kidnap u
hahaha
now its ur bday
ayeeeeeeeeee
.bm good stuff
Indie game developers: "Our game provides over 60 hours of gameplay for you to enjoy!" Speedrunners:
3 minutes more like
my vision is really bad, i thought ur pfp was a tunnel with stripes until i looked closer
i should get out more
what the
lol
h u m o r
Me: Twitter, how do I authenticate with your user OAuth?
Twitter: Glad you asked, just follow this link!
https://developer-staging.twitter.com/en/docs/authentication/oauth-1-0a/obtaining-user-access-tokens
Me: π
...
@jovial island Please don't drop memes with no relevance to the server here. See the off topic etiquette guide for information on what's acceptable. https://pythondiscord.com/pages/guides/pydis-guides/off-topic-etiquette/
lol big lol this otn
Hi
Guys where exactly my vimrc is??
if i am going to ~/.vimrc
it shows
" DO NOT EDIT THIS FILE
" Add your own customizations in ~/.vim_runtime/my_configs.vim
set runtimepath+=~/.vim_runtime
source ~/.vim_runtime/vimrcs/basic.vim
source ~/.vim_runtime/vimrcs/filetypes.vim
source ~/.vim_runtime/vimrcs/plugins_config.vim
source ~/.vim_runtime/vimrcs/extended.vim
try
source ~/.vim_runtime/my_configs.vim
catch
endtry
~
But if i change in my_configs.vim i can't get the change in vim editor
Pls tell!
seems like the vimrc is using 4 files, why not check: source ~/.vim_runtime/vimrcs/basic.vim source ~/.vim_runtime/vimrcs/filetypes.vim source ~/.vim_runtime/vimrcs/plugins_config.vim source ~/.vim_runtime/vimrcs/extended.vim
I wonder if you can tweak those 4 files
Hmmm
I did that but I was unable to get any changes
Btw, I use ubuntu
I use a manager called tweaks for customization
I,e window manager, etc
@celest lion that wasn't a very nice message. YOU are the one on a timer. I'm just here to help people for free. I'm not on any schedule. Don't make expectations of things you aren't paying for.
jeez. I wouldn't be surprised that they were removed from the server for that
what happened?
I can't remember, you can look through their messages
ah i get it. i see it now. in my imagination based on the response
Maybe it's just because I've been parenting teenagers for a while, but I seem to be noticing a lot more ingratitude and entitlement in today's youth (but also in general).
I think we're having a right-wing swing...
what are they doing that comes off as entitlement or ingratitude?
Well... to keep it light:
My ones at home are very adverse to doing chores. That's nothing new, but a fair few of the other parents I know are having the same issue recently.
And in the neighborhood, these boy racer cars are far too noisy...
Feel like these are common among teenagers through the ages. My dad, who is in his 70s, told me about how he used to drag race as a kid. No one likes chores either. There's this really cool special on 'The Mind Explained' about teenagers. Interesting stuff. Their brains are wired a bit differently.
Yeah, every generation complains about the next one. Though, if political leanings are cyclical, I would be concerned if this the most left we get though before we back peddle to individualism.
Cool, I've give it a look. Apparently, my brain only just finished developing a few years back (early-mid thirties).
So now it's starting to degrade.
Im in my 30s so I feel you there.
It's nice to not longer be at the hormones' whims, but it does kinda suck that my body is only going to get worse overall.
Youth is wasted on the young.
heyo bros
i made a poem on programming (and python)
here are some lines
When I use python I have all the power in my hand
And when I use modules we have the complete band
Pygame for some game dev, flask for some web dev
I use linux and windows and take the whole rev
Different ideβs and different text editors
Make the code more fun, more better
When I donβt understand the error I do debugging
Sometimes when I do fun I make the program singing
Now don't y'all start bitchin'
I know my skills are killin'
There once was a man called Triton,
who tried to compose code in Python,
He did a lint once,
and promptly yelled "Dunce!"
That antiquated man called Triton.
@jovial island remind me to tell you tomorrow about my new dns for jb3.dev
Sorry, you can't do that here!
@somber belfry yoda rich
True
my otn 
Also true
yoda really has the NFTs going
hello guys! I am having Dell laptop which has FN key in which I can use that to increase decrease volume and mute like functions but am also have a external keyboard of Dell which doesn't have a FN key but has only f1,2,3,... keys but the problem here is that I can't do the same task of increasing decreasing or mute like features by there. So how can I do these things from my external keyboard only!
ping while answering me!
not 24 hours
HELL yes exactly
does anyone have extra owo if have pls give me?
who's joe tho
It's a way to define deployments of services in code
essentially it's a tool to enable infrastructure as code
Yea
similar goals
in this case it ensures that all commands I run to setup the dns servers are identically ran on both hosts
it installs the dns software, configures it, copies the zones, etc.
soon it will also sign the DNS zones for DNSSEC
two root servers
i'm going to get dnssec working and then write a blog section for my site and then write a blog post
kind of yea, similar to saltstack/chef/puppet, you define a "playbook" of commands to run on all your hosts and it just chugs away
netcup
@jovial island https://dnssec-analyzer.verisignlabs.com/jb3.dev
The DNSSEC Analyzer from VeriSign Labs is an on-line tool to assist with diagnosing problems with DNSSEC-signed names and zones.
dnssec signing works
yeah
dig @1.1.1.1 +dnssec jb3.dev
if adappears under flags the answer was validated
which bit
my DNS server?
no, it has no reason to
my dns server is only every queries by other DNS servers
because it's authoritative, just for jb3.dev, and so it is the one that answers to services like 1.1.1.1 and 8.8.8.8
you'd get an answer, but most people do not run recursive resolvers on their desktop and there isn't a standard to allow for that sort of querying with DoH or DoT
don't think so, kdig does though https://manpages.ubuntu.com/manpages/bionic/man1/kdig.1.html
what did you try
interesting that a load of NSEC3 records get generated when I sign the zone
ya with hashing now
lol
does anyone free to help me with an assignment ;=;, its a description of example Digital Signature's creation in OpenSSL
ielp!!
bells jingling
Does anyone know a simple enough way to compare 2 images with linux (command line, I'll be using it in a server) and see if they're similar enough or not? (with a value if possible)
I've been trying findimagedupes and tensorflow but probably my inexperience caused every single of my tries to fail.
I want the script to know if an image is a gameboy or not
@bitter patrol But yeah, I'm alright
Just got back from the dentist
So a good part of my face is numb
Eh, I don't mind it
I have trauma from going there when I was young
How so?
The anesthetics any more are really good
Ate too many chocolates ;-;
Barely felt much
I see
Well we are getting more advanced
So I wouldn't be surprised if getting an injection would cause no pain at all
Anyways
Typically they numb the area before they inject the stuff, so even that isn't bad
My day has been a little bit fun. I am learning intermediate python online. It is kinda hard but not that I haven't learnt anything, it's just the correct use of certain data structures and code usages.
O_O
Oh very cool
How have I missed so much from life. I really need to touch grass outside...
What kinds of data structures and what have you are you currently looking at. Are you not able to go outside to do so?
I've done Tuples, Dict, Lists, Sets and uh that's it I believe.
Yes I can go outside, I meant that in a way that I haven't been going outside that much lately π
Most gamers usually say that.
True enough
I just found an interesting game on epic games, I don't know if I can send the link here but it's related to programming.
It's currently free xd
But it is going to go back to being "paid for"
The description is funny ;-;
I've enjoyed that one
Oh you've played it?
Yep!
yeah?
Can't wait
I'll download tomorrow
It's kinda late right now
Alright say I'll get back chatting with you later, lemme do one more exercise and go to sleep ;-; Good night in advance sir
Nice chatting with you
after 6hrs of downloading and this
why is this channel name so wierd
what does
ot stand
for
and
why is
ielp
misspeled
ot is for off topic, and the stuff after that usually consists of random jokes/funny phrases
NO
I mean sure
Just make sure to abide by #code-of-conduct
What's the right channel?
I want to be in a channel where you share cute pets and nice looking fruit
drop a cute pet & fruit pic
cute fruit and nice looking pet
wait fuck
KAYOOT!
bnuuy
now I want mangos
awww
@magic atlas nice pfp π
rofl
Okay but have you ever struggled on something then found it on github so you don't need to do it 
No, not really
oh
I usually don't look at peoples code unless I want to see how someone else did something I already did
omg I want them
oh xD
I love how, by using lightmode, I'm naturally placed in the unstable category :3
Wasn't part of the interview process :3
how do ur eyes function?
It's honestly not that bad depending on the contrast/saturation/brightness/whatever of your screen
No there's no excuse
f.lux for the win
although in general, it is pretty bad compared to many other light modes
wait is that an egg 

based
DEBUG:urllib3.connectionpool:https://api.twitter.com:443 "POST /oauth/request_token?oauth_callback=https%3A//127.0.0.1 HTTP/1.1" 401 64
401
b'{"errors":[{"code":32,"message":"Could not authenticate you."}]}'
Progress! It's talking to me. It's saying go away... but that's more than it was saying earlier.
lmaoo so accurate
lol
meta https://http.cat/443
.status cat 443
no cat
I tried
oh that is what it is
status... would have never guessed
that command could definitely use more aliases
.help status
**```
.http_status <code>
**Can also use:** `httpstatus`, `status`
*Choose a cat or dog randomly for the given status code.*
**Subcommands:**
**`cat <code>`**
*Send a cat version of the requested HTTP status code.*
**`dog <code>`**
*Send a dog version of the requested HTTP status code.*
a http alias would be nice, yeah
agreed xD
pog
DEBUG:urllib3.connectionpool:https://api.twitter.com:443 "POST /oauth/request_token?oauth_callback=oob HTTP/1.1" 200 121
200
b'oauth_token=k&oauth_token_secret=&oauth_callback_confirmed=true'
Twitter 3-legged authorization for user OAuth1.
my condolences
Leg 1) Hi, I'm an app and I want to be a user (app -> Twitter)
Leg 2) Hey, this app wants to be you. That cool? (Twitter -> User)
Leg 3) Hi again, I'm an app and the user says I can be them. Gib keys (app -> Twitter)
ty lol
It's fun, because like a completely sane egg that I am I've decided not to use the oauth library "everyone" uses. Instead, I'm writing my own. Because why not!?
These are just to create the Authorization header. No actual calls to get authentication.
https://github.com/Preocts/twitterapiv2/blob/main/src/twitterapiv2/userauth_client.py#L45-L96
The simple route is... significantly easier. Like... four lines? including the import.
But how often do you get the chance to understand why these work?
hash_bytes = hmac.new(combined, base_bytes, sha1).digest()
return base64.encodebytes(hash_bytes).decode("utf-8").rstrip("\n")
never xD
double pog
ty, you are making my life easier :) while writing the twitter-tui
triple pog
nice
thanks for the PIN. Hacking in to whatever this is rn
kidding, of course
hack it all.
on it :pepe_hack:
Some night the code flies. other nights it's painful to get 16 lines down.
[main edfa21b] Working leg 1 on user auth
2 files changed, 16 insertions(+), 6 deletions(-)
Time for some hot coco and then bed. Between the late night prod push at work and the day... I can't think about the next step of this auth process. @_@
Sad. My 100% coverage.
ono
ugh... I just realized one of these unit tests will need to patch input(). Gross. I don't like patching built-ins.
You don't..
Just write to sys.stdin()
.status cat 69
The range of valid status codes is 100 to 599
.status cat 420
eyy
@worn shore
This book looks interesting to read perhaps: Tidwell J. Designing Interfaces. Patterns for Effective Interaction Design 3ed 2020
At least it has the best score / big rating / having enough demand to be already 3 edition.
+Fitting to be read even by developers.
https://www.amazon.co.uk/dp/1492051969?linkCode=gs2&tag=oreilly20-21
Who This Book Is For
We hope Designing Interfaces reaches current and new audiences. We created it to be
of interest and value to many different people. Itβs for design beginners, mid-career
practitioners and managers, seasoned professionals, and executives. Itβs for people
who want to learn, to get a refresher, and to get inspiration and a new point of view.
Itβs for teams, classes, and individuals. Itβs for interaction designers, information
architects, product designers, UX/UI designers, product managers, developers, QA
engineers, strategists, managers, leaders, consultants, teachers, students, and anyone
who is interested in designing better software
it looks like a cool thing for Frontend Developer to increase a bit qualification
is java easy ?
Yes
howi can learn java ?
learn C++
- How can I learn how to ride a bike?
- Learn to drive a car instead
That's... not really helpful π
that's two cars
There's probably a few Java servers out there you should consider instead of this one.
Does that work in a unit-test? I'll have to try it.
Ah, usually you want tests to have the smallest amount of magic possible so I don't think there should be an issue
Yeah. It's not horrible, really. It'll just be the "enter your validation code here" prompt that will need to be patched out for the test.
Always get mixed results with patching built-ins though. We'll see.
I'd suggest rerouting sys.stdin and sys.stdout in the test
Definitely right up my alley
indeed. I look at it a bit with horror though
More roles to perform than I have already
a feel a bit overburden with amount of roles π€
But!
as just theory/basics to know in order to give better input during discussions
that's I think is worthy enough reason to read it
π
one more part to the set: Ultimate Web Developer ;b (for situations when saying fullstack is not enough)
Uber WD

.bm 916304080849207296 do this
Your input was invalid: You must either provide a valid message to bookmark, or reply to one.
The lookup strategy for a message is as follows (in order):
- Lookup by '{channel ID}-{message ID}' (retrieved by shift-clicking on 'Copy ID')
- Lookup by message ID (the message must have been sent after the bot last started)
- Lookup by message URL
Usage:```
.bookmark [target_message] [title=Bookmark]
.bm 916304080849207296 do this
Your input was invalid: You must either provide a valid message to bookmark, or reply to one.
The lookup strategy for a message is as follows (in order):
- Lookup by '{channel ID}-{message ID}' (retrieved by shift-clicking on 'Copy ID')
- Lookup by message ID (the message must have been sent after the bot last started)
- Lookup by message URL
Usage:```
.bookmark [target_message] [title=Bookmark]
fiiine
hold shift while you copy the messageID π
.bm 463035268514185226-916400002333540432
brilliant
1. Lookup by '{channel ID}-{message ID}' (retrieved by shift-clicking on 'Copy ID')
It says that, but apparently I've had enough not-sleep time to be failing basic reading.
Hah yea, it's a bug in Discprd.py's message convertor
it's supposed to use the current channel if one isn't given
but it doesn't, it only uses the cache
I've actually got a fix for it up for PR π So shouldn't be an issue for much longer https://github.com/python-discord/bot/pull/1990/files
(once it's merged to Python I'll port it over to Lance)
absolute pog.
@fresh yarrow
the world is a shirt, for people like us it means we can tear it apart and stitch it together in any way we like
yes
maybe the world is hell
and we have to prove ourselves to go to heaven
;-;
I'm not religious or anything
oh no
which religion?
god's
if there was a religion for ghosts, I'd be in that
oh
which one
or croissants
the true one
or trains
which true one
there are different religions that think there is a true one
the only true monotheism
Christianity
apparently
is what I should be
;-;
"You got: Christianity
You believe in God the Father, the Son, and the Holy Ghost. Eternal life and redemption from sin is your thing."
well
that was one hell of a test
"how often do you pray?"
a. once a day
b. twice a day
c. 3 times a day
4. 4 times a day
where's the I don't pray selection
your bio sounds like what I like except the pushups and the biking
and I like turtles β€οΈ
oh yes i really like working out
i love pushups, especially explosive
I dont like working out
I have high metabolism
however much I eat, however much I don't exercise, my weight still stays the same
like clap, jump, and no-arm pushups(well, the closest you can get to no arm)
elbows
not elbows
no arm pushups is god
no arm pushups is very explosive, you pushup very hard and bring your arms to the sides of your abdomen
in my homework I nearly wrote 6*2 instead of 6 x 2
but * is multiplication
in my maths homework we are supposed to do x not *
or else the teacher's gonna be like "wtf"
imagine having a symbol for multiplication
9(5) = 45
lmao why do we need 3 ways to multiply????
@fresh yarrow :x: Your eval job has completed with return code 1.
001 | <string>:1: SyntaxWarning: 'int' object is not callable; perhaps you missed a comma?
002 | Traceback (most recent call last):
003 | File "<string>", line 1, in <module>
004 | TypeError: 'int' object is not callable
!e
print(9*5)
@fresh yarrow :white_check_mark: Your eval job has completed with return code 0.
45
!e
x = *
print(9x5)
# I don't think this would work
@fresh yarrow :x: Your eval job has completed with return code 1.
001 | File "<string>", line 2
002 | print(9x5)
003 | ^
004 | SyntaxError: invalid decimal literal
yep
shit i did >>>channel_purge in my server and it deleted 5 messages at time then did 404
WHY ISN'T IT DELETING ALL MESSAGES AT ONCE?
I wrote * instead of x
send code?
nostalgia
@client.command()
async def clear(ctx, *, amount):
await ctx.channel.purge(limit = int(amount))
I tried this
Hello Guys is there anybody that has some knoledge about the Google Coral dev board
@misty ferry please only stick to one of the 3 off topic Channels
@jovial island :white_check_mark: Your eval job has completed with return code 0.
001 | <string>:7: SyntaxWarning: 'int' object is not callable; perhaps you missed a comma?
002 | 45
Does anyone know what is the header/library for the readlines() function?
The open function is the closest I could think of
I just found out where I went wrong, tysm for answering
well this name feels awkward
hi @lucid girder, how did you do this time thingy 
There's some site that you can look up for discord timestamps, but basically there are different formats of <t:asdf:R> where asdf is a unix timestamp, and the character at t is to format said date, while R is the format. My profile was formatted by <t:1507825370:R>, which becomes <t:1507825370:R>
ah alrighty, thanks!
the site he referred to is https://hammertime.djdavid98.art for anyone else interested
Heck ya. User auth via TUI is working and back at 100%
@weary depot what should be my second lang imo
That chart is misleading gotta say
if i wanna be a hardware dev
Best programming language combination? My opinion:
Python, C#, C++ and Julia
@jovial island yeah so he recruits people who have like 5-9 years of exp and they all have java skills
my dad and others say C but i wanna heard ur opinion
C aint worth it these days
me here, in the corner, with Go
how old are you?
and what lang do you know?
13 im experienced im python
been doing it for a year and a half
wdym
true. But
or C++ maybe
its used in hardware all the time
c++ is used mainly used in game dev so if you wanna take that route, by all means go ahead
C or C++
C is sadly still works in an interprise context, sadly enough
C++ mainly these days
c++ is a system programming language
C++ sure and C# sure, but not C, well u can learn it for the fun and ease of it but idk if it would be useful really
If it is just for your personal fun, go for Rust
no it aint
mix of fun and obtaining skills for work
And by the time you can work professionally it would probably be also relevant in enterprises
what id need
c++ is used across the board
or python
cause python
is made out of cPython
You'll have plenty of time to learn other stuff
Guys, what programming language combination is the best in your opinions? Back-end ofc
honestly when i plan things out im thinking to know some small languages and some big ones
Python π€‘
typescript and typescript (and python for utility scripts)
unlike you, im on a time crunch π
python, js, reactjs
like rust, perl, python and C++
Go
i wanna be good at python+java+c+++rust +typescript + sql + AWS by the time im 25 π
React is no backend framework
ik
And Node.js makes me want to commit murder
but still it is good for ajax
im already good at python and i want to get into the smaller languages now
honestly, id say stick to python if what you wanna do is Data science/AI
memory and performance
you're never really good at language :P, you need to keep problem solving
thank god theres no slowmo here
oh yea
thats cool
fr i wanna learn perl or rust but idk which one
rust is incredibly fast and a hell lot more memory efficient than even java
why would you want to learn perl
UNLIMITED POWER 
yes
oh god..
because
perl is a cool high level language
it is shit
@jovial island https://www.youtube.com/watch?v=zF34dRivLOw
https://www.youtube.com/playlist?list=PLVvjrrRCBy2JSHf9tGxGKJ-bYAN_uDCUL
https://www.youtube.com/channel/UCSp-OaMpsO8K0KkOqyBl7_w
https://www.youtube.com/watch?v=MsocPEZBd-M
Learn all the fundamentals of the Rust programming language in this crash course.
Sponsor: Eduonix
http://bit.ly/traversymedia
Code:
https://github.com/bradtraversy/rust_sandbox
Timestamps:
Intro - 1:05
Install Rust - 4:45
Creating a file - 6:26
Cargo Init & Build - 7:50
Print & Formatting - 10:42
Variables - 19:35
Data Types - 25:15
Strings ...
This channel is your #1 resource for the Rust Programming Language! We'll be covering basic Rust language tutorials, advanced Rust language tutorials, Rust language web projects, Rust language frameworks, and much more!
Learn the Rust programming language in this course for beginners.
βοΈ Shaun Hamilton created this course.
π» Rust Template used in video: https://replit.com/@Sky020/Rust-Template?v=1
βοΈ Resources βοΈ
π Slides: https://docs.google.com/presentation/d/1k2kPfrLunscHV4n-4IoC3D78dNR6R1Rhdi039PCG-Wk/edit?usp=sharing
π Article version: https://www.freec...
il remember this for reference
rust isnt worth if you wanna have a career in my opinion
but i will learn language dev first
seriously?
yeah i know i spent a weekend on it tho π
yes
Rust is still on its way... gonna take a few more years
.bm
depends on what you wanna do
it does fit under the catagory of small languages
hardware developement
Not yet you mean π
than no
or software but i prefer hardware
no but it fits under the category of:
hi i wanna learn for fun but get no job π
Go for C++ thenb
sure that works tbh
because everyone knows C is good in hardware and systems dev
How is the status of Go when it comes to the jobmarket btw?
Definetly not
dont go for it if you are looking for a job in this lang
C is well with low-level programming but so is C++ π€·
C++ has classes
Okay so it's Rust, C, Go?
But C++ supports OOP
C++ still inherits from C you can do low-level programming on both
OOP is very epic
though it might not be as common in C++
yes indeedc
Trust me, if you wanna go for hardware, mainly go on C++ 
It is perfect 
most embedded applications currently use some combination of C and whatever the processor's version of asm is
yes
rust is good for it as well
I wanna get the CS degree, I wanna learn something that helps me throughout this career, so I started with Python, when I get to the advanced/intermediate in python I will add Julia, once I get to know Julia im going to add C++, two popular languages and one language that is currently low in the jobmarket but it's going high up these days
but that's just because usually it's the EEs writing that firmware... so they aren't exactly super up-to-date on new languages

