« first day (1443 days earlier)      last day (3520 days later) » 
02:00 - 19:0019:00 - 23:00

2:38 AM
cbg!
 
3:00 AM
hello, I had a problem with beautifulSoup. any help here?
 
Not from me sorry.
 
thanks, for response. I was like, "do anybody hear me, or am I talking to myself" :D
 
I'm here. And that puppy sitting in the room users box never sleeps either.
 
3:22 AM
@Shaardool what problem?
 
 
3 hours later…
6:46 AM
 
 
2 hours later…
8:36 AM
cbg()
 
Cbg
 
8:55 AM
cbg
 
Hi guys
 
9:09 AM
Room(all).cbg()
 
@Jon BRIIIIIIIIIIAN!
 
@Ffisegydd STEWIE!!!!!!!!!!!!!!!!!
 
Sausage bap from the local cafe, sorted.
Don't think I'll be going back again though.
 
@Ffisegydd crap sausage?
 
9:23 AM
Not the best. Plus the price is high. Just generally crap service. No butter on the bap. Bought a coffee and she filled it 3/4 of the way up
It's a shame because their coffee is actually very nice
 
Best coffee I think I've ever had was from one of those train station jobbies
 
Hah. Best coffee I've ever had was in the nuclear reactor cafe in France.
 
Mind you, my brother and I a while back went to into this cafe as we fancied a sit down, ordered a couple of coffees and it was really nice coffee, but served in effectively what Id' consider a soup bowl with handles...
 
Oh yeah I've seen those a few times
 
Seems very odd having to lift your drink with both hands...
 
9:27 AM
It's "trendy"
 
Darn it... I want a sausage sarnie now...
except... don't think pork and apple is really designed for a breakfast sandwich
 
Doe John has homework and has asked for people on Stack Overflow to do it for them. Unfortunately this is not appropriate for SO and so they should look up "What they can ask about here?Ffisegydd 11 secs ago
Snarky comment to homework question is snarky.
 
@Ffisegydd consumed by anger of bap with sausage you are... :)
 
9:42 AM
While snarky it did at least serve a purpose, pointing them to /on-topic :P
Stupid Chrome doesn't allow me to install unofficial extensions when on Windows.
So I don't have cv-pls helper anymore on my Win7 box.
 
@Ffisegydd awwww... it's okay... it's not the end of the world!
 
Yes. Yes it is.
 
@Ffisegydd IT IS!? I was kind of hoping that Kevin would have teraformed Mars then...
 
Reject the edit on stackoverflow.com/q/26083540/3005188 please
 
Umm... how are they implying tk (or anything for that matter) from that?
 
9:47 AM
Ffisegydd has approved 147 edit suggestions and rejected 219 edit suggestions - bwhahahaha.
I need to reject more.
 
Wow... The baby's in a mood :)
 
Need to get back on Reviews. I'm gonna get it ~10 short of the gold badge and then wait for Christmas.
 
Is that a cunning plan for hat grabbing as well then? :)
 
10:24 AM
hello! .... is it possible to initiate an openvpn connection and download a file all from inside python
 
surely
 
dear sir! what must i do to get some pointers, I must say that I tried googling it but found nothing relevant
 
actually no, I already checked that, it uses openvpn binary to create the connection, can it be done from inside python [ why do I fear that the answer will be no ]
 
10:40 AM
From the openvpn roadmap: " The fact that OpenVPN is currently implemented as a monolithic C application makes it difficult to control OpenVPN's internal operation from higher level languages. Having the core functionality of OpenVPN implemented as a C library would allow it to be wrappable by higher-level language objects more easily. [...] It would be much more straightforward to implement the cloud in a high-level language such as python, and wrap the OpenVPN library as a python extension. "
 
well is there a library you know that might do such a thing
 
you mean a library providing openvpn functionality that is not provided as part of openvpn? seriously?
 
i meant a python lib
 
well, unless somebody decided to implement a pure python solution, a python lib would be a wrapper for a C lib, which would likely be the openvpn C library if it existed.
ok, let's make it easy: NO
 
