« first day (1991 days earlier)      last day (2942 days later) » 

12:03 PM
@khajvah we should call that celery
 
@poke I'd literally go to that course to hammer out the thing about points
 
hammer out as in criticize and trying to get a real explanation?
 
He might have meant a sledge hammer
 
A little from column A, a little from column B
 
Can anybody who knows numpy tell me why a=np.arange(10); a.shape=(2,5) works?:S
it's so wrong
reassigning the shape tuple of an array instead of using np.reshape()
 
12:18 PM
@Robert I don’t think the persons teaching us here have enough knowledge to really give valid arguments for those points.
 
cbg
 
cabbage idjaw \o
 
hey
 
12:35 PM
here git files don't just add themselves. They must have accidentally added it after removing the py files.
 
Hello.
Can I make this: a = pipe_pings['ser_no'] == pipe_pings['ser_no'].shift(1)
b = pipe_pings['CTRY_NM'] == pipe_pings['CTRY_NM'].shift(1)
matching = a == b a one liner?
 
what are you asking exactly? If you can simply do this:
matching = a == b
 
I tired doing a = pipe_pings['ser_no'] == pipe_pings['ser_no'].shift(1)
and pipe_pings['CTRY_NM'] == pipe_pings['CTRY_NM'].shift(1) but his doesn't work so I had to separate it out into 3 lines
 
Why d'you want it on one line? It's reasonably readable as-is, probably much less so if you used a lambda for it.
 
Oneliners are overrated
 
12:41 PM
Hoping for a cleaner look.
 
 a = pipe_pings['ser_no'] == pipe_pings['ser_no'].shift(1); b = pipe_pings['CTRY_NM'] == pipe_pings['CTRY_NM'].shift(1); matching = a == b
there ^
 
Readability counts, They are the most clean.
 
shoving things in to a single line to save line count does not equate to cleaner
readability is VERY important
 
it's part of The Zen
 
@AnttiHaapala Cabbage, Howz ya health now?
 
12:43 PM
@dustin How about using a function?
def ping_test(key):
    return pipe_pings[key] == pipe_pings[key].shift(1)

matching = ping_test('ser_no') == ping_test('CTRY_NM')
 
@PM2Ring that would be fine but it that comparing ser_no to CTRY_NM?
 
@dustin Sorry, I don't understand your comment. My code tests exactly the same thing as your code, and Andras' code.
 
@PM2Ring wouldn't that be comparing ser_no to CTRY_NM?
Instead of ser_no to ser_no and CTRY_NM to CTRY_NM
 
no
look at the function call
ping_test('ser_no') itself compares the same keys
 
@dustin No. It's equivalent to
matching = (pipe_pings['ser_no'] == pipe_pings['ser_no'].shift(1)) == (pipe_pings['CTRY_NM'] == pipe_pings['CTRY_NM'].shift(1))
 
12:49 PM
and ping_test('CTRY_NM') itself compares the same keys
 
Okay
Thanks
 
No worries.
 
One last question if you don't mind
 
I dare you to ask if it's OK to ask it:P
 
Would it be possible to have False in ser_no and False in CTRY_NM return NaN?
 
12:51 PM
May I ask why you'd want that?
if you're comparing them as logicals later?
oh nevermind
I misunderstood your question
 
The reason being is because two Falses mean the serial number changed so it is a different machine.
 
what kind of object is pipe_pings['ser_no']?
 
Two separate machines aren't related.
 
wait, I'm not following after all
 
ser_no is a column of serial numbers.
 
12:53 PM
you want "matching" to be NaN if the two separate checks were False, otherwise whatever you get?
 
Yes
 
@dustin that doesn't tell me the object...
so matching = (pipe_pings['ser_no'] == pipe_pings['ser_no'].shift(1)) == (pipe_pings['CTRY_NM'] == pipe_pings['CTRY_NM'].shift(1)) unless the two parentheses evaluate to False, in which case NaN?
 
Yes
 
I smell an XY problem...
 
yup...
 
12:54 PM
morning everyone
 
it would be much less work to efficiently do what you're actually trying to do:)
hi!
 
I suppose a better idea is to not allow it to compare when ser_no[i] != ser_no[i+1]
 
@dustin try to take a step back, and think about your problem on a larger scale
what do you actually want to do?
 
@PM2Ring Well, there are a lot of blokes in this room - and your typical male geek doesn't shower that often? :p
 
@JonClements says the dog
 
12:55 PM
ninja's don't smell. They wouldn't be good ninja's otherwise
 
