« first day (2180 days earlier)      last day (2785 days later) » 

12:07 AM
Sometimes I wish python's syntax was more flexible. I'd love to define a <3 operator just to screw with people. It could call the __luvs__ method. I guess we would have to allow implementing </3 too: while it could default to the complement of <3, I'm sure there are objects which are in complicated.
 
Are you trying to turn Python into Perl?
 
DSM
#realtalk: I do wish we had more control over defining new ops, mostly for math purposes. I'd love to have a better way to distinguish between elementwise and structure-based operations.
 
There was a question the other day about defining ! for factorials:)
I could see that, but then again it would confuse the crap out of most people, myself included probably
 
But if contained within your own application for that intended use, it totally makes sense
 
yup
 
12:15 AM
Python's whole philosophy is making your code readable for everyone, so allowing stuff for private use doesn't really mesh well with that
 
Inside joke between consenting adults?
 
hehe
 
knowwhatimean knowwhatimean knowwhatimean?
rhubarb
 
rbrb Andras
 
user559633
12:30 AM
happy 5 liter minikeg to all
 
\o/
let the good times roll!
 
I like my kegs the way I like my tax auditors: empty and emotionless
no wait, I don't like beer at all
thanks anyway
 
DSM
A bowl is most useful when it is empty. #tao
 
*whistles*
 
user559633
woot, opening strong with some stout-dark and low-brow comedy
 
12:33 AM
or 1/4 through the keg
whichever
 
user559633
so full of disappointing ribs that i don't think i'll even get into it.
 
I can see where the keg comes in to the story here.
I approve of your decision
 
user559633
i went into the store to get a beer and the girlfriend reminded me of such. i went full gimli when i saw the mini keg
 
You can't really argue that.
 
user559633
I mean, you could, and you'd be on the winning side of the argument, but we adhere to futurama "technically correct" rules in this household.
 
12:42 AM
So, what jug of happy juice did you end up purchasing?
 
user559633
hofbrau brotoberfest
 
copy pasted, saw the bro...asked myself...said...wait...still searched...realized it wasn't actually brotoberfest
 
user559633
smarter choice by far would be weihenstephaner. brofbrau is far inferior.
 
DSM
It might not be Brotoberfest, but it's Brosh Hashanah..
 
user559633
slightly creamy, skunky, 6%, generic german budweiser grade. i think budweiser might actually be better.
 
12:45 AM
eessh. really?
 
user559633
Brosh Hashanah would be a good name for a marijuana dispensary in Israel
 
user559633
@idjaw I mean, America (née Budweiser) isn't that bad. The upshot would be that a 5L mini keg would be cheap, but at $25, that's regular, better 6-pack territory
 
^^ yeah I know what you mean.
When I'm going cheap, I bounce between two Canadian beers: Alexander Keith's Red or Rickards Red
 
DSM
^^ Rickard's Red is one of my favourites.
Tasty and not bank-breaking.
 
user559633
All decent 4-6 packs here are $10-16 here, so subpar beer in a novelty, easier to ship container for $25 is only a decision I'd make on a lark
 
user559633
12:56 AM
It's on principle, really.
 
DSM
Speaking of beer, I should go work some off. Rhubarb for all!
 
rbrb @DSM
 
user559633
Rhubarb
 
what you up to this evening tristan?
 
user559633
1:16 AM
@idjaw Fixed an annoying bug in my UI today. Just hanging out now. You?
 
user559633
 
@tristan watching some tv....doing some light reading...slacking.
 
user559633
I'm bad at JS, so it took me a bit to get the click to set focus on that specific element and have it work on hitting enter/leaving focus appropriately when switching from <div> to <input> and back to <div>
 
user559633
@idjaw What are you watching? GF and I are finishing the latest season of Portlandia on netflix, but it's not every good, so we're both on laptops
 
@tristan You saying that makes me miss JS.....
 
user559633
1:23 AM
@idjaw You're probably better at it than I am.
 
@tristan Right now I'm finishing Fear the Walking Dead which is equally as disappointing as your Portlandia experience most likely...so I don't recommend it.
I'm also going to watch The Strain...which is OK...I just really can't stand the main protagonist
 