yeah i knew that
thanks
 
avi
10:48 AM
cbg
 
 
1 hour later…
11:52 AM
Hi
 
G'day
 
guys I am working with Python in Windows. I installed PyQt but when I import it to my app , a console Windows opens and closes immediately
 
You're double clicking the file icon, I suppose?
 
@Veedrac yes
 
0
Q: Window closes immediately after running program

user3885968I am new to all programming and I just started to get interested in learning how to program. So to do so I started with what most people consider the easiest language: Python. The problem I am having right now though is that if I say to Python print("Hello!"), save it in a file, and then run it,...

 
12:05 PM
but my app has gui not console app
 
Try running this:
 #!/usr/bin/env python

 import sys
 from PyQt4 import Qt

 # We instantiate a QApplication passing the arguments of the script to it:
 a = Qt.QApplication(sys.argv)

 # Add a basic widget to this application:
 # The first argument is the text we want this QWidget to show, the second
 # one is the parent widget. Since Our "hello" is the only thing we use (the
 # so-called "MainWidget", it does not have a parent.
 hello = Qt.QLabel("Hello, World")

 # ... and that it should be shown.
 hello.show()
 
nothing changed
 
It still closes immediately?
 
yeap
and it is still console window
 
This means you're getting an error
Try opening a console window and running:
python path/to/thatfile.py
 
12:15 PM
I have an error of qt is not defined
 
OK
Are you sure you installed Qt properly?
Or did you install a different Qt API?
 
What's the output of python --version?
 
3.4.1
 
OK
Run python and then write
import PyQt4
Does that line alone error?
 
12:26 PM
no
 
What about
PyQt4.Qt
Ignore that
Try:
 
ImportError: DLL load failed
 
from PyQt4 import Qt
 
ImportError: DLL load failed
 
OK
Is that the whole error?
 
12:30 PM
ImportError: DLL load failed %1 is not a valid win32 application
 
You probably installed the 32 bit package while on a 64 bit computer
You should uninstall and install the package with the same bit-ness as your computer
See:
1
Q: PyQt4 and 64-bit python

tylerthemilerI am trying to get the 64-bit version of python up and running with a program I wrote. That program uses a gui I wrote in PyQt4. I cannot find a 64-bit version of PyQt4 and I get the following error when attempting to use the 32-bit of PyQt4 with the 64-bit version of python: S:\src>SimLauncher....

 
ok, I will try and say the result
 
12:44 PM
@Veedrac I have installed, run python and try import from PyQt4 import Qt , I didnt get an error but the app's situation is still same
 
So what happens when you run python and then do
from PyQt4 import Qt
?
 
it passes a new line
 
Good!
So what happens when you run
python path/to/myfile.py
?
 
name qt is not defined
 
Is that the full error?
 
12:49 PM
Traceback (most recent call last): File "<stdin> line 1 , in<module>
NameError: name qt is not defined
 
OK
Are you running my example file or your file?
 
yeap
 
Which one?
 
your example file
 
OK
That sounds really odd
Are you sure that's the whole traceback?
 
1:06 PM
yes I am sure than my name
What should I do @Veedrac ?
 
It's hard to tell without seeing the line that it's erroring on. I've no idea what's writing qt. A NameError normally shows you the line that's causing it, so... dunno.
 
well, thanks for your concern
 
1:21 PM
I suggest you run python
And paste each line from the example in one at a time
Then tell me which line it errors on
 
1:35 PM
@KeremZaman Did you see my message? I'm not sure whether I'm waiting for you to respond or you just didn't see it.
 
@Veedrac sorry I didnt see
I am trying now
@Veedrac damn , it is about spaces before lines when I delete spaces before lines, the problem disappear and it works
 
Ah, hello @MartijnPieters
 
> Sorry, this is not answer, but I need a code box to make it readable.
 
@MartijnPieters You're a chat room moderator, yes?
 
1:47 PM
I'm a chatroom owner, yes.
 
