#ot1-perplexing-regexing
1 messages ยท Page 395 of 1
oof
just flip the phone upside down for the last digit
Iโve just entered 848848 to log in to discord ๐
I've had 111111 before
did the sql regexp question get answered?
it won't be a python-raw string so it's \\* or if using spencer library [.asterisk.]
xx and bisk confirmed for h a c k e r s
It seems wike de
.uwu <wink>featuwe isn't wowking pwopewwy, am I doing sumfing wwong?
@solid pollen
Did it ever support channels?
.help uwu
.uwu <text>
Can also use: uwuwize, uwuify
*Converts a given text into it's uwu equivalent.
Also accepts a valid discord Message ID or link.*
^ or link
Aha
@errant wyvern I've been in here for quite a while
the one with purple background?
i cant see the names
kinda crap lol
i thought it would be async
event listeners
didn't write it in assembly
disappointed
๐ค
nice one anyways atie
how I am going to write a python game in assembly lol
also thx
also async await wasn't necessary
Sadly I can't use ohtnk
there are very few assemblers in here
I would imagine
I mean thats the last place you'd expect them to see probably
there is already a decent gap between high level python and less high level C
but between python and assembly
Yeah
python is fascinating though
Yes
It's surprisingly hard
It might seem simple at the beginning
But when you get into decorators, meta-classes, list & dict comprehensions and that things it becomes hard
I think the biggest obstacle people have is themselves.
Yes lol
yeah we all knew nothing about programming at some point
so we can all understand its not easy to get started
You can write relatively complex applications in Python without diving into the deeper parts of the data model, though
Also python is different from other languages
People make things harder than they have to be.
A lot of people don't bother learning about things like descriptors until they're more than year in
Also yesterday I discovered the existence of -> in python
or
function or class parameters?
I've not seen ->
Vscode for the heavy things
isnt that for specifying the type
Vim when I'm using the terminal
probably my favorite feature of python is async, pretty sure no other languages provide such a functionality
It's for function annocations
when you can achieve concurrency without importing threading
The -> is used to annotate the return value
def function() -> str:
return "some string"
Oh
quite a few languages have async
Seems useful
Yeah it's super common
@graceful basin do they have syntax change too
yes
Thanks @oak tangle for the explanation, yesterday I was struggling with the answers on stackoverflow
JS, kotlin I think too. Pony
Even JavaScript has async/await
go has its own neat concurrency system
Kotlin has coroutines but they are threaded by default
javascript needs async more than any other languages
isnt its sole purpose event listeners for front-end
JavaScript has always been asynchronous
understandably
in Haskell it is a switch when compiling and it generally just works without any syntax or code change
what about nodejs
Damn
Obscure python
why do i get a feeling more back-ends are written in python than in nodejs
def something(m: "in meters", c: "in cm") -> int:
return m * c```
yeah colons is what i was mistaking it for
something("hey",2)
#'heyhey'
so what does int do
That arrow is an annotation
It means the return value
But it's an annotation
So if you specify int and you return str nothing bad will happen
What looks at the annotation? Why have it at all?
when you work with large code base that would be useful
>>> def lol() -> int:
... return "yes"
>>> lol.__annotations__
{"return": <class "int">} ```
@rough sapphire @soft violet I made a typo, sorry, my bad
no forgiveness for you
As you see, it's an annotation, literally
what a crime you've committed
Annotations are partly for documenting code, ensuring that the information you need to understand the function is right there at the top
Also sorry for the wrong indentation, I'm using my phone
!e
def lol() -> int:
return "yes"
print(dir(lol))
You are not allowed to use that command here. Please use the #bot-commands channel instead.
oof
sassy bot
You can actually also use the annotations in your code and there are static type checkers, like mypy
Most editors/IDEs also use type annotations to give you better information/hints about your code
PyCharm makes heavy use of them
Uh huh.
not really
The first Lang is c and the second is py
the first example is probably from a statically typed language where you have to return an int
In Python, there's no enforcement
@errant wyvern looks nifty tho
So it looks to see if you might be doing something stupid and goes "Oi. Stupid head. Check out this bit here. Something looks iffy."?
i like that
unless you use mypy or comethings like Contracts
i actually wanted to ask
def alter(a):
#alter a
b = 2
alter(b)
when will b be indeed altered
when the object type is mutable?
if I'd like to change the value of b from within the function
i know how to do that in C with pointers easily
the data has to be passed by reference
yeah reference
how do you do that in py
that is not really possible. You could take the argument in a list or sth
well everything happens by reference in python
yeah if i pass in a list and then append to it inside it modifies it
outside the functions scope
cause its mutable object
i think
but you cannot move names that do not belong to you around
@rough sapphire if you do something like a = 1 inside the alter function, you're creating a new reference
why not return the new value
I think... lemme try
yeah
I've been using C more lately
its kind of surprising the task is easier in C, when all you need to do to alter the actual variable inside the function is use pointer as a function parameter
@rough sapphire C has primitive data types
it works with memory. python doesn't.
raku can do it in order to allow custom assignment operators, but python does not, as it not all that useful and easy to screw up
sub swap($a is rw, $b is rw) {
$b, $a = $a, $b;
}
is this topic name a tv show reference
so when you do int x; in C, you get what you asked for, the amount of memory one integer takes on the stack
whereas in python int is more complex
if you do x = 5 in python, you get all kinds of non-sense that are related to the python object-model. the thing will take huge amounts of memory compared to the int.
yeah i get that
just did dir(int)
a = 2
a.newfunc = lambda x: x+2
why cant i do that though
cause the integer type is immutable?
even better
x = int("5", 10)
never thought about it
decimal representation?
something like that probably yeah
@rough sapphire interpreter prevents
because not all builtins can get their fields assigned
i presume
for example, functions can
int("5", 10)
"5" -> the string we wanna convert to int
10 -> representation (base 10)
def a():
...
a.name = value
x = int("F", 16)
x = 15
I would guess the reason why you cannot do this to an int is that they are defined in C code and do not use the typical backing dict some objects have
disappointed
wanted to create some extra properties
for my advanced integer
you can sub-class it
class theINT(int):
subclassing from int
would the use case be some discrete mathematics
it's whatever you want it to be
class int(int):
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
b = int()
b.newfunc = lambda x: x+2
well that works
๐
I wouldn't override the int with the classname int
that seems veeery confusing
yeah me neither was just testing
!code
Discord has support for Markdown, which allows you to post code with full syntax highlighting. Please use these whenever you paste code, as this helps improve the legibility and makes it easier for us to help you.
To do this, use the following method:
```python
print('Hello world!')
```
Note:
โข These are backticks, not quotes. Backticks can usually be found on the tilde key.
โข You can also use py as the language instead of python
โข The language must be on the first line next to the backticks with no space between them
This will result in the following:
print('Hello world!')
really
you can replace python with py
anyone knows online game but still its open world
not just hack and slash
but open world should be like GTA, and Fallout , not playing from top
and Fallout 3 is very nice. I didnt expect it to have Aliens and Spaceship
just completed its so big
Good open world games? Breath of the wild, final fantasy 15, far cry 4/5..
Even FC3 is very good. Online games are much harder to find - but you listed one, GTA
Yeah FC3 was good but I hated the main character
i liked Pwn Adventure 3 which is online, so i thought maybe there were games similar to that
however its server is buggy and jammed
Runescape
ok
In fairness Runescape is pretty good
Oh yeah, RuneScape can run on a potato
Sea of Thieves can probably run on a potato
It's pretty grindy but that could be a plus
That was always the appeal
potato is like Steam?
Potato as in a slow computer yeah
Although in fairness, that'd be a fun platform name
ok
fyi - given your penchant for piracy - practically no game allows you online without a legal copy
Yar
dont bring the piracy stuff plz
I just wanted an excuse to say yar
Yarr
I like how Skullgirls did their DRM
The game played fine but people that pirated got a special error message occasionally
That's the cartoony fighter right?
Yeah
So the people that pirated ended up going to Twitter to get support on their error
Developer told them to just buy the game haha
GameDev Tycoon did something similar. Midway through the game you'd have people pirating the games you make to the point where you couldn't make enough money to keep the business going
They did something with Spyro 3 as well but it was much funnier
Random aside about that. If you bought game dev tycoon from their site, you could literally just send the exe to someone else and it would work without that piracy thing
so
it was pretty ineffective at stopping piracy
In Spyro 3 the game would start out normally
But the further through it you got, the weirder it behaved
Like you'd go into a level portal and end up somewhere completely different
Or it'd remove a single gem from a stage so you couldn't complete it
Eventually you got to the final boss
@undone berry You're correct, but the funny thing is that the devs distributed the pirate version themselves to try and make a point
oh
And then the game stopped, deleted your save, and took you back to the first area
I don't think they expected it to really do anything
level changing
i never faced something like that
Like you'd go into a level portal and end up somewhere completely different
@sand goblet
Chrono Trigger has a good one
This was a deliberate thing they did in Spyro 3 for pirates
Yeah, I guess. Random aside to the random aside. The devs (greenheart games) were working on some game where you ran a tavern/inn for adventurers that looked really damn fun
Also Zoe would tell you you were playing a pirated game
how does someone knows the game is pirated or not
At any point when you'd go through a time portal to visit a different period, the game would check to see if it was running on a legit copy. And would get you stuck in that cool visual effect.
do pirated have changed .exe
There's a lot of different ways they can do it
Maaaaaaaaaaan, that bums me out. I'm anxious to see it when its done
In this case we're talking PS1 where people were playing with modchips and storage devices
oh PSI
Meaning the games loaded faster than they were supposed to
That's one way they checked
Okay
so having high processing speed can pirate u
That totally makes sense why the PS2 had the normal and fast read options for PS1 games
I never thought about that
๐
The Cutting Room Floor has a bunch of articles on it, too
Swap Tricks, Hardware Mods, libCrypt, Cracking Groups, Spyro the Dragon 3 - Its all here. We go into detail about the mod-chip and piracy scene for the Sony PlayStation and how security on the system was defeated.
โบ Consider supporting me - https://www.patreon.com/ModernVint...
Of course
I did not
Okay so
I'm familiar with them, though
Okay good
They were excellent
We never expected a sequel but they actually did it haha
This is the era of sequels right now
Ah that's right
It had some really annoying music in parts but
which platform is Pokemon intended for? the classical one as shown in this video https://www.youtube.com/watch?v=bxzrtU7VtPU
ok
Also had borders and a color scheme that worked on a Super GameBoy
Always thought that was cool
Oh yeah, that also worked on the Pokemon stadium Gameboy player
Yep yep
did u ever played in Gameboy
Yes, we owned Gameboys
Yep, we had a couple original ones
Still have one around here somewhere
i never saw one
I mean they were my brother's but I still played them a LOT
Helped on long car trips
Mom and I had one
I had Pokemon blue, she had red
We managed to completely finish red
Your mom is the superior gamer
not what traditionally follows "your mom..."
iirc there was a group
which we had to fight
in Pokemon
i played in Java Nokia Traditional
Neat
I guess I forgot they were powerful enough for stuff like that
OH, fun fact about the Super GameBoy
The Super Nintendo wasn't powerful enough to properly emulate a GameBoy's hardware. So the Super GameBoy cart was literally all the hardware from the GameBoy stuffed into a SNES cart. Minus the screen, buttons, speaker, etc.
But I just find that wild
the guy with pink hair and just pants?
fighting pigs?
i loved that game a lot but never finished
there is a really entertaining speedrun of it on AGDQ
So.. I broke IntelliJ by cancelling the load of a project on startup haha
I had to reboot to make it launch again, and invalidate the cache to get all the linting back
I think it even compiled faulty code
@autumn herald Do you mean the incredibly awkward one where the dude invited himself to the couch and made most of the people on it uncomfortable?
I mean I like some cringe stuff but that... yeah no
i feel for the guy, he was just overly enthousiast but yeah
it was the guy's birthday I think
I loved the setting and music it was unique
and they let him sit on the couch for it
imagine being the guy that said yes
Ooo, I think I found my new insult. "He's such a pig bag."
haha
have you played Death Coming yet, hem?
I'm trying to check whether it's still free on epic, but
Haven't heard of it, no
it's a silly isometric pixel art game
I think probably a mobile port
where you play as Death's intern trying to reap as many souls as you can
it's pretty great
is it a Divinity: Original Sin type game?
nah its like Skyrim Dark souls ?
At least you have the error message in english
If I get a 500 on the EGS, the error will be in German... for some reason I guess
but I just like exploration in Games
Nope, I'm in france, without any VPN, at the complete other side
Weird
oh hey
new paper mario
oh my god it has actual origami
what
nice
I disliked the lasts ones since the 3DS episode
i hope this will be better
Maybe I am just old
yeah
watched diablo lord of dest. gameplay , its a classical RPG gameplay but i dont play that type of games in laptop, i used to play in my 0-9 numbered Nokia mobile , i like to play such games like that in mobile @rough sapphire
though it was good suggestion
oh boi epic down
i've been trying to get in
ya boi not allowed
i shall get my popcorn
Too many people trying to get Rockstar's crime simulator
Is GTA V free on EPic Store?

