« first day (2119 days earlier)      last day (2832 days later) » 

4:00 PM
@tristan The north east is pretty much all like that... because most of the roads were laid out by cows walking through fields 200 years ago
 
as they should be. Nothing complex
 
Yeah, can't really wrap my head round how to structure it at the moment.
 
user559633
@WayneWerner Yeah, but these were planned.
 
@tristan well, there's no excuse for that garbage, then ;)
 
@idjaw when you say in master, you mean your master branch on git right?
 
4:01 PM
brb
 
Ah, back when there were actually drawings in XKCD comics.
 
user559633
Honestly, you could rip out a lot of these intersections and have people do a boolean choice of on/off highway and fix most traffic issues here, as driver confusion, lack of planning, and inability to merge is at the core of bad boston driver behaviors.
 
@PM2Ring We almost have the zero choice interchange in Little Rock
 
user559633
 
user559633
another example.
 
user559633
4:03 PM
What are you doing
 
Holy garbage
 
wow
 
What were they on?
 
That's like porn for lots of my friends tristan :P
 
@Withnail Yes. I'm trying to find an example in our codebase on what we do exactly. Because we also build artifacts that we use. So trying to get some examples
 
4:03 PM
@paul23 /r/mapporn
 
user559633
There are something like 600k people here, a lot of which are students without cars. Boston is not that important of a city that we have a surge of people coming in/out every day or crossing through it.
 
pretty sure that's a real subreddit
 
Them civil engineers.
 
user559633
 
That would be illuminating, thanks!
 
user559633
4:04 PM
these "gems" are all over the city
 
@tristan Gonna print these and give them to my kid, he loves mazes
 
@WayneWerner lol you're right
 
user559633
 
user559633
Another fun one.
 
We got stuck on one of those near Greenville I think. Bizarre road, we literally went round interstate intersections for 25 minutes.
 
user559633
4:07 PM
I like the rotary that's flanked by multiple intersections, somehow
 
Now I have to go to Boston so I can determine if Montreal's roads are worse.
 
@paul23 I follow some mapporn and dataporn twitter accounts. reddit.com/r/longexposureporn is a nice one
@tristan It's like a vortex of near death
 
user559633
Keep in mind that you can't build immediately next to highways and major intersections due to zoning, so it's not as if it can't be repaired if efficiency or sanity was a goal.
 
I often turn introspective at the constantly near-death metallic ballet that we humans put ourselves through several times a day
 
user559633
Boston is the city that is "famous" in urban planning for the Big Dig fiasco
 
4:12 PM
@tristan How so
 
user559633
I don't live in China, mister! :|
 
There was a pretty interesting AMA from a guy who owns a house with a road through it. Can't find the link though.
 
Interesting - that reads like a bigger scale version of the Glasgow M8 fiasco. There's an officeblock built on a bridge above the pedesterian bridge above the motorway. glasgows-motorways.co.uk/history/4578281638
 
4:17 PM
There's something like that near NYC
 
> That door exiting right into the active road is terrifying.
> Hah, we don't use that door very often.
 
user559633
@Withnail Nice. I like the support beam in the way of the sidewalk.
 
The concrete that was on was supposed to be an arterial raised road that would link wiht the highway, but the council got massive protests after they demolished thousands of homes to build the motorway, so it never got built. It was a 'road to nowhere' for about thirty years until they built the office block and added the vennel extension you see in the picture above. It has its own wikipedia, I discover
 
@davidism trololol
 
user559633
Why would you buy that house? Why was that even allowed?
 
4:22 PM
I'm going to miss the UK, they have those amazing roundabouts
Roundabout-inception
 
user6568562
@paul23 Haha
 
user6568562
If those were in Tunisia, we're all be dead
 
Ah, swindon.
 
The Magic Roundabout in Swindon, England was constructed in 1972 and consists of five mini-roundabouts arranged around a sixth central, anti-clockwise roundabout. Located near the County Ground, home of Swindon Town F.C. Its name comes from the popular children's television series The Magic Roundabout. In 2009 it was voted the fourth scariest junction in Britain, in a poll by Britannia Rescue. == History == === Concept === The roundabout was constructed according to the design of Frank Blackmore, of the British Transport and Road Research Laboratory. Traffic flow around the larger, inn...
 
user559633
 
user559633
4:24 PM
this is how i'd use it
 
Only the fourth scariest?
 
Some people would be frightfully cross with you if you did that old chap.
 
I remember when learning to drive the instructor (he thought I was a good student) decided to test me by taking me into a 6 lane roundabout
 
Ah, Spaghetti junction. Which looks more like the stuff Tristan was posting.
 
