« first day (2522 days earlier)      last day (2412 days later) » 

2:02 PM
cbg
 
DSM
cbg!
 
cbg!
 
cbg
 
cbg
 
2:05 PM
doctor.
 
I
 
Hate
 
I have a rage inside me right now
 
Is it cause it's Monday?
 
Did you not see the combo breaker that just happened?
 
2:06 PM
*cabbage breaker
3
 
Use that rage for constructive purposes. Go out into your garden. Home-grown tomatoes taste better when they're tended to angrily.
5
 
I would like to think that Kevin cause that cabbage breaker because it's Monday.
 
Interesting article on 2-D nearest-neighbor searching (generalizable to N-D): sandipanweb.wordpress.com/2017/09/10/… The author alludes to a Python implementation, but does not provide it, since he is describing a homework from a coursera online course in progress
 
TIL ÷ is just a blank faction with dots replacing the numbers....
 
Is that an actual fact or is it a "fact" like how people think "news" is an acronym
 
2:09 PM
I don't know..... let me wiki it for a sec.
 
An obelus (symbol: ÷ or †, plural: obeluses or obeli) is a symbol consisting of a short horizontal line with a dot above and below, and in other uses it is a symbol resembling a small dagger. In mathematics it is mainly used to represent the mathematical operation of division. It is therefore commonly called the division sign. Division may also be indicated by a horizontal line (fraction bar) or a slash. In ISO 80000-2-9.6 (about division) it says, "The symbol ÷ should not be used." In editing texts an obelus takes the form of a dagger mark (†) and is used as a reference mark, or to indicate that...
That's a cool name.
 
I was just about to post a quote from that page.
It originally was used to subtract....
Maybe my TIL isn't something true.... TIL TIL aren't always true.
 
I guess it makes sense to have a subtraction symbol that's distinct from hyphens and hyphen-like characters, if you're doing equations interspersed with ordinary written language, which IIRC was the conventional approach for most of history
This is assuming that the hyphen - contemporarily used to interject asides - was used for similar purposes for most of history as well
or the em dash or whatever the actual aside-interjecting symbol is. They're all the same.
 
Now every time I see Asterix & Obelix, I must think of asterisks and obeluses....
 
Another word-for-a-symbol-you-know-but-don't-know-the-word-of that I like: "lemniscate"
 
2:21 PM
The infinity symbol?
 
That's the one.
 
I'll stick with "infinity symbol". Simplifies communication a lot :P
 
Five dollar words are like the good china. You don't actually use them for practical purposes, they're just nice to look at.
@MooingRawr even though the Obelus wasn't originally designed explicitly as a division symbol, maybe the person who repurposed it did so because it looks like a fraction bar. In which case your original TIL would have some truth to it.
If I make a phone line out of two coffee cans and some twine, I can say "a coffee can is an effective transmitter and receiver of sound", even though the original manufacturer doesn't care about that property either way
 
:D always a silver lining. I'm just reading the Reddit's Fact thread from yesterday...
 
I guess it comes down to what your definition of "is" is
 
2:26 PM
There's a lot of silly things such as "if you cut a hole in a net, there would be less fewer holes"
 
@Kevin Asterix (*) and Obelix (†)
 
or stuff like the classic, there are more molecules in a teaspoon of a water, than teaspoons of water in the Pacific ocean. <- don't know if this is true though... someone did the math, but im not sure
 
Fewer holes, surely. whether the net is less holey depends on how you measure total holeness.
 
How empty is the surface of objects :D
 
Perhaps if you go by perimeter? But then do you count the dangly bits of the cut thread as part of the perimeter of the new hole... Hmm
 
2:28 PM
I wonder if the hole shapes would yield better rates at catching things.... like for example would a fish be more likely to run into a circle hole shape net than a square?
 
I am aware of the existence of Asterix and Obelix but they aren't ingrained into my unconscious pop-culture knowledge, because I have seen them exactly 0 times in any print medium
I'm guessing it's more popular in Europe. Like Moomin.
 
Heh, I remember Moomin
(Asterix is way more popular than Moomin IME)
 
Never heard of Moomins so far...
 
