« first day (2343 days earlier)      last day (2620 days later) » 
00:00 - 17:0017:00 - 23:00

12:01 AM
I was thinking about programming some Python but now it has me out of the mood due to its occasional absurdity.
 
If these things strike you as absurd, you should absolutely not use python. However, presenting these things as "absurd" in this room would be absurd.
 
I'll probably use Python tomorrow, and just avoid the absurd parts. Or absurd-to-call absurd parts or whatever. Like PEP8.
 
Then I wish the best of luck to you. Perhaps with time you'll at least come around to "well, I can see why some would prefer it that way"
 
I hate it when a programming language gives me multiple options to do something. Why do I have to choose? :(
 
It totally depends upon what the options are. If some methods are cleaner for a certain problem, and others for others, it's good to have that flexibility rather than being pidgeonholed. But we're also talking at a level of generality that's almost useless, heh
 
12:13 AM
💩
I'm more of a TMTOWTDI type.
 
I always end up with applications that use option A for half the program and option B for the other half. And then I keep switching them over and over again constantly with each minor change in view.
 
The Python2/3 thing will probably slowly kill Python as developers move to inferior languages.
 
It takes a lot of practice to find what really works best or looks cleanest. For example, I tend to prefer using map over comprehensions when I need to save space on a line, because it's shorter than the equivalent comprehension. But I know that comprehensions are preferred, so it's tricky
Python's impending death is probably greatly exaggerated, and it's getting better all the time.
 
If you're expecting NaN from 0.0/0.0, you should keep in mind that Python is really old. You couldn't assume NaNs actually existed on your hardware back when Python was first created.
 
Oh, back in the 'ol "trap-on-zero-division" days?
 
12:28 AM
How can i create a deepcopy of a nested list without using deep copy?
 
wow...this is still going on?
what the yam..
 
DSM
I just got here, what did I miss? The dark arts of dividing by zero?
 
It's mostly dying down, no reason to talk about it. We could talk about pandas instead.
 
DSM
cabbage/0.0
 
The animal, not the library. I don't math much.
 
12:29 AM
DSM, you can scroll up. If we summarize it now it might revive it
and it's just not a fun topic
in other news. Snowpocalypse seems to have calmed down
 
DSM
The other day I was reading through a pandas tutorial and the author used "pandorable", which was my creation. Made me happier than it should have.
 
Is that supposed to mean "cute" or "will unleash destruction upon our world if used"
 
DSM
"using or exemplifying the best pandas style"
 
So a little bit of column A, a little bit of column B?
 
DSM
Oh, and in other vital news I'm sure everyone was desperate to hear: I bought the printer but couldn't get it working wirelessly, so I had to spend $$ on a USB cable, after which it managed to get over some hump and now it's happy to work wirelessly. So anybody want to buy a USB cable, is I guess the question..
@KevinMGranger: well-considered selection from the palette is a hallmark of true artistic skill.
 
12:54 AM
well, @DSM, this is your fault for messing with a printer in the first place. You only have yourself to blame here.
 
cbg
 
How's it going, idjaw?
 
pretty good....just got the kids to bed....trying to fix a bug that was found just before I called it a day.
It's been bugging me...so I wanted to send out the PR tonight
how about you?
 
Just logging in for the first time today. Catching up on several chats and then deciding what to work on.
got a consulting project and an android app...which is more important atm?
 
1:00 AM
which one do you have to deliver first
 
well, the consulting gig will pay more when I finish it. The android app is a personal project that only brings in a few bucks every month whenever someone decides to pay for it.
neither has a very strict deadline, though.
 
1:18 AM
choose the more fun one tonight
 
 
1 hour later…
2:41 AM
what's a good service for buying digital movies? Need to be able to download them, watch them on PS3, and must be very high def
 
 
1 hour later…
4:04 AM
Finally got Fanatic badge.
 
Meanwhile: 804 consecutive, 487 on meta. Send help.
 
I wonder what the record is.
even though I've been a member of SO for more than 4 years, I consistently miss a day here or there without logging in.
not on purpose mind you...SO is my crack. But sometimes RL gets in the way.
 
4:19 AM
I think I've only missed a couple days around the holidays, otherwise my streak would be close to my total days.
Although I've had an account for a couple years longer than I've been active.
Who says the Wii U isn't portable? https://t.co/rLCmiGwQMj
This is what video games plus nice weather have driven me to.
 
4:31 AM
Cabbage :-)
 