user559633
4:25 PM
@Withnail i'd just buy a truck and lay on the horn while shouting "I'm not from here!!!"
 
user559633
also, they'd still be stuck in traffic, so w/e
 
@Withnail oh well they expect that.. Also when I went to the uk I took the wrong direction at a roundabout at first.... (And they just love having round abouts that are literary a dot in the middle of a crossroad).
 
They're called mini roundabouts for a reason ;)
 
That left-side-of-the-road-we-want-to-be-different.
 
lol
That left-side we had cars before most countries were countries thing, yeah :D
 
user6568562
4:27 PM
 
user6568562
The day sweden switched to right lane driving
 
@Withnail Germany, von Otto!
 
trololols into the distance
 
you know the first driver was a woman? - His wife was the first one to take the car as; Since she then wouldn't have to sit on a horse and could wear a dress.
She also invented the brakes during that drive...
 
user6568562
4:31 PM
@paul23 How come she didn't think of it before ? Brakes were invented since horse carriages.
 
@randomhopeful Not sure actually, it's just how the story is being told :P
 
@paul23 long time no see...
 
The legendary and mythical figures of engineering! Soon we have our modern Illiad.
 
This is a naive greenhorn question... Is there a path the Python devs are working on to unify Python rather than having the two strong branches of Python 2 and Python 3?
 
@ToddLewden No.
Python 2 is the past and should be treated as such.
Use Python 3 whenever/wherever possible.
As of 2020 Python 2 will stop receiving support.
 
4:33 PM
@Ffisegydd I personally think 2020 is too generous
 
i think it was 2015 originally
 
Well it was meant to be 2015 but the core team caved.
 
@Ffisegydd Still lots of time used though, the scientific community just now switched from matlab to python over the last 5-10 years. I wonder if they will ever switch to python 3.
 
That was my intuitive assumption and I do use version 3 almost exclusively ( I think I have one script that relies on 2 ). Thank you for the information though, at least they're moving towards /something/ of an improvement.
 
@paul23 Eh. They'll swap.
I already know a lot of scientists that are swapping/have swapped </anecdata>
 
4:37 PM
bah... is it cheating if I couldn't be bothered to set up jupyter on a remote server properly and just tunnel to it instead?
 
@ToddLewden The one that bites me most when going back to python 2 is how non integer algebra is handled. 1/3 = 0.333.... in python 3, in python 2 it's "0". This is kind of a non obvious trap I did once during an examn. Now having to do a resit partly due to that.
 
@Paul2
Woops...
 
You can press the up arrow to edit messages.
 
@Ffisegydd Hooray!
 
4:38 PM
@paul23 You just need to remember to do from __future__ import division... and , print function, relative_imports, etc.
@paul23 I run Jupyter under Python3, so sure, why not?
and Pandas. And numpy. And pillow.
 
@WayneWerner Meh at scripts we have to write using notepad (not even an interpreter available for testing) I prefer to go as simple as possible (scripts are always possible within 10 simple lines).
 
OK guys, day off for a family visit tomorrow. See you next week, most like. By which time it sounds like we could be funded. Fingers crossed ... Rhubarb all!
 
I do a significant amount of data/science work and work exclusively* in 3. (* I have 1-2 projects that use 2 due to requirements)
 
I'm not sure what sci libraries there are that aren't on Python3
 
@paul23 With things like that being known it begs the question "Why use 2?" ... I understand that there are probably more modules for version 2 and more documentation due to it being older but hanging onto the aged version simply because it is the aged version seems a bit... I dunno... Silly?
I for now just use Python for the sake of automating job tasks, making reports, and things of that nature so I could have gotten away with the inaccuracies of v2 but I don't see how a data scientist could make due.
 
4:40 PM
@Wayne it's not necessarily the libraries, it's the code that's already been written to use 2 :/
I've never tried to use six but a lot of their code could be fixed using that, you'd think.
 
Well I'm not advocating to stay in py 2.7. But a lot of practical code is already in 2. Code that automates things like simulation of a wing profile etc. And it's simply what the university profs decided we use. Sure I could make a fuss about it, but really "who cares".
 
I wonder whether we should apply to sign the pledge...
 
@Ffisegydd , just being nosey, pledge for what?
 
@Ffisegydd "signing the pledge" - sounds like something American students do in films... do we get a ring?
 
4:45 PM
reading
 
I've already got my RO ring.
 
@Ffisegydd WAT!!!!!!?
why didn't I have one?
grumbles
 
Italics only, sorry blue.
 
@Ffisegydd Ah, yes. Of course, for me 2to3 seems to work mostly fine. I've had a few libraries I've used without 3 support and running 2to3 -w myenv/path/to/site-packages/that-lib tends to work out fine shrugs
 