user559633
Last time I "really" used it, jquery was the go-to and I just did form stuff and CSS.
 
In an interview I once said I used this
and the interviewer was skeptical of my honesty
because they never heard of it until I mentioned it in the interview
 
user559633
I'm pretty worried about how my hacked-together app will work on browsers that aren't latest chrome.
 
Did I link browserstack to you?
 
user559633
1:26 AM
Yeah, and I mentioned a friend was doing a declarative/human language version
 
yes. Wasn't sure if I had linked that when we spoke about that
 
user559633
yeah, i think so or i had heard of it. unrelated: fear the walking dead is a pass?
 
@tristan are you an un-biased Walking Dead Fan?
Because I would say give it a try
 
user559633
my problem is that i won't be sure which polyfills i need and what bugs i have until i'm kind of deep into a workflow
 
if you are bleh about it...I really don't think you'll like it. The characters are unlikeable and the show moves forward only because of stupid decisions they make to add complexity to the show
 
user559633
1:28 AM
eh. TWD got tedious as their funding got cut and i've already read past it in the comic books, even though i haven't read them in 7 years
 
user559633
@idjaw that nails it even in le originale.
 
user559633
<--- we're over here [zombies] we need to be over here for some dumb reason ---->
 
Unfortunate. And the comics have tanked to boring land
 
user559633
i stopped reading comics like 8 years ago after i was let down so hard by 100 bullets
 
user559633
and also when some house guest walked off with my obama spiderman original comic
 
1:30 AM
=/ that's shitty
 
user559633
yeah, not sure where it went, so presumed stolen as otherwise i would have found it.
 
user559633
oh well, ~~stuff~~
 
I started watching Luke Cage.
Decent so far
I'm only in the first few episodes
(I think I watch too many things....)
 
user559633
we're watching "fixer upper"
 
user559633
1:33 AM
don't hate, they're ~~charming~~
 
That's cool :) We watch cooking shows
 
user559633
ooh, good idea.
 
we really liked watching masterchef
chopped and top chef
we loved top chef
 
user559633
 
user559633
 
user559633
we'd need whatever one of those players are
 
@tristan I would love that to be the intro to many tv shows
Netflix DVD? what now?
 
user559633
@idjaw Yeah, idk what a divid is or what website offers that.
 
user559633
Honestly, if dog_meme.avi was the intro to every show, i'd be happy
 
2:03 AM
I'm surprised there is still a reference to Netflix DVD
^^ that's why it was weird to me
 
user559633
same. i think i have a dvd IDE connected thing in my house, but not sure
 
user559633
we're a non-pirating house, but it's almost like media companies are baiting us
 
^^ ha. us too actually.
But yes...it's a bit ridiculous how it's almost as if everything is set up to force you in a corner
 
user559633
@idjaw yeah, it would be so easy, but we don't for moral reasons
 
user559633
2:18 AM
i have some sympathy, but that's nothing compared to the terrible APIs my C++ prof expected us to work against (40 years ago)
 
@tristan Yeah. I've set myself up to not have to go that route. The one thing that irks me is that I have to deal with paying for a cable subcription to get TMN/HBO
a big chunk per month just for that
There is no other legitimate way in Canada to get GoT and the like unless you go through cable subscription.
 
user559633
Yeah, GF and I wait and binge or see at a friend's house.
 
user559633
And yeah, cable is super broken because of Disney/ESPN, Viacom control.
 
user559633
Amusingly, netflix barely works in Russia, and GF and I try to stay within media fencing, even though it would be trivial/without-punishment to just pirate anything/everything
 
barely works, as in service issues?
 
user559633
2:31 AM
I used to vpn to one of my us boxes, then netflix caught it and blocked it
 
user559633
@idjaw Nah, they blacklist it.
 
@tristan oh...that's shitty
 
user559633
yeah.
 
user559633
we pay in the us, but they do "where is user" checks, which i assume is an automated check for certain ip blocks for amazon/digital ocean/time warner
 
