« first day (1614 days earlier)      last day (3348 days later) » 

11:00 AM
@BoltClock I think there's a threshold. One spam flag does not a redacted post make, I think.
 
@MartijnPieters Really? Interesting
Mod flags would be exempt from that I think. Because a mod spam flag is binding
 
11:17 AM
@BoltClock I'd expect that to be binding, yes.
 
is there a way to get UTF-8 console in Windows
one way or another, can be a special porgram
basically it is about running CSVkit in windows, with full unicode range in data...
This question has been already answered in Unicode characters in Windows command line - how?

You missed one step -> you need to use Lucida console fonts in addition to executing chcp 65001 from cmd console.
 
Wow
As simple as that, eh?
 
no, not htat one
will break every single program
why do ppl use that sh*t
Note there are serious implementation bugs in Windows's code page 65001 support which will break many applications that rely on the C standard library IO methods, so this is very fragile. (Batch files also just stop working in 65001.) Unfortunately UTF-8 is a second-class citizen in Windows. — bobince Dec 29 '11 at 21:51
 
It's part of the job :)
And it's because UTF-16 was looking like the standard to go for when Windows was Unicodedededed, I think
Probably not UTF16. Whatever Java uses as well.
 
we need full unicode
not some "MSFT-16"
@romkyns, and though I'm late, here is a bug, with Python 3.3.2 on Windows XP and console with chcp 65001 and Lucida Console: just build a string "s" with characters 945 to 969 (it's the greek alphabet). Then just try to show "s" (not even calling "print"). It's printed on three lines, with "s" on the first and garbage and the two others. — Jean-Claude Arbaut Jul 31 '13 at 7:45
and no, this kind of cr*p is not acceptable
 
11:35 AM
UCS-2. that's it
 
yeah
that is the same 💩 as everything else on windows
 
user559633
ha ha i deleted ~1500 lines of sqlalchemy stuff ha ha i'm giving up and writing javascript on rails from now on ha ha
 
PS C:\> Write-Host '💩'
💩
^ Works for me.
 
(and yes that character is the Unicode Character 'PILE OF POO' (U+1F4A9)"
@tristan you gone mad?
 
user559633
@AnttiHaapala yes maybe
 
11:40 AM
anyone who switches from python to javascript for server programming has gone mad
because that implies node.js
 
user559633
i'm considering just paying someone to write it again because it's such boring programming
 
@AnttiHaapala [citation needed]
 
user559633
@AnttiHaapala hah, i wrote some node.js yesterday and was pleasantly surprised
 
I have written node.js
 
Did you not use io.js? :P
 
11:41 AM
I was pleasantly surprised until the sad realization...
 
user559633
i mean, in python, it has clear performance characteristics and your code is subject to review. in node.js, no one wants to read your damn callback hell and "people" don't really care about how fast it runs because you end up just starting 20 processes because node is single threaded and forces you to write crappy micro-blocking calls everywhere
 
user559633
@AnttiHaapala you know me so well
 
@tristan promises.
 
I did start writing a web framework for node
 
user559633
@poke grumble grumble
 
11:44 AM
with coffeescrapt
 
That’s where you went wrong, Antti :P
 
and then I realized, doing coffeescrapt was a mistake, and switched to javascript
and then I realized that the node.js itself was even bigger mistake and now that's it
 
Hi folks!
 
yet so far it is the most starred project started by me in github I guess (not really) :D
 
11:45 AM
And how are we all doing today?
 
cbg
 
user559633
@GamesBrainiac hi buddy! my current mood is "annoyed." how are you?
 
ltns @Games!
 
@tristan How come? Wait let me guess, you're up late again :P
@JonClements Heya! Hows the best puppy in the whole wide world? :)
 
@GamesBrainiac obviously tristan is annoyed, bc he spent some time coding nodejs
 
11:47 AM
Cabbage @Games!
 
@poke Hey! How have you been?
 
