#ot1-perplexing-regexing
1 messages ยท Page 373 of 1
oh, it's too new
try this one
Chromedriver serves as a bridge between Chromium Browser and Selenium
WebDriver.
.
See https://sites.google.com/a/chromium.org/chromedriver/ for details.
oof
should work
How do I uninstall it?
it didn't install
what about dpkg -i ./chromium*
sure
np :+1: glad you got it working
Install gentoo
I may actually try it
why do people install gentoo?
Ooh, that sounded wrong.
I mean why "specifically" do they install Gentoo, as opposed to any other distro. What is the main draw to Gentoo?
oh, it has no systemd still
didn't realize that, thought slackware was the last one without
It's an option
You can have systemd or.. Upstart? I think?
Or was it rc.d
I can't remember
okay, been hearing several people mention gentoo the past 4 or 5 days and I hadn't heard much talk about it in so long
some people use void because they dislike systemd as well
I am .... ambivalent ๐
I am just not good at system admin. as long as someone else keeps the machines running and the bad guys out... I can make magic
I've tried various linux distro's over the years, but haven't stuck with one for more than a few months
I like Mint tho
I've been using Ubuntu for ~6 months now
Funny, I installed Ubuntu on a USB stick recently and it messed with the windows bootloader on my desktop
Best option for on-the-go imo
Unless you're that person with the 24" ยฃ1.5k gaming laptop
Ubuntu VM for daily linux stuff on desktop sounds nice
lmao
That's... a big laptop
I just use my laptop for most stuff
Although I have to use windows for my work atm
Seeming as there is no support for asp.net and iis in linux
I like the linux CLI commands better than cmd.exe's
everybody does
So I use CMDer on windows
Nobody thinks DOS > Bash
Haha. Glad I'm not alone then :p
Some sysadmins thing ps > bash though
why not just use bash on windows
I don't see it
bash on windows is a thing? ๐ฎ
There's a bash terminal you can get
That's WSL
git bash
Not really a fully-fledged shell though
Eh yeah
Aah, right. I think I did have git bash installed on a previous installation of win10 but had to reformat for some reason
Powershell is just.. annoying for me
Better than basic dos cmd.exe
But if you're going bash-like, just make basically a ported bash
Not change 20% of the commands to make it more windows-ey
I think making the commands more windows-y is for the people that don't use bash, but if they used bash, they would like it anyways
they all come with a bash
I use clink on windows
I will check all of those out rn, tyvm ๐
It adds readline and some bash features to cmd
Unfortunatly none of them really give nice native feel and speed
So it's a cmd.exe shell
It's cmd but with stuff like saved command history, prefix history search, etc
It's basically QoL
prefix history search is a godsend
Wait is it a full bash or just cmd.exe with what zsh is to bash
It's literally cmd.exe with extra stuff
Oh
Ik
I'm just wanting powershell to be a bash windows rewrite tbh
cygwin64 looks right up my alley
cygwin64 sounds good but have heard some issues with it in use
Cygwin is more of a pain in the ass than you might think it is
And it's mostly useless anyway now we have WSL
I'll just stick to my vm
WSL sounds like it's more intended to give Linux installations more Windows-ish commands
From what I know about it, which is little
No, it's the other way around
Ah. That seems very, very useful then
You're installing a Linux distro, a real one, under a compatibility layer within windows
You type bash in a terminal
And suddenly Linux
It's actually really well done
Basically an integrated vm
WSL 1 is not a VM
Mhm
WSL2 is but it's not out yet
Don't most use WSL2 anyway
git bash i kinda fun i guess? linux terminals are just more comfy in general
I mean git is essential to have installed natively anyway
But you don't have to actually use git bash
And you probably shouldn't, it's not very good
Heya, does anyone know any faster alternatives to https://github.com/busyloop/lolcat ?
I've used git bash like once, but it was fun. Or at least friendly to users used to CLI stuff. I was not one of those people at the time, lol.
Git bash has a lot of quirks and oddities
why would you need faster lolcat ๐ค
It doesn't work will with ArchOnTermux eheheh
You don't notice them if you're just using git
But if for example you tried to use the SSH executable for.. Well, SSH
If you wanted to use something like screen or tmux then all kinds of weird things can happen
(for example)
It just wasn't designed for anything but git
i've never ssh'ed into something before
maybe i'll set that up for my phone? just haven't seen the need
Servers mostly
It was useful to SSH into the headless rPi on my desk, when I had it set up and running.
Yup, that too
Mainly used it for games, as in emulators. Was easy to open a cmd window and SSH to it to add ROMs.
so... basically, I just want to find out which programming language is right for me. I feel like there's a language I might naturally like because it would match to my personality or something, or who knows. I've tried Python, I know everyone says python is the best. But it just doesn't 'click' with me.I just got bored easily. I'm prolly making no sense rn. Should I try and learn something else? Is there anything you guys suggest? I'm not sure. Also I'm new on discord so if I do something wrong just let me know
@rough sapphire what sort of things are you trying to make?
and what have you done so far?
have you disabled secureboot and and changed your boot order in bios?
@sand goblet I use git bash all the time with no issues
it's literally just msys2 with a different name slapped on
Really? I thought they were used internally
Ah I still have my floopy Windows installation 5/980123
mc-mods
mc-mods is not an exclamation point
Man I wish SwiftKey wasn't simultaneously the best and the worst keyboard I can find
I quite like it, but I prefer the default keyboard on iOS
I don't like the iOS keyboard but that's okay, I'm not on iOS
wow, someone 3d printed the save icon
owo
What is the chance that this command work git clone git@github.com:EpicGames/UnrealEngine.git && cd UnrealEngine && git checkout release && patch Engine/Build/BatchFiles/Linux/SetupMono.sh /tmp/unreal-engine/use-arch-mono.patch && ./Setup.sh && ./GenerateProjectFiles.sh && make haha
F*** the patch command is missing the ./
It isn't looking very good
wrote 300 line of code just to scrape it in the end ;-;
that's good.. Throwing away code is a good thing. People are too "precious" about code just because "I've already typed it in" Think of it like solving a maze, once you hit a dead end, you have to back up and go a different way, forget those steps you took in that specific direction
And now you know which 300 lines of code aren't the solution.
@dense stratus you solve mazes by going back to the very beginning?
oh right, you mean backtrack just enough
no, did I say that? I said you go backwards.
I don't know. my mind read that wrong
Just because you went 300 steps in the wrong direction, doesn't mean you need to preserve those steps
It is one of the nice things about doing TDD kata. You kind of get used to tossing code away.
hey bisk
you speak English right.. could you pop over to #career-advice for a sec
(by which I mean you're a native speaker)
\o/ UE4 built from source in 2h15
RealPython gave away 5 video course for free to all users subscribed to their newletter
That's cool
They have video course and stuff
They gave anyway the pytricks book for free for christmas too
Oh cool. I aspire to be able to explain stuff as clearly as they do
You are pretty close tbh 
I fumble over topics I'm just understanding, though.
I want to get better about that
Sure I've got some of them down with the examples I have but other things I tend to just make up terms or refer to stuff as "the list thingy"
I like how one process is using 201% of my CPU right now haha
100% is one core on Linux
You break all the fun
I'm surprized that one process can use two cpus though
Hmn, a process can have multiple threads
Don't worry, I just need to think
if you want to get technical, threads are a type of process
Oh interesting
Any ideas? Selenium shooting this error
I get the error on my rpi but not my computer
What's the site? Is there no API to use?
I think the problem is I need to click on a textbox to type in it
Welp that didnt work
I mean what are you even trying to do on it?
I learned today how to create C++ functions for UE4 and then access those in form of nodes inside the visual scripting interface
It felt like black magic
how in the fuck do i make friends as an adult
no idea
https://www.wikihow.com/Make-Friends wikihow is always here to help you
https://www.amazon.com/How-Win-Friends-Influence-People/dp/0671027034 this book looks good, but i haven't read it
@rough sapphire If you figure it out let me know
The best I have is you guys on here
same.
Okay, can explain something to me? I'm trying to wrap my head around why so many programs went from normal number versioning to using the current year as the major update number
Like Ubuntu?
You can at a glance get an idea of how old a release is, I imagine.
You can see that 16.04 for example is nearly 4 years old
Sure, except that that some get updated even within the next year but don't change the major version number
ยฏ_(ใ)_/ยฏ
Like I get it if you're updating your stuff like clockwork, but if not then it just feels pointless and clutters up the versioning
Oh sure. I remember when Firefox didn't follow Chrome's release cycle as well
So now it's just 70~ whatever rather than the slow versioning they were doing before
That's how it should be, but idk
I am a fan of semver too but you can use the year
Jetbrains does it as well, and we're still on IDEA 2019.9
But we'll get 2020.3 soonish
I just hate it
It's just a bit more user friendly than an arbitrary number
Sure it gives you a general guess as to when it was last updated, but so does a date stamp
Which no one will check
Well yeah, but users aren't always programmers
I mean you say that but I still have to explain that to some of my coworkers when their program still says 2019 well into 2020
"Okay so it KIND of means the year but not really"
End of Hemlock McGrumpy rant
I'm planning to work on an esolang
Here are my core principles
- Everything is an expression
- Objects are anonymous
- Full Evaluation Control
- Plenty of new Convenient Syntax
- Full Scope Control
Ok
hello
@ashen dome Nah it's pretty sublte
Easy to miss
The icon animation gets changed periodically
Honestly a great song https://www.youtube.com/watch?v=989-7xsRLR4
Vitas - The 7th Element
Monatomic Music
www.monatomicmusic.com
Vitas Official Merch Store!
โ https://teespring.com/stores/vitas
Official Site โ http://vitas.com.ru
Youtube โ http://www.youtube.com/c/VitasOfficia...
Facebook โ https://www.facebook.com/vitas.official
VKonta...
burp recently changed to the [year].[month].[version] system recently which caught me a bit off guard
What is the advantage of that system?
Isn't it obvious?
The normal way seems much easier
You know the date of the release and easier to remember
I don't see any major benefit in linking the date to the version though
I'd rather have 2019.7.312 then 342.734.312r
I'd prefer the latter
Dates are easier for us to remember and we can easily compare releases
it makes it much less clear when there's been a big (and potentially compability-breaking) update though
one good argument for the latter is that it's much easier to see what comes after
Ususally they come once a year
like, bigger number, newer. hurr durr. simple.
The default versioning system is very clear. Linking it to date doesn't seem to provide any intrinsic benefit
And for a regular release user-ended product for what that system is meant for, always a ton of breaking changes so having another number at the beginning doesn't matter (going from 42 to 43)
And easier to market
I don't think its easier to market
I think versions 1,2,3 etc are just as clear
as 2018, 2019, 2020
2020-02 makes it seem newer then "woah 43.2341.1r is out!"
"oh, no, that doesn't run on python 2017.03.2, you need python 2020.06.3"
I don't think it is
I don't see any marketability benefit
Both can be marketed well, both can be marketed poorly
To a consumer unfamiliar to a product, "Wow, version 4.4 is out" means squat
no it doesn't
I don't know why you think
people can't comprehend
bigger number means better
its pretty simple
??
If a user doesnt know what number it was on before
"Wow, version 4.4 is out" doesn't mean anything
But if you hear "Wow, version 2020.03 is out" you know it's recent and can gather more context
It's made for marketing, that's why blurpsuite and unity used it
Oh, you're right
There were 3 tests failing when I came home from work. Leftovers from last night. Got two properly fixed. Am working on one now that is still having intermittent failures
And all of this is still an improvement from 0 tests a couple days ago
Quick bash question. How do I say "rest of the arguments except for the first one"?
like $* -= $1
$2onwards
$2+ $2* I feel like I'm close
I should have googled it first. My bad.
shift
stuff "$@"```
ok
What am I doing wrong?
ah
wonder if its arg 0 that was shifted
ah
the package command is overriding my bin file command
bummer
ha
stupid
In case anyone else gets stuck with multiple python installations, and pip doesn't reflect the newest one
bummer
@lost radish if yourpipappears in $PATH before the "real one", yours will be always used instead
it must not have then
I opted to just start taking the time and typing it out
less lazy, more (sorry, got lazy. todo: finish)
haha
Gotta love when you condense more than a screen full of code into a handful of lines
Man birthdays during this quarantine stuff is boring. The Reddit posts were right
is it your birthday flops is it your birthday flops is it your birthday flops
happy birthday!!!!!!!!!
rofl
๐ฅณ
merry birfamus dingus
What a day to be locked down to writing migration sql
Happy sql migrations birthday! 
happy birthday ๐ฅณ
happy birthday ๐ฐ
assuming you're working from home it can. Just set up some janky chatbot to reply on slack/whatever for you for the rest of the day
voila
Nah, gotta finish the one task i was given first
I swear I thought this was a achey-breakey-heart remix
hbd Floppy. its been a while since we had it land on a weekend...and this is what we get? ๐
My second guess was going to be a board for axe throwing
you put them where the lines junction/corner
google image search thinks it's a blueprint for a roof
And this is why I'm not super concerned about machines taking over the world quite yet
you see that recent proof of concept some university smart people did?
the way some ML packages downscale images means you could have a picture of a cat 4x the size of the allowed input with a dog hidden in the pixels
on the downscale the picture of a cat, becomes a picture of a dog
so you can poison the data
@urban night it looks kinda like this
https://en.wikipedia.org/wiki/Morabaraba
doesn't sound like it uses reversi tiles [well, like, you could, but from the article there's no move where you replace one color directly with the other, so no reason to]
There are three main phases to the game:
Placing the cows
Moving the cows
Flying the cows
sign me the fuck up
If a player forms a mill, he or she may remove or "shoot" one of the opponent's cows
get to shoot em too
the rules are quite simple actually
cool
it's very fast paced
general sort of rule is if you get 3 in a row you can then pew pew theirs and the game ends when they either have less than 2 cows left or i guess can't form a block of 3
it's hard to tell what colours what in that one
I'm in love with both extremes of programming abstraction I guess. I love both python and assembly, but hate pretty much everything in between. Can anyone relate?
I know what you mean. Loved assembly, but have a very hard time without a CS background. I spent a good bit of time last summer learning some basic 64bit Linux assembly.
@pine vector Yours is today as well?
For the in-between cases, I always find myself going towards one extreme or the other. Why make in Rust, what can be done in C. Or why write a bash script when python will work just as well, and be easier to implement
Tis indeed.
happy birthday to you as well
Happy birthday birthday sharing guy!
To think that was a possibility.
I thought I owned this day
That's what the court document claimed, anyway
There's the whole how many people in a room til your birthday clashes paradox thing
I abdicated my ownership when you came about... ๐
Are you assuming my age?
well, yes. at least that its a smaller number than mine.
I am rightfully offended on a sarcastic level!
hehe
24 really?
yeah...i was driving.
Yea?
wow, is that old or young for here?
รธรธรธรธรธh
I suppose yeah
Actually we probably average out to late teens early twenties
Fair share of all ages tbh
But we have some old fogies around here that bend the curve a little
i'd expect mean. average is prob 20's.
seems in the evenings I run in to a lot of 2nd and 3rd year HS kids and only occasional a 1st or 2nd uni
Median is likely lower
well you can only go so low, right, have to be 13+ to be here?
Supposed to be yeah
There's probably a few below
But we don't do shakedowns to find out
Hiding in the shadows
Whats the single whitespace thing in python? \r?
well in that case I am also 24
If they slip up and let us know they are, then our policy is to just temp ban until they would be the right age
I imagine the median age is somewhere in the 16-20 range
Yep, that's my guess
there seems to be a lot of youngish people
||with 31 years experience||
Yeah you've been doing this 24 year old thing for quite a while, Abs
You tempban them until they're 13?
You're pretty good at it
Hey guys, is anyone born in 2007 or later? I have a special secret for you :))
Yeah, we have in the past, Merc
You bet!
Oh Discord TOS is above 13
I even have a picture around that age that I used for at least 15 years as an avatar
Right
Is there a character for that?
Yeah like
Yeah that ^
well it's most websites, if you have kids under 13 you have to do special things
Can't say ive used it if there is
No I'm saying it's literally a space
There's no like \r and stuff?
%20
\r is cursor reset afaik
Okay
There might be but there's no reason not to just use a space
Yeah, idk why I didnt just use a space
Why is this check returning False ๐ญ
https://tenor.com/ziDY.gif @glass gorge
\space
@staticmethod
def ascii_checks(words):
print(words)
printable = """abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789?' """
if isinstance(words, str):
if words.__len__() == 0:
return False
if not words:
return False
for letter in words:
if letter not in printable:
return False
return True
elif isinstance(words, list):
print(words)
for word in words:
if isinstance(word, str):
if words.__len__() == 0:
return False
if not words:
return False
for letter in words:
if letter not in printable:
return False
return True
else:
raise Exception(TypeError)
return True
else:
raise Exception(TypeError)
It returns false ๐ฆ
possibly the best character in the best show @plucky ridge
Okay at that size it might be better if you use the hastebin
for this input
although - I guess he was partly responsible for cabbage corp
@velvet rapids Why not just use https://docs.python.org/3/library/string.html#string.printable ?
Was he? I thought he was just a scapegoat
oh wait
yeah
cabbage corp were actually good
damn
or neutral I guess - no corp can be truly good
Yeah he got unfairly shafted constantly
\N{SPACE}
What should it do on spaces, split?
'allow'?
There is a space in the end of printable
So shouldn't cause any issues
if letter not in printable:
So it should allow
Because it is in printable
oh lmao
oops
@plucky ridge No cabbages, but saladheads!
I think you're checking if the full string is in it
Yeah
Rather than iterating through the letters
Not the letters
if words.__len__() == 0: just do if not words
those are not strings, those are a list of strings
Just throw a breakpoint and see where it returns @velvet rapids
or to be explicit if len(words) == 0
Actually wait, I am checking letters
for letter in words:
if letter not in printable:
return False
Nevermind yeah, need to make it word
["hello", "there"] is not a string
- for letter in words:
+ for letter in word:```
Yeah, i guess that's what you figured out
Truthiness testing (the thing that decides for an implicit if conversion) fallbacks on __len__ if __bool__ isn't defined anyway
errr
either test each element in the list, or join them together before passing them in
sec
Done, thanks ๐
it works?
!e
printable = """abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789?' """
a = ['somebody', 'once', 'told', 'me']
for each in a:
for each2 in each:
if each2 in printable:
print(each2)
@rough sapphire :white_check_mark: Your eval job has completed with return code 0.
001 | s
002 | o
003 | m
004 | e
005 | b
006 | o
007 | d
008 | y
009 | o
010 | n
011 | c
... (truncated - too many lines)
Full output: https://paste.pythondiscord.com/omuluxujus
Edited message can be re-evaluated using a little emoji that appears yep
Works, yeah
" Somebody once told me the world is gonna roll me"
@royal lake eval is super cool
Sorry, but you may only use this command within #bot-commands.
I'm jealous
I aint the sharpest tool in the shed
Why do you need to be jealous? Get your own python! https://github.com/python-discord/bot
Lol
yeah, I think you have to be yellow or something to call eval in channel
Oh right, I have got go dump some white mice into the server to feed @royal lake
Not in a million years am I going to be able to run that myself
She's getting hungry
Or purple
I am guessing the red,orange, and burnt umber get to use it too ๐
One of the color inside that little happy gradient
burnt sienna ... baby stuff
well you can always run a REPL and type stuff there.. ๐
I should be able to use my newly bought bright colour to eval
thats what capitalism has taught me
money should give me all the powers imaginable
That is an honorific not a status ๐
there is a huge list of users to the right, I can't imagine being able to use it effectively for anything. And not sure now that I have scrolled it down, I can get it back up easily
ahhh close and open it.
discord is something of a usability nightmare
no worse than reddit
at least I can type code in here the first time
ooh cool things are hidden in @royal lake
discord isn't too bad I don't think
messages are very easy to search
unlike reddit posts
so that's a graphic not text, it would be amazingly annoying to try to do that for me. How do so many people constantly paste screen shots?
snipping tool+paste
we have softwares
What OS are you on Absinthe?
I use flameshot on arch
or lightshot on windows
I am in Linux
use flameshot
Debian Buster
you can ctrl+v images into discord
most have something built in
something like ctrl+prtscr should let you crop a region
but not all have a cool one
I constantly take screen shots on my machine, just not on purpose
or some other combination
deepin have ctrl + alt + a for cropping
there is some key that makes a camera noise and flashes the screen and ultimately saves a file somewhere
goddammit I hate that blue colour
why ?
its just dumb
role color ?
my blue
How come
whatever all the shortcuts can be found in keyboard/shortcuts
yeah I hit prtscrn and it flashed and now I have a new file in ~/Pictures called something stupid 'Screenshot from 2020-03-27 14-03-19.png'
screenshotting a region is much better than screenshotting the entire desktop. I pretty much only ever want to grab a region
it should also be in your clipboard
you can ctrl+v and discord witll bring up a dialogue
yeah it do same that if i press print screen
nope didn't put it in my paste buffer
windows > linux confirmed
yep, not in the paste buffer, but I have a directory filled with Pictures
thats not at all useful tho
On that topic windows+v hotkey is nice
what's that do?
winder's v
yeah, I have something like that somewhere.. ๐ On work machine (KDE) I run gnome at home
Wonder how many it actually keeps track of
I can drag and drop
That's spoopy
IKR ... my wife would not let me buy it
you need to heat it up
It's always watery
do you use a stone?
Nope
might be your problem, no place for the water to go
do you use a tray or open rail shelf
Open rails
rack,... words are hard
with baking paper under
again, no place for the water to go
we have a stome and a round tray that has a bunch of holes in it
But it's supposed to evaporate & and theres a vent hole?
this was sh-prt-scr
don't use a stone for frozen pizza
that's how you wreck your stone
but yeah, use a tray with holes in it
or place it directly on the shelf if it's clean
???
That's athing people have?
yup
Can't say ive ever seen one
we have two
where do you put that
on top of what
the shelf
what shelf
in the oven?
that looks more familiar
like this but smaller holes
yeah that's an oven shelf floppy
have you used an oven before, world?
yes, but the paper means the water can't escape
like parchment paper?
well yeah but I don't see why that would make it better
well it means your pizza doesn't get covered in whatever crap is stuck to the shelf
Buuut wont the bottom of my oven get all greasy and yucky then?
It shouldn't actually leak into the oven
you can toss a handful of grits or cream of wheat on top of the paper first
if you wanna take the complicated route, yeah I guess
I am so confused, why is this a thing that nobody has ever told be before
That's what they make over cleaner for ... shoot, I have a self cleaning oven. No biggie
Who have you asked?
because it's a waste of metal?
Nobody, like directly
This kind of information is on a need to know, don't ask don't tell basis
just went by what I've seen everyone use
@sand goblet so what does frozen pizza do to hurt a stone?
stones absorb moisture
So shelft | pan | pizza?
imma start out with not using parchment paper i think
I just recently started using that ๐
that'll help, but bear in mind
you need to make sure the pizza is supported properly by the shelf
then I will throw it away and get a new one.. I can't remembner how long the other one lasted, but I am pretty sure we had a dog and it died in that period
or it'll collapse in the middle
Oh right
ive seen a few pizzas just melt through the shelft
WHY DO I KEEP WRITING SHELFT
because you are used to typing leFT and bereFT and soFT and loFT
but there's no point unless you're actually baking
Well, I'll toss a normal tray under the shelf the first time, just in case
safety first
if all goes to shits ill look into one of these pans
that link there is two for ยฃ14
Yeah, but it's not in norway
you can try the wheat or grits thing too
wanna try to avoid tolls if i can
oh, you're in norway
well you can use the .co.uk one
they're still in the EU, technically..
polenta... not grits
Well there's a pizza stone for $30
there's no point getting a pizza stone unless you bake a lot
it's for baking fresh stuff
just get some corn meal or polenta
you use them because they're great at absorbing heat
crank the oven as high as it'll go and preheat the stone for 10-15 mins
Damn, guys, now i want some pizza
sprinkle it over the pan and put the pizza on top
and you can make fresh pizza in a few minutes
That'll do i think
you guys have square pizza?
some, but does it matter what shape it is?
Do you make your own pizza dough?
not really
depends on the shape of your pizza
There's a few "homemade" frozen pizzas
that are square
My mostly round
I only found this one, among the 2 shops i looked at
i have now given up, and am satisfied with my find.
they have a few things here as well https://www.kitchentime.se/search/pizza
apparently they'll ship to norway too
you have to pay customs from europe? dang
Im not up to date on those laws, but i believe that's how it is now
toll? do you mean like highway toll or some kind of tax
usually call them a peal
but they are made of wood,
I think you just leave this thing in the oven entirely
@glass gorge do you have basically any places where you can import tax-free?
I think that is called smuggling
in Ireland you can import from anywhere in Europe without paying customs
yup
until brexit is complete
norway isn't in the EU ๐
^
yeah, unfortunately
Yeah, any thing under 350kr was custom free
until 1.april
Then everything needs to be paid for
This confused me
I closed my browser, I am done with the topic
that's not the same kr they use in denmark, is it?
No
they use kr in denmark, sweden and norway but they're all different
@glass gorge April 13 this year... guess?
that's confusing
swe, den and nor uses Kr
but formally known as dkk, sek, nok.
Maybe finland? can't say ive shopped there
we use EUR
EUR OP
I just imagine someone walking around in trench coat with pizza trays and other assorted accouterments "hey buddy, want to make a deal?"
..lol
at least it's not rupees
cries in customs
well there is always bitcoin
it did crash hard recently
Try this:
https://www.bitlisten.com/
Realtime Bitcoin transaction visualizer. See and hear new transactions, trades and blocks as they occur.
But then again I just invested like $5000 in fonds and stocks
revolut even gave me a notification
the whole system is fraudulent to the max. that doesn't mean you can't get rich with it but don't assume you're playing a fair game.
lal
I put some hundreds of euros in some random shitcoins
now they're worth maybe 15 euros if lucky
Heard rumors of the norwegian government agreeing to investing more into biogas
I tried mining for like 6 months got DF
DF?
And given one of the airtravel companies has tanked HARD, from lie 60 kr a stock to 7kr
have a biogas sister company that also tanked a bit
@glass gorge that would be Norwegian?
the second word is FIST
I'm already $100 in the green on the airshuttle company, before they even resume business
I was fucking dumb. Bought ETH from Ukrainean site (the only one that I actually could use), wanted to wait for a bit, but didn't want to pay for transaction to local wallet and back. Then the owner ran with the money.
Whelp
Well, fool me once, shame on you, fool me twice, shame on me
Fool me thrice, time to quit
There was a programming puzzle, can't remember where, they had a bunch of currency and exchange rates the key was to start with some amount and come back to have more..
Yeah, investing in the norwegian KR is probably a good idea these days
It's losing a lot of value atm
aren't there like instruments for everything
I think the economy is not at rock bottom yet
I think everyone is going to lose a bunch pretty soon
Yeah, im holding a good slump of cash to go deeper if the markets drop more
IDK, I just paid $1.59 for gas... that's pretty down there
if not ill just put it in som stable longterm fond
Guess the NOK hasnt tanked thaaat bad yet
its $1 to 10.4kr, it was probably around $1 to 10kr a few months ago
I'd wait and either invest in even cheaper assets or fight for rat remains in the ruins of civilisation.
The key is to invest in companies that either live, or we become a refugee civilization where money doesn't matter anymore :)
Potatoes and distillery kits.
I'd rather invest in the companies producing these
just make beer and wine
are any of you american by chance
I don't think that in apocalyptic settings fancy drinks would be more in demand that moonshine capable of disinfecting wounds
I heard they offered to donate 10 million for the CDC to change the name to Bud Lite Virus
Nah, i was just curious
people are avoiding it though
Like, actually curious. It's my beer of choice
Corona Beer is not affected, still more expensive than pbr, and still sucks... Good for boiling hotdogs in thoudh
it's really dumb, but.. people
Corona?
It's like if there was Twin Tower Fall beer ten years ago.
I'd probably be drinking more of it if I drank
Where are you from?
sucks
?
Do you knwo why thye put limes in beer?
I've probably just grow to like it more, given most other beers make me bloated
It's not going to crash into your house, but drinking it would lead to unhappy thoughts
@glacial owl would it though
In places where beer was not kept refrigerated they would store it warm, and such. It would get crappy and smell bad. But if you jam a lime in the top all you can smell is the lime
lol
That's great
Just like how old age housewifes spiced old sour-y meat with salt and pepper for their husbands to eat it
I'm not a beer person, but i had awesome lambic with cool sour taste. Lime should go well with a refreshing drink.
If you go to a Mexican restaurant here they put lime in all beer, because that's what customers expect. I finally told my waiter that if he brought me a beer with a lime in it, I would through it at him .
You want a nice mexican beer drink Tekate or Modelo negra
I mostly drink it cause it's not that wheat based
Do enjoy a good stout / porter from time to time though
Cider is best.
most beers are not wheat based, they are supposed to be made from barley and I think Bud uses rice for some reason
is that why everyone says it's piss?
Give me something nice and dark on Nitro... Guiness will do
or a good lager, Yuengling is a goto for me
I guess it could be barley i dont tolerate as well?
idk
I haven't figured it out tbh, i just tend to avoid bigger quantities of "normal" beer
that's what Scotch is for
Semi-dry, with just a hint of sweetness to balance the sour
we have a craft brew place here that does Beer, mead and ciders... all delish
My preference is for Rye, but a good single malt scotch will get it there
well there's always tequilla
Oof
I do enjoy some chartreusse from time to time
I have bad experiences with tequilla i would not like to relive
Cheap spiced rum goes perfectly in a tea cocktail. Honey, tea, lemon - and perfect grog is done.
did you eat the worm?
the worm?
And there's something decadent in drinking neat vodka shots at 5 o'clock morning chasing it down with juice/cola.
eeexcuse me
yes, that's how it's done. And if you get it in your glass, it is supposed to be good luck for the year or something like that... but you have to eat it
oh I've just had this one
considering it's been sitting in tequila for as long as it has
it's probably not too unpleasant to eat
I mean, it probably tastes like tequila
well, if you like tequila
but I have no idea WTF this one is
probably one of the high year singlemalts
Yeah, definitely whiskey
guy got arrested selling this stuff
Yeah i would not buy that
like a 24 year old
This what's advertised here at least (divide by 10 for $)
I love how they can sell Riesling for $5000, and not be able to have a picture of it
yeah, you drink that kind of stuff so you can brag about the cost ๐ probably tastes like @$$
like those people drinking the coffee from the cat poop
Probably does
kopi luac
where they put a toe in a glass of whisky
I know a lot of people buy the expensive whiskes for the bottle, then refill it later with cheap whiskey
drink it fast or drink it slow but the lips must touch the toe
There is always Zafiro Aรฑejo Tequila ... but unfortunately it is fiction
The question is where the toe came from
well there is a whole toe origin story
but it's not the toe it started out as
i think it got swallowed once
so someone donated a new toe
I can get a nice singlemalt for about $50 that is very drinkable Edradour. Most of my other Scotches are upwards of $100 and that is pretty much where I draw the line
I've heard about a giant bottle with entire tiger in some chinese restaurant. Can't remember if it was fiction, though.
Toe video https://www.youtube.com/watch?v=kHMNX3IXnvs (Tom Scott)
whats so bad about corona?
I see some people shit on it, and some people who apparently love it
yeah, tbf, my mum also likes it
https://www.youtube.com/watch?v=uSLFudKBnBI ; tl;dw : don't go out, wash your hands, and if you do go out, don't go close to other people
The SIR model is one of the simplest ways to understand the spread of a disease such as COVID-19 (Coronavirus) through a population. Allowing the movement of populations makes the model slightly more realistic and results in โTravelling Waveโ solutions.
In this video, Oxford...
talking about tequila
Is it strange one of the songs in my workout playlist is from the movie Footloose
like the original movie
Whats the difference between yield from and await
sql = "SELECT `id`, `password` FROM `users` WHERE `email`=%s"
cursor.execute(sql, ('webmaster@python.org',))
result = cursor.fetchone()
print(result)
I looked more into aiomysql and found out PyMySQL is a dependency. This is how they formatted strings into SQL QUERIES, using the old %s, should I use this format for it or will f'{}' work?
well, yield yields, while await just awaits, it seems a bit stupid said like this, but yield is a bit like return in python, except it doesn't stop the function, what you produce is given to the code that called your function, when you await, you stays in your current context, you get what's produced by the await
ooh, I like that.. Never read about await yet
Ah alright, thanks
just looked at an example, and either it is a stupid example or I don't get it
@commands.command()
async def create_channel(self, ctx, name, description='Perfect', category='Programming'):
query = await self.db.add_channel(
str(ctx.author.id), name, description, category)
@velvet rapids do not use f-strings or any other string format method to build sql queries... the %s of mysql libraries isn't the same as the old % operator, for one thing it is always %s not anything type-specific, and you do not use % (args) to format it, it's just a placeholder the library uses after doing all the proper escaping needed
you'll notice it's "... %s", ('webmaster@python.org',) not "... '%s'" % ('webmaster@python.org',) that's an important distinction a lot of people miss the first time they see mysql queries
anyway, it looks like you're trying to await a function that's not async
i need to go but maybe someone else can help you from here, sorry
The function is async tho
add_channel is? i can't find any information about it
anyway i really do need to go, sorry
self.db.add_channel isn't part of Discord.py
Yeah, it's my own thing
From another cog
async def add_channel(self, uid, name, description, category):
if not self.ascii_checks([name, description, category]):
print("Okay, I'm gonna return false because you've got some weird ass characters in your name or smthing.")
return False
print("Okay I'm going to check if you already have a channel. Sneaky dude.")
await self.db.execute(
f"SELECT * FROM users_channels WHERE user_id=%s", (uid,))
if await self.db.fetchone():
print("Looks like you already have a channel! Cheapo!")
await self.db.execute(
f"SELECT channel_name FROM channels WHERE channel_id=%s", (str(self.db.fetchone()),))
return await self.db.fetchone()[0]
print("Oh okay, you don't have a channel. Welcome to vlogertube!")
await self.db.execute(
f"INSERT INTO channels (channel_name, description, category)"
f"VALUES (%s, %s, %s)", (name, description, category,))
print(await self.db.lastrowid)
The error TypeError: object int can't be used in 'await' expression says that it's an integer
What does return await self.db.fetchone()[0] return?
The channel name