Moomin is pretty big in Japan tho. Reverse weeabooism in its purest form.
 
(just looked them up, never saw any of them either)
 
2:31 PM
@MooingRawr fraction?
 
@Kevin they're chiefly album only in Finland...
but rightly very popular...
but they're eurocentric
 
@AndrasDeak Fractions* but if you think about it Factions could work, one 'group' of numbers that is separated from another 'group' with a bar in the middle.
 
asterix especially is a fun comic in that you can read it as a kid and you're like wow...
and then you when read it as an adult you're like "ah I never got that"
 
I remember feeling that way when I went through my Calvin and Hobbes collection around the age of 18
"Was all this incisive political commentary here before???"
 
calvin and hobbes is different.
it bores me :D
it bored me when I was a child
it now bores me :d
 
2:40 PM
🎜 It's okay to not like things 🎜
I never liked Opus despite it apparently being hugely popular?
 
They're certainly highly influential characters
 
Or Bloom County or Outland or whatever the name it had when I grew up
 
@Kevin *holiness
 
Hi, any nice link for getting mysql connected with django ?
 
Going by that spelling, maximum holiness is achieved when there is only one hole remaining; then you've got a halo.
 
2:46 PM
something something perfection when there's nothing to take away
 
2:58 PM
thanks a lot.. @grek40 [br] [code] public interface IMyClass<T, I> where T : BaseY<I>, IBaseX<T, I>[code] [br] but second not as you said.. [br] i cant understand : "Instead, in order for your construct to make any sense, BaseX and BaseY would need to be in an inheritance hierarchy and you can write the constraint for the more derived class." — Mehmet Genç 2 mins ago
When people try to use BBCode in comments…?
 
@AnttiHaapala I loved that comic as a kid, especially all the political/pop culture stuff.
 
Hmm, what's the name of the IDE that lets you embed matplotlib things with syntax like %matsomethingOrOther?
 
DSM
That's the Jupyter/ipython ecosystem. %matplotlib inline.
Wouldn't call it an IDE, though, so come to think of it maybe I'm on the wrong track.
 
That's it. I ask because I was trying to reverse-engineer the environment that the OP is using in What does Import … do? [on hold]. Turns out it's Pycharm.
I thought maybe, if there's one environment that lets you use unary percent, maybe there's another one that uses Import with a capital I as some kind of fancy precompilation directive
 
DSM
Oh, I probably know what's happened. He's confusing the representation of collapsed code with actual Python.
If he hovers over it he'll see the code, and if he clicks on it (or the little + sign beside it) it'll expand.
 
3:06 PM
> Thank you Zero and Kevin for actually trying to understand the question and helping!
attitude much
 
My initial guess was he was looking at some sample code that was never intended to be run, but that didn't agree with the evidence that he was actually running code and not getting an error
Pycharm having collapsible sections that resemble ellipses fits the data better.
 
it's obviously the fault of everyone else if "no one seems to understand the question."
 
Although his semi-insistence on the capital I is still a bit baffling
 
he was just raised well and he uses proper grammar
while k<10: please do
    k += 1
    Thank You.
 
They should write lolcode
KTHXBYE
 
DSM
3:10 PM
 
... is valid syntax in some contexts, interestingly. It represents the Ellipsis object.
>>> ....__str__
<method-wrapper '__str__' of ellipsis object at 0x5D1F8F90>
 
DSM
Yeah, I use ... in numpy sometimes. Not sure I've ever used it in anything else, it doesn't seem to be used by many other libraries.
 
>>> import numpy as np
>>> np.random.rand(2,3,4)[...,3]
array([[ 0.72361258,  0.55713529,  0.35530362],
       [ 0.85152622,  0.51494309,  0.7695826 ]])
DSM'ed, sort of
 
It's one of those "If we implement it, will people use it?" things that get into the language every once and a while. Like matmul.
 
Huh, what's that? Need to look that up...
 
