« first day (2446 days earlier)      last day (2505 days later) » 

8:02 PM
heh
could be worse
 
(man I think I was way off with zetta...my nanophysics is showing)
 
@AndrasDeak zepto between atto and yocto. And you mistaked the order of zetta and exa there. And it’s yotta.
 
knew it!
 
(luckily, they did not come up with yocto and yocta there at the end. That would have been super confusing :P)
 
DSM
Units are for people who haven't mastered dimensional analysis. #theorist
 
8:05 PM
I kind of shoved zetta in there because I forgot about tera and I felt that something's missing. And I keep swapping yo[c]t/ze[p]t :(
 
@DSM Yeah, usually you can just get away with 10^X
 
and the smallest scale I meet during work are attoseconds
 
I have floats in [-1000,+1000] and i need to print them with the decimal point in the 7th position, padded by spaces. so ' -1.234' ' 123.456'. Whats the .format for that?
 
what have you tried?
 
well that didnt print correctly ^
 
8:07 PM
non-code text in chat gets its superfluous whitespace eaten
 
'{:<7.5f}'.format(-123.456)
 
and what did it give you?
and why 7.5f?
 
@Hatshepsut {:.3f}
 
sssh
;)
 
'{:<7.5f}'.format(-123.456) -> '-123.45600'
i want space padding before and aftert
 
@Code-Apprentice Back in the day, I got a call looking for Cobalt programmers
 
yeah ive read that, tried lots of stuff...
 
>>> '{: >8.3f}'.format(-123.456789)
'-123.457'
>>> '{: >8.3f}'.format(1.456789)
'   1.457'
>>> '{: >8.3f}'.format(0)
'   0.000'
 
@PaulMcG apparently this job is pascal
Even though that was not mentioned in the email that I replied to. It was mentioned in the four others from different recruiters.
 
@Hatshepsut Does that work for you?
 
8:14 PM
oh i misunderstood width. that is perfect, thank you @poke
 
I have barely any experience with pascal but I am sure I would pick it up very quickly.
 
Yeah, width is the total width the string can take :)
@Code ugh Pascal
 
Right now I am not overly picky about language as long as I get paid for it.
 
I can see that reasoning but you should really think about it since Pascal will effectively throw you back a century or two
 
pascal??
 
8:18 PM
 
If you happen to accept that position, make sure to get a hobby that keeps you busy with a different language so you do not forget the present. Otherwise it will shut you in a very specific job category.
 
Me right now ^
I always have hobby projects, so that should not be a problem.
 
good
 
at least it has turbo in the name
 
DSM
You could even try convincing them to migrate the codebase to something more modern.
 
8:20 PM
That usually doesn’t work
Companies are looking for Pascal or Cobol developers and are willing to pay a lot of money because they cannot upgrade.
 
"Will code html for food but have you considered using node.js?"
 
It’s usually very critical software that needs to be maintained because it cannot be replaced.
 
Yup, that's the case at my office.
 
It’s always the case. Nobody actually wants to keep their old Cobol software. But they don’t really have a choice.
 
Two of our apps are in Delphi 7 and one is in Delphi 5.
 
8:22 PM
The Cobol mafia is heartless.
 
DSM
I don't believe that -- not having a choice, I mean. They may choose not to make the investment, which is their call, but let's not pretend it's not an option.
 
I managed to get myself onto the C# team from the Delphi team.
Had I stayed in Delphi much longer, I may have quit programming.
 
@poke in fact I am here in this chat because of hobby projects
 
Good for you :)
 
@MorganThrapp I played with BCB many years ago. I actually enjoyed learning GUI dev with VCL.
First GUI library I ever used
 
8:27 PM
Yeah, the VCL is nice enough, but using C++ a walk in the park compared to Delphi.
 
@AndrasDeak that is on my back log along with all the other .js libraries
@MorganThrapp I am sure. Does Borland still make a C++ IDE?
I was moving away from it just saying the time they announced their Linux support.
 
@Code-Apprentice I have no idea.
 
DSM
8:45 PM
Given how often Room Six talks about language, for anyone who hasn't seen this question about Y-axes in the hot questions list, it's worth a read. Way more fun than it should be.
 
(Wayne linked to that earlier ;)
something with research
admittedly less context in the message there
7 hours ago, by Wayne Werner
Ho-lee research batman! https://english.stackexchange.com/a/395385/10173
 
DSM
That's me, always late to the party. :-/
 
9:04 PM
Tomorrow I take me an yxa to my legacy code!
 
9:20 PM
I just submitted my first pull request \o/
Admittedly trivial fix, but then again it's numpy so I'd dare not touch anything serious :P
 
woo!
 
9:43 PM
Second pull request submitted! \o/
I'm tripping on open source
 
Talk to your kids about FOSS. If you don't, who will?
 
The first PR has been merged :)
hehe, now I can add "numpy developer" to my CV
 
rbrb peeps
 
9:58 PM
rhubarb
 
10:33 PM
yo @Rawing congrats on 10k :)
 
thanks. Haven't noticed anything being different yet though. Maybe the ghosts of deleted posts are avoiding me
 
in CHATLAB and Talktave, Jun 17 at 21:21, by Andras Deak
time to party https://stackoverflow.com/questions/58640/great-programming-quotes https://stackoverflow.com/questions/164432/what-real-life-bad-habits-has-program‌​ming-given-you
cc @Ilja ^ :D
 
oh wow. So many votes, so much reputation, undone D:
 
after 60 days rep sticks on upvoted posts
 
goddamit. I was planning to get some sleep soon. Why must you ruin my plans, Andras?
These questions have too many answers, way too many I say
 
10:47 PM
hehe :D
sorry about that, I thought you were fast asleep
those answers will be there tomorrow ;)
 
are you sure? what if they're deleted? ._.
 
Whats the best way to update a record in flask?
 
@Rawing :|
 
11:02 PM
@Jasch1 you mean sqlalchemy? Or...? because flask doesn't have "records", that I'm aware of
 
I lost at least half an hour just now because my first virtualenv was acting up. Turns out I created the env with python 2 and tried to install stuff inside with python3 :S
I got tripped up by the fact that site-packages were available inside the venv whereas that should not be possible by default
 
wim
how did you do that?
inside virtualenvironment, you should just be using "pip" and "python" commands
same, regardless of interpreter it was created with
 
11:21 PM
I should be :P
I used vanilla virtualenv (-> python 2) to create the env, and used python3 inside...
aaaah yiss, it's finally working
 
They wanted to simply walk into Mordor? — Paul 11 hours ago
so good
@AndrasDeak and now you know why my first step after creating a venv is running python --version and which python ;)
 
Pretty hard to mess it up when the command to create it starts with python3.6 -m venv
 
@KevinMGranger yeah I remembered that syntax after I realized what was wrong, and instantly came to prefer it
I also managed to figure out how to install numpy from source inside my venv, which is slightly less trivial as it sounds because I don't know how to do any of these things and the kind numpy people are not expecting me to be as dense as I am in this subject :P
I built it like 6 times, but I was apparently missing the installation step :P
 
11:43 PM
@WayneWerner Yea SQL-Alchemy
 
what's the etiquette of using one of your own answers as a dupe?
 
conference = models.Conference.query.filter_by(name=name).one()
if form.validate_on_submit():
     conference.preferences += [{session['user']: form.preferences.data}]
     print {session['user']: form.preferences.data}
     db.session.commit()
this is my code now, not workign for some reason
any ideas on why?
 

« first day (2446 days earlier)      last day (2505 days later) »