4:46 AM
@davidism what do you mean that you've had an account longer than you've been active?
I have hardly ever written any C#...and most of that was playing with Unity. Yet somehow, I almost have a bronze badge.
@thefourtheye cbg
I went to RedBox to get Doctor Strange...but they were out and I had to settle for The Accountant instead.
 
5:43 AM
cbg
visited 1717 days, 402 consecutive
 
5:59 AM
@AnttiHaapala you are dedicated to helping others
 
6:55 AM
Wait till it gets 404 consecutrive.
 
 
2 hours later…
8:30 AM
@davidism I was a bit worried at the end that you were going to keep walking round, and a Speedo'd Davidism was going to appear in the screen's reflection
"Worried." Who am I kidding?
 
cbg, noob here, love the salad language thing
Far fetch question..
 
@MoinuddinQuadri what about youtube
 
I have a CSV spreadsheet, and want to generate a document from it, creating tables from some columns
A word-like document, then convert to pdf
converting to pdf is kinda solved
But, is there something in python to create Word-like documents?
 
@khajvah Not sure. But they must be having something in mind
@SergioBasurco You may take a look at python-docx library
 
@khajvah in brazen defiance of Process Neutrality, Youtube has been given a 2% CPU allocation
 
8:45 AM
@MoinuddinQuadri Thanks!
 
8:59 AM
cbg
 
9:40 AM
I want to stream live nasa feed from youtube as my windows desktop . But I don't know where to start can someone give a rough sketch how to do this ? What calls I need to make to windows ? , What api does youtube support ?
 
Cbg
@johnsmith and how's that related to Python?
 
@JonClements I want to code it in python and this is the only community I know to ask for help
 
I could use some holidays, right now. I feel drained -_-
 
Way too broad even for this room :-)
 
@johnsmith I'm already filled with pregret, but why do you want this? Isn't it better just to fullscreen a video?
 
9:47 AM
@AndyK I hear ya :-(
 
no time to code, rooms for improvement I cannot start
omg
 
@robert grant I am a student and have never build a windows program , thought this might be not so hard problem to code and I could learn about interaction with os and using API
 
Ah okay
Doesn't sound particularly simple to me, but I've only ever programmed Windows stuff in VB, years ago
 
10:04 AM
Morning.
 
Evening.
 
I forget you're that way.
I always think everyone is Europe or left on the map. ;) /eurocentric
 
Strewth, he's Australian!
I never realised that
 
in Australia, rather than actually Australian, iirc.
 
@RobertGrant Bloody oath!
How odd. The OP uses a set, but this answer uses a dict with values of True instead.
 
10:11 AM
Strewth, he lives in Australia but he isn't from there!
 
I was born here in Australia, and I've never been to another country. I don't travel well...
 
Strewth again!
 
Multistrewth, I was sure you'd said something about having selected Oz as your place, must've misread. :)
Is it less apocalyptically hot there yet?
It sounded like basically end of days.
 
Morning @Withnail
 
heya
 
10:24 AM
I hope to travel to Melbourne, one day. The city looks like Fantastic
 
@Withnail We've had a lot of rain here this week, which has made it a bit cooler. One nearby town got 200mm of rain in less than 48 hours. It didn't rain here today, although it's rather humid.
@AndyK I lived in Melbourne for about half a year, 20 years ago. I have to admit that it's a nice city, although I come from Sydney, and Melbourne & Sydney have a strong tradition of rivalry. :)
 
lol
 
Melbourne is good if you like walking or cycling since it's mostly flat, OTOH, it can be very windy, especially in winter. It's located on the shore of a large shallow bay, so its beaches are rubbish compared to Sydney's. Melburnians pride themselves on being more cultured than Sydney-siders; perhaps they are correct.
 
10:40 AM
recbg
 
10:53 AM
You could always shame your school publicly on the internet for being bad at teaching programming... — Lundin 20 mins ago
 
11:03 AM
cbg
 
Cabbage
 
user6845426
11:24 AM
cbg
 
hi everyone pls share some books / tutorial to start python ?
 
user6845426
Why not use Google to ask?
 
@Erum And welcome :-) There are some room rules and customs to read about
 
11:58 AM
o/ @AndrasDeak
 
 
1 hour later…
1:19 PM
\o 1 hour later cbg :D
 
o/
 
I had a feeling that this would happen. I asked the OP a clarifying question. They responded "Yes". Now they've seen my code, and it turns out they actually meant "No"... stackoverflow.com/questions/42832113/…
 
I saw that question and the comments, and I noped out of there. Good luck :D
 