@Wayne people are lazy :P they'll hopefully swap though once they lose official support/libraries.
 
4:46 PM
@Ffisegydd if I resign my diamond for a day, can me haz cheeseburger RO ring? ;p
 
No cos then you'd just be normal.
 
Wow - I could be "normal"? I'm not even sure what that is... have I ever been that!?
is it a good thing!?
 
I have to return to the daily grind. Thank you for the enlightening conversation, I look forward to returning :)
 
I need to start going through DOOM again.
 
@ToddLewden enjoy... hopefully see you soon :)
 
DSM
Early afternoon cabbage for all.
 
Sup
 
cbg DSM!
 
I'm trying to convert numbers to "list item letters", like 1 = A, 26 = Z, 27 = AA, etc. I feel like I'm missing something obvious, the min in my solution feels wrong.
from string import ascii_uppercase

def int_to_alpha(value):
    """Convert an int to base 26."""

    out = []

    while value > 0:
        value, digit = divmod(max(value - 1, 0), 26)
        out.append(ascii_uppercase[digit])

    return ''.join(reversed(out))
 
5:05 PM
Have you tried asking on Stack Overflow, $user?
 
:-|
 
DSM
Minor: Excel style isn't base 26.
 
@davidism I answered a question something like that recently, give me a minute...
 
9
A: Get Excel-Style Column Names from Column Number

martineauEDIT: I feel I must admit, as pointed out by a few others — who never left me comments — that the previous version of my answer (which you accepted) had a bug that prevented it from properly handling column numbers greater than 702 (corresponding to Excel column 'ZZ1'). So, in the interests of c...

 
@DSM Yeah, this isn't excel style.
 
user559633
5:07 PM
@Ffisegydd I'm avoiding it until Sunday so that my shock/amusement doesn't have to be feigned at all
 
2
A: How to get nth permutation and vice versa given a charset

PM 2RingThere may be more efficient ways to do this, but these functions do what you want. Doing the conversions with fixed length strings is easy enough; to handle these variable-length strings we just need to incorporate an offset that accounts for all the strings shorter than the current length. We ca...

 
DSM
@davidism: it still isn't base 26..
 
@DSM you're technically correct. :-)
The best kind of correct.
 
DSM
Anyway, your function looks okay to me. Is there a failing test case?
 
It works, I just don't like the max function, it feels like it shouldn't be there. The issue was that there's no zero in letters, so I kept messing around until it produced the right values.
 
5:12 PM
I've seen a number of questions of this form, and the general crux of the problem is that the excel-style counting systems doesn't correspond exactly to an ordinary base-N counting system. This is primarily noticeable in that "A" and "AA" and "AAA" are distinct values, whereas in ordinary decimal "0" and "00" and "000" are all the same.
I didn't bother reading any of the links posted on this page so maybe that's already been pointed out.
 
Oddly, developer.mozilla.org/en-US/docs/Web/CSS/list-style-type doesn't actually show an example of what happens beyond "Z".
But HTML's list-style-type is what I'm trying to do.
 
DSM
You keep saying min, and I keep having to correct it in my head to max. :-)
 
haha, it may have been min by mistake in a previous iteration
@PM2Ring cool, thanks
 
No worries.
 
5:18 PM
cbg
 
All of social media accounts and a site of a project that I was anticipating and that was set to be launched in August just disappeared :/
the Twitter account had over 4k followers
 
user559633
can you share what it was?
 
the NSA got them
I'm next, for calling it
 
DSM
Was it opposed to Documentation? SO may be throwing its weight around..
 
5:20 PM
Ugh, there's nothing to link to
Google weworkwhen
 
@davidism Just doing value, digit = divmod(value - 1, 26) seems like it ought to work, since you already know that value is always greater than zero. Which means that if value is an integer, max(0, value-1) always returns value-1.
 
Ate 30 pieces of sushi for lunch, pls help
 
> Search domain weworkwhen.comweworkwhen.com/form-php
Well, there's your problem right ther ;)
 
@corvid Truly you are a cat.
 
5:22 PM
@Withnail sorry...things got busy. But here are some of our docker files we have made public: hub.docker.com/u/internap
 
@corvid Working as intended. [closed - WONTFIX]
 
Ooooh Docker?!
I need to make a Docker image tomorrow for work, it might be the undoing of me.
 
Well, what I posted should give you a good start.
Let me know if you have any questions
 
I've already made a few of my own for side projects, but the one tomorrow will be hench.
 
user559633
ugh. i need to spend $5 on amazon to save $8 on shipping. the struggle is real
 
