#ot1-perplexing-regexing
1 messages · Page 462 of 1
This but with lemoji
https://youtu.be/F5GjEwI8wEA
Movie: yama_ko
https://twitter.com/yama_ko
http://www.yama-ko.net/
Music: Ras
https://twitter.com/Xakyo
https://soundcloud.com/ras-11
Emoji Powered by Twemoji, used under CC BY 4.0 / Includes alternation from original
https://twemoji.twitter.com/
https://creativecommons.org/...
How about that
I have time for side project but no will for side project.
Ahahah that looks amazing
I have time for side project but no will for side project.
@rough sapphire currently I have the will for a side project but no time
but when I do get the time, I'll be in the same boat as you
It be like that
it is what it is
you guys know any python german discord server?
I wouldn't know. There are a number of German speakers around, however.
Sup lemons
no i don’t want you to take the voices in my head away
"awesome pants is down to play"
hmmm.....
kinda sad that his channel doesn't really contain any lemon fanficts
Considering what a lemon is in that context, you probably don't wanna see it :>
woah new pfp
“Tor (short for The Onion Router) works by sending your encrypted network traffic on an eccentric journey between Tor ‘nodes’. At each step along the way each Tor node helps keep you safe by never knowing what’s in your message and never knowing more about your data’s journey than the node it came from and the next one it’s going to.” (Stockley). Information from Tor’s website states that a Tor user’s traffic “...is relayed and encrypted three times as it passes over the Tor network. The network is composed of thousands of volunteer-run servers known as Tor relays.” This introduces a gaping flaw. These so-called “secure” Tor networks are vulnerable to a major security issue. The fact that the data has to be decrypted at a volunteer’s Tor exit node means that all the traffic flowing through the nodes can be read, analysed and abused. The fact that anyone can set up a Tor exit node also raises a few eyebrows. What if the person who set up the node, is the same person trying to read the traffic passing through it? A honeycomb study set up by Sophos Security shows that, one non-malicious login attempt’s credentials were logged and stolen, with the website receiving 167 attempted logins using those same credentials. In 2007, Dan Egerstad, a Swedish computer security consultant set up 5 Tor exit nodes, and he was able to collect unprecedented amounts of data, combing through it he realised that included data from employees of the Australian, Japanese, Iranian, India and Russia embassies, the Indian Ministry of Defence. This data against these types of networks indicates that unfortunately, Tor is not this magical cloak of invisibility but instead, potential nesting grounds for Five-Eyes surveillance, a surveillance group targeting private communications worldwide.
it was just another day at the office, when tom's eyes fell on the lemon across the room.
he gazed at it - it was perfectly shaped, skin smooth as it can be, thick and juicy, just sitting there, taunting him.
before he knew it, tom started fantasizing about the lemon.
he would gently touch it with one finger to start with, feeling its smooth yet bumpy skin, before becoming braver and using his whole left hand.
he'd give it a small but sensual slap so that it starts rolling, but just before the edge of the table, his right hand would come into play and catch it.
now with both hands on the lemon, he would start to roll it between his hands, slightly squeezing it, just enough to set free even more of the juicy goodness within.
the more he did that, the more dry his throat became - craving the sour moist goodness of the lemons inside even more than before.
this rolling around set free the sweetest of breeze of lemon. tom became wild.
he rolled it faster. harder. more. MORE.
when the whole office started to reek of lemon, tom was in ecstasy.
I started, you guys can finish it
:|
ping lemon?
what the actual heck.
@cosmic ravine gosh; what is that? I honestly hope that you're referring to the fruit lemon
Don't do such things to the lemojis or lemon hahah
I do hope so, too :>
I just thought that it's kinda sad that this channel "lemon fan fictions" doesn't actually have any lemon fan fictions
and @manic bloom agreed, so.... yeah.
I got lots of free time. :<
don't you like lemons?
@cosmic ravine I honestly don't know if he should be pinged to see this or if he's better off without knowing about it
judging from your and FarmArts reaction I guess we better leave him alone :D
Not sure. I agree with FamArt though,
It's well executed
And that's what makes me so angry
We should spare lemon and leave him out of it
true
@tame terrace since this is lemon-fan-fictions, @cosmic ravine took the chance to write a fan fiction. Read it at your own risk 👀
https://canary.discordapp.com/channels/267624335836053506/463035241142026251/756239743414435924
Thought he had to get a chance to read it
Why do I have a feeling that If lemon reads this, "lemon-fan-fictions" will no longer be an off-topic name
gross.
I think we’ll need some more appropriate fan fictions here
ye
looks directly at @manic bloom
Hahaha whatever
to be fair, a "lemon" in the context of fan fiction is.. well, not exactly safe for work
haha
the context of fan fiction in general is not exactly safe for work a lot of the time tbh
Am I missing something about fan fictions?
a lemon in the context of fan fiction is a story which contains sexually explicit themes and situations
not all fanfictions are lemons though :>
Not sure why it would be, but sure hahah
I think fan fictions of lemons could be about... well, you’re right. The first word that came to mind was “juicy”
wow intelliJ is awesome
especially the initials
IJ is similar to 1J
its as if they made it just for me
this is a complex joke
Guys what is the best lightweight code editor with at least an integrated terminal in it?
I’d say Sublime, or VSC
fan fiction title: Lemon and the juice press
VSC IS LIGHTWEIGHT?
Compared to things like PyCharm
vim is the lightest of weight
I said code editor not IDE lol
True
and it got integrated terminal
just saying
fan fiction title: Lemon and the juice press
@floral viper 👀
@floral viper I used vim and NeoVim for a year , I went back to Sublime and VS Code
@lunar shore Traitor
lol
I haven’t tried out Sublime yet. I’ll probably do that this week
I didn't like sublime when I tried it
Sublime is really good for small/medium projects
didn't like the ui
i once tried it on chromebook when i dont have laptop
And what would you use for large ones?
Yeah, alright
i want to learn vim
@floral viper I’m waiting for the story
so maybe vsc
@rough sapphire Good luck it's addicting
@narrow pecan Oh I am not a writer, I just came up with the title
Try giving it a week and just use Vim. See what you think after that
Well, I’m waiting for it either way
So can u in vim
oh nice
what is Vi and Vim
Like you can set your statusbar
like what differnece
vi is vim but shit
VI iMproved
mhm
One of my former colleagues was a gvim ninja. Watching him work in it was impressive af
gvim is Vim with GUI
it's vim but with a gui. vim is opened in a terminal
NeoVim is a vim fork
I'd rather use NeoVim than Vim , but if you wanna start , start with Vim
What’s special about it?
Any extra features?
And it had terminal feature before vim added it
They are influencing each other
Idk about extra features , used it only for a year
But yeah
only hahah
I'd like it more
how do i quit vim
:q
:q! if it didn't work
And if you want to save and exit: :wq
Yeah
But you have to mention a name
if you wanna save and exit
Or you had to mention it as an argument when running vim
vim filename
Hey @rough sapphire!
Uh-oh! It looks like your message got zapped by our spam filter. We currently don't allow .txt attachments, so here are some tips to help you travel safely:
• If you attempted to send a message longer than 2000 characters, try shortening your message to fit within the character limit or use a pasting service (see below)
• If you tried to show someone your code, you can use codeblocks
(run !code-blocks in #bot-commands for more information) or use a pasting service like:
Yeah. Usually, I create the file with a file name from the start
oops over 200 character
Oof
2000*
!paste
Pasting large amounts of code
If your code is too long to fit in a codeblock in discord, you can paste your code here:
https://paste.pydis.com/
After pasting your code, save it by clicking the floppy disk icon in the top right, or by typing ctrl + S. After doing that, the URL should change. Copy the URL and post it here so others can see it.
Read the embed above
It explains how to use it, if you don’t know already
Then enter
i did
So what happened?
its typing
Try pressing escape first. That’ll put you back into normal mode
like enter code
If it didn't work , try pressing Escape , :q! and enter
thanks
np
was scared for a moment
lol yeah
But use :wq if you want to save it as well
does any of you guys have experience in making chrome extensions
ooh pretty
mhm it's a tutorial
Maybe I’ll have to try that out when learning vim. Right now, I know enough to use it, but not enough to be hyper effective
Oh well
alolah
You can never learn vim completely tho
how
Of course
not all of the shortcuts?
It’s just like most skills. They’re too broad
but its an ide
oh
As powerful as an IDE
oh a user told me it was ide
nope
And
the thing I love with vim is that you can define what each key does
Also some plugins are vital
for me
how do you install plugins
ok
You are on windows?
If I were you , I'd either dual boot windows and linux , or install GVim instead of vim
yeah do taht
that*
what distro?
yeah i have some experience with ubuntu
I use Manjaro and it's great
i guess ill learn arch
hmm okay ill try it out on a vm and see for myself
yeah
I use mac btw
nice
Like why not linux?
Haha yeah. People have strong opinions on Apple
Yeah
mac is unix based so it kind of similar
Linux is free tho
I personally love the interconnectedness and design of it
the laptops look very sturdy
I mean both macOS and the hardware. It’s just gorgeous
Oh then
Linux is my second choice, though
"Personal Preferences"
Haven’t used Windows in ages
too expensive for me
i dont use windows for games
Honestly, yeah
And I don’t game
oof
Ahhahah
i lost interest recently
when i got linux on my older chromebook i felt free
Coding is what I spend a lot of my free time doing. And design
yeah so did I , the coding part only , not much design
chromeos is andriod i think
My school is all windows
but just rebooting the chromebook
and the chromebook no longer apart of school army
We use chromebooksas well
oof
That’s if they haven’t flipped one simple switch in the admin panel
isn't there a shortcut to reboot
linux is like freedom
it's great
k guys gtg vye
well i don't think windows is unix based
so command line dont seem similar i guess
It’s not UNIX based
yeah it's not
so for mac users it may be easier to adapt to linux
I use it all day every day
Most people don’t, though. It’s the same story with windows
What are you running?
Hmm, no clue
Not sure if YouTube TOS even allows that, though
help
sudo dont work
what did i do
hello lukas
sorry for the starify
and vim doesnt work
nothin works
oh wait
nvm
We’re you in the python interpreter?
no
Hahaha ok
im just using the ubuntu terminal
#bot-commands
Any recommended themes for Sublime? (Dark mode. I quite like most of VSC)
monokai
That's what I have right now. The file bar is white, though @young shoal
Seems like I solved it with "adaptive theme"
this looks good for now
I went with Agila Oceanic Next
Looks quite good
should i download python it says it’s a trojan
if you wanna program in it, yeah
@errant salmon You've asked this question in 3 different channels.
should i download python it says it’s a trojan
@errant salmon where are you downloading it from
So far, Sublime seems great
It's so clean
And lightweight, dont need to worry about your editor using 2GB of ram
Yeah, for real
I thought VSC was almost light weight, but sublime is just instant and so responsive. I love it so far
And yeah @plucky ridge, it’s so clean 
i mean...just get more ram and everything is responsive 😃
Haha... cries in 4GB
It’s still really responsive, but Sublime is just insane. I’m specifically referring to opening it
im going to fail art
bc my drawing is like a first graders
How about drawing more?
well i tried to erase now the whole paper is smudged
I haven’t been drawing much myself
hopefully teacher grades on effort
But I recommend reading Andrew Loomis’ books
Its free just search it in googs its in the front page
okay i will check it out
pycharm or notepad++ 🤔
notepad++ is an editor, pycharm is a full fledged IDE. So both.
ehh but also you can have vim for that
why did vestergurkan leave?
It is like... 3 am where he is or something like that
smh europe
why did vestergurkan leave?
You scared me there
Yeah, smh, why can't they just be america xD like, cmon, its like 7pm
clearly in the superior timezone it's 9:42
why did i see that?
ok sorry for scaring you guys
All good
yeah i'm not sure why people live in europe when you could live in a time zone where it's 9:44
why?
I feel like that's all we have going for us in the US right now
why is 9:45 better
Who knows
east coast >>
good morning i guess
pm
hmm?
2145
oh
why do you guys have half day times
its weird
am and pm
ok i now memorize east coast time
delay
Its 9:50 here too but inverted
oh, duh
.help
AprilFoolVideos
.fool
Get a random April Fools' video from Youtube.
AvatarEasterifier
.avatareasterify [colours...]
This "Easterifies" the user's avatar.
Battleship
.battleship
Play a game of Battleship with someone else!
BeMyValentine
.bemyvalentine [user] [valentine_type]
Send a valentine to user, if specified, or to a random user with the lovefest role.
Bookmark
.bookmark <target_message> [title=Bookmark]
Send the author a link to target_message via DMs.
.bookmark 756392377337249912 help
that's neat
.bookmark 756392377337249912
.bookmark 756392377337249912
@trail hollow Game cancelled.
😀 sorry
quickish java question, I'm trying to pass Scanner into a method to check if the input is correct and from my understanding I should be using weak references? Which type would be better to use here, or am i approaching this the wrong way
@versed saffron I don't see why you would need to use weak references. Just pass it normally.
see that's what I was originally doing, but it's saying the scanner's closed
That's probably not an issue with what kind of reference you're using
oh sorry I misunderstood, I wasn't using a reference
Why do you need to pass the scanner into the method? Can't you retrieve the user input first and then just pass that in?
I could, but then I'd have to add another loop
I'm only thinking references is because I need to reference it multiple times in different methods
Instances are always passed by reference in Java
So passing it normally is already passing a reference
that's why I'm thinking weak references tho
because passing it normally doesn't work
Weak references are only used for very specific purposes. I guarantee you that the issue is not that you're not using weak references.
You might want to paste your code.
ya ok, the only experience of 'references' is cpp pointers so there's a chance idk what I'm saying
public static double doubleCheck(String message, Scanner scanner) {
double input;
System.out.println(message);
while (true) {
try {
input = scanner.nextDouble();
return input;
} catch (Exception e) {
System.out.println("Invalid double, try again");
}
}
}```
In Java, you can't allocate class instances on the stack
So all instances are heap-allocated objects
I'm doing it in the main method
How do you create the scanner?
Scannner scanner = new Scanner(System.in);
double width;
width = doubleCheck("width?:", scanner);```
Well, you never return from that function, not do you break
return input;?
Oh, mb
Oh, I see the issue. You need scanner.next() to skip whatever text it refused to read
where would I put that
Inside the error handler
ah ok ya that was another question of mine
but it's throwing an error before the second use
like I've got java width = doubleCheck("width?:", scanner); height = doubleCheck("height?:", scanner);
It works for the first one tho
oh i stg I'm dumb
I forgot it was running charCheck first and I've got a scanner.close() in there
ty both anyways
MY IINTER NE T SUdvawfbas;dvfsauv fsaf
@compact jetty too bad
hope you'll recover 💮
that doesn't mean you should type gibberish
pro-tip: if your internet is rejecting messages don't just fill the chat with gibberish
it's spammy and awful
Yes, it was lol
You don't just accident run your have access the keyboard and press enter.
Even if your connection isn't great, it will send eventually.
!tempmute 741273661423485009 10d Sounds like you're only here to spam, take this break while you reevaluate whether you want to be part of a productive conversation or not.
:incoming_envelope: :ok_hand: applied mute to @compact jetty until 2020-09-28 11:54 (9 days and 23 hours).
If you really need to spam, there’s #bot-commands
shouldn't spam then ¯_(ツ)_/¯
yes btw do you know how can i get the hex color code for a certain img
this certainly
Uhhh
any one of them
I think Python Imaging Library will help you
You can use Pillow, but there isn't one color in the image. You can get the color of individual pixels
you want to do it programatically?
https://lh3.googleusercontent.com/c1XYl-Lij-_MUNxPIqDNIjGoAAROniTMi3rKliBf-hKLAhjJ1UlV3Y2CyMSPCsE0q5JZx6c=s169
@edgy crest do you have any idea whats this color thi
you could also run an average across that kat
oh yeah, but that's just the average color of the image >_> not that the image itself is one color
visible one
but is this a one off thing or do you want to do it in code?
because you could just use the colour picker tool in almost any image program
The most visible one?
umm i wanna set my label in tkinter at least look a little blending with that
You can use PIL, store each in a collection, and then
thats my background img
IIRC you can use .most_recent()?
heh?
Sorry for the confusion
ok....
you just want to know the colour values
but idk the answer...
yes
i mean i just want hex color value
from any one of that image's color
oh wait lol guys i just opened it in paint and picked the color from there
You can do it within discord iirc
the colour picker tool
Pretty sure the console has a color picker
ooooh, it would wouldn't it
how..
np
wow my weather app looks cool now :>
show us?
Neither are concrete things really
depends on what government, part of government and media outlets are at play
As with most questions in life, the answer is "it depends"
both of them have different agendas and they aren't 'to tell the truth'
I think that's an over-generalization and yet I can see your point
I mean, #announcements is 'media' as well
what would y'all recommend as code jams/competitions I could participate in at (later) high school level? There's only one other person in my year (grade) who has any interest for coding, it would be nice to meet some like-minded people, even if only online
not a code jam, but there is Hacktoberfest comming soon, that maybe something interesting @mint lichen
yeah, not entirely what I'm looking for but I'll keep an eye out 🙂
also
there is #pyweek-game-jam
if ur into making games with python
its a game jam
yup, I was thinking about that, but I'm not really into game development and my main language is c++ (though python's also fine) so I decided to give it a miss
that's the plan! we want to make a weather system simulation at some point in the near future. I was just a little curious about coding challenges since it would be nice to meet new people (not that he's a bad friend or anything like that) with similar interests..
you can find people here on the server or other similar communities, some servers have a channel for collaboration which can be useful
u can use the off topic channels here too, maybe
👍
there are many programming servers on discord, maybe one for c++ too
Yeah, there are quite a few, there's one for C and C++
I think last time I tried to post it, it got automoderated, let's see
Oh, look at that
It worked
Ah, nice... that one wasn't showing up on any of the tags/lists for some reason
hey so sublime text's command palette doesn't accept the "normal" ctrl key (the one on the left of my keyboard)- it only accepts the one on the right- is there a way to remedy this somehow?
Guys what is Comodo Valkyrie Verdict
Malware
is it malware
yea
virus total said it was a comodo valkyrie verdict malware but it may be a false positive cause its sending alot of stuff to different servers.
the malware is communicating to a server?
"because its sending requests to multiple servers"
no the download
download is sending requests to multiple servers, is that why it says its a malware?
i think that counts as messing with it
I mean
You wanna do it in a VM
If you can make sure the VM is like
Isolated
Fully
Then why not
Not malware. It does come with a SMALL BTC miner (under 1% cpu usage) so it's not wrong about the malware. The reason why its marked as something is because it has to inject scripts into the DISCORD client which sets off an alarm. It's a micro miner but nothing much to worry about.
Could anyone recommend a PyCharm color theme? (dark + pastell colors)
Hmm, can't find monokai pro
its called Solarized Themes
for the solarized thing
there is also warm-night
it looks nice
Just tried the solarized. Not a fan so far
it's nice
@young shoal where did you find it? I can't find it anywhere
oh it's a plugin
bruh
I have the Filter spectrum rn
what is pastel?
I use the material theme plugin
It's very customisable
But you probably know it already
I tried it out, but it just seems huge
Maybe I'll give it a second try
For now, I'm going with Monokai Pro (filter spectrum). At least for a day or two to test it
beat making session
niiice, the bass seems to be clipping a bit for me, but nice track!
it could just be my headphones though
thanks
I might have over-saturated the bass
ngl pycharm looks hot up there
Dark themes for the win
it is
Yeah. Just a bit over saturated colors, I’d say
i have a blueish background image so it's not that bad
anyone got an idea if it'd be possible to convert a VSC theme to pycharm?
who know trigonometry here?
at least one person
Yeah. I personally like the more black-ish themes over the blue ones, generally
@narrow pecan Thanks for posting that theme. I now have something other than the default theme on clion and pycharm.
wait...you haven't been using monokai?
I have not
xith...
On vscode I used ayu
hey that's the name of a person i know
I transitioned from vscode not too long ago
I'm still getting used to this
I miss my line selection with ctrl L
About when?
About week or two, I haven't really gotten into the themes. Just never actually thought about them until now.
Aah, nice. I personally got started with it today. Been really hard finding a nice theme
it's cute :)
The default Dracula is a bit too washed out, I’d say
I like ccolorful themes
Yeah, for sure. I usually don’t even change themes, through
if its not light theme then i dont mind about the theme
Hahah
the themes that i like for vsc
a)Banner
b)Blink Contrast
c)DarkSide
d)Joker Contrast
e)Keen
f)Legacy Contrast
g)Monokai
h)Monokai Dimmed
i)Pastel Contrast
i like my background and stuff atm but i wanna change the highlighting at some point
what theme is that
was one i made a lil while ago
u "made"?
vsc is fully customisable
banner has really good highliting
simpler backgrounds are the best
you can make it whatever you want
i just did mine in the settings.json but you could also make an extension
i seee
conversation switch
VSC is open source, so you could literally customize everything
yeah
"community material theme high contrast" for vsc is so awesome, I always wished I could convert it to pycharm
but just found out that pycharms material oceanic with high contrast option is really darn close \o/
bout to check it out
i dont have that
now for the "fun" part, code highlighting...
I think you have to download the material theme pack, it should be in there
at least I don't remember downloading it seperately
no file structure shaming please :|
bruh
wild project structure
you can try vscodium
I built a chat who wants to test or help develop
Anime chatbox chat about anime and more
in a way.... I am xithrius
I added a russian roulette sort of feature to my bot, which makes a random person muted for a while (assuming they play)... 90% of my server is muted right now
hah that sounds like a pretty fun feature xD
Glad I could help
I've made my bot such that if those without admin powers try to mute someone, they will get muted
of course, all of us are friends and know each other irl, so people do it for the lolz
A bunch of lambdas
https://paste.pythondiscord.com/biraminudi.py could eliminate more repetition still, but this is fine imo
spork
i dont understand, lambda is the unit for wavelength
It has a different meaning in Python, IIRC
cant they use something else
nvm
my bot spits out random quotes with .quote command now..
lambda comes from lambda calculus, although the python lambda is very different from the lambda calc lambda
yea
wait what..
ahh i just used the haloweenify command for fun i didnt know it will even change my nickname'
lambda is not the unit
No lambda is a greek letter, which happens to be commonly used as a notation for wavelength, among other things
It be has many meanings
lambda comes from lambda calculus, although the python lambda is very different from the lambda calc lambda
imo it's not exactly "very different"
in both cases they're used to create a function
the lambda calculus lambda expression is defined very differently from functions.
well they have similar behaviour if you ignore the fact that lambdas can contain things other than variable names, function calls, and other lambdas
(λx.x)y and (lambda x:x)(y) both end up as y
(λx.x x)(λx.x x) and (lambda x:x(x))(lambda x:x(x)) both just spin around evaluating expressions that are basically just themselves instead of ever giving you a "nice" value
(λx.λy.y) and (lambda x:lambda y:y) are both not affected by what the first argument (x) is
they're similar
(λxy.x)U((λx.x x)(λx.x x)) ends up U, whereas
(lambda x: lambda y: x)(U)((lambda x:x(x))(lambda x:x(x))) ends up never terminating
yes, there is that
there's also the recursion limit
and the fact that lambdas don't have to contain only variable names, lambdas, and function calls
the main difference is iirc lambda calculus doesn't really support multiple arguments, and has a syntax that looks like it but really defines currying functions
ye, that is also important
that too
some specific subset of python lambdas can somewhat represent lambda calculus
https://paste.pythondiscord.com/biraminudi.py could eliminate more repetition still, but this is fine imo
@graceful basin Thats very nice
I did a lot of repeating in my code
this is one of the solutions i found
id_ = lambda x: x
number = lambda x: lambda f=id_: f(x)
zero, one, two, three, four, five, six, seven, eight, nine = map(number, range(10))
plus = lambda x: lambda y: y + x
minus = lambda x: lambda y: y - x
times = lambda x: lambda y: y * x
divided_by = lambda x: lambda y: y / x```
this is mine
def zero(par=0):
if par:
return operations(0, par[0], int(par[1]))
return 0
def one(par=0):
if par:
return operations(1, par[0], int(par[1]))
return 1
def two(par=0):
if par:
return operations(2, par[0], int(par[1]))
return 2
def three(par=0):
if par:
return operations(3, par[0], int(par[1]))
return 3
def four(par=0):
if par:
return operations(4, par[0], int(par[1]))
return 4
def five(par=0):
if par:
return operations(5, par[0], int(par[1]))
return 5
def six(par=0):
if par:
return operations(6, par[0], int(par[1]))
return 6
def seven(par=0):
if par:
return operations(7, par[0], int(par[1]))
return 7
def eight(par=0):
if par:
return operations(8, par[0], int(par[1]))
return 8
def nine(par=0):
if par:
return operations(9, par[0], int(par[1]))
return 9
def operations(num1, op, num2):
if op == '+':
return num1 + num2
elif op == '-':
return num1 - num2
elif op == '*':
return num1 * num2
elif op == '/':
return num1 // num2
def plus(num):
return f"+{num}"
def minus(num):
return f"-{num}"
def times(num):
return f"*{num}"
def divided_by(num):
return f"/{num}"```
🙄
wdym "what"
lol
lambda isn't the unit for wavelength, it is used to denote wavelength
unit of wavelength is metres
idk what Americans use
unless its like radio waves
you'll probably be wanting nanometers
although you could still probably do like 10^-20 meters or something like that for the smaller wavelengths
But using a smaller unit is better
yeah meters is still the si unit of wavelength
like 450 x 10^-9m
because nm is icky
is that red
i mean -20 for the smaller wavelengths
idfk lol
no almost green
Would be somewhere around that in meters for x-rays probably
-20 is incredibly small
yeah
well no, -20 is way to small for light
ok yeah -20 is about right for gamma i think
i mean visible light yeah
but pretty sure -20 would still be on the spectrum
idk though lemme have a look
nope nevermind thats way off
yes..
gamma rays are 10^-12
well this hair clipper is not sharp anymore
it cost like 10buck cutted hair 8 time with it
good enough
tried sharpening it but the sharpening stone is too coarse
well my hair is fuckd now, gonna go to the hair salon again
havent gone to the hair salon for like 4 years
😐
nanometers or angstroms
@young shoal tf? You guys use ångströms? Not even we Swedes use Ångströms and Ångström was a bloody swede!
wavelength is usually measured in meters. If you are doing low frequency comms for underwater communications you can have wavelengths of several hundred meters. The new 5G Covid shit are moving into mmWave which have wavelengths of 1-10mm or 10^-3 meters
angstroms usually for astronomy and stuff
nanometers are just easier for stuff that is usually hundreds of nanometers
so you can say 450 nm instead of 4.5e-6 meters or whatever
Yeah nanometers I can understand, we use those too for certain wavelengths. But ångströms, ångströms!
who doesnt like fucking up their own hair
who doesnt
everyone like that right....
right....?
umm ehm ehm
you all may be young, but are you this young
sid the science kid lol 😂
O-oh
Used to watch it in 2009 (can't remember the year)
Yeah
THe wildfires raging in california right now, one of them was started by a gender reveal
but then that means that there was one in nov 2018
oh wtf how is that on jan 4th
Ahhh
THat was one in 2017
So gender reveal deaths are a thing now
47000 acre in Arizona was that one
a lady actually died here somewhat recently too from a gender reveal, that has been talked a lot about.
@rough sapphire If you choose to learn C++, you'll inevitably learn C. I would recommend starting with C if you want to learn C++, C is an extremely simple (although not easy) language.
because that's off topic for #python-discussion, and I didn't want to make it offtopicer
Ah ok
btw, just wondering on what Programming language I should learn to focus on Blockchain and cryptocurrency?
im curious and the topic is really cool
Can someone teach me how to make a HTML 5 super computer?
Note to self: Don't invest in Nickola
Can someone teach me how to make a HTML 5 super computer?
@manic bloom BTW, I know it's not possible
should have mentioned that earlier
now what am I supposed to do with all the HTML5 I've written for you
Hey guys so this is the most techy server I’m in, and my comptuter at work has something wrong. When I boot it up, nothing displays on the screen except an underscore that flashes repeatedly in the top left corner. I’ve already run a diagnostic which found no issues, and rebooted the system to no avail. Any support would be greatly appreciated. It’s some HP model running Windows OS
I'm going to guess some hardware failure
If you could please @ me with a response if you think you know the problem and/or solution that would be appreciated!
Get IT to fix it
Diagnostic test found no issue with the hardware. And we don’t have an IT department. It is our singular work computer
welp then
As far as IT goes I’m basically it, though I’m in my first year of programming with standard languages, so I can solve every basic issue with computers but I have no clue what’s going on here
I’ve been taking IT classes for years but none of them taught me how to fix stuff, only how to work it
@sleek flicker no boot screen, no nothing? try taking out all the RAM and putting only one stick in
also try both slots
or however many you have
ah so there is a boot screen
Since it’s my bosses computer and I’ve never messed with the internals on any computer, I’m hesitant to pull it apart
seems to me like a software issue
press f12 and check for the boot order options
True
can you type in any commands?
Maybe a virus?
yeah, that is probably not a hardware issue based on what I can see
yeah if it shows the boot screen its either a faulty hard disk or something
How would I check the boot order?
f12 and get into bios
depends on the bios
blinking underscore shows there's a problem with boot direct
Maybe a virus?
@oblique bone i don't think so. Most viruses would not want to lock you out cause then they can't get you to send money to them or sell your data
True true
🤔
Top says USB device
ah
select the SATA device and hit enter
remove any USB sticks you have plugged in
maybe someone messed with the boot order to install the OS
and didn't flip it back
if you've never had a USB stick plugged in at boot then you'd never have noticed
or the boot order is set to boot from USB first if one is plugged in
I believe the USB has always been plugged in
It contains a lot of our work files (menus and such)
okay, well does it boot from that menu if you select the SATA device?
👍
okay, so what you want to do now, once it's done with windows update, is reboot it and press f12 again
then go into system setup
in there will be a boot menu option
where you can change boot priority
you want the SATA device to be at the top
I’ll work on that once the updates finish
yeah let the updates finish first
👌
It looks like someone loaded the OS or something onto the USB because the monitor displays a no input message when the USB is not plugged in
Im@now here
Drives
it should provide you with some info about how to move the boot order
you know what
it might actually be in general
Diskette, SATA Operation, SMART reporting, drives
open up general and there should be a boot order menu
been a while since i was in a dell bios
To the top or just above the USB?
to the top
I applied it and I should be good to go right?
I’ll reboot the system now to make sure it worked
should do the trick
no problem.
it's entirely possible what happened was that if you're on Windows 10 that it defaults the "shutdown" to a sleep state
so the computer never really rebooted
like, properly "shutdown"
so it'd never go back to the bios boot loading process
which means when the update restarted the PC, it got caught trying to boot from the USB stick
always bugs me that Win10 does that by default. sleep state when you tell it to shutdown
have to turn it off
ot is not a meme dump
K
i swear you've been told this loads
do you swear
a lot.
he's right though, you've been told many times
Don't worry, a mod is typing

hooray, daddy xith
Hes trying to moderate
!tempmute 698664044944425052 1d You have been told before to stop shitposting in offtopic channels with random memes before. You didn't listen. Also, I'd appreciate it if you respected our staff. Take a break to reread our #rules once again. You're on thin ice, my guy.
:ok_hand: applied mute to @halcyon mantle until 2020-09-20 20:08 (23 hours and 59 minutes).
bisk isn’t staff
psvm is though
Who?
he’s helper
He's staff.
oh thank god your username is back
is it python?
yes
you can use a help channel which is specifically for python #❓|how-to-get-help
the ot chats are for pretty much anything so you have a better chance of getting help with a help channel
why not
if theres anything sensitive in it, just remove it beforehand