@PM2Ring FWIW it's very easy to make that mistake
50% chance of getting it right
 
:)
 
1:35 PM
TIL that regex has {} support... shows how much I get to use regex :\
 
That's not a bad thing, is it? Getting to use it rarely.
 
I guess there's always a risk of this sort of thing happening when there's a language barrier. But I can't be too critical, the OP's English is better than my French.
 
"If only there was more regex in my life" -- nobody ever
@PM2Ring don't be too critical, but fart in their general direction anyway :P
 
:D something something 100k+ rep regex answer
oh boy that HDD crashing into 'hex' values question is making me nervous about crashing storage disks
 
@AndrasDeak Tell that to Avinash Raj :)
 
1:40 PM
I was going to write "nobody sane ever", but I decided I'd rather use a hyperbole than hurt the feelings of others:P
 
:D yay for consideration :D
 
I also had a thing for regexes when I learned perl, but then I became a proper programmer
(so much for feelings ;D)
 
I've come to like regex in controlled conditions, e.g. for standalone SO questions with clear requirements and no obligation of maintenance. I hesitate to use them in actual projects though
 
I thought that sentence was going to end: "I learned perl, but then I came out of the water and became a land snek instead :D
 
nah, there was C and fortran and matlab in between
 
1:43 PM
I did go through a perl phase during my first job, but I never got super good at it.
 
never did touch perl... :\ did some smalltalk and some ruby (was never good at either of them)
 
my programming background can be represented by a wooly mammoth stuck in a tar pit, but at least it has gps navigation to tell it where it's not going
 
@Kevin have you read Blame!? I heard good things about it, was actually considering ordering physical copies from Amazon, although it's a little pricey.
 
Book inspired by git?
> pronounced "blam"
guess not
 
I thought there was a movie coming out for that.... could be remembering wrong edit: wiki says there's a movie coming out in May
 
1:50 PM
yes
> An anime film adaptation by Polygon Pictures is scheduled for release in 2017.
 
There is.
Apparently Netflix is producing it.
 
@davidism No, but I see it every once in a while on 4chan's perennial "convince others to read something by posting one page" thread, and it looks pretty exceptional
 
ahh ok, I haven't read it, but heard people from my circle talk about it. A few of my friends really like it...
 
The plot synopsis on Wikipedia makes it sound like an appealing bit of industrialpunk
 
Not a very informative trailer, still looks cool though.
 
1:53 PM
Interesting, I will watch it and decide if I want to read it afterwards.
On another note: I recommend Serial Lain if you are into creepy mangas :\ Gave me nightmares after reading this...
I also heard that Netflix is making a live action of Erased... don't know how I feel about that.
 
that looks like an anime
 
I watched Serial Experiments Lain a couple months ago and I don't think I understood any of it.
On the obtuseness scale, I give it 1.3 Evangelions.
 
that reminds me, I should watch evangelion one day...
I'll probably get to bebop first, which is also on my perpetual todo watchlist
towatch list?
 
Porco Rosso is a must watch
Animes are changing as much as the japanese society is changing
 
Guess he didn't actually need help.
 
2:02 PM
I choose to believe he's taking his time producing a really nice MCVE
 
with pumpkin spice
and the foam on top is sculpted to the shape of davidism's avatar
 
Eating that would be davidism cannibalism
 
Oh, Joe was post-in-5-rooms-with-labview-question guy from a few days ago
 
Uhhhhhh, please don't make a foam depiction of my avatar.
 
You haven't hit it big until you feel weird about a gesture of admiration made to you by an Internet stranger
 
DSM
2:15 PM
I showed up at a strange time-cabbage.
I keep a list of things I read which I find striking, and "please don't make a foam depiction of my avatar" is definitely not what I expected to read this morning.
 
So last week I committed some code that works on my machine, but didn't work in QA. Now I'm working on code that works in QA, and not on my machine.
 
:D but it would fit that facial expression :D
 
I have a feeling this has something to do with how, a year ago, when I installed Oracle on this machine, it didn't work the first two times, so now I have two nonfunctional clients named orcl and ORCL, and one functional client named ORCL2, and I have to very carefully not commit any files that connect to the database without first confirming that it's using connection strings that are valid in QA, rather than connection strings that are valid for me.
 
you bamboozled yourself :D
 
I could try to uninstall all three clients and try again, but I already tried that during failed attempt #2, and it didn't work, and it took a week and a half.
 
2:21 PM
Yeah the Oracle client is not pleasant
At least in Java you don't need it any more
 