Maybe ninja dogs are different, but except for her paws (which smell like tasty popcorn!), my dog's pretty smelly on all sides
@dustin and are you working with lists? numpy arrays? other arrays? dataframes?
 
@AndrasDeak Jon's still a puppy, He hasn't grown to become a dog
 
@AndrasDeak Panda's dataframe
 
@idjaw Yup - you might want more cookies btw... just helped myself to some 5 mins ago - and a bit of coffee and sugar - hope you don't mind k thx bai :p
 
@BhargavRao puppies have horrible mud-smelling puppy breath
 
12:58 PM
2 mins ago, by idjaw
ninja's don't smell. They wouldn't be good ninja's otherwise
 
well, the unninjalistic ones
 
Lol
 
I didn't realise that idjaw is a greengrocer ... :)
 
Brief-rbrb; Coffee time
 
have one for me too, please...
 
12:59 PM
@AndrasDeak I will just ask it as a regular post.
 
that might be a good idea
just make sure to give an MVCE
and you clearly describe what you want to do: we can help solve your actual problem, rather than your apparent one
 
@JonClements distracted again...you're good, you...you're good.
 
What is that acronym?
 
minimal, complete, verifiable example
 
What happened to MWE?
 
1:01 PM
as little as it needs to be to show your problem, as much as it needs to be to cover your full problem
@dustin on SO we have MVCE
 
It has been expanded.
 
on latex it's MWE
it's a local thing
 
Okay.
 
Morning cabbage.
 
morning
 
1:04 PM
 
bleh, sorry
I always remind myself of CV in MCVE, still I mix it up sometimes
 
@davidism @RobertGrant yeah season one is real good (once you acclimate to the slightly uncanny CGI) and season two is merely watchable.
 
@idjaw And leave some scooby snacks in the basement Captain - it's a bit boring otherwise :(
 
In comments on the main SO site [mcve] automatically expands to [Minimal, Complete, and Verifiable example](http://stackoverflow.com/help/mcve). Sadly, that doesn't work here in Chat, or in SO answers.
 
I wonder if it would be possible to make a user script for that...
 
1:08 PM
@AndrasDeak Think of it as a rapper name: MC VE.
 
:D
problem is, I read it in Hungarian, and that's incompatible with this interpretation
 
I'm not sure how one would intercept the send event though. It's doubly hard because it can be triggered by the "send" button or the Enter key.
 
but some magic links work here
[mcve] How to Ask [help]
[mcve] [ask] [help] ^
 
@PM2Ring For real?
 
The full list of comment magic links (AFAIK) is here
 
1:11 PM
yup
[edit] is fun
 
Holy mother of Stack Exchange.
 
The [edit] magic link is handy when a clueless newbie can't find their question's edit button.
 
Those things are going to change my life.
 
@poke :)
 
There's a feature request for a magic XY problem link, but I don't think that one's going to happen in a hurry.
 
1:14 PM
The question I link most is “how does accepting an answer work”
 
@PM2Ring oh yeah I've seen that
 
Hmm, Firebug has disappeared from my browser... How am I supposed to make user scripts now?
 
@poke Me too. Sadly, there isn't a magic link. So I have it as a button in my Bookmarks toolbar.
 
FF has a built-in inspector, but its console window doesn't appear to support multi-line inputs, which is how I make my prototypes.
 
@AndrasDeak And I guess it's pretty easy to find this via Google: meta.stackexchange.com/questions/66377/what-is-the-xy-problem
 
1:17 PM
What's a google?
 
BTW, I hope everyone knows you can drag & drop question titles into Chat.
 
What's drag & drop?:P
 
Grrrr, why must range not accept a float step. :/
 
(I didn't, but I don't use a mouse, generally speaking)
@Morgan'Venti'Thrappuccino np.arange!
In [650]: np.arange(1,10,0.5)
Out[650]:
array([ 1. ,  1.5,  2. ,  2.5,  3. ,  3.5,  4. ,  4.5,  5. ,  5.5,  6. ,
        6.5,  7. ,  7.5,  8. ,  8.5,  9. ,  9.5])
 
@AndrasDeak Yeah, I could, but I'm golfing and the import is going to kill me. Plus, I don't have numpy installed and I'm lazy.
 
1:19 PM
@Morgan'Venti'Thrappuccino Because range is for building indices, and indices are integers. OTOH, there is numpy.arange
 
