#ot1-perplexing-regexing
1 messages · Page 410 of 1
i was seeing if i coud see the most concurrent branches in python bot
and cuz pretty
duh
definitely pretty
:>
what's that in
git tracken'
xD
Today its time to upgrade my servers. i got sponsored
Idk if need that many servers but oh well!
Shutting it all down!
nice
Is there any good way to get a long secret from oauth2/openid/some modern widely supported kinda SSO provider?
i'm trying to use it as the signing secret to let users prove their identity without needing to exchange the actual secret
but that means that i'm sending signed data insecurely, so the key needs to be in the region of sha256, i.e. not just the puny 10 or so bytes that most oauth2 providers give you as a token
i'm seriously considering just getting multiple tokens and concatenating them
the issue with that is that oauth providers make no promises about cryptographic security of their private keys
and it would be entirely possible and indeed theoretically OK if there was some major limitation to the true randomness of those keys
I think whole point is token is just enough to test
@hollow pollen just like a color swap?
I just need to change an image color from black to ths kind of color
so across the spectrum? tint it moreso?
the whole image or only one color
You could desaturate then apply a hue
if you want the whole image
i mean the cyan color + some kind of blue I think , but the gradient
from solid black to a shade?
the orginal image is this , but I want to turn into similar color as above
and how do you want the hotspots?
what do you mean?
See where it gets light?
You need a method to the gradient
unless you want just from darkest to lightest straight scross
I just the cyan gradient . that's it
From white to cyan?
I'd say make layers
do a circle
white in middle, gradient out to cyan
or light cyan in the middle
I don't know all the processes, but I know it works, I cna find whatever relevant tutorials
I mean from black to cyan gradiet color
I personalyl don't have photoshop, but I'm familiar with software
Same idea
Make a circle with ablack center and gradient to cyan
Something like that
Just cut your logo out of that as a layer
might that work?
i will check out
so a while ago Mark7 and I were discussing turning files into images and eventually I decided I should try to make an image to text converter
well I am getting back to that now realizing I do have the power to change the order of bits so if anyone is wondering about my project uhm you can tell me
so i fixed the problem thing and now the edited image looks very close to the original
This was from the previous time that I did this. Both images were the edited versions
The reason is because I was forcing either bit 6 or 7 to be set in the previous run, so the darkest any given pixel could be became #404040 which caused a lot of colors to be brighter than they should've been. In my new version, the darkest a pixel could be has been brought all the way down to #020202, which is a lot closer to black
This is the difference between those colors
Well yes
Ships crate of cats To: Care of Bisk, somewhere in the UK
i had this weird dream last night
my alarm went off but i couldn't find where my phone was
and the sound was really fucking loud
i eventually found the phone
it wasn't even making the noise
i bluetoothed my phone to my stereo, duhh..
confused the shit out of me for a good 2 minutes
was this a dream.. or did the alarm go off
ᶦᵗ ʷᵃˢⁿ'ᵗ ᵃ ᵈʳᵉᵃᵐ ᵃˡˡ ᵃˡᵒⁿᵍᵎ
alarmception
@rancid forge convert to text as in unicode block characters + terminal colors?
"hey, office 365 exchange. can i have a list of every single user in distribution groups in a workable CSV file without too much effort?"
"sure you can! just go to the web panel and select the distribution group and click on export!"
"but... what if i want all of them?"
"EAT SHIT AND DIE."
blurgh.
and now it turns out in the 3 days i haven't looked at confluence they've completely re-designed their UI
i love that.
free?
boss is upgrading his.
ah yeah I think you mentioned
yeah, i love free shit.
i really want to get a new laptop at some point
Y'know, there's an X/wayland bridge
xwayland, yes
doesn't work (well)
some people report that they can somewhat move the mouse around, but sometimes it goes crazy
and certain keyboard inputs aren't being sent
it just doesn't work at all for me
aw fuck, my boss is coming over to deliver the laptop tomorrow.
i guess getting dressed is a price to pay
@rancid forge convert to text as in unicode block characters + terminal colors?
@high verge nope, just the raw data shown as ASCII
That's why my first image looked so awful. ASCII requires one of its top two bits (in a 7-bit system) to be set, and since I was previously not rearranging bits, just shifting them right once, the dark colors couldn't possibly exist.
I still don't really understand what it's doing
Using a bitdepth that makes it ASCII compatible?
What I'm doing is removing a bit and forcing bit 1 or 7 (zero-based index) to be set so after some bit rearrangement, it's valid ASCII. I'm using standard 24-bit bitmaps as those aren't compressed. 32-bit bitmaps (ones that support transparency) and other uncompressed bitmap versions are able to be used since the bitmap standard requires a statement on where the actual data starts.
This is what the code currently looks like. So far only the image to image conversion is supported
(for once i have a lot of comments in my code)
why is vim better than emacs?
ed is the standard editor
any other reasons?
it's all choice baby.
I watch a video on where GREP came from yesterday, and never realized it essentially came from a stripped down ED
Also that ed is supposed to be mentioned by the letters, not like a name
i'll go tell him
But the name comes from a group of commands from ed: Global g, Regular Expression /re/ and Print p.
Just found it really neat
does being a private schooler make you more successful than public schoolers.
no
It doesn't make you more successful, it can give you more opportunities to get the connections and knowledge, but it's up to you to actually do something with those opportunities
It depends on the actual school (some private schools are worse than some public schools and vice versa) and, mainly, your own actions, choices, decisions, attitude, etc
It's more about what you do than it is about what environment you were in
Although your home environment can have a HUGE impact
Like say you have an abusive family or you have to spend most of your time taking care of your younger siblings. Your studies will suffer for it
But that's not to say one person is smarter than the other, just that every person has a different life they have to deal with
Yeah, the environment still matters
i seeee
I'd say people who grew up in healthy families have a higher chance of being healthy themselves than, say, people from abusive families, there's a lot of factors
But in general, most people are standing on a more or less equal ground
As people yes
But I wouldn't say they're given a fair playing field
Especially poor and minority families vs richer one or white ones (at least in the US)
oh,what do guys think about all boys/girls school vs normal schools
like the differences
It really depends. I think ideally, diversity is the best way to develop. The more we can learn about others, the better off we will be as not only an individual, but as a community. But for some people, being in a more rigid or restrictive environment is beneficial to them. So it's honestly hard to really hard for me to have a strong feeling one way or the other about it
they're not a big enough thing in general for me to worry about the societal impact
like in the sense that antivax is a problem for all immunocompromised people, whereas skydiving into a shark's mouth is only an issue for one person
THAT would be a hell of a trick
Also could be a fun little game
Like a phone game or something
I mean this is coding server so...possibly a skydiving game into a shark's mouth
honestly I feel like going into an all boys school suck,youll probably never really understand the girl side of stuff. I mean some people really wants to get into an all boys school,mainly girls but still.
Your pseudo is messing with my brain akarox haha
like it so far.
i like the little shift to a minor tone @ ~45s
1m or so you could try working with a key change or something, to break up the flow a bit?
maybe as it "builds up", you could get a little more extra on the drums, like little break beat fills
very nice though, good job.
sounds like an 8bit lazy day in the park
that buildup around 1m20
you could use that to create some kick build up
like some quarter notes, eighths and then sixteenths for the drop
i've been thinking of adding a roll thing
like
hang on
like 17s
the drums 'dundudnudun'
idk what they're called but some kind of roll thing like that
i do not have the spotifies
oh like fills?
i tend to cheat
¬_¬
i'll build the whole track on a grid with some basic beats
then go back over the drums and automate them, add flares here and there
hmm ok
at least when i've worked that's how i've done it
build a skeleton where you're like "okay, that's the rough shape. now lets get some nuance"
https://soundcloud.com/b5beats/j-s-oh-lord
i did this track with i believe 4 instrument tracks and then just a bunch of effect automation.
the tone of the lead synth is controlled through a series of VST / effect parameters that i could just twiddle dials on and record those inputs
so i'd "play through" the track multiple times recording different automation "play throughs"
i alternate between being good and bad at arrangement it seems
or maybe only compared to my other skills
like any skill it takes practice :D
you should hear some of my garbage ¬_¬
got folders and folders of projects which i spent like +2 hours on and are just like 30 seconds of nothing
sometimes you have to take a step back if you can't see a direction for the idea
try a new thing for a while
then re-visit the old thing later
you only get better by doing :)
And then you find out there's only One Direction
there are dangers to becoming upper-class poor they never tell you about
just now i was seriously harmed by the system
the gold wire mesh they put on the wine bottle sliced me up good maaannnng
don't you have any teeth left?
haha
be careful of wrapping your sandwiches in tin foil
that does look like an awkward spot to get sliced though
nah, it's not that bad
Please don't bring other server drama over here
Can't speak to him in DM
Send a friend request and you can
@gusty hatch Please don't bring drama from others servers to this server.
I don't care. That's not a reason to start chasing them on other shared servers
They are here as an individual member and you're not going to harass them here for cross-server drama
Harass ? Is sending a single message harassment ?
U have a strange definition of the word harassment bro
if your girlfriend blocked you on everything, would you go and stand outside her place of work?
Ok no problem u are the boss here
@gusty hatch This is not a discussion. Don't bring cross server drama here.
I don't say the contrary bro just discussing on a point
bring back hats.
bring back hats.
@gentle moss no
you're fired from the press department of Hat Inc.
this confuses me
@oak tangle Do u have the guy in Friend ?
If it is Can u ask him to accept the Friend request pls
@gusty hatch learn to take a hint
you can't always get your own way in life
learn it now
excuse me, sir, can't you see we're in the middle of a very important board meeting of Hat Incorporated.
also that
i had just to let this man go for failing to live up to our high standards in marketing.
this is a solemn moment.
how do you think Hat Inc. is going to sell product with that angle?
aggressive expansion into haircuts
you better have a 13 point powerpoint presentation explaining this diversification in marketing material.
bisk is straight shooter with upper management written all over them
hmmm... haircuts and hats are not mutually exclusive industries.
how do you think Hat Inc. is going to sell product with that angle?
@gentle moss
Just wear the hat at an angle
one that exposes the hair cut
don't encourage him Zappa
what better to accentuate a beautiful haircut than a nice hat
or incorporate haircut with the hat
the standards are already codified:
no hats
I think standards are wrong
you can't argue with it, it's written down and everything
!otn a bisk's angled hats factory
:ok_hand: Added bisk’s-angled-hats-factory to the names list.
i demand a no hats equivalent
!otn a neon's boring hatless existence
:ok_hand: Added neon’s-boring-hatless-existence to the names list.
as the new head of marketing at Hat Inc. i believe the only way is up for you.
I thought rule 0 was no negotiating with no hat terrorists
hat security?
ever seen a hat trick before
such as razors around the brim?
yep
flamethrowers or buckets of hot tar attached to the brim
took like 3 minutes to clean up the rink
those may pose problems in situations when you're required to greet a lady.
that plus hot tar
not so good.
oh no i dropped my tar my sincerest apologies m'lady
my hat does appear to be stuck to my head
i suppose that's one advantage to the tar.
did you know GOD gave you a purely 100% natural hat? it's called hair
hats are a crime against nature
yes, but you can't doth your hair at a lady.
did you know discriminating against black hats is a hat crime?
you mother fucker
my fucking keyboard is wet now
fucking sip timing little shit
right, which camera did you hack
hat incorporated is dissolved due to one bad joke.
in hindsight making them all out of sugar paper was a bad move.
🙄
Do I attempt to write a cmake file to use an existing http2 c++ library, or do I attempt to implement http2 myself?
implement http2 yourself and build it with cmake
woot
my surface is here
i do like a nice bonus.
so i love this
i'm looking to see the level of linux support for the surface book 2
someone on reddit:
The Surface Book 2 is officially the best linux laptop in my eyes. It's crazy how well this weird hardware works now.
the article linked:
What works?
Note: Touchscreen only works in a Window Manager or Desktop Environment that has full support for it. It's recognized as a mouse click otherwise.
Touchscreen
Requires kernel with modules/drivers in link above.
Pen Input
Requires kernel with modules/drivers in link above.
Removal of keyboard base
A few seconds slower in Linux than in Windows
May cause touchscreen to stop working until reboot
May cause issues with dedicated graphics (if equipped)
Keyboard function and media keys, including volume and brightness
adjustment of the keyboard and screen backlights.
Wireless Networking
May need a tweak from #WiFi if Wireless Networking hardware
disconnects during use
Speakers / Headphones
Speakers sometimes have a hissing noise that can be fixed
Dedicated Nvidia graphics (If equipped)
Hibernation
Only when the touchscreen is disabled
ACPI, Battery stats, power saving, etc.What doesn't work?
Cameras
cameras were really one of the major hurdles?
so i just found out a company we're partnered with is doing a webinar that i'm attending and it's hosting on Zoom.
being bored, i thought i'd write a "do you have a statement as to why you're using zoom given the both the security and political blah blah blahs" and sent it to their "contact@" address
contact@ doesn't exist :o
webmaster@
oh lol
they should probably get that looked at
"hmm, wonder why nobody's been contacting us recently"
well they were purchased for about $1.5bn 3 years ago
:D
discount coffee would be nice
i think i might contact them about their contact@ email address not working
repoooorrrteeeddd
does that count as doing work? i don't think it does.
also got told they'll follow up with an ethical statement about their use of Zoom, so looking forward to that. ¬_¬
If you are bored try: https://sites.google.com/view/websitesforquarantine/home
A quick advice
Don't use fancy numbers to get more accurate results while testing efficiency
Love your computers
god damn fucking customers
they fired a bunch of staff and were like "oh, we can downgrade our o365 account to a lower level now!"
bam
all your mailboxes are now full because you're on a lower tier.