@Games awww... me luv you long time! :p Not doing bad - busy as always
 
Sup Games you beautiful man.
 
Arrrgh! I just spent 10 minutes writing code for this question and it got deleted while I was typing up my answer. I hate that.
 
Good, just busy with life and work and things—as always ;D
 
11:47 AM
@AnttiHaapala Don't get me started on node man. I can't stand it anymore. I had to a project with node + mongodb. Not fun.
 
@PM2Ring Been there, done that…
 
@JonClements Better busy than bored, is what my grandma always said.
 
@PM2Ring That always sucks.
 
@GamesBrainiac :P node and mongodb separately is fun already
so I guess when you have them in the same project, you must multiply the fun factors together
 
Now that sounds webscale**2
 
11:48 AM
@poke Done with all the university stuff? Last we talk, you had a thesis to submit.
 
@GamesBrainiac Boy, how long haven’t we talked? My master’s thesis was due March 6th, 2014!
 
user559633
@GamesBrainiac yes! and also i lost a lot of boring code when migrating from my old laptop
 
@poke lol, that's pretty long :)
 
@AnttiHaapala Man, I always get pushed into using mongodb. People don't like migrations I guess.
 
It's only happened to me a few times, so far. It took me a couple of minutes to spot the main error, but then I wasted time modifying the algorithm to O(n) instead of O(n^2)
 
11:50 AM
@poke Truly. I have been keeping up with you on twitter though ;)
 
user559633
nodejs and mongo isn't even the worst :)
 
@tristan That tends to happen a lot, so I just have a git repo for everything. Bitbucket gives you unlimited free private repos, so I just take advantage of that.
 
@Games That’s good :) (And I honestly believe that we both were here at the same time in between at least once :P)
 
user559633
@GamesBrainiac yeah, i switched from a dying laptop and i think i forgot to copy dot files, so i lost everything on a branch. no big deal, just annoying to repopulate my models sqlalchemy scripts from my forms
 
@poke I have a feeling too, but my memory sucks. Need to upgrade to NAND flash it seems :P
 
11:52 AM
Heh :D
 
@tristan Oh man. Yea, I made the same mistake with dotfiles when moving from ubuntu to mac.
 
user559633
^ haha exactly what happened
 
user559633
"oh shit that noise isn't good copy.copy.copy"
 
user559633
heh, this recruiter wants me to move to vietnam to work for this tech outsourcing firm
 
11:54 AM
@GamesBrainiac like you never need to migrate any data with mongodb :P
 
Just had an accept stolen by someone who basically said "Blah blah blah, here's some code that doesn't solve your problem, follow the instructions as ffsegydd(sic) has already given you"
 
user559633
"You miss 100% of the shots you don't take." - Bill Cosby
 
@tristan wow. Now that's crazy.
 
@PeterVaro, yeah, Interstellar is on my list. Haven't yet seen it. I'll be viewing Coherence some time this week.
 
you can add columns in SQL, just default them to NULL, and it will be compatible, give middle finger to integrity
 
user559633
11:54 AM
@GamesBrainiac I'm actually kind of considering it
 
@Kevin I hear interstellar is amazing.
 
I disagree with Peter on Interstellar. I'd give it a solid 8-9.
 
user559633
Interstellar isn't good
 
@Ffisegydd >_<
 
interstellar is way better thna gravity
 
11:55 AM
@AnttiHaapala You'd think so, but these guys just create new fields. Not uniformity of the data, just keep adding shit to the document :P
 
user559633
It's a 3-4 out of 10, maybe a 5 if your brain doesn't throw up on itself watching anne hathaway flop around like a muppet that wasn't taught how to act
 
@Kevin What say you and me stick to anime ;)
 
@GamesBrainiac postgresql + jsonb
 
@AnttiHaapala Man, you spoke my mind.
 
surprisingly it will work (unlike bongodb)
 
11:55 AM
@GamesBrainiac I’m in.
 
user559633
You should watch Leviathan and Snowpiercer if you haven't already
 