DSM
To the Java chat room, everyone!
 
:D
Oracle wrote a pure-Java type 4 JDBC driver for it, so you don't have to worry about OCI any more
 
So it's not users that suck but clients in general? <philosoraptor>
 
cabbage
 
@Kevin root cause: no environment-specific config facility
Also, my internet is down, so I'm coming to you live via my phone's wifi hotspot
 
2:23 PM
When did "bamboozled" become a thing? Because I've heard the phrase a lot more recently.
 
It's because they discovered pandas don't really like bamboo, they were just pretending
 
I've used it once or twice in here. I probably got it from tumblr or 4chan or some other hive of villainy
 
@davidism I get my "bamboozled" from animal memes, like red pandas and dogs, not sure if that's where others get it from...
 
DSM
@RobertGrant: I was testing a data streaming API at work over my cellphone because the office network blocked the ports I needed and on the one computer that it was unblocked on there was some proxy issue causing intermittent minutes-long delays. Sometimes you gotta do, etc.
 
2:25 PM
 
I don't know what either of those memes are. Get off my lawn.
 
Thankfully this phone is dual-SIM, so work sim does data and personal SIM does calls etc
 
DSM
Nice.
 
@Kevin :D
 
Yeah, I think I got it from the "you thought it was <animal A> but was <animal B>" class of memes
 
DSM
2:26 PM
I support eyestalks.
 
Are you sure it shouldn't be a set of memes? I worry about paradoxes.
 
If it was a set of memes, there wouldn't be any reposts :|
 
> eye support: eyestalks
 
DSM
Indeed. "I support", "eye support", "something which supports an eye", "eyestalk". Not my best work, but it was entirely coincidental, so that's nice..
 
Oh, no I got it the wrong way round. Sets are bad, mmkay.
Wait - I just checked the Sky website and they say they have no problems, so therefore my internet must be working
 
2:35 PM
Oh no, two Kevins!
 
DSM
And they both do C#. This.. this is a problem.
 
It's OK. One is obsolete per their avatar
 
Only two Kevins? What happened to the other ones?
 
An older Kevin model that escaped the cryo-chamber
 
DSM
There's KMG and then -- what did we call him, New York Kevin? As opposed to Jersey Kevin.
 
2:37 PM
Quick question then I'm out... I'm trying to use shutil to copy a file to a destination. The destination directory path does't exist, but I want them to be created, is there a way to do that?
 
morning everyone
 
so I'm in \path, and I want to copy a file to \path\output\release, but \path\output and \path\output\release don't exist yet.
 
Wow, yet another Python lib I've never heard of before
 
thanks
 
2:38 PM
You can make a directory with os.mkdir. I don't know if there's a nice way to combine copying and directory making into a single statement though
 
wasn't sure if shutil had the option, wanted to double check
 
@Kevin I sure you could figure something out with lambdas :D
 
(inherited script, trying to edit)
 
DSM
makedirs is better, handles depth (better than mkdir, I mean)
 
Don't cross the Kevins!
 
2:39 PM
Whoops beaten by davidism and mkdirs fits better for this problem than mkdir.
 
i'm kinda removed from C# now, now I'm about 95% C
 
Whoops beaten by DSM in admitting that mkdirs is better than mkdir
 
DSM
I haven't written (nontrivial) pure C in a long time. Maybe ~2008? 9?
 
Spending too much time in the C# room has thrown me off my rhythm
 
i used to be a regular in there, about 3 years ago. couldn't handle it anymore lol
 
2:43 PM
Music share time. Listening to The Afghan Whigs this morning
 
Does anyone know if there is a way in numpy to arbitrarily rotate a numpy array by any degrees? In the numpy documentation, all I saw was numpy.rot90 and the way I'm using the array is like a vector.
 
@LuisAverhoff Goooooogle -> stackoverflow.com/questions/2461303/…
and in that answer the documentation explains what you can do -> docs.scipy.org/doc/numpy/reference/generated/…
 
From the url, that question appears to be asking how to rotate by 270 degrees, which is a multiple of 90, so it doesn't fully address the issue
 
As in you want to rotate [[0,0],[1,1]] by 70 degrees or something?
What would that look like?
 
2:47 PM
@RobertGrant yes
 
but lets you rotate multiple times
isn't that the question?
 
@LuisAverhoff what would that look like
 
@idjaw yes but I dont want to do 90 always
 
@RobertGrant matrix rotation
sin / cos, I think
 