one time, wife and I wanted to watch a movie. Could not rent it on Amazon, wasn't on Netflix, wasn't on TMN Go, wasn't on Xbox.
\o/
that is what bugs me
I should say specifically for Canada
 
user559633
2:46 AM
my understanding of canada is that the government helps disney/media companies sue their citizens
 
user559633
like how in europe it's stupidly easy for media companies to identify and directly sue consumers
 
I don't think anything can be done legally in Canada...there have been reports here and there of letters sent by ISPs to scare customers.
Ah I found it...not directly related...but a view on ISPs and how they handle data
ah here is something more related about the law that was passed on it huffingtonpost.ca/2015/01/08/…
 
user559633
3:04 AM
@idjaw that's USA 10 years ago. that's US media setting laws in your country FWIW
 
we're always playing catchup with you
 
user559633
the general setup is to ask just under the legal defense amount because they're reasonably certain of the piracy
 
user559633
e.g. modal "my wifi is insecure" defense mount is $10k; so media company will ask $5k on X strike; knowing with some certainty it's not a false positive, meant to recap loses on N pirates
 
user559633
read the article. i wouldn't trust huffinglue post for anything, especially legal process information
 
huffinglue haha
 
wim
3:36 AM
>>> not 0xCafeF00d <3 if 0xDeadBeef else Cabbage
True
@AndrasDeak <3 operator ^
 
4:03 AM
Morning all
 
o/ vaultah
 
4:22 AM
@wim else int('Cabbage', 17)
 
5:04 AM
Good Morning All
I need a help
I am using the yeoman to generate the python project
there is file called make file, can any any one explain about that
 
have you tried searching Google for "make file"?
homework, not that that's necessarily a bad thing, but they pretty much just said, "I don't understand how to do my homework"
 
I have tried in the google
But I am not getting actual items they specified
 
@devanathan it is not make file, it is Makefile
 
Oh yes, Sorry for that typo
 
you execute them with make
A makefile is a file containing a set of directives used with the make build automation tool. == Overview == Most often, the makefile directs make on how to compile and link a program. Using C/C++ as an example, when a C/C++ source file is changed, it must be recompiled. If a header file has changed, each C/C++ source file that includes the header file must be recompiled to be safe. Each compilation produces an object file corresponding to the source file. Finally, if any source file has been recompiled, all the object files, whether newly made or saved from previous compilations, must be linked...
since it was written for you you just need to run it
 
5:21 AM
is the makefile will work only linux
?
 
very probably
or on Unix
 
We don't to specify the file name.
We can use the following command

make <task>
This will execute the task?
 
Thanks for the Help
 
 
2 hours later…
7:19 AM
cbg
lads
 
cbg all
 
8:16 AM
Cabbage!
 
8:30 AM
cbg
 
9:24 AM
@idjaw haha, I read "copyright modernisation act" in the URL and thought "finally! Someone is doing something about the insane copyright laws!" ... But nope, it's the exact reverse. :-/ Could have expected that.
 
10:02 AM
cabbage
 
10:13 AM
bah, interviews
cabbage, Andras
 
@holdenweb I heard those are fun:P
May the odds be ever in their favour.
 
cbg
 
cbg
 
hi Andras
@wim is here
 
yes?
 
10:27 AM
no, nothing Andras. I was surprised to see him here at that time of the day
 
ah
he was here last night, well, night for me
I guess that would make it evening for him
his last message was 7 hours ago, i.e. 10PM local time for him, I'm not sure how SO chat computes activity
 
anyone can help here on scrapy??
 
10:42 AM
@PeterVaro why isn't PAAPP a valid sequence through graph [6]?
 
@V.Khakhil maybe. Ask your question.
 
@khajvah i am extracting the webpage freeindex.co.uk/categories/advertising_and_marketing/… . after some limit of requests contact infomation got blocked and other information are extracted for an IP address.
 
@V.Khakhil yes and?
 
@khajvah i want that IP address automatically changed for every request so that all informations can be extracted.
 
you want your public IP to be changed for every request. You can't just simply do that and it's not a question concerning scrapy
freeindex.co.uk doesn't want you to scrap, so don't
 