I starred an image from Swordy that I absolutely didn't want to star, but it seems I was a bit late to notice.
It's been irking me
In the side-bar
Is it possible to undo this action?
 
Yeah, I was wondering about that one. Stars cancelled.
 
Neat
Thanks
 
np.
May have to talk to people about sexism if that becomes too prevalent.
 
Hey, I've got a small question:
How to make input().split() return a list full of integers not strings?
 
1:54 PM
[int(part) for part in input().split()]
 
@Mistsz1 by explicitly converting the strings.
 
Yeah I know that, but do I have to convert the whole list manually (every part)?
 
avi
how about this

input_list = map(int, input().split())
 
@avi That works in Python 2, not in Python 3.
 
1:56 PM
@MartijnPieters I believe it's something we're aware of as per our trello page
 
avi
@MartijnPieters how to in 3?
 
because map() returns an iterator in Python 3.
Not a list.
 
@avi Did you see my comment?
I feel ignored ;)
 
So you'd have to add list(map(int, input().split())).
 
avi
@Veerdac yes, I did ;-) but mine is bit cleaner
 
1:57 PM
And since input() is being used here, we can assume Mistsz1 is using Python 3.
 
Yes, I'm
 
avi
@MartijnPieters makes sense
new to Py3... no migration yet :'(
 
Ok, it works. Thank you very much :]
 
2:20 PM
-5
Q: Will C++ Written in Python do well with Node.js?

Harald VelandI am a newbie with an idea that goes as follows: Use python to write an app that converts to C, and call its functions and objects from a Node.js app. -My objective is to enhance the power of the app I write and also up its speed, by building most of the app in C, while programming fast and ef...

 
2:33 PM
@Veedrac What is this, I don't even?
 
@MartijnPieters Oh, wow.
 
I'm reasonably sure Doe John asking this before is the same person.
@Veedrac you dealt with that first post before.
Anywho, VtCed on Programmers, flagged on Gamedev.
 
Cabbage all!
Time to start on LaTeX me thinks! >:)
 
!gbc
 
3:10 PM
I have a love-hate relationship with LaTeX.
 
'!gbc'[::-1]
@Veedrac latex hates you and you love it?
 
@Veedrac I can't even work out how to install the damn thing.
 
It's such pretty output, but such an ugly markup
 
anyone in their senses should use LyX
 
pip install latex
Oh wait...
 
3:11 PM
:D
 
Is that a WYSISortOfWYG editor?
 
yes
surprisingly good
 
Halp me, oh mighty @Veedrac.
 
OK.
What OS?
 
3:13 PM
It has a cream background. I don't trust it.
 
Windows. Is it this one by any chance?
All those gubbins is hurting my head.
 
@Iplodman Best bet is to uninstall that crapware and install something good. I suggest Arch.
 
@Veedrac Uninstall windows? xD
 