I assume numpy has matrix multiplication capability, in which case you only need to multiply the vector by the matrix in here:
In linear algebra, a rotation matrix is a matrix that is used to perform a rotation in Euclidean space. For example the matrix R = [ cos ⁡ θ − sin ⁡ θ sin ⁡ θ cos...
 
2:49 PM
yeah, that
 
isn't there a rotation function then?
 
Or you could just go straight to quaternions. If you do, let us know what they actually are at some point.
 
I'm sure this will work fabulously on 1x2 vectors (or 2x1 vectors? whatever), but I don't know precisely what you'd need to do if you have N vectors stored in a 2xN (Nx2? whatever) array
 
DSM
We can use the standard rotation matrix to rotate a vector.. but is that what we're talking about here? Or are we talking about rotating a matrix (so that rotating the identity by 35.5 degrees would introduce a lot of non-integer values)?
 
2:49 PM
@idjaw nope, I only see rot90
 
@LuisAverhoff as you can hopefully tell from all the wild speculation, you really need to clarify what you want.
 
The precise shape of the array would be a good start
 
I can't believe I almost missed vague math/numpy question
 
Andras has joined your party. Please select a player to remove....idjaw has been removed. Press A to confirm
 
Yeah if using a matrix to transform a point in space is the definition of "rotating a numpy array by any degrees" then I really didn't get that
 
2:52 PM
alright so I'm using two numpy arrays as vectors. like a = {0.0, 1.0,} which are coordinates in the x and y plane.
 
Plot twist: he actually just wants the printed representation of the array to be tilted, for a dramatic "dutch angle" effect
 
that's not a numpy array
@Kevin I'm actually looking on codegolf for that interpretation
I gave up
 
What those coordinates in the numpy array are coordinates for a line and I want to rotate those corrdinates.
 
If you have two 1xN arrays representing x and y coordinates respectively, applying the rotation matrix manually should be simple if you have both numpy experience and matrix experience
I only have one of those, so all I can do now is wish you the best of luck on your journey
 
@LuisAverhoff the answer to your question in its current clarity has been answered already
if you want more specific, be more specific
 
DSM
2:54 PM
Aww, it sounds like we do just want an ordinary rotation matrix. I was hoping for something cooler, and was already breaking out interpolation.rotate. :-(
 
you can rotate those 2 points with a rotation matrix, specifically with a result of {-y,x} or {y,-x} in Luis representation
 
@DSM Sorry about that
 
DSM
@LuisAverhoff: it's okay. Better a lot of small tragedies than a large one.
 
@DSM I was looking for exactly that doc at one point but I wasn't sure what was actually the needful thing of needfulness
 
@Kevin btw in numpy it's as simple as M@vectors or (np.dot(M,vectors) or M.dot(vectors) for older versions)
of course your dimensions should align etc etc minor details that Luis himself is ignoring so it's fine
 
2:58 PM
I'm glad the oft-neglected matmul operator is seeing some use for its intended purpose
 
So pretty much, create a rotation matrix of the angle and then do a dot product on that vector to create the new rotated vector correct?
 
not necessarily
*nods knowingly*
 
I don't think "dot product" can be used in the context of a vector and a matrix
That's for two vectors, innit
 
DSM
I'm actually a little surprised I can't seem to find a rotation matrix generator in scipy anywhere.
 
@Kevin mathematically yes, but in numpy it just contracts two indices
mother of typos
 
3:03 PM
I wonder if other Kevin gets pinged for direct reply pings aimed at messages I wrote.
 
surely not
 
I admire your optimism.
 
it's unlike me:D
>>> import numpy as np
>>> M = np.array([[np.cos(np.pi/4), -np.sin(np.pi/4)],[np.sin(np.pi/4), np.cos(np.pi/4)]])
>>> v = np.array([[1,0,-1,0],[0,1,0,-1]])
>>> M @ v
array([[ 0.70710678, -0.70710678, -0.70710678,  0.70710678],
       [ 0.70710678,  0.70710678, -0.70710678, -0.70710678]])
>>> M.dot(v)
array([[ 0.70710678, -0.70710678, -0.70710678,  0.70710678],
       [ 0.70710678,  0.70710678, -0.70710678, -0.70710678]])
 
I've been listening to this for the last day or two. It's very reminiscent of the music that would play during the "bumps" between shows on Adult Swim
I got through a four hour session of troubleshooting Oracle configuration problems and DLL hell with this without going into my usual berserker rage
Unless I've emotionally matured since my last tantrum (not likely), I attribute this to the music
 
3:26 PM
I just started a new game with myself that is proving to be very fun. I repeatedly just select the third predictive word when I'm writing a message on my smart phone
a wonderful somewhat sensical story is created
 
Markovian gibberish
 
"Walden said he had been the most of a bash". Alright then.
Why is my third predictive word "walden". Why is my first predictive word "quesadillia"
 
what is the second, Kevin? We might have a very interesting character name here.
 
3:42 PM
It's "Ok"
 
Quesadillia "OK" Walden
I can use that in a story
Why do they call him OK?
this is where the story starts
or would Walden "OK" Quesadillia work better?
 
My friend once combined that game with an app that would take your voice an T-Pain it over a rap beat. It was... interesting. Maybe Top 40 worthy.
 
Walden Quesadilla's father was an unimaginative man, and named his son after the most recent book he had read, and the most recent meal he had, both of which were merely acceptable.
 
DSM
Ehh, hard to say. People T-Paining too much, as the man said.
 
I've never read Don Quixote, is that an excerpt from it?
 
3:49 PM
Growing up, Walden was an average child in all respects. Almost eerily average, really. You'd expect a kid to excel or lack in at least one category, but not Walden. For this reason, he gained the nickname "OK".
 
I laughed
Thank you Kevin
 
Suddenly, aliens invaded. Humanity is only able to shoot down a few starships, at the cost of heavy losses. The only hope for victory is to retrofit the reclaimed tech for human use and use it against the galactic oppressors. Walden is conscripted into the experimental pilot program.
 
@idjaw you asked to see this some amount of weeks ago
 
yeah! :) thank you
cool!
 
DSM
Sudden shift of genre! I was anticipating a more historical setting, say 1940s in the southern midwest.
 
3:53 PM
Most humans are absolutely rubbish at piloting starfighters. We're talking bottom 1 percentile of the galactic standards. But Walden is in the 50th percentile. But that turns out to be excptional indeed by human standards...
 
(I was first hoping that Walden would end up in outer space and have something with "0K" in it, but then I realized 4 2.3 kelvins)
*shakes fist at crossed out 4 is still 4*
 
rb folks
 
@DSM It could be historical scifi. Everything all nuclear agey with chrome and fins all about.
 
rhubarb
Suomi vainittu... ;)
 