totally worth importing numpy for that
if it was an array, you could divide it afterwards...
or use np.mgrid as a short-hand for linspace?
In [655]: np.mgrid[1:0.5:10j]
Out[655]:
array([ 1.        ,  0.94444444,  0.88888889,  0.83333333,  0.77777778,
        0.72222222,  0.66666667,  0.61111111,  0.55555556,  0.5       ])
still too long, right?
 
@Morgan'Venti'Thrappuccino <guess> range can be really fast if it uses C registers, which are integers in traditional architectures. Also, doing comparisons on floats is slower than with ints, and a range loop has to do a comparison on every loop.
 
I ended up just doing int(step*2) and doubling the range. I'm only counting halves anyway.
@PM2Ring That would make a lot of sense.
 
And also, there's the problem with cumulative float rounding error.
 
@Morgan'Venti'Thrappuccino well that's OK then
I thought you actually need the halves as well
 
1:24 PM
When I make gifs I often need to iterate through N evenly spaced numbers between 0 and 1. I usually just do for i in range(0, steps): x = float(i)/steps; do_thing_with_x(x)
 
np.linspace!:P
I know, nobody has that imported...:(
 
Nah, I'm just trying to check if a certain number of rounds have passed.
 
Maybe you should spend some time using an embedded system with no / expensive float support. You find you can often avoid floats if you don't really need them. :)
 
@Morgan'Venti'Thrappuccino can't you reformulate the check with integers?
 
So I don't actually need the values, it's just if x in range(0,200,int(r[0]*2)).
That's what I did.
 
1:25 PM
I'm a third party library luddite so any suggestion to use numpy just bounces off my impenetrable skull.
 
@Morgan'Venti'Thrappuccino OK?:)
@Kevin :D
it's a great party though
 
Several of the early systems I worked on needed to use library code for float stuff, and didn't have much RAM so you learned to avoid floats as much as possible. And even by the Amiga era adding float support to a small assembler program could easily double the size of the executable and its RAM footprint.
 
Ain't no party like a numpy party, 'cause a numpy party has math!
 
@PM2Ring@AndrasDeak I have written a more succinct question on the site now.
 
@dustin wow that pinged me, but no highlight in the message
an interesting bug report possibility:P
@dustin I'll go look
 
1:28 PM
Okay, thanks.
 
import panda? really?
always check that your example runs on a clean environment
 
@AndrasDeak making sure you get all your edit badges
 
I'm particularly unmoved by badges:P
 
@dustin I won't answer, since I don't know Pandas. But you really should replace that image of text with some actual text.
 
and I don't edit code
that groupby suggestion sounds nice
but I was a groupby post in your profile..isn't that related?
 
1:31 PM
@AndrasDeak I am not a pandas expert so no idea if groupby is related.
 
Hello everyone.
I need a help in webcrawler.
(Sorry to intrude you)
 
@dustin match = np.where(df['ser_no']!= df['ser_no'].shift(1),check('ser_no') == check('CTRY_NM'),np.nan*df['ser_no'])
 
@Kevin Shift F4.
 
Can I post my question's link?
 
1:34 PM
@VasanthPrabakar hello :) Please read the room rules
 
@AndrasDeak that NaNs out everything
 
@dustin really?
 
Except for a few instances get 1
 
oh, sorry, negate it
match = np.where(df['ser_no']== df['ser_no'].shift(1),check('ser_no') == check('CTRY_NM'),np.nan*np.empty_like(df['ser_no']))
np.where will check the first array, where it's true, it picks values from the second array, and the rest is taken from the third array
the third array could be constructed more elegantly
this is hacky
but there's no np.nan_like in numpy:(
 
Okay
It doesn't have to be NaN. That was just my thought.
@AndrasDeak are you going to post?
 
1:36 PM
edited it to be a bit more elegant
frankly, I'm not sure it's worth it:)
it's a very specific problem
and someone might come up with an instructing use of groupby, dunno
I have to go now, anyway
 
BTW, @dustin, someone has already voted to put your question on hold for being unclear.
 
@PM2Ring I don't see how it is unclear.
 
OP's never do:P
 
Without them addressing what they don't understand, I cannot clear it up for them.
 
@dustin that's also true, but generally not how things work out
you didn't explain what "serial number changes" mean, etc.
you should add an "expected" output for your MCVE if you want to have it around
 
1:38 PM
2 rep away from cap....that was unexpected
 
see you guys later
 
cheers Andras
 
@AndrasDeak bye
 
What Andras said. And maybe you should try to explain better why you want Nan. FWIW, a more Pythonic option to NaN is None, but I guess NaN is kind of appropriate in a Numpy context.
And at least your question hasn't been down-voted.
 