10:54 AM
@RobertGrant good question:P
 
GER
@V.Khakhil how fast are you making requests, maybe slow down a bit
 
@GER i am using delay of 6
 
@AndrasDeak woohoo
 
if i extract this freeindex.co.uk/profile(abp-events)_484446.htm multiple times the after some request all data are extracted except contact.
 
10:58 AM
That's great
 
I wonder how well my learned English intuition gets that right...
a lot of things like "little old granny" and "great green dragon" clearly only work that way
 
@V.Khakhil why are you scraping btw?
 
but some of the rarer relationships are surely missing from my processor
 
I love me a nice Jenkins build
 
@V.Khakhil I am asking because you might not be allowed to do whatever you are doing.
 
11:02 AM
@khajvah i am new to scrapy as well python also. i am learning scrapy and contact which i am extracting is ajax content thats why for practice.
 
> -- Are you sure it's the multiprocessing part that fails? It seems fine to me. If you print res right after the .join(), is it really empty? [...]
> -- @Andras: adding a "plot(res)" after the "if" containing the join I get: [...]
> -- And if you print(res) **right after the join**, as I asked?
this is what it must feel like to handle users
 
@AndrasDeak + they managed to trigger the exact reason why you need the __name__ == '__main__' thingie...
 
SOLVED: the rest of the function body was out of the "if name" ... putting everything inside is working — dario 12 secs ago
baaaaaaaaaaaaaaah
 
Hahaha
 
@Ilja FWIW they added a traceback in comments, got deleted by a mod:D
 
11:11 AM
Kind of guessed it
Yeah I managed to saw it and recognized that they're on Windows and prone to that issue
 
yeah there was some silly c:\ going on there
 
They were calling some solver function with the zeros only array, which prolly had no solution and so the complaints.
...I think
 
Cabbage
I guess questions asking for help hacking email accounts aren't technically off-topic, but I'm still not happy about them. stackoverflow.com/questions/39850066/…
 
@IljaEverilä probably yes
that it is
@Sandro FYI you have 2 minutes after posting to delete your messages
 
No I come with my tablet
Its hard for me to work with it
 
11:26 AM
OK
 
cbg
 
What is cbg
 
Please read the room rules and find out.
 
@Sandro short for cabbage
 
11:31 AM
@Sandro room rules
 
Do u like cabbage
In salad
 
@Sandro naturally
 
Salad would be rather weird without cabbage.
 
Green Bean
 
what's the opinion on the nobel in physics?
 
Hello, is there away that I can make the number of times the program enter an else statement is the same of its if?
for i in range(5):
truth_if = False
truth_else= False
for j in range(3):
if i == j:
print "Yes", i, j
truth_if = True
else:
print "No", i, j
# truth_else= True
if truth_if:
break
I am trying to print 3 Yeses and 3 Nons
 
@AnttiHaapala WOOOOOOOOOO
Kosterlitz--Thouless transition is fun, and also happens to be pure theoretical physics:)
 
12:00 PM
@aBiologist wat
 
I know it is a silly problem but i am trying to see if I can enforce break somewhere in the code so that the program print 3 Yes and 3 No even though the logic of the code above is that the number of else accessed higher than of if @khajvah
 
user559633
can't find an important email cabbage
 
cbg tristan
 
user559633
o7 vaultah :)
 
12:08 PM
“What are you using to generate the JSON?” – “I’m using JSON.NET!” – solution for JSON.NET – “No wait, I actually lied. You are so wrong about it, this is not a duplicate!!!” – Seriously? Anyway, see this question and also this question… it’s still a duplicate. — poke 13 secs ago
People.
 
Go get em, poke
Oblig:
 
Good one
 
@AnttiHaapala I read the short description and said "Huh?" Apparently it has something to do with superconductors. And future quantum computers, of course. Everything does.
 
@RobertGrant Love that.
 
Yeah
 
12:16 PM
I have quite a few* acquaintances for whom that is default mode.
* 1<n<10
I like @Andras' starred message. I just tried that moving the word order around and it's true (for the perms I tried) that other orders sound somehow unnatural.
 