I suggest not touching the crapware called Arch :(
 
BOO! BOO!
No cake for you.
 
3:14 PM
arch will make YOU bleeding edge...
 
And what's wrong with that?
 
I shall run the .exe and ee where that takes me.
 
Can't handle a little stabbing?
 
you recommended to scrap one OS that cannot be used for work, to replace it with another that cannot be used for work.
 
@Veedrac I can't handle Django. Django is my mortal enemy, as Patrick Bassut knows.
 
3:17 PM
@Iplodman srsly: lyx recommended: lyx.org/Home
 
@AnttiHaapala You can too do work on Arch. Just don't make it your server.
 
lol
I happened to have a customer with embedded device with arch, sure fun
"oh well, guess we need to update some pkgs -- eh..."
 
@AnttiHaapala Is it like word but uses TeX? Can I write the TeX script(/Code?) myself?
 
yes you can write anything, but it cannot show all in wysiwy*.
see the vid
 
@AnttiHaapala What happens when it can't show something? Does it just break?
 
3:20 PM
no, it just shows the codes in code block
or...
 
@AnttiHaapala But I want to struggle through my incompetence! Where's the fun in not seeing a blanket of text?
 
it is not an import filter, it has its own save format
 
TBH I'd never use a WYSIWYG for LaTeX. I wouldn't want to risk having machine generated monstrosity.
 
it is not machine generated monstrosity
 
I use split screen and a little magic to get an auto-refreshing pane on the left-hand side
@AnttiHaapala Samples?
 
3:23 PM
hmm dunno, I do not have it installed on this comp, havent used either of them for ages
the lyx file format is not pure latex for obvious reasons
but you can even edit the latex code, and convert latex to that format.
 
Considering it's a LaTeX editor, I'm not shocked.
 
Mah lawd, ProTeX takes a while to download.
 
"To maximize performance, LyX documents that you save by clicking File > Save are stored in a custom TeX/LaTeX-like format that LyX can process quickly, without invoking an external formatter. These files have a .lyx file extension. "
 
OK
 
it is rather nice if you dont remember the codes say,
 
3:25 PM
@Iplodman WTF is ProTeX
 
bc it has a dropdown toolbar for math symbols for example
 
@Veedrac The internet told me to download it.
 
@Veedrac nice :P
however it is still less burdensome to not have to remember all the symbols or draw there
also lyx handles tables, say, and linkin images
that are PITA
 
Maybe.
 
3:28 PM
@Veedrac What do I download?
 
I dunno. It's Windows. You're on your own :P
@AnttiHaapala But what are your customization options for those tables?
YOU CAN'T TAKE MY POWER!
 
Aight', lemme' rephrase that. Where did you download yours?
 
@Iplodman install the lyx already, it has embedded latex
:D
 
3:30 PM
God dammit xD
 
come to the dark side, we have cookies!
 
Just- Ugh.
I'm frustrated now :c
 
Download this one if you already have an older version of LyX installed and you want to update it. This installer requires that LaTeX (MikTeX or TeXLive) already be installed.
btw,
 
You Windows users don't know how hard you have it. Looking for places to download things??! What is this? 1995?
 
too many latexen for windows
silly me, should have linked to SE
 
3:34 PM
Great, found a Youtube video that told me magic stuff.
 
4:11 PM
@Iplodman I can help you with latex. I use it **a lot **
Damn phone putting a space and then markdown breaking!
Incidentally I'd recommend TexnixCenter (or whatever its called) using MikTex
 
morning friends
gots me a new keyboard
 
Is it a click one?
 
His keyboard doesn't have this whole "pressing" thing
You have to pull out the keys instead
There are little hooks on each key to make it easy
They're called keyrings
 
Darn tooting.
Anyway @Iplodman I'm heading up to see my missus tonight but might be about. If you have any questions then feel free to ping me. Tomorrow I can send you an example report if you want. Learning LaTeX is a very good thing to do.
 
Cbg and voted
 
4:54 PM
Sorry, I was afk @Ffisegydd! I'd appreciate it :D
@Ffisegydd Downloading MikTex now. :)
 
5:12 PM
Cool. The LaTeX wiki book is very good. And TeX.SE is also very good.
The wiki book will walk you through making a document
 
@Ffisegydd how the illustrations are going?
cbg(folks)
 
@Peter I've made two more in iDraw. I need to go in tomorrow and check my thesis to see what more I need.
I haven't attempted the "big" model yet
 
I see.. will this thesis be public?
 
That's gonna require actually editing the objects (to get the correct bevel etc) rather than just placing them.
Yeah its public
 
that sounds awesome -- when will you finish it?
 
5:19 PM
I need to think how I'm going to create the grooves. I think I'll be able to use a torus mask with a boolean operation to remove them
Hopefully March
 
@Ffisegydd try to understand how mesh-modelling works in the first place -- booleans are absolutely "no go"
actually you don't need special base-geometry at all -- you can build everything starting from a single vertex
 
Ok basically I've got a cylinder where on one of the ends I've got to have 4 concentric grooves
*concentric circular
 
you should take a look at some of Andrew Price's tuts
you don't have to follow all the steps => you don't need advanced rendering
but the modelling parts are pretty awesome -- and since they are YT vids they are quite easy to follow
 