1:42 PM
I also don't understand why you're checking if two booleans are equal when you only want true if both are true. Why aren't you using and?
 
@PM2Ring this 'Since each serial number is a different machine, it doesn't make sense to have a logical comparison at these locations.' doesn't explain it?
@Morgan'Venti'Thrappuccino if you have a better alternative or suggestion, I open to here it.
 
@dustin Exactly what I just said. Instead of match = check('ser_no') == check('CTRY_NM') do match = check('ser_no') and check('CTRY_NM')
 
@dustin It's not very clear to me. And I suspect it's even worse to people reading your question.
FWIW, the point of putting a question on hold as unclear isn't to punish the person who asked the question. It's to prevent people from writing misdirected answers based on wild guesses.
 
@Morgan'Venti'Thrappuccino and causes a ValueError: The truth value of a Series is ambiguous. Use a.empty, a.bool(), a.item(), a.any() or a.all().
 
@dustin That doesn't make any sense. check returns a boolean.
You're not showing us your real code.
 
1:47 PM
I am using the test code too
That was from me executing the test code with your suggestion.
 
DSM
Morning cabbage. Is there a pandas question about?
 
Yes
 
It doesn't use a dataframe, but this gets you want you want. ideone.com/FOWSRe
 
@Morgan'Venti'Thrappuccino I tried that site as well but it doesn't have pandas module.
 
1:52 PM
BTW, dustin, there's an answer on your question.
 
Also, seriously, does pandas overwrite __eq__ to return something other than a boolean?
import pandas as pd
df = pd.DataFrame({'ser_no': [1, 1, 1, 2, 2, 2, 2, 3, 3, 3],
                'CTRY_NM': ['a', 'a', 'b', 'e', 'e', 'a', 'b', 'b', 'b', 'd']})
def check(key):
    return df[key] == df[key].shift(1)

match = check('ser_no') and check('CTRY_NM')
How does that throw a ValueError? The function returns a boolean.
 
@Morgan'Venti'Thrappuccino I have no idea. I am not a Python or Pandas expert.
@PM2Ring thanks, I will check it out.
 
DSM
@Morgan'Venti'Thrappuccino: what makes you think it returns a boolean?
 
<class 'pandas.core.series.Series'>. FFS, really?
Because it's comparing two items?
 
DSM
So you're okay with numpy having vectorized arithmetic operations, but you reject vectorized comparisons? That's.. idiosyncratic. :-)
 
1:55 PM
Fair. :P It just makes more sense to me that +-*/, etc would be overridden.
I wouldn't ever expect that that == was returning something other than a bool.
Especially something that's not compatible with the bool interface.
I think that's what bothers me.
 
DSM
So what should bool(np.array([0,1])) return? True, because it's nonempty? False, because not all the elements are Truelike? True, because at least one element is truelike?
 
I would say True because it's non-empty. The same way bool([0,1]) returns True.
 
DSM
It's clearly ambiguous, and we know that we're supposed to refuse the temptation to guess in such circumstances.
 
That seems to be the path of least surprise. Non-empty objects are True (almost) universally.
On a different topic, I wish there was an explainshell.com for JS.
 
DSM
The whole point of a vectorized object is to allow operations to be performed on the elements in bulk. Where that extrapolation would be ambiguous, we (and by "we" I mean the numpy community) avoid the problem. ISTM this is far and away the best solution.
 
2:03 PM
I guess that makes sense. I'll admit to not using Pandas/numpy, but it just seems weird to me. I guess I'm just not in the mindset of vectorized objects.
 
DSM
Every now and then I see a user avatar that looks familiar, and I figure they're just using the image of an actor they like. To figure out where it's from, I do an image search, but sometimes it doesn't show up as an actor's picture but just an image associated with several different people of wildly different names. This is deeply mysterious to me.
 
If I am reading in multiple csv files that look like name_pings, is there a way to loop through it? As an example, it looks like: mttt_pings = pd.read_csv('moved_pings_mach_mttt.csv', sep = ',')
 
