« first day (2067 days earlier)      last day (2887 days later) » 

user559633
4:00 PM
@TristanWiley Sure, what would you like to know?
 
"Do you need another Tristan there?" ;)
 
What is it? :P
 
user559633
lol. "what is the saturation point of tristans"
 
Yes you do, because I have gifs and cat pictures.
 
Ah. Well that's a new thing for a tristan to bring to the room. Yes sirree.
 
4:01 PM
(Also a Chrome extension that gives me commands like /collapse and /giphy <phrase>)
 
I can collapse without any extensions, thank you
 
user559633
@TristanWiley I'm not talking openly about it too much, 1) because I don't want to spam the room with a pseudo-advertisements, and 2) because competition, but it's a recommendation platform for bars/restaurants/events
 
Ah okay, feel free to chat with me in a different room. Or email me. Or any other chat :P
 
DSM
This is the point at which I honestly have to admit that my best guess was that tristan's startup was a business-to-business middleware tool for dealing with product identification like barcodes.
 
user559633
I'm on track to launch next month, with an API beta soon following.
 
4:04 PM
barcodes are so 2005
 
Shit I should be working on my startup. But. Finals... and... sigh
 
user559633
lol i hate you
 
user559633
"yeah i should be working on my startup, but i'm building this other cool stuff and i'm 17"
 
QR codes are the new thing /s
 
4:05 PM
0-0
<3
 
DSM
Look, it was just the name, which I assumed tristan had chosen for punny reasons. I didn't have a lot to go on.
 
user559633
I love my startup and I find it deeply rewarding at every level, but honestly, if you can make it with a barcode startup, do it.
 
@tristan yes exactly
 
I didn't mean toooo
 
user559633
@TristanWiley lol, you're fine, we just sometimes joke harshly in here
 
4:06 PM
@DSM in retrospect, BarcodeScannamabob is a bit misleading
 
I don't mind haha.
I could try to brag :P
 
user559633
I actually thought that my money would be in business-to-consumer, but I've yet to launch and I've already been asked when I can make it a paid platform.
 
@TristanWiley we just ask that when you're hyper rich, you fund this chat room's server
 
Oh if I'm a billionaire I'll give 1-3 million to my fellow tristan :P
 
zimbabwean dollars?
 
user559633
4:07 PM
Sweet. We have a deal.
 
the old kind:P
 
user559633
Tristans don't mess around.
 
And if you get rich you gimmie some, or just a mansion...
 
This is how I imagined Tristan's startup. He enters a room that is empty except for an exercise bike. He gets on and begins to pedal. The bike faces a wall with a meter that looks like this one. The rightmost label reads "IPO". Every day the needle gets a little closer.
 
or like a really nice pool
 
DSM
4:08 PM
TW shouldn't have ended that line with :P. Stuck-out tongue smileys are binding.
 
Unless your name is Colon P.
Then it's a signature
 
colon and pee, that's some bad luck
 
oh.. oops
@tristan you go to many hackathons?
 
at this point maybe we should clarify that names are not binding attributes when it comes to humans;)
 
user559633
@TristanWiley not really anymore. i go to some meetups (e.g. papers we love), but not really hackathons anymore.
 
4:18 PM
ah gotcha
 
I went to a game dev meetup three or four times but it was loud and chaotic and not many people brought their computers. It's not clear to me why most of the people were there if they weren't going to work on their game.
I guess I should have tried to mingle to see what the heck they were doing, but I was too busy programming
 
user559633
at previous meet-and-dev-meetups, i had the same experience -- mingle and you procrastinate or help someone with an install/setup issue...or just be head's down and code in an environment less well set up than home/office
 
@AndrasDeak It is, and it isn't. Tkinter is commonly bundled with Python, especially these days, and the Python 3 docs have a Tkinter section. But I have seen & used Python 2 installations that don't have it.
 
@PM2Ring hmm...well either ubuntu has it bundled, or I installed it for something else
both are plausible
 
