#ot1-perplexing-regexing
1 messages ยท Page 413 of 1
What, no.
No you are not "technically allowed to bypass the ban morally". That's not how that works in the slightest.
I didn't deserve the infraction, and IP bans are dumb...
So? You think bypassing it is the right option? It's not
all ip addresses are public except those specified in RFC1918
You talk with the admins that got you banned
But what if my account wasn't the one banned?
tough shit.
Then you, again, talk with admins and get it rectified
then say "you ip banned this person, I am not that person"
"sorry, it wasn't me. the dog did it."
You don't say "well I can break the rules because I wasn't the one who broke them originally."
That's stupid
But then they can't lift the ban unless they unban the IP.
i mean wouldn't you change your ip
cause they're very unlikely to respond and say 'oh yeah sure'
Well as an admin of this server, the idea of ban evasion (even from an accidental ban) pisses me right off
And I'm like searching on Google daily my ip in hopes I got a new IP somehow.
Sorry
Because I prefer to go through proper channels
can't hurt to try
yeah
try it, if they say no, your justified
I mean how can I realistically answer that in a way that isn't going to be hyperbolic.
i have no idea
I remember getting ip banned cuz somehow, idk how, the actual person to be banned had the same ip as me 
If you assume that the system is not going to work, then why even have the system
You can't break the rules just because they occasionally mess things up.
IPs are allocated by pool
if an IP isn't assigned it goes back into a pool
IPs can be reused
why wouldn't all the people who are actually causing issues just get a new ip
aside from you telling them they shouldn't
I'm saying specifically for the intent of ban evasion, it's shitty
Aren't ip address's running out?
yes and no
IP bans are a shit thing and get over it it's bad practice, if the offender will want to come back he will with a VPN, literally VPNs are free now.
praise be the NAT
Like i've seen multiple ppl with the exact same ip address multiple times.
IP banning is a perfectly acceptable practice
No
Like
right but
this aint my first goat fuck
I've been an admin of game servers and we've definitely overturned IP bans if it was a "hey my roommate's an asshole, I'm sorry, I'd still like the play though" type of situation and was sincere and genuine.
who will it stop
IP bans should be time limited
i mean on a serious level
^
Why do I have to sit in the darkness when I wasn't the one that got banned...
So what's the solution then? Let people just do what they want? As you said, people are going to find ways to avoid it anyway
Let's just have anarchy in the streets
Already have that m8.
what you even get banned from?
my point is that people are going to evade ip bans
even if you tell them nicely not to
^
that altfinder bot service or w/e?
I'm not denying that it's going to happen.
i find that kind of funny
I'm saying that it's shitty
Evading ip bans has become easier and easier over the years.
That's my entire stance
right
@warm widget Considering this is a public server, what are you recommending as a fix?
Again, if you have a ban that hit you that wasn't your fault, you go through the proper channels
this is more in general afaik rather than to this specific server
If you don't want to wait? Boo fucking hoo
yeah well that's the thing
@warm widget Wanna recreate this sometime... ๐ ๐ It's still funny to me when I look at it.
people like you make people change ips
and they don't really care that it makes you a bit sad
so hence it disproportionately affects people that don't want to be assholes
cool
I am not at their computer forcing their ISP to refresh their IP so they can get back into the game. I'm not forcing them to get out. In the scenario described, I'm trying to take care of a problematic user with the tools at my disposal
Hmm, When i played cod back in the day, Player's were banned based on their computer's guid. Now back then that shit wasn't evadable as it couldn't be changed. I highly doubt they can do those things nowadays though. Therefore, as much as ip bans are easily evadable, it's still better than nothing.
And yes, while it may seem unfair, there are ways to correct it
Just ban the account lol.
yeah but idk what point there is in 'getting annoyed', like i understand it but it doesn't make a difference to the actual situation
Well let's take discord as an example
I think IP bans are for after they switch to an alt acc from a normal ban
An account ban IS an IP ban
where the problematic users would be evading, and non problematic users wouldn't be evading
Which is bad...
Why?
Because if I can't access that server (I as the user who didn't deserve the ban), the server doesn't have any outside contacts it's just there.
And I can't access it...
hM
You live your life as you see fit
to be fair it looked like you were trying to access a service that specialises in detecting alt accounts on discord
You guys asked me to extrapolate, I did so
if i read your screenshot correctly
Yeah because I was accessing a server that had AltIdentifier.
wait is this all about that ss of the vpn thing
The who in the what now?
Ooo that's neat
My IP is considered as spam IP. ๐ 
I wonder how those vpn detectors really work 
Likely has a list of common VPN nodes
Hmm that'd make sense.
So you're not using a vpn 
I think it might be because my IPs geolocation doesn't match up with my router's region??
It might be it??
Unlikely
E-Mail: contact@altdentifier.com
Twitter: @altdentifier
yeah doesn't work like that usually
Lol ok
We're serious
"Tell them your story."
well yeah?
They need to know when this kind of stuff happens to help fix it and prevent false positives
No I am too...
You can't expect a system to work flawlessly without input from users
I am confused as to why am I using a "VPN" but sure let me slide in their inbox.
They should be able to help you troubleshoot it and figure it out
Try putting on a vpn and see if that works ๐คฃ
LOL
Right. That'd be the simplest explanation.
Right I'll just go email em'.
Kind of wish more things were based on MAC address but I know that's just as much of a dead end
Or known ips of vpns.
Since they're easily spoofed
i mean i banned like fucking 75% of the planet from accessing my quake server
Yikes
it was a european / US community. why would i want traffic from any of the other large IP blocks?
International concord?
oh, australia was another exception. ozzies do like quake
Why'd you ban 75% of the world?
Their ping must have been painful
yeah but as a user i don't want the ad-tracker "device ID" type thing
There are services that sign up for popular VPN services, then get IPs of all their exit nodes
I wished you could manage IP bans and account bans on Discord separately, would be amazing. ๐
because why let anyone try to throw traffic at my server that isn't in the community the server is meant for?
Yes
Yep
like they let admins have control over it?
got it
hmmm
When you ban someone from a server their account + IP they're currently using gets banned from accessing that server.
On caveat with that
How long does the ip stay banned for?
If a user has a main and an alt on a server and only one gets banned, then the other one that's still in there does get to stay
Until the ban is lifted.
I assume they have some system that tries to identify shared IPs
Just means any new ones that attempt to join don't get in
like Universities
They'd have to
Ips are shared. So keeping an ip ban in place indefinitely is often a bad approach
I don't disagree, but it's out of our hands serverside
I die a little inside when I see people going "IP BAN PLS!" as if it was some magic bullet.
Not here.
It has its uses.
It's fine if they understand what they're asking.
Hi
and why it would be appropriate in a given situation
Would be less of an issue if everywhere adopted IPv6
Would give us more granularity
Mr. Hemlock, just do /64 bans
back in the old days when Uni students had the best internet there were banning problems
effectively same
Ban me daddy~
since it was just like a T1 line for a whole block of students
I remember when my university got upgrade to 100Mbps, it was rocking
wife university had 1Gbps which was awesome
remember playing some CS1.6 on fun maps hosted in Teeside
now I have 1Gbps at my home
dumb admin banned someone in their halls without thinking
knocked out 80% of the server
except me
I'm still using 100 MBs which barely get upto 80 MBs...
#BadNetworkGang
oh it's someone putting on a pair of tights
20MBps ๐ญ
that's an odd thing to have in an avatar
bit or byte?
that's what is known as 100Mbs*
also, expecting your full speed all the time is something you should stop doing
DSLAM network contention ratios are a thing
When will she stop putting on leggings its been days now please i want it to end
I thought you weren't commenting on my profile picture, I hope it's at least appropriate for this server...
what anime shows a school girl getting dressed?
probably quite a lot of them
ยฏ_(ใ)_/ยฏ
uuhhh
it's a trope
People love to see them socks getting woren on.
something something beach
Oh, I guess it is ecchi, yeah
There was no discussion, now send me ecchi.
๐
I've seen worse avatars.
please note None is 15
@sand goblet @gentle moss so is this like a serious cartoon or just a means to an end?
what, the one i posted?
nah the ecchi thing
or at least someone in a school uniform
Bisk only watches MANime
LANime
otn bisk watches MANime
MY MAN
@sand goblet Y-You You've what...
You think an anime girl wearing on socks is a bad concept?
do we have canime?
just saying, there are worse avatars you could have than a gif of someone putting on tights
@rough sapphire I think the one of her getting dressed is fairly inappropriate
its just canned goods
C'mon man, who doesn't love socks...
And may explain why girls don't want to talk to you
Lol
lmao
Because let's be honest, that's creepy
i remember years ago syfy back when it was called scifi channel would put on late night anime films/series
so glad i'm only just now finding out about this because of compact mode
syfy has what?
i mean watching someone get dressed is
I love that they got sued for that
Can you be my dad cause like I need life tips man I don't have a father.
It's so weird
worse avatars
I have a strong distaste against the more explicit ones
but i found none's use of the phrase "daddy" urrrrrrrrg on more than one occasion
well it's a strange one
yooo Dadless gang?
@gentle moss it's interesting if you think about "baby" in that context
again with the chloroformed child emoji
@plucky ridge who got sued?
Daddy @gentle mosss beard is so cute. ๐ ๐ ๐ฅบ
Sci-fi was forced to change their name to SyFy
Daddy @gentle mosss beawd is so cute. ๐ ๐ ๐ฅบ
@rough sapphire And you've already been told not to do that shit here
huh, the bot pings. Does that bot have perms for @ everyone?
I'm too comfortable here...
Know your audience
not having any decorum is not "comfortable"
whoops
huh, the bot pings. Does that bot have perms for @ everyone?
@graceful basin only one way to find out, mate
I wished this chat wasn't so serious.
@rough sapphire Well I think I can give you a tip for free on this one. Having your internet visual representation of yourself as an underaged girl getting dressed is unlikely to win you any points when talking to girls. It's pretty damn creepy

