« first day (2113 days earlier)      last day (3060 days later) » 

*not an array
Ninjad Antti! :D
cabbage
@idjaw but then you re-invented yourself as Captain Canuck and set sail for new horizons!
@BhargavRao cbg
14:07
Howyadoin @Antti?
@AndrasDeak AAS ftw
@AnttiHaapala cbg
AAS?
Antti As a Service
Ανδρέας Appreciation Society
14:08
Asymptotically almost surely
I am trying to update my windows 7
BTW I'm even more depressed after OP's edit with their own attempt
I've taken to using the terms "C-type arrays" or Numpy Arrays when talking about arrays and Python just to point out to people that list != array
Hm, this is probably a dumb question, but is it bad practice to bind noops to emitters as default arguments?
14:14
@AndrasDeak actually,
even though Python lists can be heterogeneous, I find it abuse...
I hate the words *geneous, so hard to spell correctly
well, it might be bad practice...I can see why that would be the case
But I find that to be a fundamental difference
if you think it's misleading, I'll delete my comment:)
Breaks Antti's internal consistency checks.
I mean sure people use it for that, but ...
:D
it's an anti-Antti pattern
for me tuple is the heterogenEous container
14:16
Boom.
wat!? @Antti has consistency? Srsly? ;p
@AnttiHaapala really?
of course it is
I wouldn't think that a heterogeneous tuple is better than a heterogeneous list
calling it "immutable list" is just braindead
14:16
BTW I reckon trying to upgrade Win 7 is going to be pruposely made really difficult, because they want to get everyone onto 10
tuple is one result in the result set of cartesian product over n domains.
@JRichardSnape I was drinking beer today,
and was thinking aloud "when was the last day to update to windows 10 for free... ah today"
@AnttiHaapala so if one of your domains is made up of strings, and the other numeric, you'll get a hetero tuple?
@JRichardSnape that has certainly been my experience
@AndrasDeak yep
so what's a list? A "1d array"?:P
14:18
@AndrasDeak if tuple was meant to be homogenous, then namedtuple wouldn't make much sense.
@AndrasDeak no, it is not array either.
I'm OK with tuple being hetero. What I'm surprised is list not being used as hetero
to me array is strictly unmodifiable. You do not append new elements to that
ah...I see your approach
they say windwos is so easy
you just use gui
or powershell
14:20
and then all the troubleshooting is "run this and this and this command in the shell"
which doesn't support copy-paste by default
there are 4000000 commands, regsrv32 or sth.
I'm tempted to post this:
from itertools import islice
a = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
it = iter(a)
print('\n'.join([' '.join([str(u)for u in islice(it, i)])for i in range(1,5)]))
then I read from logs...
@PM2Ring goahead
Debugging Windows from logs. Good job you're drinking beer.
@PM2Ring I was thinking of doing something with scipy.spatial.distance.squareform
I am not :(
how do you debug windows not-from-logs
@AnttiHaapala right click - you can mark (which copies to clipboard by default) and paste. Multi-line is a pain.
@AnttiHaapala OK "from logs" was redundant.
@JRichardSnape nice
but again i wonder how is this easy
got to go. have a nice eve
everything is easy if you accept "just reinstall everything"
14:23
Great truism of computing there.
embrace the "Have you tried turning it off and on again?"
I'm sure reinstalling is just a generalization of the concept
Try event viewer? (I believe it's called)
Basically if your register gets into a nasty state in Windows, it is, well, Nasty.
Yeah - event viewer is somewhat easier to navigate.
eventvwr from the command prompt, iirc.
Damn, I wish it were 6pm and not 3:30
14:32
@JonClements I'm in a better place now. I wouldn't trade my lego head for any other head but this one.
Friday aint go fast. We need to wait :P
@idjaw but if you ever wanted to - they're easily swappable at least :p
It's better with the beard idjaw
So I just found some really interesting results from a statistics project in python...
Almost every channel I watch on YouTube says it has 4/5 male audience
@JonClements That is very true. It can sometimes get me out of sticky situations. :D
14:38
@corvid 4/5 as in, they're quite manly but have their little quirks? Sometimes they like to crochet as well as powerlift
I dunno, I just notice that most things I like always have that 4/5 divide. Like even most video games have that. What's the deal with that?
Only logical conclusion: Women only make up 20% of the population
Alternate conclusion: 80% of women are hiding from you specifically.
I am pretty fed up with the edit war in the docs
w.r.t. division in Python 2
14:45
Are your channels titled "Multi gore bloody butchery extraordinaire with extra disembowelment"? Maybe you're interested with "manly" topics.
@Kevin A far more likely conclusion
@AndrasDeak It's mostly just video games, science, and really bizarre humor channels... so it's not specifically surprising
In my personal experience from women in tech, more often than not they prefer to lurk
How is this statistics project determining the gender of its audience members? Maybe your channels have a balanced gender ratio, but most of the women are not identifiable as such.
Basically, wot Keven said innit blud
Ex. Assume that 90% of men will indicate "male" on their profiles, and 90% of women will indicate "would prefer not to say"
(I have no idea if this is actually the case but it is one possible explanation)
14:49
I think YouTube determines it by people who are logged in with a google account and have already specified their gender in it
@AnttiHaapala w.r.t.? Yeah, also need clearer statement that third-party libraries have own topics too (people keep trying to add them to python main)
@corvid then mine is way off
@JGreenwell with respect to (sorry if this wasn't the question)
it is ok to have introductory stuff in Python tag
like "scientific computing"
@PM2Ring the "division" yet again says that "cast other argument as float"
currently my login covers: a 2 year old girl, 4 yr old boy, my wife, and me (and my frontpage moves from Five Finger Death Punch to HobbyKidsTV)
"end of story"
14:53
Yes, thank you Andras
actually an blurb about scientific computing with Python (with links to common libraries) would be nice - I was talking about ones like this Numpy one
hey guys is there a python snippet to remove css from html and place it in css file? the html file I'm working with in completely messed up and contains multiple <style> tags
@JGreenwell with doclinks ;)
i tried many websites claiming to clean the html but they didn't do a good job
...I need to look up how to doc link
15:00
because the file was generated using winx website builder, humans arent that messy and the guy is insisting that i have to use the template
0
Q: Web scraping using Beautiful Soup separating HTML and Javascript and CSS

Prakhar Mohan SrivastavaI am trying to scrape a web page which comprises of Javascript, CSS and HTML. Now this web page also has some text. When I open the web page using the file handler on running the soup.get_text() command I would only like to view the HTML portion and nothing else. Is it possible to do this? The c...

you could probably extract it with BeautifulSoup, but I'm not sure about good libraries for building css
though if the html is really, really badly form one may need some pre-processing
or post-processing
Afternooncbg
Just mocked up a cabinet for a bartop RPi arcade machine I've been planning to build for aaaaaages. Wanted to see if I could get away with not having to do mitred joints, which I can. Hurrah!
15:14
If -p is already taken by another argument, what would you expect port's argument short name to be? I'm using -$ right now.
What's it for? The short port argument is -b for --bind in Gunicorn, if that helps. 'bind' isn't always an appropriate term though.
The port that the database is running on.
Eg, the arg list might look like -u Morgan -p supersecretpassword -s 127.0.0.1 -$ 1433.
no chance you can wrap the IP and port into the same argument? Bind'd definitely be good for that :)
oh, can't it just be -P ?
@Withnail Maybe, it just feels weird to me.
Oh wait, maybe it could. Does argparse do case sensitive args?
I'd be surprised if it flattened case by default
Yeah, i see several questions asking how to make it case insensitive.
15:22
Awesome.
Thanks! :D
Maybe call the password "key", so it can use -k for its option.
if I were to use -k I would interpret that as a public key
and not necessarily a password
Yeah, I would too.
user559633
cbg
yeah same
15:23
cbg
Hey, Tristan.
user559633
hey up :)
Case sensitive options can be hard to remember which is which.
cbg tristan
cabbage
15:24
@idjaw Fair point.
user559633
cbg :)
true but it's pretty common, and there'll be an awesome manpage, right?
using an uppercase p works, but would definitely lead to a few errors because intuitively you would probably expect case insensitive behaviour when interpreting the arguments. So, -p and -P would be for password
you know what you can do
you know I never thought Triage would be a relief....then I started reviewing stuff on SOD
you can accept space and thing if you specify a port
or :port
-u Morgan -p supersecretpassword -s 127.0.0.1:1433
or
-u Morgan -p supersecretpassword -s 127.0.0.1 1433
I would opt for the first
15:26
Yeah, I might just do that.
Option 1 is intuitive to me.
user559633
Same.
user559633
{IP}:{PORT} is ubiquitous
that was the first thing I suggested! :P
15:28
I didn't do that originally because sometimes the server was HOSTNAME\INSTANCENAME.
user559633
well i didn't scroll back because i'm lazy
user559633
lol windows
scrolling back is for woosies
not you
or wussies, dunno
15:29
But I ran into so many issues with that, so I just switched to using host + port.
oh man the whole sql server nomenclature....yuck
user559633
i'm so vain that i think this unsigned long int is about me
Or just insist on URL syntax. :) user:password@host:port
Yeah, SQL Server can be uh, fun.
SQL Server Agent was my homeboy.
15:30
cbg
and that profiler
oh profiler...we had some good nights together
getting forward with my windows update endeavour
now in year 2014
I needed to stop the windows update to install offline updates
but not disable since the offline updates need windows update
user559633
blinks
only I needed to stop it just before I started the offline update so that it wouldn't go update online.
That's better. :)
15:32
and then restart, restart, restart, restart, restart, restart, restart, restart, restart, restart, restart, restart, restart, restart, restart, restart, restart, restart, restart, restart, restart, restart, restar, restart, restart, restart, restart, restart, restart, restart, restart, restart, restart, restart, restart, restart, restart, restart, restart, restart, restart, restart, restart, restart, restart, restart, restart, restart, restart, restart, restart, restart, restart,
user559633
you should install windows 10. it has candy crush and twitter ads in the start menu, which is obviously a user feature people wanted
I am installing windwos 10
doesn't it sound like it?
what sucks is that I also have a computer with windows 7 pro
...
user559633
dude idk. i put in a thumb drive and mashed buttons until it stopped asking me things, only paying attention when the word "cloud" or "automatic" showed up on screen
Hmmm, I don't see twitter ads in my start menu.
like not going to update that, it doesn't boot.
user559633
15:33
it's there when you install fresh from an official image from the microsoft website @MorganThrapp
Huh.
Maybe I just disabled them.
Windows 10 regret is setting up my account to be "connected"
I get notifications about contacts that I never knew existed in my life
and the calendar notifications never stop.
user559633
Hah. I turned those off and refuse to teach windows 10 the username or passwords for accounts I care about.
I'm trying to make my W10 install gamedev and game playing only with no personal information, but the former requires my github credentials at least... gah.
I've got to set up some sort of proxy on a trusted machine
15:36
I remember when I tried embracing their metro UI whatever the crap they call it, and I was setting up all these tiles everywhere and realized how inefficient my life became
That's my start menu.
Oh yeah, Metro was terrible.
I hope you realise Antti that Windows 10 doesn't allow you to not update. But it does permit you to say "Please don't force-feed me updates while I'm on WiFi".
disabling Metro was helpful
The first thing I do for family members when they dive in to win10 for the first time is that I try to remove all existence of that whole UI and give them as classic a windows experience I can get for them
I think the one feature about windows that I adored was window snapping with the window-arrow key
That was introduced in 7 right?
The first thing I do for family members when they dive in to win10 for the first time is disown them
Who needs those support woes?
15:39
If I did that I would lose my babysitters
.....I'm horrible
yes, snapping was from 7
Yeah, it got much better in 10.
You can snap to a quarter of the screen now, instead of just a half.
user559633
@KevinMGranger Make a private repo in your main GH account, then grant full privileges to an "airlocked" user that you only use on Windows.
I didn't know that, whoa. Also the asking for the other half is nice, if a bit jarring at first
@PM2Ring I am not against updating
only updating never worked on this shit
15:41
@tristan I'd then have to set up a hook to push updates to the main real repo, but that might be easier. good call
user559633
@KevinMGranger oh, i just push to a branch
@KevinMGranger I've just gotten in the habit of hitting esc after I snap.
@AnttiHaapala Ah, right. I was wondering why you were 2 years plus behind on updates.
Are per-branch permissions are a thing?
user559633
worst case is that the account gets compromised, but that's a risk i'm willing to take for a single repo
15:42
(also I never use windows)
user559633
i think most malware is more concerned with "enter cc details to not lose access to your data and facebook", which lol as if i'd trust windows with security and lol if you think i facebook
tristan, do you really not have a facebook account?
windowsnapping is one of the finest things.
I'm not concerned with malware, I'm concerned with microsoft as a bad / incompetent actor. e.g. my creds get uploaded by mistake via windows log collection or something, and then Microsoft gets compromised
user559633
i really do not have a facebook. and my twitter is just squatting a namespace.
15:44
I have both just for squatting
now I remembered why I hated windows:
this is just shit
Hi. Is the font used on SO (for posting questions/answers) changed? I feel so visually (unless if my eyes are now sick)
@tristan I envy people who managed to get their lives to work without Facebook....I would not know what events I have to go to for friends because of Facebook.
My first step was deleting the app from my phone
so no more notifications...i check when I can.
user559633
@idjaw yeah. i need to launch my startup because that handles the "public event problem"
If there was a way I can hook events to some service where I never have to check facebook...that would be beautiful
15:46
IFTTT?
I never actually looked in to the solution seriously....so I have no idea what obvious solution there is
well, and I scrape the Twitter account for practice/testing stuff sometimes
user559633
cringes uncomfortably because i'd have that for you if my attention span would kick in
user559633
if it's an event that you "have to go to", then a friend will text or email
15:47
Facebook events to your gcal.
I only check Facebook because my GF tags me in Kitten videos. I also have a couple friends who only use messenger, so that's my only way of talking to them.
I end up using facebook because I go on to check events
so if the events came to me outside of the app without ever having to log in to facebook, my life would be so much happier.
I remember when Facebook was really new. I thought I ought to have a look around, just to know what people were talking about. And to possibly join, if I liked what I saw. When I discovered that I couldn't actually see anything without joining, I said "Yam that shit", or words to that effect. Sure, some Facebook stuff is now publicly visible, but I'm yet to be convinced that I actually need a Facebook account.
I ended up using it because you had to have a personal account to run ads for your pages, so I had it because of my last startup - they've changed that now, thankfully.
@tristan That is true....and if my wife is invited to the same event, she tells me I have to "accept"
user559633
just get off the ride.
15:49
I took a first big step deleting the app from my phone
I've been FB free for... a month now?
user559633
you'll have so much more time to do important things like stream video games while pycharm is open on your other computer
Since a couple of weeks after the Brexitist vote.
@tristan That would probably be healthier for me than reading about how "perfect" everything is in the lives of others on Facebook :)
user559633
@idjaw haha yeah. "fuck trump; fuck hillary; here's pictures of my baby"
15:50
or the next trend of articles posted that weren't fact checked that are a load of bs
Isn't that what twitter's for, anyway?Unsubstantiated news and on-line witch-hunts?
user559633
tbh, i care more about what's going on in your life than people from my hometown that i no longer email/call
^^ I relate to that a lot man
I begrudgingly log onto facebook once every two weeks because the majority of my IRL friends will arrange special occasions on it and never mention them in meatspace until the day after when friend A says "hey friend B, that party was really great last night"
^^ yeah that too
user559633
15:52
brb opening a gay bar named "the meatspace". yam it, leaving this
Meatspace :D
you know tristan....a lot of your ideas that you come up with that you joke about would probably work out and you would end up being successful in them.
user559633
totally.
user559633
e.g. barcopolo. leaving money on the table by not finishing it, but i just have whatever the coding equivalent is of writer's block
15:53
For the remaining 13 days and 23 hours of the cycle, I block every facebook address I can in my HOST files because I don't want them tracking me when I go to latinas sitting on birthday cakes dot com.
ok
windows <3
I can execute & build other people's ideas, or come up with great ones. I find it difficult to execute my own.
how long does it take to copy 3.83 M from C: to C:
user559633
@Kevin look at big kevin paying for premium cakesit content here
apparently 3 minutes.
... because the source is a zip
15:54
I'm just so bored of amateur cakesitters, you know?
user559633
i'm like a machinegun of ideas. my problem is the deep stage execution and release
user559633
@Kevin yeah, too vanilla
Heh.
user559633
god i love it when a setup pays off
@Kevin haha this reminds me of the friend who didn't understand how private browsing worked and had a panicked look on their face when they realized that their browsing history at work was not as protected as they thought
15:55
Better than squat cobblers.
I can only hope that the HugeCo admin that monitors my web access has come to love me a la The Truman Show despite my flagrant policy violations
user559633
opens steam and plays anime dating simulation during scrum meeting
@Kevin That's effectively how I am. Friends and family pretty much live in Facebook, which is annoying
user559633
friends and family live in real life too. just start emailing the ones you care about.
user559633
15:58
that's a lot of words
@tristan Fancy more worms later? See if we can't rope Fizzy/Bobby/AN Other in?
user559633
i maintain about a dozen email chains that have been going on for months. i don't miss facebook at all.
@WayneWerner Once my mom and her crew joined FB and started double sharing posts and words of wisdom, it was another sign that I really needed to gtfo of FB
user559633
@JonClements potentially. i need to go get some background clips, do a few errands, then have dinner plans, but the time difference may make it possible
I'm putting it out there for the future if my free time coincides with your play of worms. But I'd love to join in
today can't
16:00
TFW the database is reindexing, I guess
Oh dear. I got an accept on that crazy nested comprehension code for printing a list in a triangle. :) stackoverflow.com/a/38661254/4014959
@idjaw Ahhh... do you have a copy?
Alas, the missus was not sold on buying worms:P
maybe when there's a sale
@JonClements That would probably be helpful, eh? Which worms game do you guys play
Well yeah... it's frustrating 'cos WCW is back to £18.99 - which I certainly wouldn't pay for it... but I got 4 copies for about £9... which was acceptable...
16:05
user image
3
lol.
heh...that person is in for a shock when they turn in that assignment @PM2Ring
@WayneWerner LOL
Golf All The Homeworks!
@JGreenwell Oh, yeah. :)
@idjaw I'm kind of surprised that user has nearly 8k rep giving answers like that o.O
16:08
What language is their highest tag?
@idjaw BASIC? :p
Java with 248 score for 217 posts (bronze tag :)
haha close..Java
same thing
I guess they were being ironic:P
like a hipster buying a dell
16:11
Ironically, their top answer: stackoverflow.com/a/1327389/344286
8k since 2009...that's not too much, I'd say
On the topic of hipster, I recently learned about post indie. Apparently the hipsters go to great lengths to ensure their collective uniqueness
urbandictionary is legit, yo. Don't argue
Isn't collective uniqueness an oxymoron? :P
> Post indie comes after indie, and fixes this problem. Post indie cares neither positively nor negatively about the popularity of music. It is indifferent. If you listen to music because you genuinely like it, and not because you are conforming to any group or genre, then you're post indie.
sounds like @tristan's favourite kind of people
DSM
DSM
Midday cabbage for all.
16:14
I've always been post indie then :P
/inb4itwascool
post indie 4 lyfe
/missingthepoint
hey @DSM.
my top answer for a while (on SO) was basically quoting and explaining a bug report from Git....it's weird what people upvote
@AndrasDeak I was post indie before it had a name ;)
@JGreenwell QFT
16:16
quantum field theory! \o/
I remember being in a coffee shop once and was trying to explain to the moustached barista what kind of coffee I liked, and I asked them if they ever tried <brand> and they immediately said they hated it and they had it a long time ago. That coffee never existed because I actually accidentally called it by the wrong name at the time.
5
user559633
@AndrasDeak I'm not POST indie, i'm GET indie
I'm REST indie, I can't be bothered standing at gigs anymore.
@tristan I'm PATCH indie - not supported by all frameworks
Andras, is that where they start talking about strings? Cause, I don't get strings
DSM
DSM
16:19
@WayneWerner: heh
I was kind of disappointed when I learned that string theory wasn't really related to why strings spontaneously knot when you put them in a bin by themselves
or is that quantum entanglement?
:D
Possibly "I tried it a long time ago and didn't like it" is the safest response for a barista to give when asked about a thing they've never actually heard of. "I've never heard of it" makes the customer question the barista's breadth of knowledge.
"I tried it and liked it" might prompt the customer to ask "what did you like about it specifically?" which requires the barista to spin an elaborate web of lies. "I didn't like it" lets them deflect future questioning with "I don't know, I just didn't like it" and "I tried it a long time ago" lets them deflect with "I had a good reason at the time but I can no longer recall"
@JGreenwell Nah, strings are post QFT. :)
for reasons that defy description, I was reading about Dark Galaxies the other day, which seem to feature large in a lot of physics of late.
The Tao of Kevin
16:22
This kind of reasoning might apply to knee-jerk proclamations of dislike in other regions of culture. When ignorance is forbidden and enthusiasm leads to shaky ground, only distaste remains
This has been your just-so story for 7/29. Tune in tomorrow when I provide a justification for the exact opposite scenario.
How To Travel The World - By Kevin Kevinson
Cause "Dark Galaxies" sounds like an interesting scifi piece or comic....but is actually real
Yeah, plus afaict they seem to be a useful deus ex machina in terms of 'wtf is all the dark matter?'
*where tf
oh, great game
16:38
It really brings me great joy when I can throw in really stupid things (aka things that I find funny) in my sprint demo to help explain things that were accomplished.
That's the best
TFW you're waiting on a postgres materialized view to be created that has 6 million rows in it
it seems I am not updating to windows 1984
because, as always, nothing works.
even if I try as hard as possible
doing everything legal and illegal in my powers
Yeah, going from 7 to 10 felt like going from DOS to 95 back in the day
@JGreenwell I am not going from windows 7 to 1984 yet
I am trying to get this FUCKING SHIT TO UPDATE ITSELF IN 7.
the othre computer doesn't even boot to windows
it has a paid Windows 7 pro OEM
like, separately
what a waste
I've used it for 30 minutes
16:55
zesty
that's horrible, not surprising, but horrible
OK, off out for drinks and a show. Rhubarb all, enjoy your weekends when you get to them!
@holdenweb enjoy!
It occurs to me that "continuously monitor discussion and count the number of kicks each user receives" isn't the best chatbot feature to implement first, because it's not terribly easy to test.
I used an hour to download 2 GB of updates to install offline because the stupid windows update can't check updates online even after forced updates
and of course the offline updates wouldn't install either

« first day (2113 days earlier)      last day (3060 days later) »