user559633
it's a configure-time flag, so it depends on the packaging
 
4:25 PM
> I wanted [IRL programmer peers], and for my sins, they gave me one.
-- Apocalypse Now
 
user559633
private meetups and hackathons are where it's at. where 'at' is 'getting things done'
 
Yep
Met 5 of my friends from the Android room at them.
 
user559633
i love hackathons though: "bring code you've been working on for months and import it, thus pretending you're some sort of 24h marathon coder hero"
 
@AndrasDeak What Tristan said. FWIW, some versions of the distro I use (Mepis) included Tkinter, some didn't, which was a bit annoying & puzzling, since they all included Tcl/Tk.
 
4:27 PM
I haven't really seen that happen tristan
 
I don't particularly need to be productive. I just want to feel like I'm among my people. The hip extroverts chatting at the kitchen counter did not feel like my people.
 
Hey everyone. Is it considered bad to instantiate a Mixin class?
 
Yes
 
user559633
I'm a programmer, not a cop, do what you want.
 
I'm a programmer and a cop - I'm Nerd Cop. Still, do what you want.
 
4:31 PM
any reasons/ideas why it is bad?
 
it causes eczema?
 
By definition a Mixin something that you mix into other objects.
I've always used them as something that cannot stand on their own.
 
Might be better to have a concrete class that does nothing other than have the mixin, so you can at least extend that implementation later without affecting any other classes that use the mixin
 
I've used mixins like twice ever so I am blissfully ignorant of the problems they cause
 
Re-watching Marco Polo in preparation for S2.
 
4:43 PM
Pretty sure you're supposed to have your eyes closed for that.
 
@CrowbarKZ It's not exactly bad, just a bit weird, and probably indicates that the design of your program is a bit wonky, or at least your mixin isn't really a textbook mixin. A very rough analogy: it's a bit like giving someone an iPhone case when they don't actually own a phone. :)
 
user559633
just when i thought i had a handle on emacs, i went to evaluate a multi-line expr and now i'm somehow looking at an email client
 
@tristan At least it's not ed
golem$ ed

?
help
?
?
?
quit
?
exit
?
bye
?
hello?
?
eat flaming death
?
^C
?
^C
?
^D
?
 
DSM
Almost fell into the quicksand of trying to fix an OP's deep-rooted confusion, but I escaped. Hooray!
 
@DSM I do that occasionally
it always depends on how deep the confusion has taken root
 
user559633
4:50 PM
[in case you think i'm kidding, i'm not. C-x m == send email]
 
user559633
roots can't grow in quicksand, liar
 
I've been waiting for ever to post something like that somewhere
 
DSM
obEliza: I just spend a few minutes talking to the doctor in Emacs about tristan and why he is the way he is. Learned nothing useful.
 
@AndrasDeak Glad we could help you out ;)
 
user559633
4:53 PM
yeah, good luck, you'd have an easier time figuring out why emacs the way it is than why i am the way i am
 
That's because it's full of cars
 
Does anyone here know if lmfit can be used to analyze an existing fit? I used a different method to generate the fit, but I'd still like to be able to grab all of the statistics of that fit.
 
I only keep remembering the butterfly one
@Anthony you mean a fit constructed with a different library? Such as scipy?
what do you mean?
 
I'm using some other algorithm from some other place. The point is is that I have a fit, and I have the data, but to make it mesh with everything else I've been doing I'd really like to be able to shove the fit into the lmfit framework.
 
4:58 PM
Like optimally I'd like to give the model object my fit and the data and have it run all of the analyses, but I don't think it accepts such a query.
 
5:11 PM
I've seen lots of messy questions on SO, but never anything quite like this: stackoverflow.com/questions/37781551/…
 
wow, reverse update list
some made a huge mistake
and I don't mean the asker
 
There are mediums where putting the most recent edit at the top makes sense. SO is probably not one of those mediums.
 
twitter stack
hey, it is a stack, after all
latest element is on top
GUYS WE'VE BEEN DOING IT WRONG
 