Just have a data field in your schema of type jsonb, and you never need to worry about migrations.
 
I feel I should try some anime but don't know where to start.
 
@GamesBrainiac Sure. I'm annoyed by Jojo's bizarre adventure lately because the first two series were fairly serious action genre pieces, and the third one takes a left turn and adds a lot of poop jokes.
 
@Ffisegydd Code Geass
@Kevin Wait, what? It turned into gag? Oh come on!
 
11:56 AM
SURELY Akira
 
user559633
If it's this Code Geass, I think the cover is too anime for me
 
@poke Awesome, what are you watching recently?
 
I hope I might just be in the filler episodes, and it will get back on track
 
And then some Miyazaki films
 
@GamesBrainiac Haven’t really had the time for anything lately :( Far too busy with American TV shows >_< (I really need to stop watching those xD)
 
11:57 AM
Then Akira 3 more times, until it makes sense
 
user559633
 
user559633
this isn't how you draw human faces
 
user559633
'( >.< )'
 
@tristan Well, yea the cover is really anime, but the plot is dark, and really a lot of fun. But i guess it depends on your taste :P
@Kevin fillers ruined naruto for me.
 
user559633
The only anime I've seen is Fist of the North Star
 
11:58 AM
@RobertGrant That, I can totally endorse :)
@poke Stopped watching american ones in general. Just watch suits. But everything else is british, and anime stuff.
 
@GamesBrainiac I like Castle
 
@tristan If you liked that, the you might actually like Jojo, since that has a similar art style.
 
And The Mentalist
@tristan wow that's old school :)
I've seen that as well
 
Castle is very good.
 
@RobertGrant I watched castle until the author got the detective.
 
user559633
12:00 PM
I thought the art was kind of crap -- i just used to watch it during lunch at work with a couple coworkers
 
I promise: Akira, and any Miyazaki films (I can recommend specific ones) - you won't be disappointed. Although with Akira you will be confused.
@tristan yeah it's very basic
 
user559633
I'll try to watch akira and stop poo-pooing on your interests
 
Akira is also a similar style, but done to a higher quality. But it's still all hand-drawn I think.
I haven't seen any in years, actually :) But flip, if I have kids, they're going to grow up with Miyazaki films
 
user559633
i really like the "neo tokyo" art style
 
"Miyazaki films" is my go-to response when someone asks "which fictional world would you most prefer to live in?"
 
12:02 PM
Yeah, it's very cool
@Kevin :) But not the one with the racoons with giant testicles?
 