the website
and launcher
i think
they managed to keep up at least 30 minutes
before it blew on reddit
@tame flint Whatcha testin'?
hey @plucky ridge, speak of the devil: https://arstechnica.com/information-technology/2020/05/chrome-will-soon-block-resource-draining-ads-heres-how-to-turn-it-on-now/
it's a good idea
haha
ugh, okay, why did that happen
33 down, 8.2 up
not my problem
fix yer shit, discord
cloud sucks conviction while nondescript remorses petulant solemn besides unsettles
Old man yells at cloud.
Server Video is out now to everyone on desktop, web, iOS, and soon on Android.
We wrote some feel-good words on how server video came to be (hint: you made it happen!): https://t.co/Ab30fb0rbp https://t.co/uisFrU9tDd
542
3973
hmm interesting
hey gdude , do you think implementing "ULTRA NAMING CONVENTION" that beats the shit out of every naming convention ever
that will appliable every language ever
even the real languages
postit thing spotify history maryland national sport ice
uhhhhhhhhhh
i was using discord text box as a notepad
Server information
Created: 3 years, 4 months and 6 days ago
Voice region: us-east
Features: BANNER, PUBLIC, ANIMATED_ICON, PARTNERED, NEWS, VANITY_URL, DISCOVERABLE, VIP_REGIONS, WELCOME_SCREEN_ENABLED, INVITE_SPLASH
Counts
Members: 47,232
Roles: 54
Category channels: 17
News channels: 2
Text channels: 101
Voice channels: 6
Members
6,529
3,736
2,723
34,244
3 years, 4 months, and 6 days ago
yeah @bleak lintel I don't think we've celebrated any of the birthdays, really.
yeah neither
Thereโs always a time to start
put a party hat on the snakes in the logo
we probably should.
ok, already for a while
happy 3 year 4 month 6 day birthday!!!
hahaha
fwiw this is one of the better run programming servers on discord
Yeah itโs pretty good
it's more or less a second job to run
Itโs not as toxic as I thought it was gonna be
@tardy wind what other ones have you looked at?
ya my server has 500 and i spend way to much time doing that, nearly 50k is a stupid amount
that's one of the things we spend the most time working on @tight meadow
toxicity erodes a community
Yeah, Iโve been doing a lot of c++ lately and I find most communities are super toxic
for the record, if you guys witness toxicity in here, ping a moderator and we will annihilate that person.
I was a bit surprised when I found a Python discord server but no Machine Learning/Artificial Intelligence discord
the other goods ones imo are the C# server, java together is pretty good, the functional programming server is also really good
and the coding den is decent
active mods
but those first three are really good
i had someone argue with me that you should keep your database connection open permanently
i noped out after that
the elixir channels are just talking about favourite fruits and stuff and then other channels are "LEARN THE LANGUAGE BLAH BLAH"
this was pydis
sounds like they might have meant persistent connections?
And I thought I was bad at programming
no they were talking about having a single connection for every query for a mysql db
here's an AI one @golden girder https://discord.gg/CbVJYtz
i get onto the starboard all the time on dapi ๐
what's dapi?
being a lib dev is probably cheating tho
discord api
๐
unofficial discord dev server
weird, I didn't find that one in the public server browser, maybe that one isn't public? @terse sluice
joe is just a regular-ass guy with a big-ass community
ohh i was just looking at the role u have
I write stuff on Elixir discord wrapper now as well ๐
do you sleep?
I hate to sound uncultured, but what is a lib dev?
it's public; probably not big enough i guess @golden girder
developers of the discord api wrappers
Oh
yep
eg discord.net or pydiscord
i dunno, im not a super big python guy. just hobby stuff. i do c# usually
I wish I could do more python
then do more python
is there a decent PHP discord or is it like JS where the answer is not really?
Iโm making a game, python is not what Iโm looking for
I certainly don't think there'll be a better PHP one than what you've got for JS, @rough sapphire
is there really no JS server?
there's a few
Thereโs probably a node.js one
I heard good things about this one https://discord.com/invite/dAF4F28
11k damn
Should have been โJSpeakโ
theres two c# servers and neither has 11 lol
unfortunate that was a missed opportunity xD
Exactly what I was thinking
i'm surprised there doesn't seem to be one for PHP given the domain and popularity of the language
i guess the people that write c# and the people that frequent discord are not a huge overlap
SpeakJS is a far better name than JSpeak
it also follows the JS convention of naming things SomethingJS
like AngularJS
Still, it looked like a missed opportunity
but JSpeak is right there
Even if itโs bad
Maybe someone who is named jay