@WayneWerner Full of cars?
 
5:15 PM
@QuestionC umm...interesting?:D
I though it would be roflcopter
wow, Stark Corp. must have built those projectiles
And LOL, tanks out of planes. I've seen that somewhere...
 
A Team.
 
I was thinking Fast & Furious 10
 
F+F 17 will include a hologram of Paul Walker.
 
Hmm, "no way to resolve conflict between <library> and <library>". I've never seen an error message that told me it was impossible to solve before.
 
at least something good will come out of the robot apocalypse
 
5:29 PM
I for one welcome our strongly typed overlords.
 
User didn't read logs, didn't actually look at what they were importing.
 
they're lucky it wasn't cocaine
 
Did someone say something about cocaine?
 
5:57 PM
Docker Hub password reset links aren't working. Fanks Docker.
 
Is there a canonical answer for questions like this?
(where the answer is "use a dictionary or a list, dudette[or dude]")
 
@WayneWerner variable variables ?
 
Before I write something myself, anyone know of a nice algorithm for iterating through integer lattice points in N-dimensional space, ordered by manhattan distance from the origin?
 
@PM2Ring That'd be it
 
@Kevin I know this is a stupid question for most people here, but how do you have an n-dimensional lattice? What does that even mean for n > 3?
 
6:06 PM
@Kevin irritatingly, and unhelpfully, I think there is one, but can't remember the name
They must come in 'shells of equal distance'
 
I don't have an actual geometric application here, I just couched it in those terms because I'm an insufferable pseudo-intellectual. Really I just want to get all tuples of size N where sum(abs(x) for x in tup) equals some number P
 
anybody ever use an application called control plane that does rules-based context detection and changes settings by context? Has anyone used a good alternative to it?
 
@Kevin ah :)
 
6:15 PM
It's for this puzzle, even though it says "no computers".
 
both java and PHP have Python at the top of the list
 
Actually I think I need to iterate over just points with unique positive values, so even if there was a nice way to iterate through a whole lattice, I'd have to tweak it anyway
 
@inspectorG4dget If you were motivated, you could probably make something similar yourself
I suspect that OSX has some events that fire that you can hook into via python
 
I expect that to be the case, but I really don't have the time right now. I'd love to take about a year to conclusively solve this problem, but I might need to wait until the end of school for that to happen
 
I love that Python has nearly 2x the likes as Java ;)
@inspectorG4dget Well, here's a start: stackoverflow.com/a/11532488/344286
 
6:24 PM
Loaded a 4 color image into a numpy array using cv2 and want to know what the 4 rgb colors are, thoughts?
 
@WayneWerner tee hee... Thanks
 
@DSM not sure how much experience you have with Docker (if any) but we're looking at using github.com/jupyter/docker-stacks/tree/master/… and jupyterhub for some projects.
Look very interesting.
github.com/jupyter/docker-stacks/tree/master/… is more for one-off users just looking to work locally, but jupyterhub is a central server that people can login to, have a docker container spawn for the user to work in, and then work on the central server using jupyter notebooks over the web.
 
@clickhere ?
np.unique?
oh nevermind
so [x,y,:] for each x,y can only assume 4 three-element vectors?
yeah, unique along the x,y dimensions
wait, np.unique doesn't do that
np.vstack([tuple(row) for row in np.random.rand(2,3,4)])
or some other solution from here
your M*N*3 image is already M*N lists of color vectors
 
I would do pix = img.load(); unique_colors = {pix[x,y] for x in img.size[0] for y in img.size[1]} but that's Pillow not cv2
 
I think that's img.shape[0] etc in numpy
 
6:34 PM
designing AI to work with data in Industry... brings with it the shame of having to do all this crap with excel
 
@clickhere I screwed up the code above, it shouldn't be [... img] but rather {... img.tolist()} or something
 
DSM
@Ffisegydd: huh.
 
@AndrasDeak, do you mean like np.vstack({tuple(row) for row in im1.tolist})
 