user559633
i tasked my favorite tattoo artist with designing a sleeve that was neo-tokyo on a forest-planet and he gave up :[
 
If I had a favorite, it would be spirited away. Really old stuff I know, but I loved it.
 
More "Howl's Moving Castle" and "Kiki's delivery service" than Naucissa and Princess Mononoke, though. Spirited Away I can take or leave depending upon whether I'd be a bath-house servant or not.
 
ahahahahaa
 
@Kevin wow, I was literally about to type that same order
Although Kiki's would be after Nausicaa and PM, now I think about it
 
12:04 PM
And Howl's Moving Castle takes place during war-time... This is complicated, can I change my answer to "Pokemon"? As long as I don't have to be an NPC.
 
Gotta catch 'em all.
 
@Kevin have you seen Grave of the Fireflies? Set in Hiroshima (or Nagasaki) just before a certain event in 1945.
 
@RobertGrant No but I am aware of its reputation as the saddest piece of media
 
@Kevin you have to watch My Neighbour Totoro after just to become normal again
We also used that remedy after watching Oldboy
 
12:06 PM
@Ffisegydd WTF? That sucks.
 
But guys, whatever you do, do not watch Clannad.
Its really sad :(
 
user559633
@Ffisegydd did you get a job yet?
 
@GamesBrainiac Well, I’m trying to reduce the number of American TV shows I’m watching, but it’s difficult :P
rbrb meeting…
 
user559633
 
user559633
this is so cool
 
12:13 PM
I'm pretty sure I hallucinated that the last time I had food poisoning
 
@tristan maybe. Maybe not.
In fact I have a new cv to send and so will probably share it with the room later for feedback.
 
user559633
:) okay
 
@Ffisegydd What kind of job are you looking for?
 
Data analytics @Games
 
user559633
if you don't find anything by late summer, i might have a thing for you [ not super helpful, i know ]
 
12:21 PM
That's awesome. Unfortunately if I don't find something by late summer I'll probably be homeless :p but yeah let me know come the time.
I could totally sleep rough and then code on my Mac in a coffee shop all day. I'll fit right in.
 
@Ffisegydd Well, catch the next session of pydata.
There are always recruiters over there looking for data scientists.
 
user559633
i'm going on a funding run through my contacts in early summer and will have a data / algo job
 
@Games it's in Paris unfortunately
 
@Ffisegydd No, pydata london.
Its smaller, but there are still recruiters.
@Ffisegydd There's one coming up actually ;) So, you might be able to attend. I hope London isn't too far.
 
It's maybe an hour by train. Waiting list for that event but might sign up. I use meetup for other things too
 
12:26 PM
Ahh, well there's another conf as well, but I can't remember what the name was.
For data scientists. I'll let you know if I remember.
 
Unfortunately chances are most of the recruiters will be London area
Ta flower
 
You've got to network to get work
Unless you, you know, apply for jobs. That's the other way.
 
I knew there was something I was forgetting!
 
user559633
network, apply, or mark yourself as between things on linkedin
 
I need to renew my CV on cwjobs
 
user559633
12:32 PM
the lattermost one will result in a swarm of idiot recruiters, but it's at least good for volume and finding modal salaries
 
@Ffisegydd use reed.co.uk, it's nice
 
Oh great... George Osborne and the budget thingy... this should be interesting
 
My current career plan is: wait for one of you to become a Fortune 500 company CEO, then ask for a cushy do-nothing position "for old times sake"
 
user559633
i'd hire you kevin
 
Wow... not sure how I typoed "faeces" as "interesting"
 
12:36 PM
So, chop chop, up the corporate ladder with each of you, thanks in advance.
 
@JonClements :D
 
@Kevin I'd hire you - IF you get my LOTC working!
 
user559633
if for no other reason than to inject humor into work chat and commits
 
user559633
working with uptight or boring people is the worst (okay maybe not the worst. working with robo pol pot would be the worst)
 
@Kevin I have that arrangement with someone who's currently doing an EMBA at Oxford
 
user559633
12:37 PM
(robopolpot is when you resurrect pol pot and give him a powerful robotic body)
 
Man I hope he does well
 
user559633
(generally regarded as far on the spectrum of "worst ideas")
 
@tristan actually almost spat out tea at that one
 
@JonClements It is working, but through a wacky chain of events, it's currently low-orbiting the counter-Earth which orbits on the other side of the sun from us.
 
user559633
(see also: robohitler)
 
12:38 PM
What about Robo Boba Fett - voice activated, if you can say it
 
@Kevin damn you, I wanted to do that.
 
user559633
boba fett is terrible at his job, so no real danger there
 
His father would be disgusted
 
user559633
robert fett?
 
@tristan I think that may have actually happened in Warren Ellis' Supergod.
 
user559633
12:40 PM
i always assumed "boba" was some sort of mocking nickname. you know, like "bubba"
 
(A fascinating if gruesome read, btw)
 
What about a genre fusion - Bill Boba Baggins
 
user559633
added to my "should read, but probably never will" bookmark list
 
user559633
robert baggins: jeweler
 
I was going to say Bill Boba Gins, but that probably doesn't work in writing
Sounds more like Bilbo Begins
 
user559633
12:41 PM
but like, a really terrible one that keeps destroying others work
 
user559633
i don't know why, but my brain never likes looking at decorators
 
That's weird; I really like them
 
decorators with arguments are a bit tricky for me, since they usually involve triply nested functions
Rather, defining them is tricky; I have no problem using them.
 
Ahhh... I've visited SO for 1010 days now... that's kinda cool (or sad)
 
Any AOP-ish stuff is always welcome
 
12:45 PM
I never remember how to make the ones with arguments... luckily I have a template in my text editor to make it quick
 
user559633
i think it's a mix of the functools stuff and tracking the returns
 
user559633
i have one that does 5 returns and it's just kind of annoying to look at a few months after coding it
 
Are we allowed to cv-pls really, really bad Qs? Or is it just "Let the natural order of the SOverse take care of them"
It's not offensive or anything, just poor.
 
So, I'm working on a programmer's journal app. Its a lot like quiver, except its free for all :)
 