@plucky ridge How do you know if she's underage
i will never understand loli weebs
School girl
And?
Seriously
Do you really think it matters age wise?
Lol fine idk what else to put on then.
Give me profile pictures...
@rough sapphire i'm not good with weeb terms. loli is school girl stuff?
i think loli just means underage
No
It's just an underage girl.
bbc did a documentary on that, it's a pretty widespread culture problem in japan
and creepy
AFAIK, the term comes from the book lolita
Loli - Underage girl
Shota - Underage boy
@rough sapphire you should educate yourself a bit
Iroh.
Yes, and the terms are frequently used in erotic material.
So the association is always going to lend itself to that
I'm not even interested into anime I just find female characters well, beautiful.
It denotes a genre of manga and anime in which young female characters are shown in a sexual way. The word is a reference to Vladimir Nabokov's book, Lolita. In the book, a middle-aged man sexually desires a 12-year-old girl.
Yikes
Not a good thing to associate with
yeah, it very much means sexual stuff
Pedophile's diary or something...
this topic is going nowhere good, can we change it?
Use PyQt5.
@rough sapphire Not helpful
What do you mean.
I have the GUI working fine, I just need to figure out how to add a repeating check
Oh
Like a timeout function?
Eat the check. Burp. Repeating check.
So i'd assume there's no running loop of some sort here
No, more like.... So the program is for picking a database from a list of 5. But if you change the database outside of the program I wrote, it doesn't reflect that change
far cry 3 is excellent
My first thought was just to add a Refresh button
oh we already found a new thing
But eh
Can I create Electron-like looking UI with C?
you can do a timeout thing like in js i think
the Tk.after thing I sent did not work?
ah yep root.after
I need it to be on the regular, not just once
yeah that's what i was thinking of
you call it again at the end hemlock
like requestAnimationFrame
the SO response just did
def fun():
# code
root.after(3000, fun)
Ah okay, that was my worry
it is pretty common to do things this way
does python have a nice semi built-in way to do that kind of thing
that is not a concern here though. The function ends after the root.after call
If you write with double the curliness, does that make a script recursive?
AH, right, since it's just adding it to the queue
mobius or something
Okay, I'm with you now
i kinda want to learn async python but it's just so damn ugly
Hmmm....
I'm returning with a meme.
I know I'm not funny, nor.shitposting is a great idea...
Kinda funny, dragged it into my memes folder.
As a comedic device, it needs some work.
Seems to me to be just wholesome
Oh yeahhh
I'll just have it recheck when they click back into the program
I enjoy programming excitement. I feel productive and clever and validated.
My scripts make no sense.
Readability counts.
I doubt you'll understand anything in them really.
It's out of context and so random. Something out of this goddamn world.
Is that a challenge
@rough sapphire Have you tried using with?
with me you are going nowhere.
A context manager that I wrote a while back came back to haunt me
with Match(foo) as case:
case(21) >> print(f"Caught {case.result}")
case(42) >> print(f"Caught {case.result}")
that is quite interesting
looks like a wrapper for regex?
I would wager it is a switch
What is a context manager... Someone educate me.
!with
The with keyword triggers a context manager. Context managers automatically set up and take down data connections, or any other kind of object that implements the magic methods __enter__ and __exit__.
with open("test.txt", "r") as file:
do_things(file)
The above code automatically closes file when the with block exits, so you never have to manually do a file.close(). Most connection types, including file readers and database connections, support this.
For more information, read the official docs, watch Corey Schafer's context manager video, or see PEP 343.
Either a switch/case or pattern matching
Is... is that a switch case?
My god
That's brilliant
How efficient did it end up being?
I haven't tested it actually
I'd certainly be curious
I guess the two main competitors would be a dictionary or an if/else chain
with Match(10) as case:
case(11) >> print('a')
case(10) >> print('b')
``` how do you skip the first while still evaluating the second
Can I do this?
def SomethingExpensive00():
pass
with SomethingExpensive00() as se00:
pass
@graceful basin That's the thing about it, I haven't found a way to do that yet lol
if the object is set up as a context manager
ah
At this point, it's more of a glorified if/elif/else
You'd have to base it on a hashmap if you wanted it to be performant, I think
But in fairness, I might just be talking out of my ass
@topaz aurora Editing forbidden.py, Hmm...
I think I did override print too before so it's somewhat lazy
you could make a string-only switch work like
class _(Switch('name')):
def name(): print('name')
def other(): print('other')
Is it possible to use a dictionary?
you can put functions in variables so i'd assume it'd work
It does
Does looking up a dictionary actually O(1)?
yes-ish
It's the best case scenario
or depending on the hash function used?
linear pileup can happen
And more often than not the average one as well
Does calling a variable that is tied up to a function will call the function?
But the worst you end up hitting is O(n)
def fun():
print('a')
foo = fun
foo()
``` would print a
^
what if using numbers or Strings as keys?
doesn't matter what the keys are
I guess yes...
the hashing function decides everything
Just has to be immutable
Although that can be overridden as well, but that gets..... messy if you do
well, the things that compute the hash have to be immutable
Right right
class Person:
_max_id = 0
def __init__(self, name):
self._id = self._max_id
self._max_id += 1
self.name = name
def __hash__(self):
return hash(self._id)
def __eq__(self, other):
return isinstance(other, type(self)) and self._id == other._id
``` would work even if person.name got reassigned
as well, a person can change its name and still be the identical person
How to live with just a water boiler?
I am a happy Hemlock
https://paste.pythondiscord.com/iwijihehuz.py A little messy, but I'm quite pleased with it
Sir are you stuck out in the forest right now
Looks very neat
I would at least use a custom exception
how would a default case go
Still have to add that since I wrote it off my memory
a default case would just directly raise the exception, no?
is case("foo") calling __call__ here?
yes
a default case would just directly raise the exception, no?
Not quite sure what you mean
are there default functions for other operators as well?
@topaz aurora awesome piece of code.
like without what else
@high verge I only have a fridge and water boiler for the next few days
I was fearing a longer period, but land lord just confirmed they're replacing my oven asap
Oh an electric one?
yeah soups, soups, ramen, boiled stuff
Boiled salads.
But I am an intellectual, I need proper foods
Shabu shabu.
Isnt that drugs
Depends. How much are you feeding to the cow?
three miles
Organizations hope to make youth see importance of getting prime parking spaces or a new desk lamp.
๐ฑ
"Our #2's will shock you!"
"Exaggerate your contributions to successful projects!
- Tony Hawk
@plucky ridge If people's #2s are shocking people, I'd suggest unplugging the toilet from the electricity outlet.
I dont want it to be late yet
and maybe calling a technician
"So I said, "Rectum? Damn near killed 'em!""
You guys plug your toilets? I thought solar power was the standard now
There'd be the occasional geothermal.
Because I'll be damned if nobody has ever got it into their heads while looking at a volcano, "Hmmm...what if?"
Wait, which what if are you talking about
I can think of multiple what ifs ive had with a vulcano
Volcano toilet.
oh.
People use hot springs.
Ye i was more thinking about what would happen if i sacreficed a whole flock of penguins into one
I mean to bathe in, of course. Though people being people...
Do they spawn coins that will eventually give you a +1 life
You have to jump in to reveal the secret room
There are loading screens in skyrim?
yep
I mean you can
No no no
that's where they get you
You dont understand
I could power up gta5 when i wake up
Brush my teeth, shower, eat breakfast, drink coffee, get dressed
go to work for 8 hours, come home, cook dinner, eat said dinner, relax for 30 min, just in time for gta to finish loading
Right. But you can get an external SSD and load the game onto there
I ahve the game on an SSD
no, it's not hardware
Then there is no god
its rockstar being shit
A damn fast one as well
same here - I have it on an m.2, and timed it at 11 minutes to get into a game
11 fucking minutes
You could finish the entire gta sa before gta5 finishes loading
I honestly think rockstars way of loading you into online is some dude in a data centre pressing ok as new connections pop up
I thought the m.2's were just a form factor difference
they're a bit faster I think
lmao
but I don't actually know
even that would probably be much faster
I can imagine a dude with like 6 screens just routing gta5 connections
With a trackpad
Probably one of those keyboard rolling pin mouses
Oh god the nubs
With a trackpad
Oh the horror
That's not very nice Hem
and its those rough ones with very low mouse sensitivity
Noobs have feelings too
I'm assuming that's multiplayer good behavior
Probably, still find it funny that i get it just as im robbing a guy
hahaha
I cheated and paid some Russian dude 5ยฃ to give me 2b$
I'd prefer not to - but when you're low level it takes so long to get enough money for anything, that your only good option is shark cards or that
Can't you pay Rockstar for that instead?
I dunno - by buying shark cards i'd be encouraging R* to push them harder in the future
the best world would be the one where it's easy to jump into the game. Not the world where if you started playing 2 years later, you have to grind for hours on end to get up to scratch
So... EVE
I started playing with friends who already had 100hours up on me
so I just ended up being miles behind in terms of usefulness
I get really salty about being at a strict disadvantage in game
So i bought the businesses, ceo office, wharehouse etc to make more money
I thought the GTA multiplayer was just about messing around
More sandbox than competition
I don't mind dying because I'm bad - I get annoyed if I die because someone has objectively better stuff than me
Is there actual endgame in gta5?
I can't count the amount of people I've sniped off an oppressor MK2 with my shitty sniper
mk2s can just get in the bin - I own one and refuse to ever use it
I will buy one, but not for multiplayer purposes. Just to make grinding a tad bit faster & seemless
but tbh might buy the mk 1, cus it looks cooler
hi
hello
Am I the only one who can't copy message link anymore?
Safari
Clicking on "copy message link" does nothing
Works fine on the desktop client
I think it started when they changed the interface, like, when you can see markdown effect while typing
works fine with Chrome, so it must be Safari specific
Funky
They're usually touchy with the clipboard
I think Safari. Most of the time "copy to clipboard" does not work, but websites provides an alternative to copy it, (by displaying it most of the time). Here it's really annoying since it's the only way to get the message id afaik
Is this just on right click or when you hit the little three dot context menu on the side of the message
I have no idea if that made sense
Hmm
They must have changed something, will fill a bug report
Probably for the best.
Not sure what's the best way to do so, on their site they propose several ways
Found it, I litteraly just had to read the bottom of the page ๐
Yeah their navigation could use some TLC
Can somebody help me
I don't know anything about PhotoShop
sad
what right part of the image
wouldn't the magic wand work? just set the tolerance a bit low
@plucky ridge In case you're interested
Currently, we are not accepting Desktop Bugs. This means that any Desktop Roles are currently not available, including Windows, Mac, Linux and Canary.
That's the dumbest fucking thing I've ever heard
from bug report discord server :/ Guess I'll have to wait
Unless it's critical the bug will be not reviewed. I guess because of the pandemic all teams are overburdened
Sure but you think it'd at least get added to a queue or something
I like that on discord site it's written:
The absolute best way to report a bug and make sure itโs seen is by joining the Bug Hunters over at the official Discord Testers server
just to be told they don't accept bug reports
yo @plucky ridge
finished more of my box
speaker panel done \o/
now i just have to get a speaker, microphone and a whole raspberry pi in it
then rebuild the AIY voice kit stuff from source, since there's not a modern build
given my current mood i might just turn it into a box that toggles between a set of infinite screams
sleepy time o/
why is r/ireland 50% related to britain
right but the whole point is like
'woo we're not britain'
and then it's all 'haha look, britain'
yes i understand that but i assume r/ireland is for ROI given it's more nationalistic than you'd expect a sub with multiple nationalities to be
IDK, I'd expect r/marijuanaenthusiasts to talk more about marijuana and less about trees, but you know how it is, r/trees was taken by marijuana enthusiasts
so you go to r/marijuanaenthusiasts to talk about trees and r/trees to talk about marijuana
These related images are neat
Never knew that oblong as a term existed.
I like this one for the UK explanation https://cdn.discordapp.com/attachments/356800315116486658/610774777392660480/H1xcWwDqayrvL0A9RbtzsOZVZl_etvsVvL8Qcq3hc0A.png
South Sandwich Islands.
Sandwich me.
it is i
the frenchiest fry
and i have. another project that is probably way too large in scope but i want to try anyway.
yay.
why do i keep doing this
Yikes
every project i want to make is so. so big.
@bold pollen what kind of project is it?
said this in general already but
it's a translator
Of?
a conlang i'm also making
a lot of research has lead me to believe that big tech corps with virtually unlimited resources can't even do it 100% perfectly, so for me its borderline impossible
nevertheless i am stubborn
It can be an excercise in self-development.
i've gotten suggestions to make a dictionary as a start but i'm not even sure how to go about that
do i make the dictionary out of already translated words, or just the romanization itself?
and if i did make it out of the romanization, how do i represent colors and beeps? the thing the language is actually made of.
Make a dictionary.
that doesn't answer the question but ok
That would be the point
yes RGB
uHHHHHHHH
what
it's possible with conlangs that humans are actually able to speak
oh...
mine is just too weird
and i'm nowhere closer to figuring out what to actually make my dictionary out of :/
or if making a dictionary even matters
or if this really is possible for me
doesnt have to be plausibe just possible
nltk was another suggestion but it's really not built for conlangs
i'm basically reinventing the wheel here
Machine learning
thats a completely different massive can of worms
but the two can of worms can breed
so it seems like dictionaries can't represent colors or sounds. just strings.
so that suggestion is out the window entirely :/
tuples
you can't represent sounds
colors, maybe. not sounds.
the more i research the more it's telling me that i can't do it :<
You could encode sounds in a specific format though
thats not exactly what i mean
in a dictionary or tuple or whatever, how do you represent a sound through text?
there's no hex code equivalent for sounds as far as i'm aware.
it just doesn't work that way
Depends on which types of sounds though
sounds, digitally at least, are just a collection of bit streams. look into how wav/mp3/etc files are encoded. could be easily stored in a dictionary.
^
interesting
I want to be able to generate a tone with a certain frequency
and that's another thing python doesn't seem to be capable of doing
that's just math, with sin/cos. python can handle that.
oh god math
that's not even a python difficulty anymore. that's a me difficulty :')
half of this is "python can't do that" and the other half is "I can't do that"
technically its all "i cant do that"
hehe. welcome to the world of solving problems/puzzles. ๐
this uses numpy, which is likely just for speed, but it at least has the math for you. (to understand the math, Kahn Academy has pretty good video).
https://www.youtube.com/watch?v=cRZIQDEQNuc
This is the first tutorial of the series and this tutorial shows that how you can generate a sine wave in python.
so i have a question, in lists such as in list.sort(), does python use quick sort algorithm or just merge and insert?
TimSort, iirc.
sinusoidal wave equation (took me a second to find the right one)
https://www.khanacademy.org/science/physics/mechanical-waves-and-sound/mechanical-waves/v/wave-equation
I'm just worried that maybe I'm going too ambitious again
last time I was doing python stuff I was making a discord bot. turned out to be too much and abandoned it.
its tough to balance. projects should be challenging so that they remain engaging. but, yeah, if they're too challenging, it becomes to frustrating and often ends in quitting.
maybe break it into smaller goals. start with the knowledge that you'll add something later, learn to design in modularity, but table some of the more challenging parts to later.
so i try to go for all types of projects , and the code is sloppy as it gets , then i start learning the part more carefully, then start to write a more decent code. Do you consider this a more efficient approach in python?
i know individuals that subscribe to the "get it working, then make it 'proper'". if that approach works for you, i don't think there's anything wrong with it.
i mean, prototypes are just that. i've yet to write any code that wasn't later changed, i don't think. ๐
i mean, prototypes are just that. i've yet to write any code that wasn't later changed, i don't think. ๐
at least with the discord bot there are places to start
with this translator there isn't anywhere to start, partly due to the language itself
@bold pollen by "sound" do you mean "phoneme"? Or just any arbitrary sound?
even trying to approach it in small steps turns into downward spirals
its not really phonemes. the language is too alien for those.
Then breakdown those stepa
And then breakdown those steps
And break down those steps
Till one step turned into a 1k page of steps broken down to their atomic structure
And then break that down
I subscribe to that, sommersoft
I am too inpatient to just plan ahead for most scripts
how do you even begin to define grammar through code
it should not be this impossibly hard to assign a color and sound to each character but here I am, struggling with it
I'm just so lost with every single aspect
it might as well be magic
such beauty
Oh, wth
I see something faint in my side vision
Try to grab it assuming it's dust, or a hair or something hanging off my lashes..
NOPE, a tiny spider
How to apply flamethrower to face?
๐
oh shit is that a spider on its face
no just a sweatdrop
You guys heard of flat earth discord servers?
there were some cobwebs in my apartment
I removed them but thinking later on, given that they were completely empty and I hadn't ever seen any spiders anywhere, they must have been effective
so basically the spiders were removing living things from my apartment that were finding their way into those places
they were acting as nature's own pest control
o wow
You should feed them
spiders?
Ye
Also
they were doing perfectly well on their own
Make them pay rent
๐ค
You could do surgery on their brain
And
nvm
some macabre humor...
ah yes, summer solstice
where everyone gets drunk and makes huge bonfires
can't wait
I'll be at my parents' place
parents are in south estonia
the weather should be good there too
:+1: hopefully
i think the norwegians do midsommaren too. it's the same thing
lel
did you go see that?
nah, i wish.
that seems hard to jump over
hmm get kinda homesick looking at those pics :<
well
when life gives you covid, punch it in the face.
this disease should just blow over.
Great advice
the punching covid in the face part?
I agree.
Yes
jesus how are those people up there
for the record I don't have personally COVID but even if I did, I'd just punch it.
@high verge they probably climbed
the norwegians are mountain people.
literal sentient mountains
those damn Norwegians
if you look closely, they look like lemon, half of them.
pallets are designed for stacking
like climbing a mountain made of chocolate
throw in a few ratchet straps and that thing would be pretty solid
they did probably some serious math before they built that thing
they didn't just start stacking random shit and see if it falls over
it's burned and fallen over into the harbour before and set fire to ships
iirc
๐
...
serious maths
maybe my knowledge of pallet stacking has been adversely affected by video game crates
i remember i spent like my first week of having Arma 3 playing with a forklift mod
an EPAL pallet is rated for 1.5 tonnes
What can I do in C that I can't do in Python, throw me something.
anything with a fast inner loop basically
so i'd say something like graphics processing, but some admirable bastion of humanity would inform me that you can do that in python
except they mean 'use a c binding'
and bindings for things in general is a good one
also writing shaders, microcontroller programming (normally)
Can I like make API calls with C or whatever they're called to request information about the OS and stuff like that, networking is what I'm interested...
yes
python is a layer on C, so anything python can do, C can do
well as in all python things have at some point originated from C functionality
what specifically are you looking to do
I can't seem to like get information about my network, open ports, anything local network related, and there we're some things I wanted to get a long time ago but forgot what they we're and I couldn't do it with Python...
Maybe even create something like Wireshark?
well you may have to resort to os-specific command line calls
wireshark has a scripting langauge i believe
but if you want to make wireshark 2 electric boogaloo then i think there's a python library to basically be wireshark
i.e. monitor packets etc
i did a very bad job of trying to do this a while ago
I want to create a simple program that just gets info about your OS, hardware and something about your network.
@rough sapphire C will let you write inline assembler
that's impossible with python
What is an inline assembler.
assembly I guess the language
you could probably do that in powershell, resorting to C seems like overkill
unless you're thinking like a network probe type thing
I mean, I just learned the bare basics of C and I kinda want to learn it further so I can like have atleast some experience and move on to Assembly so I can create an os.
@rough sapphire assembly is the lowest possible level you can program in. it's made of commands like MOV etc. which do something very simple like "move one number from one memory slot to the computer to process by the CPU in a register"
Yeah
your original Q was: what can I do in C that I absolutely can't do in python
that's an answer.
C is a lower-level language yeah but I was wondering how big of a difference it is and it seems like a big one...
it's a big one.
Yikes, I hope I'm not gonna break down from using C...
the problem with C is that it's rather treacherous
C in its self is a small language aswell...
things are never as simple as they seem
This
Quite a few of the functions you'd use on python natively you'd have to create your self
Yeah
I would personally ignore C completely and try to use C++
think of C++ as a completely separate language from C.
Lol no thank you, I already set my goal.
Maybe when I create the damn os.
C++ will let you do all the same things.
but with much less pain.
What's the point, I can learn C and then C++...
I snipe 2 languages.
well
that will make you a bad C++ programmer :<
^
Fuck
C++ is not just "a better C"
though it looks a lot like that
It's bad when someone who knows what he's talking about points out to somethint...
You're gonna get used to the C way of doing things and you'll try to use them in C++
Which is a bad idea
I didn't say I was going to learn C++ I think I could live with Python and C.
C++ is what you want.
I'll ditch Assembly just like I did with Lua lolol.
I'm too deep into the C rabbit hole to properly learn C++ lol
modern C++ resembles python more.
but it still requires you to know low-level stuff and lets you have all the power of C.
like poseidon?
But it isn't as low as C...
?
@rough sapphire well it is but they try to ignore that because the low-levelness is what usually causes trouble
so in that sense, no
I know, that's the point I want the lowest possible language.
then assembly
no other choice
no C, just ASM
So I can create a basic os that has cool terminal concepts and shit.
I wrote a bootloader for an operating system once I think from some wiki tutorial
I think it booted in some virtual machine too
that was pure ASM
Was it hard?
it was following a tutorial
8 months Python, 1 day C.
0 seconds Assembly.
๐ ๐
Uh
the hardest part about that was compiling it with the correct tools etc
Is it gonna teach me how to build a simple os.
Or just the bootloader.
?
well you're gonna have to be pretty self-reliant here. that wiki is a pretty darn good resource
Can I just write an os that like prints out some crap, you input some text into it (It won't have any other input device support than keyboards) and it just works with the file system and stuff...?
Like nothing fancy, no internet, no UI, it's just a terminal.
That shouldn't be too hard?
would take a while
idk maybe a few months depending on what level it operates at
if you do it from scratch, and without uefi
but it seems like you don't get the experience of doing bootloader stuff on uefi
What is a UEFI?
afaik it basically does the job of some bootloader-ing for you
Oh
but you can do a basic bootloader in like a day if you follow a tutorial, i just think you're underestimating the difficulty of making something that can use a filesystem etc
Maybe I shouldn't even do it at all, atlesst for now not.
I don't even know how to properly use classes in Python.
Idk, I heard there was some kit for C++.
@rough sapphire I think it's doable if you follow tutorials
but you have to be smart about doing it.
I wished I was as smart as Joe or something.
lark is fun