@Kevin finally, for the first time in his life, Walden was considered "not OK." He loved it.
 
DSM
4:02 PM
Only three failing cases, might be able to fix them all before lunch.. #springseternal
 
4:14 PM
I definitely remember seeing some SO aggregated source of good (and bad) python books and learning resources. Trying to find it now for a friend but can't seem to get my search terms right, can anyone help me find it?
 
yes that's it tyvm
 
no worries
 
Well turns out what I really wanted to do was transform my vector because this worked well. paste.ofcode.org/hpzTfNLkfqHKdSEXtZxJ37
 
there's also np.deg2rad;)
Are you looping over points to do that? Or do you have a single point?
 
4:28 PM
Well I'm doing a coding challenge where the challenge is to build a fractal tree and so I initially create a root branch and this root branch has a startX, startY and endX and endY. I then use the end points of the branch with a little of trigonometry to create a new branch at an angle and then shrink it. This is all done recursively.
 
wim
4:38 PM
that's the same as multiplying by a rotation matrix
you should use __matmul__ any opportunity you get, since it's shiny and new
 
ok. Also is better or faster to do a + b than np.add(a, b)?
 
cabbage
 
\o cbg Wayne, how's it going
 
Fairly well, just in that part of the cycle where I'm running big honking queries
 
@LuisAverhoff why not time it and find out? This is a coding challenge after all, you're supposed to explore.
 
4:44 PM
@davidism alright
 
wim
a + b is better and i don't care what is faster
 
@wim what about a - b? They say less is more.
 
wim
np.add is for fancy ufunc stuff
 
🎶 Do it faster makes us stronger 🎶
And I just discovered this is a thing
You're welcome
 
wim
4:48 PM
@KevinMGranger hehehe slow clap
 
@WayneWerner I think I'm going to make this my morning alarm song
 
@wim actually np.matmul does not let me multiply matrices that are not aligned because I have a 2D vector A = [0.70, 0.70] and rotMatrix = [cosAlpha, sinAlpha, -sinAlpha, cosAlpha]. So I don't think I will be able to use matmult.
 
00:00 - 17:0017:00 - 23:00

« first day (2343 days earlier)      last day (2620 days later) »