DSM
5:27 PM
hench?
 
@Kevin I swear I had exactly that before and it didn't work. Somehow I'm back at my initial implementation, and I can't remember why I tried a bunch of changes on top of it. :-/
 
@Kevin how's the DB stuff going ?
 
@tristan I once made a complaint like that on the Facebook and someone lectured me on first world problem complaining and I should go to <their_part_of_the_world>. </somewhat_random_thoughts>
It really made love people even more that day
 
London slang.
nouns:
1) someone strong- looking, or muscular. Specifically appearance DO NOT get confused with if they be strong, but don't look it.
2) someone you wouldnt wanna mess with
3) huge
 
DSM
Ah, so like the "hench" in "henchman".
 
user559633
5:29 PM
@idjaw I'd respond "yeah, it must be terrible if you have time to complain on social media"
 
@JonClements Still trying to come up with a satisfactory table design. I initially had a "notes" column in the USERS table, but now I think it makes more sense to make USER_NOTES its own table so we can track edit history.
 
@tristan it's like the old IRC bash quotes - "omg, my house is on fire" - "wtf you still doing online man!" kind of thing
 
... Unless we can implicitly trust every RO to not make destructive edits, not even by accident
And even as I type that sentence, I know that I can't even trust myself to do that.
 
@Kevin I was imagining more of a comment system like what we did with Trello.
Although it would be nice to actually edit/remove stuff also, but that's probably good enough to start.
 
Immutable comments (that can be deleted when not needed) would be a good design.
 
5:32 PM
Ok, I see where you're coming from.
Yeah definitely want a separate table for this, now
 
@tristan yeah.....my wife convinced me to not respond. I use her a lot as a filter to not further the gap between the people I dislike
 
I've got a spare 45 minutes or so, let's see where I can get from here.
 
id, user_id, timestamp, message
 
5:35 PM
did any of you guys catch that article about netflix screwing up and putting aziz ansari subtitles on a nature show? It was pretty funny.
 
clickbait title
@idjaw yeah I saw that
 
That sounds entirely on purpose and something he would come up with.
Speaking of Aziz Ansari, definitely watch Master Of None, it was really good. That last episode was amazing.
 
^^ Yes! Fantastic show.
I really hope there is a second season
I wouldn't be surprised at all if it was revealed as deliberate. But here is the article (some of the subtitles were just suspiciously too perfect):
http://mashable.com/2016/08/03/planet-earth-aziz-ansari/#IZc57LRvAiq5
 
user559633
yess, master of none is great
 
user6568562
Yes, I loved Master of none. There's an episode where the ending theme is Master of none by Beach house
 
user6568562
5:39 PM
I think that's the last episode, I've seen
 
user559633
I love the bit about the immigrant parents' childhood and then cut to them not wanting to be late to see the movie trailers before the movie
 
haha yeah
 
user6568562
Haha, yeah, genius writing
 
Why is Pandas so useful? It seems that nearly half of all the Python questions in stack are related to Pandas. Can I use it to compare two different stock charts and perhaps generate how similar they are (representing this similarity with a percentage)?
 
@tristan great article on the parents episode (warning spoilers for those who haven't seen it) avclub.com/tvclub/…
 
user6568562
5:42 PM
You should definetly check Baskets, then. Great tv show
 
@JonClements Ooh, definitely.
 
user559633
i love how aziz's dad is so great at acting and his mom is so bad
 
And they just went for it anyway, yeah.
 
user559633
love it.
 
user559633
TV rules now
 
5:44 PM
Have you guys seen Love, on Netflix?
 
user559633
master of none is really good at keeping in mind "show, don't tell" when writing a story
 
user6568562
@idjaw It started very well but the guy ended up being a stereo type of passive agressive behavior while the girl a stereotype of the clueless lover
 
user6568562
@idjaw You should check Catastrophe, instead
 
Hey wow, that's almost a good question: stackoverflow.com/questions/38753242/…
 
@WayneWerner I'm doing exactly that right now!
Except in Delphi, not Python.
 
5:50 PM
Nice.
if the OP fixes his question then easy rep ;)
 
Sure, once I figure it out myself. :P
 
6:04 PM
@Kevin also remodelled it slighty so it can have multiple rooms with different stuff... gist.github.com/joncle/bd32b9dbfbeb2054663054737a2d6381
 
Cool. Right now I'm thinking of designs for the websocket server. I want it to be something like:
- When a user connects, verify their token
- When a user says "I'm interested in user X", send them annotations/kick count/etc information on user X.
- When a change occurs in the database pertaining user Y, push notifications to all connected users that have registered an interest with user Y.
Just playing around with websockets to see if I can get that basic behavior. I need to figure out if there's a non-blocking version of recv.
This looks relevant to my interests if I squint real hard.
 