you dont know my man jay?
silent jay?
The owner could legally change their name to jay
wait
lol
yeah but it's jay and silent bob. I combined them into a single supercharacter
fooled me
Silent JayBob might be a good sequel...
and seemed an interesting alternative to Python for small-ish CLI apps
i accually watched that move quite recently like a week back
Silent JayBob, a movie in which kevin smith plays every character
eddie murphie klumps style
Imagine that paycheck
haha
16 USD?
at least 1$
hollywood accounting
ohh ya i remembered my original question, how long have yall been partnered
Could pay for half of a decent candy
cuz the c# server has been trying and weve been denied like 5 times
even tho we are listed on microsofts site -_-
and on the dotnet repository
when i was younger the corner shop sold toosie rolls for a penny and me and my cousin would buy hundreds untill they were sold out
bottom -____-
This is the reason I donโt use c#
so... who actually loves Mike Oldfield?
he's actually one of my favorite musicians (no joke)
we had to fight pretty hard to get the partnership too
we were rejected probably 3-4 times
we partnered up with r/python
and then we said "we're partnered with a subreddit with 250,000 users, now what?"
and they said fine
we are listed up with r/csharp
You sound like a criminal mastermind
and with /r/dotnet
that was pretty slick
maybe we should make it official
well, we made other compelling arguments, but I think that was the turning point in the conversation.
noted
we were probably a bit lucky, and it may have been a timing thing too
might be harder today
I donโt believe that luck helped you
I personally believe luck is an excuse to neglect your achievements
i mean to be fair this is THE discord for EVERYTHING python and like not python too just to hang out in so im sure it would haver happend eventually either way
i'm going to bed as i'm falling asleep at my keyboard. gn everyone, and enjoy your stay to everyone that's new
@shrewd wingn good night
lol
gn
yeah, nice to see all you new people
thanks so much for joining us
I appreciate you all
cool
discord expose flags like partner and staff etc. to bots now
pretty cool
discord.py doesn't have it yet I don't think
Who made the bots?
theyve been doing alot with bots recently
i think they know that discord bots are game changers
I'm just adding it to Elixir now https://github.com/Kraigie/nostrum/pull/166/files
@tight meadow anyone can make a bot on Discord
Integrate your service with Discord โ whether it's a bot or a game or whatever your wildest imagination can come up with.
I know, but who made your bots?
how complete is the Nostrum lib ive bene looking at it as a way to learn elixir better
uhhh

