#ot1-perplexing-regexing
1 messages · Page 348 of 1
I'm thinking it's more "lowest bidder"
iirc any info sec company who can prove their salt can give this accreditation
or w/e
and i'm not sure on the bar for proving salt
I can ask him
"are system administrator accounts configured to lock out after a number of unsuccessful attempts"
urrrrrr no.
Wait really?
the question or my response?
so if i got into your network and then hammered those accounts with bad logins
i mean if i'm in your network you have bigger problems
Sure
but how is locking the administrator account going to solve that shit?
at best it's a bit of a mitigation
They stop being able to try, we call our IT contractors, reset the password, we're in
You forget that most of our stuff is handled outside of us
And this is why I'm glad I'm just the in house guy
if we locked out the administrator account we'd have to go downstairs into the server room and manually unlock the friggin thing
"are internet access logs retain for a period of at least 3 months?"
yeah sure but we can't get at them because it's a datto managed device
lol
Why would you put all the logs on the datto device
Okay that feels like an oversight
but you can't have access to verbose logs
or the internals
just a web panel of controls which is good enough for most stuff
but not when you want to diagnose say, a broken ipsec tunnel
So they force you to go through their support?
yup
a simple ipsec tunnel issue took like 3 weeks to fix
because it had to be escalated repeatedly
Haaaaaaate that
i just needed the logs to see what was going on, that's it right?
i ask them for logs or access to logs via ssh
"we can't do ssh but we'll get you the logs."
"oh... we can't get in via ssh either, is your router behind a firewall?"
cue a fucking shit load of back and forth about like 2 levels of network infrastructure being explained repeatedly
Good god
i hate the datto networking equipment for that reason and that reason alone
the web portal should give you access to as much as sshing into a decent router would
they look pretty cool and sing a song on bootup though
so, ya know
It looks like that thing is about to karate chop you
:D
"YOU CANNOT SSH TO ME. HIIIIIIIYAAAAAA" -smack-
the hardware in them is excellent
plus the fact it's got a built in 3g/4g modem for remote configuration is awesome
we can just set it up on the website and ship them to the customer and tell them to plug iti n
if the internet goes down it'll failover to the 4g too
any tower
how much MBps speed
Probably depends on tower usage at that time and signal strength
whatever 4g gets
But 4G is no slouch
yeah that's good
You'd certainly not feel the speed difference nearly as much as 3G
I have a prepaid plan in my cell
Whatever gets the job done
what 3g and 4g have quite different speed
3g takes long time buffer youtube videos
we had a line go down for a customer and they were on 3g
couldn't even browse the fucking web
office of like 70 people
we had to tell them to all get off the internet so the servers could still do their servery things
so there's just one dude in a company of 70
sat there doing his work
we're a business to business IT contract, so we do the IT for companies who don't want their own IT team or w/e
we literally couldn't operate on a 3g line due to remote desktopping etc
oh yeah I know you need 4g for remote desktopping
tbh some 4g failover is better than other customer's full blown ADSL
rural areas suck for internet lines sometimes
they're like 4 miles from the DSLAM
sorry @solid pollen i had to go do something. it seems that pre commit isn't using my pipenv virtual environment
🤪
ok i need some help regarding SQL
GOSH i hate sql
+------------+-------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+------------+-------------+------+-----+---------+-------+
| Accno | int(5) | YES | | NULL | |
| Bname | varchar(20) | YES | | NULL | |
| CName | varchar(20) | YES | | NULL | |
| Lamount | int(10) | YES | | NULL | |
| Instalment | int(10) | YES | | NULL | |
| IRate | float(10,5) | YES | | NULL | |
| ISDate | date | YES | | NULL | |
+------------+-------------+------+-----+---------+-------+
INSERT INTO FINANCE VALUES(1,”SBI”,”Vikash Rai”, 750000, 152, 12.00, 2011-07-19 );
What is wrong
int(10) and 750000 don't seem to pair together to me
isn't that length ?
but I haven't worked with sized ints, and can't remember if thats decimal or binary size
if thats 10 bits long, then the 75 is too large
no, its not binary size apparently
so its not that
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Rai”, 750000, 152, 12.00, 2011/07/19 )' at line 1
@rough sapphire maybe quotes around the date
doesn't that make it VARCHAR ?
not necessarily
nope same error
Server version: 5.7.28-0ubuntu0.18.04.4 (Ubuntu)
https://www.ntchosting.com/encyclopedia/databases/mysql/insert-date/#How_to_use_the_DATE_statement ugh
seems it should work
have you tried using decimal instead of float?
ah, nvm
that's not it, i got the two the wrong way around
however
INSERT INTO FINANCE VALUES(1, 'SBI' , 'Vikash_Rai' , 750000, 152, 12.00, 2011/07/19 );
ERROR 1292 (22007): Incorrect date value: '15.120300751842105263' for column 'ISDate' at row 1
mysql>
i think i will read
you should put the simple quotes around the date as well
damn it worked
what's with the float(10,5) out of curiousity
5 is the length after .
yeah just for an interest rate that's got some spec on it
:D
i would like an interest rate of 99999.99999
yes plz
how do you measure how irate someone is anyways @rough sapphire
haha
IDK
I assumed you were
awww man
"Without supporting information in the customer comment section to justify all multiple choice answers we will ask for a lot more evidence when reviewing and scoring your SAQ."
i'm just a pyrate
looks like there is no particular section they want me to pad out
they want me to pad all of it out
"We usually expect to see a paragraph in answer to the questions"
are you fucking shitting me
"Do you have a firewall? Yes / No"
"Yes, we have a firewall installed between the internet and our internal network to stop all the evil bad hackers getting in and pwning our stuff."
where the fuck else are you putting a god damn fucking firewall.
jesus christ that's made me angry
i'm easily a 75000 now
well, firewall have rules, which can make them useful or not, so maybe they want more information about the kind of filtering you do
well, it might be a few days of works, i guess 🙂
fucking shitty fuck wank bastards
i love the way they sent the email at 4:59 as well
probably assuming that i finish at 5pm
maybe think of it as documentation, if someone had to answer all these questions without being able to ask you
and wont see it until monday
the point is it's a two step process
fill in form, they then come back to you for evidence
so they're going to get the evidence anyway
well, at least i know what i'm doing tomorrow
(H) Display the name of banks who finance various loans from the table FINANACE.
what it means
@terse sluice you need to use a pipenv command for it to work, like for example pipenv run lint and define lint in the [scripts] section of your Pipfile
Pretty
Wait, did you make that?
wax on, wax off
Ooo, fancy stuff
@solid pollen i do have that but it doesn’t work
it’s not using the pipenv virtual env
.pre-commit-config.yaml
repos:
- repo: local
hooks:
- id: flake8
name: Flake8
entry: pipenv run flake8
language: system
types: [python]
```and part of my pipfile
[scripts]
flake8 = "python -m flake8"
precommit = "pre-commit install"
are you using the proper virtual enviroment? I had an issue once because I had some Pipfile in a parent directory by mistake
you should have one, just not multiple ones in a tree
I had one literally in ~/
which is wrong (I dunno how it got there)
I got one too haha
yeah same
You should try to name it something else than flake8
oh alright i'll call it lint or something then
fvngeiaslkd it keeps creating a pipfile in the root of the repo and not using the one in my team folder
Just move it to your team folder
hm i get this when i run pre-commit run
Flake8...................................................................Failed
- hook id: flake8
- exit code: 1
'lint' is not recognized as an internal or external command,
operable program or batch file.
I think you're meant to use pipenv run lint
And pipenv precommmit to install
That way, it SHOULD use the pipenv environment
It isn't for a pydis project g :D
Oh right
But you should try pipenv run lint anyway
that works fine
And what is your precommit config?
repos:
- repo: local
hooks:
- id: flake8
name: Flake8
entry: pipenv run lint
language: system
types: [python]
On PyDis projects we have language: python and require_serial: true maybe you can try with those
ok gimme a sec
Flake8...................................................................Failed
- hook id: flake8
- exit code: 1
Courtesy Notice: Pipenv found itself running within a virtual environment, so it will automatically use that environment, instead of creating its own for any project. You can set PIPENV_IGNORE_VIRTUALENVS=1 to force pipenv to ignore that environment and create its own instead. You can set PIPENV_VERBOSITY=-1 to suppress this warning.
'lint' is not recognized as an internal or external command,
operable program or batch file.
```i get this now
this is weird
And what is your script config in your Pipfile?
[scripts]
lint = "python -m flake8"
precommit = "pre-commit install"
Pretty weird indeed
I guess you could try to nuke the venv and the lock file, and regenerate both
i'll give it a try
Haha the channel name is perfectly suited for this conversation
create a new directory like 5 levels deep and start everything from scratch there (?)
ok let me make sure i'm correct here, the pipfiles and precommit config go in your team folder right?
Yep
yeah i started from scratch and followed all your guys' advice
no luck
oh my
finally
i've been going at this for like more than 2 hours
i had to shove the pipfiles and precommit config into the root dir
good background music to work to https://www.youtube.com/watch?v=cQ95DvShk0s
Buy/Stream 'Anjunadeep 11': https://anjunadeep.ffm.to/deep11
Subscribe to our channel: https://Anjunadeep.lnk.to/YT
Anjunadeep New Releases: https://Anjunadeep.lnk.to/NewReleasesYR
Welcome to our 24/7 Anjunadeep Radio, streaming a variety of deep and melodic releases from th...
i'm standing here
https://youtu.be/ePZjoSUMsSw that took some time
This is really boring because it takes 6 minutes to print out, but somebody asked so here it is! neofetch assumes you're on a normal terminal window, obviously the author needs to add teletype mode.
You need a nitro subscription for that
oh
do people actually pay for that tho
I heard its like 20$ a month
so 20$ a month just for that ?
you can use amazing emotes from servers you frequent on other servers you frequent
No no
oh
10$/month
is Nitro the one that gives you that HyperSquad Bravery logo thingy
https://www.forbes.com/sites/daveywinder/2020/01/18/us-government-confirms-critical-zero-day-security-warning-for-windows-users/ the fix hasn't been released yet??
It says that users are being urged to update but there is no fix. Seems a bit contradictory
I thought the update was a fix?
for?
this is talking about the IE vuln (presumably), not cryptoapi
Are they related?
no
they just happened to be disclosed around the same time
And my computer is running right now and I have no way to turn it off for a least 3 days
Im still wondering why the NSA even publicised the attack on ECC
Why they wouldn't?
like, keep eternal blue secret but make an ECC attack public?
they saw use by a non-state actor, was more beneficial to no longer sit on it and get it patched
probably
yeah
i mean...if we're lucky the NSA has backdoored the ECC curves standartized by NIST anyways so they can afford making an ECC vuln public
you and I have very different definitions for "lucky" :)
Nah Im just saying it in a sarcastic way^^
Backdoored it? To do what? (sorry it is all very new to me, and I'm way too curious)
you can mathematically show that it is possible to create ECC curves that can are attackable if you know a certain number, however you cannot easily show which number it is / if there is one -> we know the NSA could backdoor the curve but we cant prove they did or did not
backdooring in this context meaning
tell the NIST to create a curve which such a vulnerability and make it a standard without an explanation for why the parameters of the curve are like they are
(and guess what NIST did)
so eh....NIST curves == suspicious
I wish ed448 or something was more supported
@tired osprey The NSA moved away from ECC 4.5 years ago, though - https://www.schneier.com/blog/archives/2015/10/why_is_the_nsa_.html
@gentle moss I was lucky enough to see them live once, theyre awesome
Who?
The NSA obviously
Above and Beyond
Ah, gotcha
I guess some people really like tattoos
@sand goblet can you explain to me how I got to keep my #5555 discriminator after cancelling nitro
you can't, you'll revert to your normal one
N
y
@gentle moss .casefold() is better than .upper(), git gud
@rough sapphire casefold is bad for security
@rough sapphire How so?
sec
@rough sapphire that the NSA moves away from ECC themselves does not at all mean they're not having the NIST curves, which government policy conform companies gotta use backdoored?
I don't even wanna know story behind it
@tired osprey I have no idea what you're trying to say after that comma
I don't think this uses casefold, but the core vulnerability stays the same (as casefold transforms some letters) https://0xsha.io/posts/the-fall-of-mighty-django-exploiting-unicode-case-transformations
I mean, I wasn't approaching it in regards to security. It was just a friendly jab at bisk
https://eng.getwisdom.io/hacking-github-with-unicode-dotless-i/ Specifically comes to mind in regards to this
that's an example of that vuln, yeah
uses the same character in the poc, even
(if I'm remembering the GH article correctly)
to code jam stream or not
that is the question
also, huh. i thought 18.04 shifted python to ver 3
weird
on my work VM i had problems with older gimp because after the upgrade python seemed mapped to 3
yeah, my thoughts exactly
well huh
my pip are broken too
this am not good
my work and home VM started out as the same base
and somehow over time they've diverged
amazing.
however the fact .local/bin isn't absolute in both and is relative from root is telling
🙄
i should rebuild my VM's
oooooooooooh bacon
NSA asks the NSA to put backdoors in their backdoors
xzibit.jpg
anyone else very excited about the 070 shake record?
spent a long time waiting for it and so far ive been really enjoying it
first time i hear about her, putting on spotify to see if i like it
ok, well, not a big fan of autotune thing, but that's not too bad in that regard, just not my really in my musical interests it seems
so, nonplussed, sorry 😛
no worries, its great that you gave it a try
i try to "get" recent rap/trap, and i kind of fail, most things are miss rather than hit for me, even when not horrible.
thats understandable, shake is definitely not an easy artist to get coming from different genres
psst, @rough sapphire
That's an incredible read, holy shit
Some Predatory Loans jingles. Wanted em compiled... couldn't find em... so i decided to compile some myself.
lol, this comment sums it up nicely
Do you think that’s good enough for a first artstation post?
Should I take that as a yes or a no :D?
looks pretty cool, yeah
i dunno what artstation is, but that's a pretty good planet you did
Okay, there we go, first artstation upload! https://www.artstation.com/artwork/8lYowm
hi
I heard exam results from a friend and thought something was off about the exam
I did some digging... the JEE is a dysfunctional exam. (JEE is the Joint Engineering Entrance for a lot of engineering colleges in India)
looks like a very selective test
virtually nobody gets over 50%, but some still manage to get >90%, these ones must be quite good
not really no
each state in india has it's own engineering university systems.. the national one is the JEE which is accepted by a certain number of institutions.. The exam itself is based on the 11th and 12th grade syllabus of a certain national school board that a fraction of the country opt into, it varies depending on the state.
The students who want to get into the best institutions through JEE commit to studying for it as early as 6th grade, memorizing things they don't understand.
They get into additional classes run by institutes, much like hagwon in korea, but worse because these sometimes have their own entrance tests
it's dysfunctional and useless
it gets worse:p
the scores are used for admission.. the requirement is lower for people who've been oppressed over centuries because of the caste system.. thereby affording them the access to higher education
but people belonging to the castes who engaged in oppression often demand that this be repealed.. because they think it's "unfair" to them
yeah, i did read about that
there is no perfect solution, but i think the current system has merit, although it does mean that some smart and educated people will not have a place and people with a worse education will have one, it's needed to balance things again, if you don't do that, the people at the top will just keep their economical and cultural advantage forever
It was a significant chunk in the book by Piketty that i read this year, capital and ideology, big book, but quite interesting.
it does speak about a lot of oppression and inequality systems in recent history, from the middle age in europe to the present, and does speak about a few non-european examples, and india is an important one.
there is much to learn about what not to do, but also how to start fixing things, because significant efforts have been made.
It's already true.. I've seen some people who went to the top schools do so solely because of the education they could afford to ace these entrance exams.. these were religious extremists and nationalists.. The oppressed are really at a disadvantage and very few make it through the struggles. The system needs fixing but it's not that country's focus at all
i tried taking some coaching class to prepare for JEE . soon i found that it was hurting my school grades only so left it
well technically your school grades don't matter unless they're a criteria for admission to university
in my experience in APAC.. it's really important to be associated with brand names.. schools, companies, etc.. they factor in big for promotions, networks, pay and pivotting..
yeah but we have to take 12th exam and jee nearly at same time
especially in tech where there's an age based discrimination.. you gotta pivot quick
if i fail in 12th its game over. doesn't matter how much i get in JEE
so you need to take a gap year?
of course.. lol
yeah you can
take a gap year
but you are more respected in community when you don't
community aint gonna pay your bills or take exams for you
man these coaching classes are so clever they make you dream BIG, that you are gonna do it do it ,
In reality it is hard
it's relative
when you land your first job you'll think back to this time in your life.. and guess what you'll be thinking
What would be the most efficient way of serving another website using nginx? While I'm building my website, I'm a bit tired of nginx default page so I'd like to display my artstation website in the meantime
What do you mean? Like, Flask or something?
I own this domain https://mbertucci.me, it is linked to my rpi which run nginx, and I'd like to serve this page https://akarys.artstation.com/ in the meantime, but I cannot use a CNAME record because I have some things hosted my rpi too
Ah. I wouldn't host anything on a residential connection.
Yeah, me too haha
But that’s my dev server, and I don’t want to spend 10€/month for just a dev server
And I use it to learn nginx, certbot and all that kind of things
Certbot's pretty easy in that regard, https://certbot.eff.org/
It auto-updates certificates for you if you follow the how-tos on the site. Pretty ezpz
Yep, it is pretty coolish
how do you handle the annoyance of having too many tabs open
close all the tabs
yeah.. that's what i'm doing now.. during which time I'm always wondering how there got to be so many
some people just keep them open forever
and they're like defensive about them
I've never understood that. I consider tabs highly disposable
I've seen thousands opened on someone's computer
lol.. I had a coworker who had like 30 tabs open.. was like bro.. you only have two monitors
I can honestly say I was disgusted, which is a weird thing to say, but it was just.. How they did things. No bookmarks/favorites. Was setup in a way that they would all be remembered upon shutdown of the browser
I have around 500 tabs opened on my phone ^^
I think the best step you can take towards good tab hygiene is to not let your browser remember tabs between sessions. if it's important you'll find it again.
if it's very important, bookmark it.
Nice timing on that @tame terrace 
..?
The "It's best to not let your browser remember tabs between sessions"
This was quite some time ago, though. 2006-ish?
So there wasn't any of the Firefox Sync stuff. I'm not even sure if remembering tabs was a thing back then. No clue how they did it.
So nobody about the nginx stuff? >.>
didn't even know they had sessions back in '06
I prefer to remember opened tabs, since I reboot my computer way too many times, and I’m too lazy to research for the docs each time
heh
@rough sapphire it's a me! No bookmarks, either its opened to read some day, or i know i can type the right words to get to it
shocking, i know
I don't even shutdows the computer if i can avoid it, suspend/hibernate is life
Huh. Only have 85 tabs open atm.
oh i also close them when i'm done with them
but sometime it takes months
the simplest way top arrive at that result for me is to have an interesting twitter timeline, you open it, catch up with the day, opening each interesting link in a new tab, when you caught up the day, you have easily 30 new tabs open, and the day is pretty much done, so you can only read a few of them, decide a few others aren't worth reading actually, and others should be read but certainly another day.
It's cause I use tree tabs. Hides most of them at any given time, and helps with jumping between topics.
wow
RIP
huh
I have 52 GB free, and I think that's little
[manuel@6500 ~]$ df -h
Filesystem Size Used Avail Use% Mounted on
dev 3.9G 0 3.9G 0% /dev
run 3.9G 1.1M 3.9G 1% /run
/dev/sda7 184G 75G 101G 43% /
tmpfs 3.9G 409M 3.5G 11% /dev/shm
tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
tmpfs 3.9G 120K 3.9G 1% /tmp
/dev/sda6 288G 222G 52G 82% /home
/dev/sda2 95M 84M 12M 89% /boot
tmpfs 793M 24K 793M 1% /run/user/1000```btw I never got the memo of why these multiples `tmpfs` are created
Arch didn't use to do that...
tmp = temp ? maybe
i foolishly took the 250G option when buying this laptop, then i decided to keep the windows in dual boot, so each system got half, and also, i sync my email locally, so that's some 15GB less, and i have multiple projects around with a python-for-android distribution in them, which tend to take 1.2G each plus a couple docker containers around and a copy of the work db…
and 16GB swapfile, to hibernate
oh I see
my swap is
4.7GB?
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 931.5G 0 disk
├─sda1 8:1 0 450M 0 part
├─sda2 8:2 0 99M 0 part /boot
├─sda3 8:3 0 16M 0 part
├─sda4 8:4 0 446.8G 0 part
├─sda5 8:5 0 466M 0 part
├─sda6 8:6 0 293G 0 part /home
├─sda7 8:7 0 186.1G 0 part /
└─sda8 8:8 0 4.7G 0 part [SWAP]```these are weird numbers but I picked them myself so OK
-rw------- 1 root root 409M sept. 14 2017 core
hm
/dev/shm is used for facilitating device-wide shared memory
/sys/fs/cgroup is for facilitating control groups
/tmp is used for quickly storing/accessing small, temporary files with short lifetime
dunno bout the fourth one
probably something to do with process-specific storage
I could have that with some changes
i don't really game either
@vapid bluff what I don't know is why tmpfs are used now, they weren't before
I read a bit about it and it's like RAM disk, so
it's also a bit annoying to have them listed
I need help
Since we aren't in your brain, it is pretty hard to help you right now
Sorry
i need to make it so you jave to read the rules in the disocrd server and find a code typeit in chat andthen you can start trxting people but i forgot what bot did that
@solid pollen
I don't know sorry
K
Tbh, it shouldn't be very hard to build it yourself, if you are motivated
I don’t really know python i am trying to learn but the program that i was learning on now i need to pay to learn
There is a lot of free resources available
And my mom don’t have the money
!resources my personal advice would be Automate the boring stuff with python
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
`Automate the boring stuff with python `
Ya make it darker
Someone told and then i started to het mixed up with html and javascriped
hi
Ca n you teach me how to make the text red
I seen somebody do it how can i learn more
- It's the diff syntax highlighter
+ It's not "coloured text", it's a programming tool
There is support for git diff?
@solid pollen diff is much, much, much older than git
_One day, the mobile client will be able to display colors _
Kool
Well
+ test this it so fun
please use #bot-commands for testing stuff like this, thanks
2005? Wow
Of what?
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
next time use #bot-commands
this is a really good channel name lol
They change every day
yeah, they're always fun to read 🤣
You can even suggest one, of you feel really inspired :D
I'm going to have to remember that we have this channel name when I think that an idea might be "too long for a channel name"
haha, yeah
fal-de-ral-de-ral-do
ugh, we should totally have a feature that allows for name groups
ot0-all-the-ducks-are-swimming-in-the-water
ot1-fal-de-ral-de-ral-do
ot2-fal-de-ral-de-ral-do
"One of these channels tells only truths, the other only lies"
haha
Are special characters allowed in channel names
"One of these channels tells only truths, the other only lies"
a cool idea for the grouped OT channel names
@autumn herald yep
There is an issue opened for linked otnames, I may have a solution for this, but I have too much thing to rn
I'm already working on something that should be quite good
Czn we have you-forgot-a-"
+ Hi people
- how was your day so far
hello diff
How are you diff?
I am installing Kotlin Language Server
Server?
Ah, like PyCharm's built in code checker
basically backends for whatever thing you need in a language
because I use Emacs and I refuse to use anything else because I'm lazy
Just say'in, could be nice to have a !pypi command
@solid pollen You suggest it, you write it
Haha
so in these editors you need to install your own auto-completion (or any other tool you want)
And/or put in an issue on the repo
but they don't do anything by themselves, so you need backends
Hey, I need to do the eval re-eval thing first
But there is the jam for now
So your laziness made you install more thing than you'd need to? :P
yea
it actually takes less time overall
I'm just too lazy to start using a different editor and figure everything
I end up doing everything in Emacs
the most stupid thing was working with eclim and being forced to keep Eclipse running
Eclipse is weird, I agree
But PyCharm is pretty easy to use
And have a lot of built in features
Eclipse was the first IDE I ever used
I mean, I didn't use Eclipse
So I guess I'm just used to its quirks

Whatever works for you, no judgement here
No judgment, there is just more efficient methods :D
The only time I judge editor/IDE choices is when someone is using IDLE or when someone is hating on another editor/IDE
notepad++ 4 lyfe
or to be binned
I suppose IDLE could be replaced
isn't the L for Learning?
there are things like Thonny for example
@solid pollen how to i put a line thoughr the text
Honestly, what more do you want from IDLE?
Its pretty solid for use in schools and things
?
I'm not replying to you
oh k
no its not @undone berry
our school replaced it with spyder
not at least raise false syntax error ?
what do you mean?
Honestly, what more do you want from IDLE?
I never used it actually
I know it runs Python and that's it, and I guess that's good enough
I think it does exactly what it should
[manuel@v330 ~]$ idle
** IDLE can't import Tkinter.
Your Python may not be configured for Tk. **```seems it doesn't work on my notebook
IDLE is rubbish for writing code in, but I think its fine for what it is
not for learning
it looks like Microsoft Notepad on steroids, but reaching the end of its life
like an ex-body builder in his 80s
notepad++
Why. What is wrong with it? What more do you want added?
notepad++ requires you to install plugins or use the terminal
neither of which a complete beginner wants to do
it looks simple enough for people to not be scared
which is good
oohh
it was made by Guido himself
@undone berry What I want from IDLE is line numbers, better error and traceback display and better stability. Off and on there will be times when code will work fine outside of IDLE but will fail inside of it
I don't think the first two wants are too terribly extreme, either
Line numbers I agree with, that caused issues when I was first learning
and I didn't know about the stability issues
no line numbers, not even in errors
ed is the standard text editor
I think IDLE could do with a bit of TLC. But I don't think it needs to be chucked in the bin, and I don't think it needs to be brought up to the standards of VSC or Notepad++
They're sporadic, it's hard to know what will cause the random issues with IDLE. And not to say that PyCharm and others also don't encounter this, but when you add it to the list of irritants that IDLE has, it doesn't help
Certainly, it's salvageable
But when there are things that are essentially IDLE but good (i.e. Thonny), I don't see why they'd want to put in the extra time for it
I can't speak for Thonny. My closest experience is Spyder or Notepadd++, neither of which I think is suitable
No, they're not
But hell, just look at the screenshots
That's literally made to be a nice, lightweight, easily approachable editor
Fantastic for learning
It is more lightweight, but I still feel like theres slightly more going on than there needs to be
Such as
The variables thing, and the fact theres two toolbars
possibly also having the shell and editor on screen at once
You have to toggle most of that on
It's worth playing around with it for a little bit
I'll check it out. If its good, then I can easily point people to this if they want to learn
but yeah, I don't see why they couldn't just replace IDLE with it or similar, yeah
Used them for a little while to know if they're worth using
I can think of one big reason: when something gets added to the standard lib, it takes a mountain to get updates out for it
Can't be updated like any external packages on its own schedule, has to play by the current Python version's update schedule
Assuming it gets the go ahead to be worth the update from the PSF
Also means there can't be any large feature updates to it
Not without it being a 3.X update
Is that really a major issue though? I assume a version of Thonny frozen in time would be better than IDLE
assuming they added support for new language features
Sure, but that also means no hot fixes for it, no new features that could potentially help newbies
There are pros and cons to both sides
I can see that there are. But I think I've shifted away from "IDLE is fine" to "Ditch IDLE, replace it with an existing better solution"
Sure sure. It's just a matter of, is it worth taking a living, breathing, growing library and freezing it in place in the standard lib
Could you not just fork it, rename it, and then both can exist in harmony?
I don't know who this you is - but someone
Sure you could, but then you have something part of the core library lagging behind
And considering you can install it and get it up and running with a simple pip install thonny, the benefit just isn't there
Easier to keep the status quo
Sucks yes, but just how it is
pip install thonny is quite a big step. Kinda precludes it being used in schools with rubbish IT, or from some 12 year old who just wants to learn to write super basic code - not learn how to use a terminal
Does it? It's no more complex than asking the user to type in python in the command console
which is already too complex I think
Either way, they'd have to know how to get to said console.
Seriously
How is that complex
Yes
That's usually what happens when you're learning
If you learned purely within your comfort zone you wouldn't grow
Maybe, but I don't think it needs to happen. I think having to go to the terminal first thing puts a lot of people off
who shouldn't necessarily have been put off
Well there's also a standard installer
But then they'd have to know how to use a web browser and type in the website
Which if typing python in the cmd prompt is too hard, god knows how difficult THAT'D be
I just think theres a big advantage to only having to install one thing and run one thing as the only steps for hello world
If you get the installer, you only have to install Thonny
especially compared to java where you have to download intellij, make a project, and install Java
It comes bundled with its own Python
Oh, does it?
Yep
thats actually pretty great
Mu does as well
It would be cool if the PSF pointed people towards that then
or could be
I can understand reasons for not doing it
I'll still check out Mu and Thonny. Its not like my opinion on this matters at all
Oh, I love this OT name
i remember there was a flash animation for it ages ago
just another memory lost to the ether
There's an old Dutch children's song that got covered in English once, somewhere in the 50s I believe.
More recently, that English cover has been sampled and used in some remixes and a few memes that died before they were really born
it's fun to see what gets sampled
New profile picture ves?
Yeah, a tribute to Alan Turing, although I should probably change it to Terry Jones for the occasion
Aah it is Turing
Don't even want to know why
Terry Jones was one of the members of Monty Python (you know, the British comedy group that provided the name for, well, Python) and he died today (or, at least, it was announced today)
He had a nice hairy naked role in Monty Python's Life of Brian
he was so very often naked
i do so wish skyrim had better horse mechanics. red dead has spoiled me.
Subscribe for more short comedy sketches & films: http://bit.ly/laurisb Funny business meeting illustrating how hard it is for an engineer to fit into the corporate world! Watch the next episodes: http://bit.ly/SquareProjectEp1, http://bit.ly/SquareProjectEp2 & http://bit.ly/...
me in a meeting except they don't ask question they just state stuff
Damn, RIP
i'm going to some free conference next week (FOSDEM, just attending), it will be my first "big" event, do people have tips on how to maximize time/organise themselves?
did someone say free
one time i got a lightsabre
had lightsabre fights in the office until we broke all 6 we took
_My first question would be why, but okay _
fuck knows, can't even remember the company anymore.
so it was a poor marketing strategy
aww
ah yes i need to find all the stickers right
:D
Fosdem program is big if you go for the talks, better spend some time on the program and pick your selection in advance, with fallbacks if rooms are full
Also the place is big, good to study the plan, as some talks will make you walk a bit
If you come for the people, there are always a lot of them near the main conf rooms, a bit too much to talk even, as people need to move, better go a bit further or be next to booth of your interests
There is usually a beer event (or more…) on the saturday night, good stuff to meet people and talk too
I'll probably go out with my partner's company buddies, they go out every year i believe and party quite hard 😅
don't forget to play spot the unix beard
There are usually food trucks near the event, but they are overflown, so either have some other option, or allocate 30mn more than you'd think necessary to grab food
I live there so i can prepare food :D
I don't really know how to select talks though
So i'll probably go by best/title interest
Fixing the Kubernetes clusterfuck
Understanding security from the kernel up
I think they all (or most) end up on youtube anyway, so don't sweat it if you miss one, especially if it's in the main tracks, the smaller ones/workshop could be less crowded and just as interesting (and less likely to be recorded)
Why this one specifically
yeah, hence why me not knowing what to prioritise ahah
i'm still noob imo, so i should focus on stuff where i would be able to understand the words
our company gives trainings, one of them is "logsec" where we basically handle log security
we have a couple of fun demo attacks
one of them, for example, uses log injection to send some magic values to putty to get it to resize and move windows in such a manner that it looks like the game "snake" on your screen
wah that's cool
today i have to perform some weird SQL query on a weird excel supposed to represent polish notation of some logic
why this happens to me
+ hi people
- how did you sleep
I think you posted the same message yesterday
@autumn herald confs often have a lightning talks track these days, i'm sure fosdem has one, this are cool to see a variety of subject in a short time
The scary diff?
Spooky scary diffs
Anyway, MySQL backend and Exel frontend is the best stack ever
mySQL backend
ahah
i wish my friend
i have to do SQL in SAS on some weird excel thing
I wonder if @solid pollen is pulling my leg now..
and then automatate it with dos scripts
please i need a new job i can't even anymore
Haha
[long rant about how some people are highly trained at taking the worst decisions possible]
DOS scripts.. I'm so sorry for you
or whatever you call them
batch
i'm sorry for you
i'm sorry for me
So.. You have a combo Windows / weird SQL / Excel / Batch script
I mean, run away haha
not the worst process i've seen so far in the company
i think the worst was
excel sheet -> macro -> C# internal tool upload it to OracleDB via Toad -> download them (???) -> use SAS macros -> launch bash scripts
and this my friends,
to compare 2 files
of course, each steps have a high % chance to fail, so when cumulated, it almost always fail
some things are unsalvagable
and most people here have Master and PhD
love Pharma
i'm in the process Akarys, was waiting for my partner to find a job in NL so we can move together
resource loader
as it loads the resources
"have you seen our resource loader? it loads resources."
"have you seen our resources loader? it loads resources."
hmm... i guess it depends what the resources are
"HAVE YOU SEEN OUR RESOURCE LOUDER!?!"
Only if it's yelled
this Karen?
And asks to see your resource manager
2001: A Karen Odyssey
HAL: I'm sorry, Karen, I'm afraid I can't do that
Karen: I WANT TO SPEAK TO THE MANAGER!
haha
That's amazing
HAL: I can't do that Karen.
Karen: I'M GOING TO GO ON TRIP ADVISOR AND WRITE A NEGATIVE STORY IF YOU DON'T GET YOUR MANAGER!
HAL: I uhh... I-I-I... Kernel panic.
HAL: Yeeeaaahhhhh fuck this, I'm venting the atmosphere
disappointed that https://status.python.org/ says nothing about Jones 😐
Welcome to Python Infrastructure's home for real-time and historical data on system performance.
Jones?
Oh right right
PyPI Errors
46,807,933 Errors
Seems to have gotten increasingly worse since Jan 16th
But seems to have consistent peaks and valleys otherwise
Was that when the broken pip 20.0 update came out?
I'm suspecting so
for a brief second my brain went "is 46,807,933 a package manager?"
why my composer is stuck ;-;
just worked
stuck again
worked
stucked
worked
stucked
Stuck or just taking a while to download?
There's a handful. colorama and crayons are the two I can remember off the top of my head
.bm 669932238774992897 bring colors to console/terminal
Guy that made crayon : Hmm I need a name for me library... What about just using a random french word, everyone love french
.>
@solid pollen don't say you don't know crayons ?
well in french it's just "pencil"
we call it wax color mostly
Oh, crayon is also an english word?
yes, for those colourful little bastards
Woops
Okay, fair enough, my bad
when you eat them you poop a rainbow
@rough sapphire we call them wax crayons
or, well
wax chalk
wax and fat are the same word, so basically fat chalk
sign language is a universal language right
no
dude it can't be changed
it differs regionally
really ?
There's American Sign Language
that's why ASL and BSL are different things
^
we had one chance to make something universal and we f it up like everything else
Apparently theres enough overlap between the two that you can still communicate
Sure
there's tonnes of them
I would imagine that "hungry" would be fairly similar in most
there's even another one
Rubbing the tummy
my gf is learning that
I wonder if its true that you can still roughly communicate with someone using FSL if you're using BSL
i've been learning it along with her