6:25 PM
I have seen repeated -ve repping to many users including this without any appropriate explanations. Who knows this guy may not be a native english speaker or didn't master the art to ask questions properly. We can help to tailor this question rather than showing our power to down vote — user2979872 7 mins ago
 
@Kevin have you played around with aiohttp yet? It has both websockets server and client AFAIK
the little I've toyed around with it it seems to work well
 
This is a little tricky. I have one queue that rabbit pushes onto when user information changes. The websocket server has an indefinite number of connections, each of which is interested in the contents of that one queue. But if connection #1 calls get on that queue, none of the other connections get to see it.
So I guess I need a separate queue for each connection, and a helper that pulls from the primary queue and pushes onto all the individual queues...?
 
So, I think I finally understand Corvid. I'm doing some async JS stuff, and it's making my brain cry.
 
Hey, me too.
 
I can't count on my functions actually returning a value, so that's fun.
 
6:28 PM
Psh. If you want your functions to return values you should be using C or something ;)
 
You said the word queue too many times.
 
@Kevin not really - look at my code that's trying to help out :)
 
Which one? sse.py?
 
@MorganThrapp Really you just have to stop thinking in the, "You're going to go do some work and I'm going to wait here until you're done" model, and start thinking along the lines of "You go off and do some work, I'm not too terribly concerned when you're done with it, but when you finish, go off and tell this other thing that it can get started"
 
yup - you need to wrap a try/except around it but then you're fine
@Ffisegydd okay, so what format do you want the data in?
 
6:33 PM
Is it possible to get a json object per line?
So I can just stream open the file and add a node per line
Or is that too much faff? Whatever really mucka.
 
errr, what's a line!?
 
Cocaine, mostly.
 
you're going to want nodes and edges, right?
 
Ah ha! I no longer have errors, just a grey screen. :(
 
Well I was going to create the edges myself, might just be easiest to borrow your code and do it myself.
 
6:36 PM
think I've buggered up the server on trying to do something clever
one sec - let me make sure my login credentials aren't left in code somewhere and I'll set up an account for you
 
Welp I looked at sse.py for ten minutes and I can confidently say I don't understand a single line of it except the ones that have only keywords and builtins, like while True:
OTOH I also don't know what the consumer/producer pattern in the websockets documentation is doing.
 
@JonC while we're discussing the data dumps, do you happen to know of a schema?
 
kinda making it up as I went along
 
It's annoying that some rows in the xml are missing fields
I might just have to sample a few 1000 of each and build up a schema.
 
6:43 PM
I'm pining for an event-based framework that I could just use to register listeners for onMessageFromClient and onIdle
 
@Kevin which I've done in the latest version :)
 
I mean for the websocket server rather than the bot.
 
co-routine it
@Kevin anyway, the login credentials are sorted for rabbit - did you want to use that instead of terry?
 
Yeah.
 
Think I've got your email - so I'll send it over
 
6:52 PM
I actually prefer Terry to RABBIT D:
 
we can rename it later :)
 
Terry is the name of the RABBIT.
 
I'm just thinking it has 100+ rep, so it can be made a room owner if needs be
(for testing elsewhere)
What's the name of that film where a famous actor that's a drunkard sees a white rabbit?
Harvey ?
 
Donnie Darko? Monkeybone? Who Framed Roger Rabbit?
 
Does anyone know of a python library that provides functional programming support? I'm looking for x.map(....).filter(...).flatMap(...) kinda stuff
 
6:57 PM
Harvey is a 1950 comedy-drama film based on Mary Chase's play of the same name, directed by Henry Koster, and starring James Stewart and Josephine Hull. The story is about a man whose best friend is a pooka named Harvey — in the form of a six-foot, three-and-a-half-inch tall invisible rabbit. == Plot == Elwood P. Dowd (Stewart) is a middle-aged, amiable (and somewhat eccentric) individual whose best friend is an invisible 6' 3.5" tall rabbit named Harvey. As described by Dowd, Harvey is a pooka, a benign but mischievous creature from Celtic mythology who is especially fond of social outcasts (like...
@Ffisegydd yeah there's a functools library that does it... can't remember the name
 
it's name is functools
 
toolz @Jon?
@JGreenwell nah functools doesn't have what I wantr
 
@JGreenwell there's also one that extends upon that and does chain mapping
@Ffisegydd sounds like the one I'm thinking about
 
Scala has corrupted me away from list comps.
 

« first day (2119 days earlier)      last day (2832 days later) »