it's not very complete
Alchemy is the better one iirc
I'm trying to bring Nostrum up to scratch
@tight meadow community projects, https://github.com/python-discord/bot
Ok
Nostrum is missing a few things and it has it's caveats
hehe. beat me. here's the contibutors link: https://github.com/python-discord/bot/graphs/contributors
like is it usable is more of what im asking haha also ive never heard if Alchemy ill check it out if its a better option
attempting write CONTRIBUTING.md for my bot and yet here i am shitposting
sounds about right
oh it's certainly usable yeah, I've written a command handler on a bot just today which was pretty slick
dynamic command registering and everything
nice
how does python bot handle user secrets
like you have all the data on users there (this flags thing is coming soonโข๏ธ)
@tardy wind user secrets? like the token it uses to login?
we use environment variables which we keep in a private repository that only the devops team (4 of the staff members) can access
they have a file called .env where they keep stuff
I'm pretty proud of this application structure
iex(7)> Registry.select(Eggmotes.CommandRegistry, [{{:"$1", :_, :_}, [], [:"$1"]}])
["massban", "invited", "invitecounts", "ban", "invites", "ping"]
iex(8)> Registry.select(Eggmotes.EventRegistry, [{{:"$1", :_, :_}, [], [:"$1"]}])
["GUILD_MEMBER_REMOVE", "READY", "GUILD_MEMBER_ADD", "MESSAGE_CREATE"]
and then I have those two registries which map events/commands => modules/functions
at my company we store secrets on Keybase
what in the world lol thats awesome ive been really meaning to dive deep into elixir as of now ive only played with it in iex im like on the edge of "elixir curious" and just doing it haha i dont even know what id use it for i kind of just want to learn it
the selling point of Elixir/Erlang is the fault tolerance, concurrency and distributed nature shipped natively
so like in this bot I've been setting up when it wants to run a command it runs it in a DynamicSupervisor, no matter what goes on in that command if it crashes then nothing else happens
but there is other behaviour, you can say restart services, restart all services
it's very hard to crash elixir unintentionally
but yeah concurrency and message passing is super cool as well
for example
iex(2)> my_process = spawn fn ->
...(2)> receive do
...(2)> msg -> IO.puts "Received message: #{msg}"
...(2)> end
...(2)> end
#PID<0.117.0>
iex(3)> Process.alive? my_process
true
iex(4)> send my_process, "I'm sending you a message!"
Received message: I'm sending you a message!
"I'm sending you a message!"
iex(5)> Process.alive? my_process
false
so there I send a message to this process I've spawned and it receives it and then it closes
then you have all sorts of more complex things like GenServer and gen_stage etc. which build on this
you can send messages around to different processes like it was an operating system
which is it, it's a VM
Discord does the exact same thing on their Elixir backend
when you connect to Discord you spin up a process and connect to a Guild process
when that guild process receives a message it fans it out to all the listening users (they built https://github.com/discord/manifold for that or presences iirc)
Hi
yes
but it's true
late and gross
Hello
Im looking for guides for develop a car plate detector for my country registration.
The car plate has this regular expression:
AV-12-12.
Its from Portugal.
Any guide for me?
I already have done with tesseract and Open cv and no result.
I have followed this tutorial
Thanks
totally gross
wow
i was gonna go into a thing about how i hadn't cleaned my keyboard
but okay that's not important
Im quiet new to python
@agile quail https://github.com/Kraigie/nostrum/pull/166 and now we can say we had public flags before discord.py ๐
@rough sapphire check out #โ๏ฝhow-to-get-help, you're more likely to find an answer in a help channel!
you're not gonna find it here.
i'm busy loving mike oldfield.
have you listened to crises?!
it's excellent
@rough sapphire that's actually more of a computer vision problem rather than Python... Either way, what specific part isn't working?
(also, this might not be the right channel to ask that)
Dont recognise the pattern
@gentle moss Actually I don't think I've heard that one. I've recently relistened to Incantations though
Where i can ask?
Question, imagine we could time travel, right now. If we go back in time, millions of years, and mess something up, lets say accidentally step on an ant, after that we travel back and find a completely different civilization. Does that mean that everyone else went to a parallel universe, or, were just wiped from existence entirely? Also, Einstein said that time travel was possible but the amount of energy required would be too much for us to be able to do it. So, thinking about that, do scientists that study parallel universes ever think about time travel in their theories? off-topic questions
woah
All I know is that the time machine would use python3 and not 2
haha
@rough sapphire I'm not sure which channel is the right one for that (I've just joined this server 30 mins ago). Maybe in #python-discussion? (could someone help here?)
Question, imagine we could time travel
That reminds me of that image of the guy protesting with a sign that said
"What do we want? TIME TRAVEL"
"When do we want it? THAT'S IRRELEVANT"
@ocean cipher If you want something that really messes with your head, if we had the ability to teleport ( think Star Trek ), are we the same person on the other side?
The entire reason this is a scary concept, is that if we are the same person on the other side, who's to say the machine can't copy us and make clones?
If we aren't the same person on the other side, where did we go? Did we die and get recreated on the other side?
๐
Nothing quite like casual conversation
The teleporter stuff is always kinda interesting
especially as the practical answer to it is just sort of "eh - teleporting is fast who cares"
I imagine practically no one would not use a teleporter
I knew someone would say that.
One sec, lemme show you an example of someone who won't
To be clear- there are exceptions - but I'd imagine its a roughly similar proportion as those who refuse to get in a car
or those who refuse to get in a train (back in ye olde days when trains were new)
Despite its frequent use, characters such as Leonard McCoy and Katherine Pulaski are reluctant to use the transporter, as the characters express in the Next Generation episodes "Encounter at Farpoint" and "Unnatural Selection", respectively. Reginald Barclay expresses his outright fear of transporting in "Realm of Fear".
Would you use a teleporter?
Good question, and I think I'd like to know how they function first.
Yeah, that's pretty logical
Because if it's "We're going to destroy you and then reconstruct what we believe is you on the other side" Ha ha, no.
Also the safety of the thing would need to be perfect. I don't want to materialize into a solid rock
Try to breathe but I can't because my insides are solid stone
A lot depends on specifics of course. But it does come back to what defines "us". Is going to sleep and waking up the next day becoming a new person? Does the old you "die" when you become unconscious?
I've heard that argument more than once, and I think what defines someone are memories/experiences, beliefs, and your present day understanding of the world.
Which, could those be digitized? Most certainly.
Is there more to it then that? Yes. But that's roughly what I believe defines a person as a person
Yeah, I largely agree that's the best definition of consciousness . Sadly we'll probably never get to find out if teleporters do kill us because science moves so damn slowly
bloody safety. Just give me superpowers already, I don't care if it means I die in 2 hours
Does it move slowly, though? Cell phones spawned out of tricorders and the like. 20~ years ago we were told we'd never have a calculator in our pockets. 8 years later, the iPhone came out.
It moves slowly by the standards of science fiction. And space tech has moved far more slowly than it should have if the world had it's head screwed on properly
Oh sure, because science fiction is one huge hype train when it comes to that
WE'RE GOING TO GO TO PLUTO IN 2 YEARS
just isn't realistic
Space and environmental tech are pretty good examples of how science has kinda stagnated. Relatively little progress made in those fields
We went from not reaching orbit to the moon in ~15 years
then just sorta stopped progressing
well - not stopped progressing, but definitely the rate changed
Space and environmental tech are pretty good examples of how science has kinda stagnated. Relatively little progress made in those fields
That's bad phrasing. Science hasn't stagnated. Those fields just move slower than they ought to
Speaking of space, do you know how much money NASA gets? Percentage-wise?
A fraction of one percent
It's been like that for a while now, at least 8+ years.
Yeah - and of that money, they have to play politics and go for worse suppliers to keep state politicians happy by funding jobs in certain states. I'm sure one day it will change - and that will be pretty great
and go for worse suppliers
I mean, that's how federal contractors**, and the like** work though. You're never going to see anything done by anything other than the least expensive.
( Not to say that they're cheap in any regard, they're still fairly pricey. But it's just the nature of the beast. )
TIL I can switch windows pinned on my taskbar with Win+N
Well ain't that convenient
was wondering why my systemd-logind service on linux was going nuts. the CPU usage was hundreds of percent and it was chunking up all my cores. it didn't happen when i booted the laptop but seemed to start happening after i closed the lid and started to do SSH to it.
the problem turns out that since I had done something called 'masking' on the basic suspend\sleep\hibernate functionalities of the linux system to forcefully avoid it to shut off while closing the lid... the system-logind that was actually responsible for doing that, was getting Permission Denied and it kept trying to shut the computer down all the time...
so once the "don't shut the computer down when the lid is closed" procedure was done instead of forcefully hiding those things by the operating system, and systemd-logind was restarted, magically the CPU usage went back to 0%
mystery solved. victory for humanity against the robots.
Hey! I have a query which is not quite Pythonic:
I want to make an app which displays the map of my college campus
Like way to library, different buildings, and etc so that a new student doesn't face problems in navigating around the college
Does anyone know how can I implement this?๐ ..kinda blank on ideas here
that sounds like a web app
Ah! I am thinking of an android app
Quite a coincidence @rough sapphire that your pic is a "map"๐
you could use google maps and write it in kotlin or some other language supporting android
But Google maps doesn't completely show the full campus of my college
I want to show different departments, library, playground, etc
oh, so you want to make your own map.
So that a fresher doesn't have troubles in navigating the college
Yes exactly @graceful basin
Any idea?
You could maybe use something like unity and model a rough 3D model of the campus and then do the navigation, but IDK how hard or possible that would be
could also look at openstreetmap
do you need 3D or just layered 2D possibly
I just want the student to get his real time location in the map
2D or 3D anything will work
hmm
so there needs to be a GPS signal
to get the location
that has to be matched to some map
the GPS signal comes off as geographic coordinates in WGS84 or something
Yes
so you basically have to work in those coordinates almost, or then design a coordinate transformation
I think you need something like google location services to get good enough accuracy for a campus
But do I need to design the map myself or Is there already a service for it?
I'm pretty sure that you'll have to draw the map yourself if either the campus\university itself doesn't have a digital version of the map or something like the county\city\country by law
there might be some hobbyist who has these things. who knows
you can generally get highly detailed maps of some things from your local government, for some fee
but I don't personally know of any "database for maps of campus areas"
I'd start with the university though
ye, they should have that
there might be people willing to help with the map thing if you just make the proof of concept first roughly working
maybe the uni will throw some money at you to make it complete if they like it
Ok after I have the map, how should I go on adding the GPS
Should I upload that map to Google maps
you can show overlays over google maps
may be helpful
is this US, europe, Asia, africa, or elsewhere?
oh, then you probably want a custom overlay, I know nothing of indians maps
So, after I have map, I'll use custom overlays to show it on Google Maps? Right?
ye, that seems reasonable
is google maps accurate enough
or am i misunderstanding
just take an empty google maps component and lay it over that thing somehow?
google maps is just for positioning the user and render the map nicely. GPS is not accurate enough for this by itself afaik
GPS can be accurate up to 3 meters
what are you talking about
even more probably
huh, last I tried it was not that great, especially when stationary
it depends on how many satellites there are visible
but even something like 30 meter accuracy should be ~okayish on a campus I think
those things are not small
the issue is that you often have similar looking turns and it is quite difficult to relate the birds eye view to what you actually see
So plan B is to take am empty Google map component and use overlay?
check the campus area from google maps. what is the "best" map you can currently get out of it
if you draw on top of that, how good will it be?
Ok! I'll do that โจ
that's what putting an overlay on top of google maps means
if it's not good enough, you'll have to rethink the whole approach
Yes I saw a couple of videos on that now
I think it's worth a shot! Will give it a try ๐
Yah! It shows a pretty old map of the campus
so then there might be a good idea to just try to digitize the maps from the university or something if they don't exist in digital form yet
that could be a project in itself.
i was part of a digitization project for our university where we took all the math exams the student body had collected for the last 20 years in paper folders and scanned them into an archive for the public
the end result was that the department changed their policies so that now the new exams all have to be archived too straight as PDFs without any scan non-sense
and they actually get there on time because it's the department policy
Wow! That's actually pretty great!
Ok! Lemme inquire the university authority if they have any map at all
does someone know how to disable completely the gmail authentication?
I want to access my email from any pc
@stuck meteor Head on the security panel of your Google account
just.. use your password?
it doesnt work if i have different ip though
Turn off 2 way authentication
did it..
Although I wonder why would you wanna do it!
Btw thanks @rough sapphire and @graceful basin for all that knowledge ๐
np. i'm just procrastinating.
same
Well i have a script that should send emails
You might want to implement O-Auth 2 if so
I dont know what is it
Look for it, there must be ample of tutorials
but if i use this will i be able to access even if i change my ip?
This might help :
I don't think changing an ip should be a problem here
the most hilarious part of it i'm seeing is people going
"ring 0 anti-cheat? fuck it. i'll pirate it."
yep.
that's just fucking weird logic
i'm not saying i'm gonna pirate it, but i literally cannot play the game on linux anymore
since i've bought the game legitimately and updates are applied automatically, my game is now bricked.
my only option, at this point, would be to grab the older drm-free exe from somewhere
well that's a shitter.
I'm not gonna play it either out of privacy concerns
I'm not entirely sure I can play it under GDPR
i still think that's a reach
since there are secrets on my machine used to connect to services I use for hosting services for other people
and GDPR does mandate security of secrets
The game is super easy to pirate because Bethesda accidentally fucked up and shipped a version of the game with all the DRM removed
so, if I had the game - i'd just be pirating it at this point
alternatively, get into hacktivisim, use the kernel module to gain privesc to ring 0, spread buzz around the anticheat being vulnerable and "hackable"
investors will back down, anticheat dies
that didn't happen with street fighter v, did it?
that was very easily "hackable" but I didn't hear about it being removed
did Battlefield ever get this for using Punkbuster?
not a fan of punkbuster mostly due to how ineffective it was at doing its job.
are evenbalance even still in business? o_O
my favourite story of punkbuster was the one where if you'd send a specific message on IRC, you'd get a bunch of people banned. because punkbuster looks through all memory for "hack tools" signatures, including the irc message buffer
Home of the BASH webcast and SLASH the blog, BASHandSlash.com is an FPS gaming website specializing in Activision's Call of Duty game.
i remember that
wow, punkbuster, have not heard that in a loooong time
i think the latest thing it was bundled with was Battlefield 4?
i wonder if modern anticheat is also vulnerable to this
oh lord
That's another reason I have been going to the console side
I don't have to worry about whether or not it runs
Because it will
Unh...
(In regards to the Doom Eternal thing)
Control on console for instance, was unplayable for a long time on console, because of the lack of optimization
I mean, it make sense to play on console when you donโt have a fairly recent computer
But if you do, I donโt think it make sense
it makes sense to play on a console if the game doesn't require a keyboard / mouse or specialised controller
because you can sit on the sofa like a lazy shit
Cuphead still plays very well on pc, even if it doesnโt use the mouse
I don't want to mess with drivers, I don't want to have to constantly see if my system is going to be good enough for the next game that comes out, I don't want to have to worry about other OS compatibility issues or bugs
And actually, I think you can still plug in a keyboard and mouse into a console and it'll work
I have no TV that's comfortable to sit in front of for long periods of time
That'll work on a PS4 with like three games, yeah
Wonder if Cities: Skylines is one...
oooh
It isn't.
Well, the controls aren't bad honestly
You can use a keyboard, but no mouse
For a sim type game like that, it's pretty comfortable
yeah, i don't find the console controls to be that bad
it's just annoying for placing stuff
Although I was proud that I made my own roundabout
tbh the moment kb+mouse support comes to consoles i'd probably even play FPS games on console
i do keyboard on lap already
I try to do one-way roundabouts for the exit and on ramp for the highway to the city
just need a mouse stand
they won't do that with console FPS games
completely wrecks multiplayer balance
it's not even an edge thing, you'd just fucking stomp everyone
yup
That would be an edge, yes
Having a mouse is so much easier than sticky things too
i remember playing q3 on the dreamcast servers
fucking hilarious
just circle strafe them, they couldn't turn fast enough
I can't imagine how that worked. It only had the one stick, right?
just the one, yeah
yeah, and it was near the dpad
shooters on the original PSP used the face buttons for turning
Although I WILL say, the little memory carts with the screens, that was a cool idea
Having that as a little additional hud
not sure about dreamcast
That sounds right, dude
idk what they used for turning
Or no wait
but they were sloooow.
you could aim vertically in Q3 though
Either way it was jacked
i imagine they used something like pgup/dn for vert
Bad case of 3DS monster hunter claw
Well
Okay it kind of was because it benefited from being portable
But yeah, it needed a second stick
yeah
the best part was, before the new 3ds
you could actually get a thing you attached to it
which had a real second stick
so you actually had two actual analog sticks on the original 3ds with the attachment
some games supported it specifically
hi super mad