tolist(), and yes, and maybe I'm entirely wrong
 
@DSM Basically, once you've installed docker, it's docker pull jupyter/datascience-notebook to download the docker image and then docker run -d -p 8888:8888 jupyter/datascience-notebook to have a fully working local Jupyter notebook.
 
6:37 PM
you can be safe by reshaping your image to im1.reshape(-1,3).tolist()
if it has 3 colour channels
that should work
but there are other, more upvoted answers on that question I linked to, but this is a one-liner
 
IH all, Good evening
 
And it comes pre-installed with pandas, matplotlib, scipy, seaborn, scikit-learn, scikit-image, sympy, cython, patsy, statsmodel, cloudpickle, dill, numba, bokeh. As well as some R and Julia packages.
 
@afidegnum cabbage
 
Strange that that list doesn't include numpy though :/
 
@Ffisegydd both scipy and matplotlib do, right?
and pandas too:D
 
6:39 PM
Yes but it doesn't include it as an explicit dependency.
 
oh, interesting
 
After all, seaborn requires matplotlib, so by that logic you could just include seaborn and not mpl.
 
is docker a thingy that allows you to host a web thingy on your localhost?
 
No :P
 
ah OK
 
6:41 PM
It runs services in containers on your local host.
 
their website is Greek to me
all these fancy words
 
So you could run 10 different containers, each with a different version of Python, each on a different port.
And none of them would be aware of the other.
 
I am reading a text file containing arrays delimited by ">" which constitute hierarchical menus but using split() is not enough for me, because I have variable menus childrens, ie parent, parent > child, parent>child>subchild>grand-child what is the best way to split and retain their values ?
 
user559633
are you comfortable with the idea of a virtual machine @AndrasDeak?
 
@tristan yup
 
6:42 PM
Ah yeah, better explanation.
 
I think that makes sense, thanks
 
user559633
shared underlying OS, abstraction at the library layer
 
I need to learn docker
 
user559633
eh
 
any insight ?
 
user559633
6:43 PM
it's cool, no doubt, but need is a strong word
 
I want to try and shove BigCorp's stack into Docker because I'm sick and tired of crappy deployment config that people do badly, I mean :)
 
user559633
there you go
 
I'm waiting for Docker For Windows to leave beta so I can get it on my work PC easier.
 
Guys :\ is there any effective way to store time as an "offset"? Eg, x minutes from the start of today
 
6:44 PM
Spent over half a day today figuring out why two eminently clusterable things wouldn't cluster
 
user559633
@corvid you mean timedeltas?
 
Oh, huh. Our stuff is installed on Windows at my customer. Perhaps I should wait for that as well!
 
user559633
you should upgrade to linux :)
 
It still typically runs a Linux container.
 
anybody have any ideas how I can download the table in the HTML from here. wget ain't doin' it this time
 
6:44 PM
It's just easier in the new beta program to run stuff.
 
@Ffisegydd yeah it has a tiny VM or something in Windows
 
user559633
that's like eating ice cream out of an old shoe
 
@tristan I suppose, but it must have recurrence and be serializable
 
You don't need Virtualbox, you use Hypervisor, in the new beta.
 
@tristan already decided I'm afraid :)
 
user559633
6:45 PM
@corvid why don't you explain what you actually want/need :)
 
Where's the fun in that?
 
I'd have Linux and Postgresql if it were up to me, and increase our licence costs instead of having them pay for windows and oracle :)
 
I'd have Linux, were it up to me.
 
@inspectorG4dget just like Canada to let you enter with "Sorry for these data"
 
user559633
6:47 PM
"Bless us, O Canada, and these, Thy data, which we are about to receive from Thy Counties"
 
??
 
user559633
@afidegnum is that ?? shorthand for "why is no one helping me?"
 
@afidegnum you've asked your question, if people can help then they will do.
 
it's interesting though that wgeting the page doesn't get me the HTML. I think there's some weird javascript or something to fetch the data and display
 