Clearly bool(np.array([0,1]) should return np.array([False, True]) :-P
 
@DSM Well, don't worry, you're definitely not in matrix. Nope, definitely not.
 
DSM
@dustin: are you familiar with glob?
 
2:11 PM
@dsm I am not
 
The four-headed deity from Adventure Time? He's alright I guess.
 
DSM
You can use glob.glob to select the files you want, and then you can make a dictionary with the name of the file (or some part of it) as the key and the dataframe as the value.
 
Oh my glob.
 
@dsm I had a friend suggest: `if len(sys.argv) != 2:
print("Usage: {} CSVDIR".format(sys.argv[0]))
sys.exit(1)
os.chdir(sys.argv[1])` but I don't understand it.
 
2:13 PM
I wanted to post a link to the scene where Finn is alone in the empty streets and says "yo, is everyone in church, worshipping glob?" but there are only potato-quality versions on youtube.
 
I really need to watch Adventure Time some day.
 
re-cbg
 
DSM
@dustin: that code doesn't have much to do with looping over files. sys.argv contains the command line arguments, and that code checks to see whether there is 1 argument (the 0th element contains the name of the program, so sys.argv will have length 2) and if there is, it changes to that directory. No looping is done there, although it might set you up to loop over the directory.
 
Aaand Firefox deleted all my greasemonkey scripts when I updated. Real nice.
 
DSM
Do you need your users to send you copies of them or do you have the code in VC? ;-)
 
2:17 PM
@dsm is that to me?
 
I have about 80% of them saved as gists.
 
@Kevin Thanks for the heads up
I'll neva update ff again
 
Note: I upgraded from 33 to 45, so it may have taken a more "scorched earth" approach than is typical.
 
DSM
@dustin: "that" is a little ambiguous.. the "send you copies" comment was to Kevin, whose scripts were deleted.
 
When was the last time you restarted that?
 
2:18 PM
Running 44 at the moment. Do I risk?
 
Restarted my computer? Maybe a week ago. Restarted Firefox? Typically every two hours or so.
 
@dsm okay thanks. I will just stick with separate imports for now since I don't understand how to use glob.
 
Oh, I thought it might run updates in the background or something.
 
Hmm, the "new user script" button does nothing. I guess I just can't ever have user scripts again.
This is my life now.
 
DSM
You had a good run.
 
2:21 PM
 
@Kevin Pretty sure there are more panels in that comic
 
Yeah, it goes on like "I am currently OK with the events that are unfolding" as his flesh melts from his skeleton.
Classic KC Green.
 
DSM
I appreciate the abbreviation, in that case.
 
Here's the original. Squick rating: 3.5/10
Oh good, my scripts are still present in the file system. They're just not visible from the browser.
I guess I'll backup the directory and try reinstalling.
#live_troubleshooting_chat
 
yay, I am gonna have to do graph visualization.
 
2:32 PM
@khajvah In Python?
 
JavaScript
I will probably use some library to draw the graphs but extend them to place the nodes in correct places
current problem is to minimize edge crossings
 
I've had that problem before.
I'm pretty sure it's O(ludicrous)
 
yeah it is
but I like interesting problems
 
I tried a physics-based solution where nodes repel one another and edges act like springs. But the output was just a mess.
 
We can use my newly created canon question for this so excited! Anyone wanna help hammer it?
 
2:36 PM
I found some papers that solve the problem mathematically
I just need to understand them
 
Force Directed Graph or something
Or is that to get nodes equally spaced?
Or minimally spaced
 
I found one called "Stress Majorization"
I have no idea what that means tho
I am not cool enough yet.
 
@idjaw -1 uses google.ca. It's clearly biased against Americans. ;)
 
@idjaw Congrats
 
Canada represent!!
 
2:41 PM
Canada for President, etc.
 
President for Canada
 
In president poutine I trust
 
@Kevin That comic reminds me a bit of this fire safety ad: youtube.com/watch?v=Rt6RM-yjsig
 
@idjaw I've never understood why Python has the current path as the first entry in sys.path. Wouldn't putting it as the last entry make more sense?
Although that would perhaps generate questions like "I can't import my requests.py"...
 
@idjaw Poor OP is still having problems:
Thanks! But how do I rename the file? Besides .py, there is .txt. I tried it, but it still doesn't work — andrei 11 mins ago
 
2:50 PM
@poke agreed, but it sounds like fun :)
 
Greasemonkey troubleshooting, final update: reinstalled and all my scripts magically reappeared with no additional effort on my part. Best possible outcome.
 
@PM2Ring I love that game. It's so satisfying.
 
@Carpetsmoker Well, it's nice to be able to over-ride modules with your own code when you actually want to do that. :)
 
I think I've put more hours into Tatham's puzzles than every other game I've ever played. Combined.
 
2:53 PM
@Morgan'Venti'Thrappuccino It is satisfying. And rather addictive for a game with no time limit or scoring. I had to stop playing it. :) But I might get back into it...
 