12:31 PM
I'm pretty bad at admitting I'm wrong. You'd think I'd have plenty of practice by now :V
 
I once had a discussion with someone who INSISTED that Python was most definitely NOT a programming language, but a scripting language.
 
@Kevin No you're not.
 
He was unable to say he was wrong
 
Is there even an objective distinction?
 
No
Especially given Python is compiled before it's run, AFAIK
 
12:34 PM
@AndrasDeak So you’re saying he is wrong?
 
@poke yes.
 
That's hilarious, because those are not even mutually exclusive
The only thing that he could have said that is accurate is that Python is not directly compiled into machine code but is executed by the Python interpreter on that particular platform.
It's still compiled into bytecode, just like .NET and Java are, though.
 
> When you debug JavaScript eval code, if there are eval codes that have source maps that follow eval code that don't have source maps, the debugger crashes when it steps into eval code that does not have source maps.
^ tongue twister change note
 
I guess the original thought behind "scripting" was something like "to run commands from a script", as in a "shell script". Later languages such as Tcl and Perl were created as more advanced alternatives to shell scripts, which explains why they − and langauges like them such as Python − were commonly called "scripting languages" as well.
 
indentation (typo) solved for OP stackoverflow.com/q/39849601/5067311
and rhubarb
 
12:39 PM
What would a language that is a scripting language but not a programming language even look like?
 
A scripting or script language is a programming language that supports scripts, programs written for a special run-time environment that automate the execution of tasks that could alternatively be executed one-by-one by a human operator. Scripting languages are often interpreted (rather than compiled). Primitives are usually the elementary tasks or API calls, and the language allows them to be combined into more complex programs. Environments that can be automated through scripting include software applications, web pages within a web browser, the shells of operating systems (OS), embedded systems...
SQL, technically
 
(Incidentally, GVR calls Python a scripting language on its Wikipedia page, if there was any doubt about that)
 
as SQL is not turing complete (at least, plain ol' SQL)
 
(But ofc that doesn't disqualify it from being a scripting programming language)
 
@Kevin is GVR short for BDFL?
misreply
 
12:40 PM
Well, python.org says *"Python is a programming language that lets you work quickly
and integrate systems more effectively"*
 
Any good legend will accumulate many names over the course of his adventures.
 
@Kevin I’m thinking about commands some dictator can shout to their servants to “run some tasks”
 
@Carpetsmoker scripting is programming
 
+1 Code-Apprentice
 
@WayneWerner I try and annoy DBAs by calling SQL a configuration language
3
 
12:41 PM
ah crap
I should've found the dupe target for that question
 
Robert, you're playing with fire here. :)))
 
I suspect there's one that deals with the fact that Windows doesn't fork. Oh well
 
Programming is flipping the eight on/off switches on the front of your mainframe in order to register a single machine code instruction at a time. Nothing else counts.
 
user559633
Oh, are we talking about Standard Query Lambdas?
 
To me, SQL is a declarative programming language…
If you’re telling me, it’s not a programming language, then please show me a declarative programming language and tell me what the difference to SQL is.
 
12:43 PM
@Code-Apprentice exactly - programming and scripting is not mutually exclusive.
 
I'll accept SQL as a programming language if you can make it output the lyrics to "99 bottles of beer on the wall" without having to hardcode each line
 
@poke I don't think I have any examples of a declarative programming language. But "turing complete" is what I think of when I think of a programming language. AFAIK, SQL can't enter an infinite loop, which is part of being turing complete
@poke did you recently change your avatar?
 
@poke Prolog is a declarative language, and it's different to SQL because its syntax is different #winninglife
 
@Kevin sounds like a job for a recursive CTE :P
 
@RobertGrant Oh shut up. Syntax does not count >_>
Meh >_<
<_<
 
12:47 PM
Okay. It's also named differently.
pokes the poke
 
PFFF!!!!
@WayneWerner If by recent you mean four-ish years ago, then yes?
@WayneWerner Most SQL implementations are actually Turing complete
 
morning everyone
 
\o
 

« first day (2180 days earlier)      last day (2785 days later) »