Never mind it's already got 3 CVs while I typed that up, it'll all be over soon.
 
12:47 PM
I certainly look much harder for a reason to close if I think a post is simply bad, but I won't cast a vote if there really isn't a fitting reason.
If it isn't too broad, not a resource request, etc etc, then I begrudgingly leave it alone
 
hrmph :\ not sure if this oauth provider in specific is behaving strangely or my code is wrong. It works with linkedin and instagram. Should all providers be more or less the same in their process?
 
I will leave you all to judge it as you see fit.
 
"Opinion based" is fine there, I think
 
If you want to be an entrupanour, then you need to learn how to ask the right questions.... and asking for the best when you don't have any criteria to determine what is best is not the right question — Mark Baker 2 mins ago
:D:D
entrupanour
 
Oops I've been writing messages as if you asked "Are we allowed to close really bad Qs [if it doesn't fit nicely into any one close reason]" but now I see you asked "are we allowed to Qs", which is a different matter entirely
 
12:50 PM
should I post something about "if you want to become a successful programmer, you ought to learn to spell correctly"
 
I am reminded of an old Dilbert comic where the Boss tells him "your job isn't that hard. It's just typing, except you use too many semicolons and most of the words are spelled wrong"
3
 
lol
 
I'd link to the actual comic but I couldn't find it in ten seconds of googling.
 
12:57 PM
@Ffisegydd so I can move to UK and then freely to NZ?
 
@Kevin Coherence is way more impressive and thoughtful in its "amateur" way than that overhyped blockbuster
 
Ok :-)
 
abolish all borders!
I want to move to North Korea
 
Fun fact: the north/south Korea border has spontaneously become something of a nature reserve, since few humans dare to set foot there.
 
and chernobyl
 
1:01 PM
I understand that a number of rare species are forming a comfortable niche in that little stripe of land.
 
Only citizens of Malaysia and Singapore are allowed to enter North Korea without a visa.
grr, can't understand why finns are not allowed
 
I know, right? Finland and Malaysia are practically the same country, so why the double standard?
 
;-)
 
finnish passport opens even more doors than the british passport currently
 
Yes, but, does it have a unicorn on the front?
 
The fraction of a second before.
 
though I guess with british passport you can have a longer visa-free stay in commonwealth
 
I luh snow leopards, snow leopards are the best cats
 
snow leoprechaun for the st patrick
 
1:10 PM
have you guys watched the Apple engineer spoof video?
 
Not sure. I've seen a lot of Apple based spoofs in my time.
 
@AnttiHaapala We don't actually know that he wants to be a programmer, just that he wants to be an entrupanour. :)
 
If it was posted here before then feel free to remove this..
 
1:12 PM
Man, if we policed for reposted content in here, my post count would be like 20% of what it is now :-D
 
6
Q: Children's TV series with school giving out laptops and strange symbiosis occurring

Jon ClementsThese are the points I can remember: It was live action It would have been late 80's / (very) early 90's I'm fairly sure the show aired in the UK on the BBC (I don't remember ad breaks) A school was providing pupils with free laptops I believe the pupils were teenage - early teen rather than la...