user559633
@inspectorG4dget is the page using react?
 
6:48 PM
It's almost as if they don't want people to use wget on it.
 
@tristan I wish I could answer that. I really don't know
headsup: IO gotta run in about 10 minutes
 
user559633
you probably have to do a scraper with a JS engine
 
user559633
10 minutes is a long time for I/O to run, you'll probably be fine
 
I was really hoping to just wget it and then BS my way through it
 
Fizzy gonna fizz, tristan gonna...trist...
 
user559633
6:50 PM
@inspectorG4dget What's the data source?
 
user559633
@Ffisegydd more like tristan gonna...tryst...... ;)
 
Fizzy's gonna fizz, fizz, fizz, fizz, fizz... and the tristan's gonna trist, trist, trist, trist, trist... shake it off!
 
might be a dupe somewhere but I couldn't find it
 
@inspectorG4dget Is that from a popular music song?
 
user559633
6:52 PM
@inspectorG4dget lol oh god
 
DSM
@Ffisegydd: got time for a pandas question?
 
https://www.youtube.com/watch?v=nfWlot6h_JM
https://www.youtube.com/watch?v=Xn3tUOJ9yv4
 
@DSM Sure
 
user559633
@inspectorG4dget do you have to grab it every day or can you just view source, copy paste from a browser?
 
DSM
Isosine did a mashup of Shake it Off and The Perfect Drug. They go surprisingly well together.
 
6:52 PM
I mean, this is like Taylor Swift asking me about singing crap songs, so I'm not sure what I can answer.
 
I can nicely wget the Disclaimer form..
 
@tristan I am currently doing that low tech thing. But ultimately, I will need the daily automation solution
 
DSM
@Ffisegydd: I think I'm just missing something obvious, but I can't see it. I need something which is the equivalent of pd.concat([df.iloc[i] for i in range(len(df))]), but I can't see my way to the right stack/unstack/whatever command.
 
user559633
@inspectorG4dget I'd say do the low tech and fire off an email asking for a place to get some cached/raw data
 
So basically, I have two entities. The settings are offsets (in milliseconds) since the start of the day. The reminders are dates when to send a reminder out at. I want to match these two from a cron
 
6:56 PM
@DSM I don't understand what you're doing, surely that just creates the same dataframe? You're concatenating all of the rows in the df (over range(len(df))) by integer indexing them?
 
I think I am just getting strange mismatches by using UTC on the server and local time on the client
 
pd.concat(objs, axis=0, join='outer', join_axes=None, ignore_index=False,
   keys=None, levels=None, names=None, verify_integrity=False)
 
@tristan I could. Environment Canada is surprisingly helpful/responsive. Moreso than even NASA, methinks
 
Let me put together a df quickly and see.
 
join_axes=1?
@DSM ^
 
user559633
6:56 PM
@inspectorG4dget it's the nerds helping nerds thing. if they're using JS to populate a page behind a disclaimer, they're pulling from some url route, which they might just tell you how to access
 
user559633
the alternative is you just scraping, so i wouldn't be shocked if they said "yeah, just go to example.org/some/path?these&params
 
DSM
@Ffisegydd: not quite 'cause it flattens them. But I've just realized that the target output I'm aiming for isn't quite what I think it is, so I'll come back with a better-formulated question. (My confusion about what exactly I'm doing may explain my inability to get there. :-)
 
user559633
they're currently setting a cookie to denote the disclaimer status
 
:P
 
@DSM does this pandas question make any sense to you? stackoverflow.com/questions/37792999/… Holding off on cv-ing it, but I don't think it's actually related to flask. Probably needs an mcve.
 
user559633
6:58 PM
expires: 2026-06-11T18:52:23.188Z

lol that max age on this cookie
 
or any pandas people, I can only keep track of one panda at a time
 
DSM
@davidism: I agree it doesn't seem to have anything to do with flask.
 

« first day (2067 days earlier)      last day (2887 days later) »