3:12 PM
I’m disappointed. is not a valid module name apparently :((
  File ".\example.py", line 1
    from \u2026 import test
         ^
SyntaxError: invalid character in identifier
 
DSM
(suppresses his C++-shouldn't-be-better-designed-than-Python rant, because he's already given it here)
 
@Kevin I've actually used @
 
Short answer: matmul overrides the @ operator.
>>> class Foo:
...     def __matmul__(self, other):
...             return 23
...
>>> Foo() @ 99
23
 
M@v makes vim syntax highlighting go nuts though
 
@AndrasDeak Was it for the literal purpose of multiplying matrices? I bet it would be useful there.
 
3:14 PM
I wish it had a different name than matmul.
That kind of restricts its usage too far already…
 
well, "go nuts" is a bit of an overstatement; anyway it parses it as @v being a decorator
@Kevin yup
 
__operator_of_many_uses__
 
__operator_at__
 
DSM
Okay, since we're on the subject anyhow: my rant
 
There's a small chance of __at__ being confused as overloading square-bracket-indexing.
 
3:16 PM
DSM, the AAA+ rant source of tomorrow. Double the rants for half the effort!
 
But then again, not all design decisions should be based on minimizing the confusion of the clueless
 
@Kevin I’ve said __operator_at__ :P
 
@AndrasDeak I'm shorting rants - there have been a load of C rants lumped in with the AAAs
 
@DSM what did you mean by "isn't called a matrix where it comes from!"?
 
@poke Yeah, that's a bit better because "operator" clues you in to the fact that it probably overrides something with infix notation
Excluding indexing as a possibility
 
3:18 PM
@RobertGrant Oops, I meant A+++
 
DSM
@AndrasDeak: while a "matrix" object does exist in numpy, it's long been deprecated, and we all use ndarrays instead. Probably matrix will eventually go away.
 
well yeah, I hope so, but they do exist. Then again they don't need @ to work the way they need to work
 
@DSM +1 on what you wrote there. Operators shouldn’t describe what their common usage is, but just give a name to the operator. I can accept add for + (although plus would probably better?), but matmul is just weird
 
I'm a little disappointed that ....... isn't valid syntax. Ellipsis.Ellipsis is legal, so why isn't its shorthand equivalent?
 
I wonder if there's a good analogy with 2.__le__ etc
>>> ... . ...
  File "<stdin>", line 1
    ... . ...
            ^
SyntaxError: invalid syntax
>>> 2 . __le__
<method-wrapper '__le__' of int object at 0x555ea5815ea0>
nope
 
3:20 PM
I'm trying to figure out where I went wrong in life where I didn't end up being a designer for Lego
 
Don't brood on mistakes long past; just lego
 
Ah, ... is an atom, not a NAME. Same reason you can't do True.True
 
how do you keep doing that @AndrasDeak
how!!!!
 
@Kevin Just came to the same conclusion, kevin’d by Kevin :(
 
Is this related?
 
3:22 PM
Although…
 
>>> {...:...}
{Ellipsis: Ellipsis}
>>> dict(...=...)
  File "<stdin>", line 1
SyntaxError: keyword can't be an expression
i.e. "..." is not a valid identifier
>>> 2 . 2
  File "<stdin>", line 1
    2 . 2
        ^
SyntaxError: invalid syntax
might be
 
But I really really wanted it to be :-(
 
NAME is an atom too… @Kevin
 
All NAMEs are atoms, but not all atoms are NAMEs. Also NAME and atom are both valid names and therefore atoms. This doesn't have anything to do with anything, but I wanted to be maximally confusing.
 
But I can do [1, 2, 3].pop() and [1, 2, 3] isn’t a NAME either
 
3:25 PM
user image
7
@poke (Bit late, sorry)
 
@poke the problem is the ellipsis being the attribute, not the object
 
Hmm, I retract my "all NAMEs are atoms" assertion, since in def frobozz(): frobozz is a NAME but not an atom
 
DSM
My superstrength just cost me an egg (and therefore about 17c) because I broke it when trying to take it out of the carton. :-/
 
>>> ....__class__
<class 'ellipsis'>
@AndrasDeak OHHHHHH!
 
3:26 PM
That egg was weak, it was not worthy of being eaten
 
@DSM wow, our eggs are the same price
 
That makes sense, thanks!
 
All NAMEs are capable of being atoms, though, if placed in a context where an atom is expected
 
no worries, although it was Kevin again
 
i.e. not right after a def
 
3:27 PM
@Kevin inside corpuscular matter
 
@Kevin I’m not sure what your confusion is but every NAME is a valid atom. It’s just that a function definition requires a NAME, not an atom
 
unless plasmas
 
It all depends on what your definition of "all" and "is" are
 
@RobertGrant Still appreciated
 
DSM
> Me? I've got a different problem. I feel like I live in a world made of cardboard, always taking constant care not to break something, to break someone. Never allowing myself to lose control even for a moment, or someone could die. But you can take it, can't you, big man? What we have here is a rare opportunity for me to cut loose and show you just how powerful I really am.
— Superman, Justice League Unlimited
 
3:28 PM
@Kevin Liskov substitution principle
 
@DSM Top 10 moment for that show, for sure
 
BAAAH! I was putting the coffee measuring scoop back into the coffee pot, careful not to break it as I dug it into the coffee. When I closed the lid on the coffee pot the lid broke the scoop because I didn't dig it deep enough into the coffee. This is bona fide irony, isn't it?
 
s/pot/can/ ?
 
possibly
I'll find some pictures
jar!
 
user image
3
I don't think it's actual textbook irony, though
 
It would only be ironic if the lid were something that exists primarily to... not break scoops.
Hmm maybe if you frame it as "the lid exists solely to preserve the contents of the pot"...
 
I assumed it was eligible for irony credit because the only reason the lid could touch the scoop was that I didn't want to break the scoop
 
"preserve" and "break" aren't quite antonyms but if you squint a bit then yeah
I see, you're saying that it's ironic independent of the purpose of the lid, since the irony is in the juxtaposition of not wanting to break the scoop but breaking it anyway
OK, that's justifiable then.
I think I skimmed over the "careful not to break" bit on first read
 
yeah, that was my thought, but I'm very bad at scoring irony
 
John DiMaggio taught me that irony is "🎝 the use of words expressing something other than their literal intention 🎝" but we're talking about situational irony here which is different
 
3:40 PM
yeah I was just contemplating how saying something ironically can't have anything to do with the aforementioned meaning of irony
they're just different things
 
How ironic that irony is often used to describe something other than the literal meaning of irony
 
that's literally the most ironic thing
 
If English could divide by zero, this is it
 
they'd just make it an Exception and call it infienetaigh
 
DSM
@Kevin: didn't you propose once to make a recursive-None canonical?
 
3:53 PM
Yeah.
It would be hard to make a really bulletproof one because the target audience either understands recursion or doesn't, and typically only changes states via a flash of insight and not a reasoned argument
All the charts in the world don't stand a chance against "I just don't get it"
 
@Kevin I half expected that sentence to end in a recursion
 
To make jokes about recursion, one must first make jokes about recursion.
@RobertGrant Nice.
 
I'm just aping that SO answer
 
I think this joke has been done before in here, ironically(?) enough
 
3:57 PM
I dont want to use django I wanna work with flask but I am not getting any proper tutorial related to flask and angular integration does anyone here know of any good resources to learn that out
 
DSM
By poke, I think.
 
@AtharvaPandey have you tried the flask website?
 
@RobertGrant yes
 
Where in the tutorial did you get stuck?
 
I am not stuck with flask tutorial at all I am stuck when I want to use angular 2 with flask I cant figure out how this thing works with jinja its working good but with angular i dont even understand how to pass and get values
 
4:01 PM
So are you happy with how to use flask?
 
I thought angular was javascript
 
It is
 
Next question: how familiar are you with Angular?
 
4:04 PM
well I have worked a lot with angular I want to learn backend that is why i started using python and i liked how flask works its very simple and efficient
i think so i am in angular domain since its final release on september last year
 
So, what specifically do you need flask to do? Generate a whole Angular site, with HTML, or provide a REST API to your Angular app that's hosted in something else?
 
the later provide a REST API to my angular app basically I want all the database operations and utilities like sending mails and all be handled by python
 
So your question isn't "I dont want to use django I wanna work with flask but I am not getting any proper tutorial related to flask and angular integration does anyone here know of any good resources to learn that out", it's "how do I create a REST API in flask"?
 
you are right that is what my question is but i asked it earlier also someone suggested me to use django was popping up in my history so i wrote it that way
 
Did you consider searching for "flask rest api"? That yields a ton of results. Other than that, what you're asking is way too broad for us to answer on SO.
 
4:10 PM
@AtharvaPandey try this
Personally I'd go with the 3rd one down, scotch.io
 
It's Google, third down doesn't mean anything to other people.
 
True. Hopefully scotch.io helps
 
I checked and it's third down for me too
 
It is for me too, I just can't count.
 
then again my lack of flask-and-rest googling whatsoever makes me the worst control group
 
4:12 PM
@davidism actually i searched that I already created a rest api my issue was and this all works well when i using jinja2 templates but when i switch to angular I am not even able to get hello world screen in my browser
 
garlic
bye
 
DSM
I like Scotch, so that's a good place to start.
 
Yeah the tape really hold things together :D
 
4:15 PM
Front end development is the worst. Gluing everything together is a nightmare where you keep discovering there's another module you should add every time you add one.
 
DSM
 
@davidism that's why you need Gulp! Oh, wait.
 
Life became better for me when I realized how much I like API design and backend platform/infra work
 
Yeah it is nice
 
and I didn't have to worry about the CSS's, Seleniums, and....ugh...I don't even want to continue listing.
 
4:16 PM
I still occasionally get to go back to enterprisey messaging patterns and suchlike, which is quite nice (and fun)
 
I have no problem once in a while tying in my middleware/backend logic in to a nice front-end Framework where it is clear to see where I hook in my call with a easy to write unit test
 
I'm really glad the Python ecosystem just works. I rarely if ever run into "but if you're using this, you should really be doing this too, and don't forget this" in Python docs. But it's everywhere in JS docs.
 
(what the hell, I just tried convert IMG*.JPG fused.pdf and it actually created my pdf)
(imagemagick is still magic)
 
I wonder what those kitties are thinking about...
 
stackoverflow.com/q/46160080 too broad, terrible self-answer without explanation
 
4:20 PM
oh, and that's on purpose :/
poor guy missed out on SO Docs
 
They say they want an example of using Flask-Login, then their example doesn't use Flask-Login. :-|
 
> I managed in the meantime to put such sample code together and will now post it here, for future reference of others looking for the same thing.
work in progress?
it's an extended version of "what did you try?"
 
Whenever I see someone trying to login without a database, I start getting scared. 99% of the time it's done unsecurely.
 
AD seems to work okay
 
AD ?
 
4:26 PM
that's me
 
I don't really get the "without a database" constraint, because "with a database" usually means one line querying the username. Just replace that line with a dict lookup.
 
@MooingRawr Active Directory. It probably powers identity for 99% of corporate networks
(Rebuttal: ah, I didn't say a relational database!)
 
I remember reading a blog of someone trying to use a MAC address to authenticate a user.... didn't end well, IIRC
One day I will go back to school and get my Info Security
 
my impression about infosec: find infosec interesting, go to infosec school, learn about infosec, realize that we're living in the ninth circle of hell, become a hobo
 
can't find a job/lose job cause 99% of bosses thinks infosec is a joke and we can cut corners...
 
4:32 PM
optional culture-specific scenario: become a white hat, get arrested
 
Build a base on the moon, become a white hat, they can't arrest you because you're on the moon
The one place in our planet's gravity well that's entirely culture non-specific (except for the bit with the flag in it)
 
Yelp review for restaurant on the moon: Great food but no atmosphere
Really old joke, but I updated it by saying "yelp"
 
Seemingly good Wifi signal, however. Convenient.
 
4:53 PM
One might put forth an argument that most of underground is culture non-specific as well. Maybe the mantle inherits the culture of the territories it lies under, but I'm 60% sure the core rotates independently so you can't make any geometric arguments as to who each part belongs to. Underneath Taiwan today, underneath Borneo tomorrow.
 
I wonder if there are islands that don't belong to any country, and if you can start your own country there... of course You wouldn't have an army to defend yourself and any sort of battle ship can take you over.
 
Terra nullius (, plural terrae nullius) is a Latin expression meaning "nobody's land", and is a principle sometimes used in international law to describe territory that may be acquired by a state's occupation of it. == History == Terra nullius stems from the Roman law term res nullius, meaning nobody's thing. According to the Roman law ferae bestiae, things without an owner, such as wild animals, lost slaves and abandoned buildings, were res nullius and could be taken as property by anyone by seizure. There is considerable debate among historians about how and when the terra nullius concept were...
 
We discussed Bir Tawil before but that's not an island obvs
 
Imagine a little island that yo ucan claim
 
4:56 PM
cbg
 
I believe the typical outcome of that is: the nearest actual country calls you up and says "friendly reminder that we have boats and guns and, hey, you're going to keep paying us taxes while you're out there on that defenseless island, right?"
 
The Principality of Sealand, more commonly known as Sealand is a micronation that claims Roughs Tower, an offshore platform located in the North Sea approximately 12 kilometres (7.5 mi) off the coast of Suffolk, England, as its territory. Roughs Tower is a disused Maunsell Sea Fort, originally called HM Fort Roughs, built as an anti-aircraft defensive gun platform by the British during World War II. Since 1967, the decommissioned HM Fort Roughs has been occupied by family and associates of Paddy Roy Bates, who claim that it is an independent sovereign state. Bates seized it from a group of pirate...
 
5:12 PM
"founded with the goal of creating a matriarchal BDSM state"
 
5:32 PM
I wager 2 quatloos that Python - Struggling with apparently empty lists (that don't appear to be empty) is putting combined_lists = ... before any of the function calls
Operating under the assumption that a = []; b = []; c = a+b; a.append(23); print(c) will print "[23]"
Possibly because of a mistaken overgeneralization of the principle that mutating one reference of a list will modify it everywhere
 
I wouldn't bet on the contrary
closing as no MCVE
 
Yeah while we're here
 
that entire post should be on Code Review
 
Nah, it only belongs on Code Review if it works
I mean, once OP gets it working, certainly a trip to CR would be of benefit to him
 
after a significant rehash of their question
 
5:39 PM
Baby steps, first :-)
 
@DanielSanchez I'd be more careful with wording: "post this" should probably be "post regarding this code of yours". See also. Questions posted on SO are typically not appropriate for codereview as-is (and vice versa). — Andras Deak 3 mins ago
@Erich ^
Be very cautious when sending people over to CR. They seem to have stronger enforcement of the network-wide protocol of "don't migrate crap"
 
OP said "everything is functioning so far..." so I guess I should word it to say that they should post the working bit on code review. I feel that a lot of his problems and misunderstandings could be addressed with a verbose CR post slapping him on the wrists for using globals in such an odd way
 
cbg all, does anyone know if it is possible to preserve comments when using the pyyaml module?
I have my config files nicely documented and would ideally like to keep that :)
 
@Erich probably yes, but you should make it clear that they should educate themselves about the ways of CR before posting
 
26
Q: Save/dump a YAML file with comments in PyYAML

Harley HolcombeI have a yaml file that looks like this: # The following key opens a door key: value Is there a way I can load and dump this data while maintaining the comment?

^^ @Jfach
 
5:44 PM
short answer seems to be no
not a big deal
 
@Kevin Oh man.... I fixed it, I see what you mean. THANK you. See, as I said, fundamental mistake on my part that I have to be more conscientious of in the future. I was placing that new variable to combine the list AFTER defining the funcitons, but BEFORE CALLING them. So as far as the script understands, those lists are indeed still empty. faceplam. Anyway, thanks again. — lo_pass 29 secs ago
If you'll excuse me, I have an appointment with the Room 6 coffers, to claim my 2 quatloos
<monocle> <top hat> these tags will remain open as long as I retain my new fabulous wealth
 
</monocle></top hat> now it's broken for good
*diabolical laughter*
 
It was probably already broken because I don't think HTML tag names can have spaces in them
And I really ought've closed the tags at the end of my message, since otherwise the tags would also enclose everybody else's messages, even if they haven't experienced a quatloo windfall like me
I would hate for the lower classes to become accustomed to a monocle-and-top-hat habit that they can't sustain
 
object <-- typical lower class
 
The lowest of common denominators, but paradoxically, it's at the top of the inheritance tree.
 
5:59 PM
lunch time cabbage
 
DSM
FYI, import ... guy deleted his question from before after I explained my guess in a comment. Unfortunately the question was far too messy to recover-- a "what is this import ... I'm seeing, I thought that was a syntax error?" question wouldn't have been the worst thing.
 
Sometimes a self-delete communicates "you were right" just as much as an accept :-)
 
it was a train wreck of a question
cbg, Code-Apprentice
 
It probably would have fared much better if there wasn't that communication gap at the beginning that kept people from recognizing that the ellipsis was part of the syntax in question and not a placeholder that the OP was inserting
 
also OP's attitude
 
6:09 PM
I won't depict him as blameless for the aforementioned gap ;-)
This is one of those rare questions where a screenshot would have been very useful
 
well the general confusion was a "communication gap"; the passive-aggressive whining was...well, passive-aggressive whining
 
DSM
My landlord and my neighbour both chose this afternoon to do some construction work. Time to head out into the world and see what's out there!
 
I try to mentally filter out that kind of thing. Let's meet halfway: OPs can be passive-aggressive if answerers can be blunt bordering on autistic.
 
DSM
 
[what kind of bird is this dot png]
 
6:14 PM
rhubarb, don't forget to stop and smell the...dandelions?
that's one of those words which I never know how to pronounce: "dandy leon", "dan dillion", "dandy lion [rawr]"...
fortunately it literally never comes up at conferences
 
It's the last one 'round here.
 
(hooray for the term "daisy chaining")
 
possibly with more of an "eh" on the dandy than a "y"
Speaking of neighbors, I was quite angry at mine last week for playing thumping bass music deep into the night. I couldn't hear any notes, just the rhythmic thumping. I retained this grudge until yesterday, when I visited a park about a mile away and noticed that I could still hear the bass. I'm now convinced that the sound is actually coming from a distant nightclub or similar.
 
Don't let your burning rage be stifled by rational facts. Think of the tomatoes!
 
Both my house and the park are on the Delaware River so there's only empty space between Philadelphia and my bedroom wall. I think it's acting like a giant sounding board.
 
6:19 PM
 
If I travel one block inland, I can't hear the bass any more.
 
Today's theme for cute animals is deep thought.
 
I wonder if the home owners' association will let me glue a couple thousand sound-dampening foam cones onto my aluminium siding.
 
6:25 PM
@MooingRawr Awww, so cute, just like me... :D
 
:D dog people unite :D
 
time to get back to work!
 
6:37 PM
rats are awesome
not the kind that shanks you in a dark alley; the pet ones
 
double quotes vs. single quotes. PEP says pick a rule and stick with it, what do you guys use?
 
Double.
I need to inline apostrophes far more often than I need to inline quote marks
 
Single is fewer keys.
 
But even then I think I'm more likely to do "foo \" bar" than 'foo " bar'
 
I'm the exact opposite of Kevin, I use quotes more than apostrophes.
 
6:46 PM
Understandable
 
I use single but I don't count
except multiline strings since not so long ago
 
"single is fewer keys": point taken, but I rate holding down the shift key simultaneously with another key as somewhat less than one complete key stroke. Doubly so since the quote key is on the home row, which is as deeply ingrained into my muscle memory as it can get
I don't know why I'm arguing this stance. "Yes, it's marginally more expensive, but the margin is actually X units large, not Y units"
Doesn't matter, margin still exists, point stands as stated.
 
cbg
what am I missing here, I can do this:
$pip install git+git://github.com/user/repo.git@hash#egg=the_Egg
but I cannot put that into my requirements.txt, which seems to not be inline with the examples I'm seeing online and on SO
which are throwing:
setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers; Invalid requirement, parse error at "'://githu'"
or does install_requires not allow you to pass in those links perhaps?
 
setup.py doesn't support all the special syntax from requirements files
if you're going to populate install_requires from requirements, you can't use that syntax
 
ah
 
6:55 PM
requirements files are unique to pip install, their basic syntax just happens to work in install_requires
 
I guess in hindsight that makes a lot of sense...
 

« first day (2522 days earlier)      last day (2412 days later) »