Hmm ok will have a look later
 
god.. I hate PyQt5 so much.. it literally takes 30 minutes to update every time
 
5:24 PM
This advanced model isn't really necessary, I can do the same with drawings easily enough. Would be nice though.
 
I guess, you have to make a presentation at the end, haven't you?
 
No you have a viva but it's not a presentation
 
3D anims/stills would be nice I think ;)
a viva?
 
Viva voce
 
still have no idea what that is..
 
5:26 PM
Basically you sit down with a panel of examiners and defend your work
 
oh, then I know what that is ;) I wasn't familiar with the term
 
So they say "explain this" or "Why did you do it this way and not X"
 
it's latin
 
And you have to be able to explain /defend your work
 
I know @isedev I learned latin for 4 years ;)
 
5:27 PM
well, that's 2 years more than me
 
@Ffisegydd well in that case you really don't need those models.. but sure they will look awesome in the documentation
@isedev very useful language <sarcasm/>
 
Exactly. Plus they may be useful for others in the future (such as my lady friend)
 
is she a physicist as well?
 
@PeterVaro well, funnily enough, made learning italian a lot easier.
 
One of the old PhD students did this modelling in the past but he used some proprietary software we don't have access to which means they're useless now
She is, same research group
 
5:30 PM
@isedev well, that makes sense.. however I never wanted to learn italian or spanish.. but icelandic and finnish -- which has nothing to do with latin ;)
@Ffisegydd yeah -- well using blender has (at least) the advantage that it will be available for both viewing and editing for the next decade ;)
@Ffisegydd sweet ;)
mmm.. I still love Corn Flakes -- they are just soooo delicious :)
 
avi
any comments on this: https://github.com/avinassh/tornado-benchmarks

its a pointless benchmark.... pointless cos I don't know whether I am doing it right or wrong... btw python beginner here... be nice ;)
 
has anyone tried the corn-flakes breading?
(I love it that one too)
 
anyway one can undo a review decision (hit the wrong button by accident)?
 
5:55 PM
@avi No such thing as a good Python benchmark without PyPy, 'tis all I can say :)
 
avi
ha ha okay :)
 
@Ffisegydd My first LaTeX document went well! LateX is enjoyable, I must say.
 
@Iplodman Ah, the naïveté.
 
@Veedrac Very much so, I am 14 after all ;)
 
About the same age that I learned to fear LaTeX, I think.
Don't worry though, it will come soon.
 
6:03 PM
@Veedrac xD
So, tell me why LaTeX is to be feared.
 
I'm not sure where to start
...but it might be PGFPlots.
You have a Turing-complete markup language that has a friken matplotlib competitor baked into it...
and don't get me started on Circuitikz
It's not holy to be able to write that in text.
It's an abomination. And I love it.
 
Jesus. How the crap on a cracker do you write that with text?!
 
Start small, @Iplodman
 
What's that written in, again? It's not LaTeX, is it?
 
It's a LaTeX package.
You know how it's funny when people say "I'm a programmer, I know HTML"?
It's not funny when it's LaTeX
 
6:09 PM
Yeah xD
 
It's just True.
 
AHAHAHHAHAHAHHA xD
If you can wrote that in text you're a genius brain-child.
It is now my new goal to become a genuis brain-child in TeX.
 
Here's something I've done:
 
Looks fancy as hell.
 
I suggest you... never do that.
 
6:40 PM
LaTeX is awesome. It is the bestest
Just be methodical. Don't treat it like Word. Treat it like programming (as after all it is)
 
One of my favourite things is creating custom commands, like say a custom command for code syntax. Then if ever you want to change how your code looks you just modify the command.
I have custom commands for 100s of terms and mathematical objects in my thesis
@Iplodman were you doing a CV a while ago? Consider rewriting it in LaTeX
 
6:55 PM
@Ffisegydd I shall! #NewQuest #XP
 
yeah, moderncv package is great... looks really good.
 
02:00 - 19:0019:00 - 23:00

« first day (1443 days earlier)      last day (3520 days later) »