I got an answer - now to try and find it on youtube/somewhere (legally of course cough)
 
:O finally got an answer. never mind thought it was a previous question you asked there
 
Can't believe that was '91 - why does everything make me feel older :(
 
@Sword the truth is the biggest joke
 
@AnttiHaapala sorry , didn't get you..
 
1:17 PM
Laptops existed in '91? I thought they just used clay tablets and a chisel back then.
 
@Sword about apple
@Kevin they were portable computers. Transportable computers.
 
Like, "we can fit the whole five ton mainframe on a single carrier plane" transportable...?
 
@AnttiHaapala yeah surely is ; but we shouldn't speak about it too much , if you know what i mean
 
I'm kind of curious what the actual dialog is, in that Apple parody video. They seem to be having a good time.
I'm assuming the translation isn't entirely accurate, since they converted the incoherent screech from around 0:24 into a complex sentence.
 
1:21 PM
@user5061 no.
 
Umm... interesting function name, interesting comment, interesting use of a conditional statement....
def numberify(supposed_scalar):
    '''
    Converts null data into 0
    Numberifies the data, if you will
    '''
    return supposed_scalar if supposed_scalar else 0
 
Reminds me of some legacy code in my own system where one of the input fields "accepts only alphanumberic characters"
 
I'd probably just have done def somename(obj): return obj or 0
 
user image
4
 
I think a lot of people shy away from return obj or 0 style syntax, because they're not sure whether the boolean operators do type coercion or not. For all they know, "hello" or None returns True because "hello" is truthy.
 
1:25 PM
Anyone who likes video games: "Cities: Skyline" is absolutely amazing. It's what SimCity should have been. Go buy now.
 
I played a lot of Sim City 2000 in my youth. I was terrible at it.
 
I had the deluxe edition, which came with a hundred save files of real world cities and such. I liked causing volcanoes in San Francisco.
@AnttiHaapala Informative, thanks. This is my first exposure to this meme.
 
mine too
 
Umm... also - what's wrong with islice!?
    for i in xrange(skip_rows):
        next(iterator)
 
Bah... all the code works - I just keep spotting stuff that I'm itching to change - but there's no point... need to be adding stuff - not re-writing stuff :p
 
...I have been researching how to do this for a number of weeks now and have still not been able to find a solution. Bull. You cannot have spent a few weeks searching and not come across numpy/scipy which would do this. The OP is still using lists...
 
@AnttiHaapala Surely that's just a "Browser cant' find Exo - browser falls over to Arial"? :p
 
how are settings usually implemented in a database?
 
1:38 PM
@corvid badly
@corvid closed as too broad, you are the one who is asking a question, not us :D
what settings are you talking about
 
like, having users with different types of settings. I suppose you could think of something like twitter's user settings. But need different settings for different roles.
 
well, the best extendable one is that
you have a table (role, name, value)
with (role, name) being unique
 
anyone here with experience in hp vertica?
 
cbg! :)
 
@BhargavRao hai!
 
1:44 PM
@GamesBrainiac Cabbage!
 
does that work the same basic way in a NoSQL database?
I feel like my method now of managing different tables based on roles is really... really bad.
 
I think the term "NoSQL" should be banned. Its very misleading.
Also, its too broad.
 
@AnttiHaapala Wow. Someone's actually dredged through that page's source to find the font fetch error.
 
yeah didn't show up in firebug
om
 
I think it stands for "Not Only SQL" but people interpret it as "No joining" or something, right?
 
1:51 PM
@corvid mongodb does not join anything, it even does not have a query language structured, or not
 
Wow @AnttiHaapala You became a RO? \o/ Congrats buddy!
 
@BhargavRao yes - we wanted him to suffer like the rest of the ROs :p
 
:D You guys are suffering to provide us a great service! Thanks to all you ROs
Now Antti too will have to suffer to help us ;P
 

« first day (1614 days earlier)      last day (3348 days later) »