Any recommendations for good keyboards ~£100
not too gamer-y, not too hipstery
for gaming and typing, and ideally wouldn't have a reduced number of keys
@gleaming hare can you react to this message
huh, interesting
@gleaming hare You can stop now
just discovered that goofy goober is based on an actual song
spongebob cover was better tho
remade in what
computer
oh ok
for le site
figured i should remake them rather than a shitty image
ahaha
Cuz that embed now scales
yeah
bitmaps are for losers
with this you can do dynamic stuff as well
/\ fax
have the list change dynamically
OR
is this like a live thing
like does it update from some other site
yeah it looks good
wait
this may annoy you
couldn't you just copy paste from discord
- classes
styles i mean
Nah cuz it makes shit messy
I use a diffrent CSS framework to discord
so i made this in TailwindCSS and just gonna prep it for templating
so i can just drag n drop them for where i need
CF8: Can you recommend some anime for me?
i'd highly recommend Tower of God if you havent already
I havent finished it 😩
that site still has thousands of lines to go
But the principle of the site i it bases it off tags you've watched previously then a random chance of wildcards
I want to watch something like Devilman or Berserk that has animal people
Know of anything like that?
like Demi-humans?
Yeah
Also, I mean any Devilman and Berserk. I enjoy the originals and new ones for both
I wouldnt necessarily say it has much Demi stuff (altho one of the main characters is) But "rising of the shield hero" is a good one
Watched it 
Im still waiting for s2 😩 Delays kill
Life is unfair. It would be nice to be able to black out or go into some sort of coma until things happen
Instead of having to wait
Just go into autopilot
in arma if you attack friendlies you lose rating and if you do it too much your friendlies start attacking you
i was piloting a drone
i shoot all my friends
so now i'm evil
the drone shot itself!
automatically!
They shouldn't have been in the way
if there is one thing I don't like in industry....
it's people who worked on these codes before me 😂
to be precise, that one person 😁
nvm
That's one of the C languages
Oh
Basically, if you define ABC as 42 fo instance, before compiling, the compiler will replace all ABC in the source code to 42
That's a code constant in some way
It's weird because his comments don't appear to be commented right or can you have comments in that C language without quatation marks...
Oh
How
have you been doing this ```py
"Comment"``` the whole time
H o w
you need them for multiline comments
No, like why doesn't his text get surrounded by quatation marks...
but both of these are valid ```py
Does a thing
do_thing()
"""This does a thing, and I'm going to go into such incredible
detail that you'll quickly get bored and stop reading"""```
why would it
Someone sent this meme in r/programmerhumor and I don't understand it.
That reminds me, I did something similar last year
I know I can do # Hi
Yikes
This
Code
Bad
Bad..."""```
@topaz aurora H o w
THAT'S CURSED.
Haha

Now we should all program using ASCII char names
Let me invent a bad programming language w Python.
anyone know if there's an application or website out there that lets you draw with lines, then 'export' the image as a set of points/vectors? I want to make a simple demonstration for something that will use vector graphics but don't want to go to the bother of importing .SVG files or something similar
You could use Adobe Illustrator, idk.
It's not too hard to create a new vector image and draw something to it.
and you can probably parse an svg polygon very simply
the plan is to use tkinter's canvas and draw it as a set of lines... I'm not really that familiar with SVG, would it be easy to parse a set of lines into a set of points and a colour? sorry if it's a dumb question
hey guys, i would like to download a python course that is on youtube. There are 142 videos on the list. Is there any way i can download all videos in one click?
I don't think so, not without breaking their Terms of Service, at any rate
I'm pretty sure
well thks anyways mate 🙂
Any time
Ill use yt
def encrypt(n, key):
if not isinstance(n, int):
raise TypeError("The value to encrypt must be an integer")
DELTA = 0xff ^ key
cipher = n ^ key
cipher += DELTA
for num in range(cipher):
cipher += num
return cipher
def decrypt(v, key):
if not isinstance(v, int):
raise TypeError("The value to decrypt must be an integer")
DELTA = 0xff ^ key
v = (v-1*v)//2
v -= DELTA
v ^= key
return v
lmao why doesnt this work
im doing exactly the reverse operations in the decrypt func
Wait, does v ^= key work?
yep
I'll be damned
why wouldn't it?
v = v ^ key
I genuinely don't have a good answer for that.
Just always assumed it was the more basic operators that could do that
for num in range(cipher):
cipher += num
is this not just cipher += num * cipher?
its cipher + num at every loop
Order of operations is a bitch
Yeah that'd just be v-v at that point
What's the second argument?
Gotcha
That'd do it
As the kids say, "oof"
make a programming language where there is no order of operations, everything is executed at once
that sounds awful 😂
it returns every possible interpretation of what you ask it
for num in range(cipher):
cipher += num
this is definitely (0-cipher] right?
so she invented quantum computer?
wdym by (0-cipher]
def encrypt(n: int, key: int) -> int:
cipher = 0xff ^ key
cipher += n ^ key
cipher += (cipher * (cipher + 1)) // 2
return cipher
is this what you actually want?
(for encrypt)
Call the language race
what's that -> int there
Not that kind of race
Each operations are done in a separate process
about? 🤨
race conditions as a service
that's type information for my ide
HA
lmao
eh the first one was better
i think that's it
no i removed completely the for loop , will try with ur code now
omg i was doing a dumb thing
i was summing the number from 1 to the cipher number in the encrypter
then in decrypter i was doing the same thing basically
yes that was a little strange
def encrypt(n: int, key: int) -> int:
cipher = 0xff ^ key
cipher += n ^ key
cipher += (cipher * (cipher + 1)) // 2
return cipher
what's the reverse of gauss?
are you sure u can reverse this without brute force?
x = n * (n+1) how do you reverse this?
ssuag
lol
I'll see myself out
btw
if you do n: int in the arguments you can still give a string as arg
will error only because of unsupported operand
Pretty sure that is reversible, considering it is guaranteed to be a positive integer
It also gets stored in the __annotations__ attribute, so if you really want to you can utilize that in your code
Fair point, forgot that
i mean yes technically it is reversible, theres no loss of information - but i meant easily reversible
without brute force
like sure you can just find the number's factors and get the 2 that are 1 apart
It is a quadratic equation, one which I think will always have exactly one positive root. Would need some testing though
well i just want to get an int that's why i added floored division
what a beautiful parabola 🙂
ok but you just reverse that with * 2, that's not the hard part
and yes you're right about the quadratic equation @graceful basin 🙂 didn't spot that
y = x^2 + x
ik the quadratic formula is simple, but i'm amazed python doesn't have a builtin module for it
The result would be a bit complicated, it is 1 or 2 possibly complex values, which seems like a pain.
i think we only care about the real (?) value, not the imaginary part
wait how would it have a complex value?
Well, we are guaranteed to not have a complex value
But in the general case, a function for the quadratic formula would be a pain because of these results
shouldnt the reverse operation of (499*500)\2 be 2*(499/500)
hope it makes logic but doesnt work
to what number?
for some reason the reverse operation is this
i mean it's the reverse of gauss method to calculate primary numbers
which number are you doing the operation to
def quad_solution(a: float, b: float, c: float) -> List[float]:
disc = (b ** 2) - (4 * a * c)
roots = []
if disc >= 0:
root_1 = (-b + math.sqrt(disc)) / (2 * a)
roots.append(root_1)
if disc > 0:
root_2 = (-b - math.sqrt(disc)) / (2 * a)
roots.append(root_2)
return roots
@graceful basin ?
Yeah, that would work
😃
def encrypt(n: int, key: int) -> int:
cipher = 0xff ^ key
cipher += n ^ key
cipher += (cipher * (cipher + 1)) // 2
return cipher
def decrypt(n: int, key: int) -> int:
roots = quad_solution(1.0, 1.0, n * 2.0)
plain = int(max(roots))
plain -= 0xff ^ key
plain ^= key
return plain
i think this should work? (unlikely to work first try tho)
I think it's a bit more complex due to the +=
shouldn't be
cuz i can subtract that first
since it's commutative (is that the right word? either that or associative, and knowing my luck it's probably both)
Well the first one is when you can give people an infection you have....
Remember to tip your waitress
ah i fucked up
should be n * -2.0
ok yay it works 🙂
import math
from typing import List
def quad_solution(a: float, b: float, c: float) -> List[float]:
disc = (b ** 2) - (4 * a * c)
roots = []
if disc >= 0:
root_1 = (-b + math.sqrt(disc)) / (2 * a)
roots.append(root_1)
if disc > 0:
root_2 = (-b - math.sqrt(disc)) / (2 * a)
roots.append(root_2)
return roots
def encrypt(n: int, key: int) -> int:
cipher = 0xff ^ key
cipher += n ^ key
cipher += (cipher * (cipher + 1)) // 2
return cipher
def decrypt(n: int, key: int) -> int:
roots = quad_solution(1.0, 1.0, -(n * 2.0))
plain = int(max(roots))
plain -= 0xff ^ key
plain ^= key
return plain
@stuck meteor
Also, you can use integers in the args, since py3 all numeric types implicitly become up to complex depending on the complexity of the math
Well, not become
Integers just can work in place of complex numbers
ik, but it's nice to abide by the typing hints 🙂
Use the number type hint then
I thought so
yeah pycharm can't find it 😦
PEP 3141 defines Python's numeric tower, and the stdlib module numbers implements the corresponding ABCs (Number, Complex, Real, Rational and Integral). There are some issues with these ABCs, but the built-in concrete numeric classes complex, float and int are ubiquitous (especially the latter two :-).
Rather than requiring that users write import numbers and then use numbers.Float etc., this PEP proposes a straightforward shortcut that is almost as effective: when an argument is annotated as having type float, an argument of type int is acceptable; similar, for an argument annotated as having type complex, arguments of type float or int are acceptable. This does not handle classes implementing the corresponding ABCs or the fractions.Fraction class, but we believe those use cases are exceedingly rare.```
oh
eh next time, float is fine for now
it's a quadratic formula and we only care about non complex roots
@shell spear yeah, programs :)
What codes?
You mean programs?
I use code/program interchangebly, in fact I tend to use code more often even 🤷♂️
sounds a bit strange to me
idk
most people say 'code' rather than 'codes' as well since 'codes' makes it seem like a cryptographic code
countable vs uncountable objects etc
guess you are right
it's just the way it was often used around
code, or even codes
and bad habbits are not always easy to shrug off
neo 

i will hide in the corner with 
Sad atom noises
https://www.imdb.com/title/tt3089630/reviews these are just depressing :/
The description is even worse, it sounds like someone just picked a few bits from the first four books
Yup
Disappointed, but not surprised
I'd never watch that in my wildest dreams.
It is for I fear seeing a bad adaption of another great book.
The very worst adaptation of a book to a movie I have ever seen was a Japanese film called The Eel.
The original novel (called On Parole) was excellent, and they somehow turned it into this awful bad joke of a film.
Dungeons & Dragons.
Not strictly just a book adaptation.
But...in the realm of adaptation.
I saw D&D when it opened, to a mostly empty theater, and I amused myself when the moat caught fire by shouting out "Hey, it's the Cuyahoga!"
(You are not expected to get this)
Gaming group in-joke?
Ohio resident in-joke. :D
(The Cuyahoga River was so notoriously polluted in the 1970s that at one point it actually caught fire)
Dragonball.
I consider myself lucky for having never seen it
See it once, then never see it again.
If we're comparing cinematic crimes, Dragonball is very slightly more watchable than D&D.
I am taking this topic to #discord-bots ; i forgot that was a thing (edited)
What is anyone here's number one thing that makes for a good editor?
For me it is probably the ui
I'm one of those people that spends a few hours every other week trying to change up the color theme and such
Tool integration above all else. Being told about issues while I'm writing code is my #1 step in debugging
Nothing makes me happier than finding bugs before even having to run a single line of code
UI and startup time for me mostly
Yeah startup time is also really important. Also how much time it takes to get coding, I always feel like PyCharm or VSC take a lot longer to get started than others
That's mainly because of the ide-like packages in vsc and how heavy weight py charm is, of course 😃
But, something like sublime I feel like takes less than a second; i just open sublime and I get to start where I left off
Why is start up time so important? How often do you have to open and close your editor?
That's true, it's not always so much that I am opening and closing it either, but when I do, it seems kind of annoying
Also, how long is too long? Spacemacs takes about 3 seconds to open up on my laptop which is annoying but not a big deal
but also the part I said about how long it takes to get into a new project is more important to me
Ooh, I've never heard of spacemacs
Seem's like a better version of emacs
Why is start up time so important? How often do you have to open and close your editor?
@viral panther Let's just say that my patience deteriorated because of VS Code haha
same here 😅
Oh, damn. That sounds crazy
I seem to always gravitate towards light weight editors
so, for now, I'll be using sublime
I also just learned about the Terminus plugin
which, to say the least, is the best thing that I ever realized existed in atom
i mean sublime
Apart from that, I've gotten used to a CLI-heavy workflow since I previously only worked on Windows Terminal with GHCi on cmd and Vim on wsl
On a side note, does anyone else ever get scared away from contributing to something because there are so many scripts in it?
I'm still trying to find an open source project to contribute to actually, and it honestly feels like a daunting task
Yeah, I actually haven't actually contributed to anything, it seems like there is so much knowledge that you'd have to already have about the source rather than just being able to go right into it?
Yeah, I guess most of the motivation also comes from being fond of the project/knowing the internals of it
Windows is suspiciously slow today
Really?
Why do I get the feeling that I'm updating
at least you automatically get flash updates

Flash is being discontinued by Chrome btw
What is anyone here's number one thing that makes for a good editor?
How it takes for it to load and whether or not it freezes for half a second while I'm typing (these are two problems with vs code btw)
the former isn't an issue for me since I just leave the thing running all day
the latter is a big issue though and is a problem even in "light" editors like emacs
that it puts squiggly lines under stuff that is clearly not wrong and offers no explanation as to why.
that's an important plus for you? fair enough
i love worms.
dogs > *
dogs that can do the worm > worms
three headed fire spitting dog > dogs
only if they're called spot.
when spork is alone he imitates cat noises
Hades hellhound was called Spot
i can't deal with a spork that only has 3 prongs
Flash is being discontinued by Chrome btw
@solid pollen most major browsers are dropping it simultaneously
flash is reaching EOL soon and will be getting no more updates
flash is reaching EOL soon and will be getting no more updates
@rough sapphire is this the end of justice league?!
now to remember how to fix broken profiles... sigh
why are you working on a Saturday
i always work saturdays.
we have a retail customer, we do saturday support for them
it's usually a nice quiet day of maintenance without people getting in the way and maybe some coding.
today is less quiet and more sweary.
Is Fiverr a good platform for selling Discord bots?
People sell Discord bots?
Yeah
People constantly tell me I should be making money with the things I make. Maybe it's time I try
I sold my code for around $40 but I can't seem to find people anymore...
How does it work? Do you give away all right to your code?
Yeah someone from this server dmed me and asked me wherever I could code him a bot for a few bucks.
I mean
Firstly you find a buyer and discuss with him what kind of features he want and stuff, the price is also important.
You would code and test your code, then somehow sell it via Paypal.
This is risky since you can get scammed.
Even if you're not going first.
Lol, I'm not doing anything without a contract
But yes you just sell your code.
Ahaha
He gave me money first so I wasn't a bitchy scammer and gave him what he asked for.
Great guy, was a shame he banned me because I was underage (His server was 18+).
Lol
What's the going rate
Wha
this profile corruption doesn't make any friggin sense
the user has no profile registry key or user directory
yet rather than "rebuild" the profile on login it just dumps them straight into a temp
sigh
how can i make a python console in tkinter?
"hello linux server, could you restart for me?"
"sure, bisk, give me a minute."
one minute later
"done!"
"hello windows server, coul-"
"did you say something?"
"yeah, could you rebo-"
"sorry, i'm in the middle of something can you stop that first?"
"stop what?"
"i don't know, but i can't restart unless you stop it."
"well how about we forget about that thing and just restart anyway."
"you got it boss........ here i go..... rebooting...."
5 minutes later
"still working on it big fella, no time at all...."
5 minutes later
"okay that's the reboot done, now just let me get windows ready for you."
hah
our AWS instances go from on -> off -> all services running again in about a minute. saving money using weaker instance types
but this friggin RDS server is installed on baremetal with SSDs
Quad Xeon 4110's and 64GB of RAM.
:|
it's still "getting windows ready" for me
it's apparently up because i'm remotely connected into its frigging powershell
well
problem solved.
it hasn't even rebooted yet.
Ok then I'll make sure to never use Windows Server 20xx ever.
i just had to call someone in their office to force reboot the server
why microsoft?! whhhhyyyyyyyyy????
each rotation of its shitty little dotted dial is just a reminder of how much money is being pis-
OH HEY IT'S UP
now, why did it crash?
uhhhhhhhhhhhhhhh..........
magic. magic did it.
case closed.
windows is good at probably 10% of the things it tries to be good at. a server is not one of them :D
their logging system is... something else.
microsoft dev: goes to a help channel because he needs python help
we: okay, can you show us the code?
the microsoft dev and microsoft as well: 
actually microsoft has been getting quite good with open source.
haha
i mean that is actually a documented strategy they had
"Embrace, extend, and extinguish" (EEE), also known as "embrace, extend, and exterminate", is a phrase that the U.S. Department of Justice found was used internally by Microsoft to describe its strategy for entering product categories involving widely used standards, extending...
i mean what about their current behaviour makes you think they'd continue to do that?
opensource a lot of their shit?
start to integrate linux into their operating system?
poppycock
obviously they're gonna extend linux and make a proprietary version that will clearly be good enough to take over mainstream linux usage /s
microsofts biggest offense has been what they call servers
although to be fair, azure VMs are great
microsoft has the biggest free VMs for devops out there
they even have mac VMs
I'm surprised apple hasn't bitched at companies for doing that
it's probably in some license or something
Yeah, probably
i doubt they're letting it slide for free
it's funny though
if you actually want mac servers
do you know what they make you do?
nope, i've never had that desire funny enough
oh haha
imagine how fun it would be to tip
it is shitty
on my small screen at a distance that looked like a large cluster of xbox 360s
haha
but if you're developing for apple
the mac mini isn't even that great
you kinda need that shit
you do, yeah
i think the guy who posted that top picture was like
"this is testing batches of production code across ~30 different environments" or something
fully automated mac mini testing infrastructure
Yeah, I mean, that's neat and all
but surely it'd be more efficient with a bunch of VMs
i wonder what the pricing is like
depending on scale of your requirements
and how are the azure mac VM's run?
i can see why you might want to actually run it on apple hardware
mac minis cost about 3,000 dollars for a maxed out machine
lol bullshit
holy fuck
oh okay, that's like the latest model
i wonder how much of the mac mini market share is just developers in need of platform testing
is too much a valid answer?
unrelated note: this keeps popping up in my facebook feed
i refuse to watch it and instead spend my time thinking about what he's saying
oh no
clearly bad costs a lot of money, but good is cheap
go on
so if you put the bad money into the good then it'll cause a temporary state of neutral money
before turning the good money bad
that's why he put a line down the board.
good / bad money segregation
but at the same time, the bad money is worth more £'s
so perhaps the answer to wealth is to get all the bad money.
I'm not entirely sure how azure runs its mac VMs but they've come in very useful
I suspect they are actually running on mac minis
since you can't get a VM license without having a mac
and i'd be very surprised if apple let them hackintosh it
people also make smol docks for smol developers
@sand goblet can i have a smol dock? i'm not a dev but i am smol
i actually really like docks for hardware setup
:>
probably, yeah
I understand the convenience
you have all your shit on your laptop
at work and home you have your dock with all your shit plugged into it
it's convenient
yeah, one of my bosses switched to that
just comes in and plugs into his fucking massive over the top curved gaming screen
bisk, I have Surface Laptop, the dock is worth it
i just don't use laptops like that really
but i am looking to change my laptop habits
previously they've just been shitty little portable toolboxes
do you game?
Surface Book has enough power to be your only machine
yeah, that's the thing that gets me
when I was taking a break from gaming for a month, I only used my Surface Laptop 2 for everything, browsing -> Python coding without issues
i've just been on console games recently tbh. after 20 years of PC gaming it doesn't lure me in that much
i am looking forward to getting a pen and trying some drawing
only console I play with any regularity is my switch
i spent far too long being a super elite fps pc gamer who thought consoles were for noobs, so am catching up on a bunch of stuff
i think until i moved in with the miss and she got a ps4 the last thing i played on a console was Gran Turismo 4 on PS2 and that was just as down time.
r/pcmasterrace is so depressing at this point
All these people spending their whole lives trying to justify only playing on pc
see, i never went that bad.
i just didn't find much appeal in anything that wasn't an FPS game for ages
I mostly play on my PC
I'm playing games like Stellaris, RimWorld, Space Haven which only rock on PC
Stellaris is only one available on Console and it's extremely limited
for PC gaming the last thing i played is Quake 1
it's like a nice warm snuggly blanket
I play that as well
Seagull, finding a community is struggle
my recommendation is avoid anything military sounding
I've made my own MP missions
i enjoyed playing some of the ARMA mods
Mess around in the editor
me + 5 real life friends were down for Epoch / DayZ type stuff
I used to play in 40 person community
got real into it
but I also play Digital Combat Simulator (sim level Fighter Aircraft simulator) so I'm wierd
Never had a computer that could properly run DCS when I was interested in it
ARMA is so awfully optimised
It does a lot tbf
Full building interiors, everything destructible
The only reason Tanoa is vaguely playable is because most of the buildings have no interior
yeah, too much is offloaded to the client though
64 bit helped a lot
in terms of actual graphical rendering, SO MUCH is handled by the CPU
Mainly because it allowed it to just eat RAM
f.ex, i upgraded my GPU by 2 generations (forget from what to what) and gained about 10fps
i overclocked my CPU by 25% and gained ~40fps
that's... that's wrong.
it smacks of shitty engine design
That’s called poor game design
Since apparently they are targeting consoles in ArmA 4
bit harsh lol
True, it might be the engines fault, but at the end of the day if the engine fails, the game does
and game design / modding
the ARMA engine is a piece of shit
the NETCODE is fucking shocking too
i'm in the middle of Jackbox atm so i'm having to truncate my rage
I’m going to play Minecraft Dungeons
Have fun
It’s such baby first dungeon crawler but I love it
This is the only game which has required me to learn the Czech for 'rear rotor
Mala vrtule
I’ve watched gameplay of it and it looks like Monjang just went “let’s make a Minecraft version of diablo 3”
It is
And it’s performance on Switch is awful, would not recommend
But it’s much more casual, at this stage in my life, casual is great
Hmm
What is with games and having horrible performance on the switch
Is the switch not as powerful?
I mean yeah
It’s very weak machine compared to PS4 and Xbox
It's like a phone
It’s Nvidia Tegra
Its advantages are functional rather than performance
So game devs are have to heavily optimize their games for the switch
That makes breath of the wild more impressive
I might yeah
But still and open world game on a hand held system is nothing to laugh at
From my game developer friends, it’s not hard to develop on the switch, it’s just constrained
Like difference between python on desktop vs RaspPI
well one is likely x64 while the other is arm
There are probably graphical tricks that you can use to make your games perform better
Like this level in Dungeons has rain
On Xbox, fine whatever
On switch, maybe lower the rain drop count or just do away with it
Yeah, from my knowledge, I’m pretty sure water is hard to draw
Because there is a lot of stuff you have to simulate
What makes it so weird is obviously is modeled in Minecraft style so everything is blocky