I have a light up game open right now.
 
Woah, another chat room I'm in just linked that collection of puzzles.
 
Spooky!
 
Guys chrome is being a dumb again
 
It always is
 
2:56 PM
Most of the games in the collection are designed so each puzzle has exactly one solution, which can be logically derived with a minimal amount of guess-and-check. I've long since mined Net and Loopy of all the solving techniques I can think of, and can play both of them with 99% success, but Light Up has remained elusive.
 
On the limited samples I've seen of people shadowing modules with their own script, I'm predicting that turtle and requests will be the most common offenders.
 
I feel like preventing the default action should prevent virtually all superfluous actions (short of registering keystrokes), but a lot remains intact
 
Strangely, "7x7 Hard" is much harder than 10x10 Hard or 14x14 Hard.
 
I wish the Loopy game let you color in the interior of the cells. It's a fairly common feature among Slither Link implementations.
 
3:03 PM
I just saw an ad asking me what kind of spring break athlete I am. Google's tracking must be getting real bad.
 
Mysterious Flask news preview: github.com/pallets
 
Is flask getting its own dependency management?
 
cabbage @Antti
Howz ya health? @AnttiHaapala
 
3:20 PM
I hope you're feeling a bit better, Antti!
Rhubarb
 
Rbrb PM \o
 
@Morgan'Venti'Thrappuccino it's very logical and necessary that == returns arrays for array input
It's the one obvious way of doing it;)
 
DSM
4:03 PM
Ooo, just had the "how much of the tech I built can I take with me?" conversation!
 
:)
How'd it go?
 
@Morgan'Venti'Thrappuccino Didn't you just go on vacation?
 
@DSM interesting :)
 
DSM
Not too badly. We've agreed on reasonable compromises across the board, and I've warned them that I'm probably going to port some of the functionality in the c++ N-dim datacube library I wrote to xarray. I'm going to miss the agent model, admittedly, but it might give me motivation to turn my toy version in Julia into a full-fledged code. (Likelihood: low. I have books to read!)
 
@DSM - Switching jobs? Or just asking the question in general?
Incidentally, cbg
Also, it's awesome that they're letting you add that to xarray!
 
DSM
4:12 PM
@JoeKington: only a few days left! announce
 
@Programmer Yeah, just got back Friday night.
 
@JoeKington hi:)
 
Nice! Congrats!
@AndrasDeak - Hi!
 
@Morgan'Venti'Thrappuccino which means you left during spring break! Google isn't so wrong after all...
 
DSM
@JoeKington: now I just need to convince Stephan. :-) Maybe I can get Jeff to put in a good word for me.
 
4:13 PM
@Programmer Hahaha, true. We did go for the GF's spring break.
Though athlete is a little odd considering we spent most of the time eating/drinking.
 
@DSM - Can't imagine the PR would be poorly received! At any rate, xarray is looking quite nice. I really need to start doing more than playing with it.
Need to write an efficient segy reader/writer with xarray as the in-memory format... Python's been missing that forever, though only us odd seismic-ish geo folks notice.
(Blatantly stealing Matt Hall's idea with that one... Maybe he'll beat me to it!)
 
DSM
I couldn't do it when I was here, but I should really start posting my various data extraction routines (such as from Statistics Canada and other government sources) to github. In some ways StatsCan is great, and in others they make you want to tear your hair out. It'll take a while to regenerate some of the data reconciliation tools, though.. we had to write our own quadratic optimization codes because of limitations in the best software which commercial entities could use for free :-/
 
Optimization is always far more nasty in practice than it looks at the surface... I really wish scipy.optimize was better, but I'm not the one to improve it
Also, I can't really write the segy reader I mentioned for the same reason as you... I can sake by on maintining projects that I started before I got here and are completely outside my domain, but that would be too close to what I actually do to every fly.
 
DSM
4:31 PM
I guess that's the trade-off.. either work in something I'm not interested in, or not be able to release my code, or work somewhere where I can release my code but it will go under in six months because they have no income. :-)
 
At least it will be a fun six months! :)
 
DSM
"Code wants to be free!" "Your code may want to be free. My code wants to pay my grocery bills."
 
DSM
Before we know whether it's a dupe, we need to know what we want to happen in the case of a partial (i.e. probably accidental) match.
Well, I mean, in either case it's a duplicate. The question is simply what it's a duplicate of. :-)
 
Then we can re-hammer-open and re-hammer-close :P
 

« first day (1991 days earlier)      last day (2942 days later) »