« first day (2784 days earlier)      last day (2179 days later) » 

6:04 PM
Wow. Really, there's no interface to change from pkcs7 format to x509 for certificates in pyopenssl? This is really disappointing
 
@wim thanks for posting that!
 
wow. converting bytes sequence to unicode code points sequence using decode is literally the first thing mentioned in the python pluralsight introduction. such upvotes.
 
wim
to be fair, the encoding kwarg didn't exist when the question was asked
 
There's some good info on that page, but also a lot of confusion. But I guess that's understandable given how new Python 3 was back then.
 
6:19 PM
Hey Félix, what I meant when I was talking about SO's Q&A yesterday was that people would be more constructive in their criticism, like this post: (Pretend that there are no down-votes) stackoverflow.com/questions/50630256/…
 
were you on the receiving end of me being a jerk by any chance? I apologize
oh wait, you posted that about answers being downvoted didn't you?
oh, you meant on questions?
yeah, sure, being less mean in comments is something that can be argued for. I thought you had said that you wanted people to be less critical of answers, which caused my ire
 
Yes, but I was speaking more about the fact that many people don't want to spend 5 minutes of there time explaining what is wrong with a Q or A that they just down-vote people. Now this is understandable, after thousands of bad quality Q&As you don't want to spend time explaining what is wrong to every single person. It is quite a unfortunate dilemma.
 
@Mr.Zeus It's not just that. If you comment and downvote posts written by someone with > 125 points you risk revenge downvotes, especially if you downvote answers.
 
Semi-related anecdote: Last week I got a message from a user asking me to reverse a downvote I made four years ago. I never downvoted him to begin with; I merely wrote a comment pointing out a mistake he made.
 
6:30 PM
LOL Kevin
 
I misremember, it was only eight months.
 
@Mr.Zeus in all (somewhat rude) honesty, I believe that one should be able to garner up the conclusion that their answer should be better if it gets downvoted. I mean... once you get over the conspiracy theories we all have to overcome about the whole network of SO wanting to put us down
(of course, revenge downvotes exists, at some point everyone experiences it. I'm not denying it)
 
The reason it's more associated with answers is simply that a large proportion of questions come from people with much less than 125 points. Who can't downvote.
 
I am not denying down-voting as a very important part of how SO works, but was just echoing the fact that the people at SO made: We want SO to become a more welcoming place for new and experienced coders alike.
 
Also, many answers in a given tag are written by a relatively small pool of regulars, so those answerers become relatively familiar to one another and as they say, familiarity breeds contempt. Of course, it can also breed mutual respect, but when person A regularly behaves in a way that person B disapproves of, then nastiness may ensue.
 
6:37 PM
^
> the point that the people at SO made
 
Ya, sorry. Oh, can't change it now.
 
np. considering all the metaphorical ink that has flown on that topic, I just wanted to point out that it's neither a fact nor a massively supported opinion
 
Consider: suppose nice users respond to posts by spending five minutes composing a thorough and kind reply, and naughty users spend ten seconds composing an unconstructive zinger. If all users hang around on SO all day constantly writing replies, then even if nice users outnumber naughty users nearly 30 to 1, the zingers will outnumber the kind replies.
 
We need up and down votes for SO to work, but we don't want to upset people by downvotes: we want them to improve their posts. But unexplained downvotes are of limited value. So when I see a post with downvotes but no explanation I like to offer an explanation. But I wait for enough time to have elapsedso the poster is less likely to think I'm the downvoter.
Sometimes I say "You're probably getting downvotes because of X". I used to preface that with "I didn't downvote, but..." but why should the poster believe me when I say that?
 
True, very true but a good experience out weights a bad one 5 to 1. Though this does vary from person to person, some are more forgiving then others.
@PM2Ring +1
 
6:46 PM
Past experience evidenced by people on twitter shows that no, bad experience will outweight everything else by several orders of magnitude
There are countless accounts of "the only thing I ever posted on SO was downvoted THEREFORE the whole platform is toxic" teddybears
 
If you get 99 compliments and one insult during the day, guess what you're going to lie awake thinking about that night
 
Nice save Félix
 
Yep, I hear you guys, I take back what I said.
 
My other strategy, which I mostly use on answers with a 0 or low positive score is to offer constructive criticism and wait for the OP to respond, either with a comment, or by fixing their answer. And I give them plenty of time to do that, sometimes hours, sometimes I give them a day. But if they don't fix it, then I give the downvote. Of course, I'm not infallible, but I generally don't do that sort of thing unless I'm sure of my facts, writing code to verify it if necessary.
 
6:49 PM
@Kevin The awkward moment you had in fifth grade ?
 
Nah, I've pretty much suppressed all of those.
 
Great! teach me how to..
 
it's called, "alcohol"
 
cbg
 
1) have a naturally bad memory; 2) justify your actions with "I did what I felt was best, at the time"; 3) let time, the destroyer of all things, do its magic
 
6:54 PM
One nice thing about having 20k+ is when you see a bad question, with a bunch of bad answers, and they've all got negative scores. Then it only takes 3 delvotes on the question to put the sorry mess out of its misery. And all the participants get their precious rep refunded.
 
... I need another rep mine than PHP to get there.
 
You're half way to 10k, and you get the question delvote privilege then, but there's a longer waiting time between closure and when you can delvote.
 
orly?
right, 20k is extended moderation tools
 
And I am almost one 100th of the way to 20k there, yay. (I mean no disrespect in what I said).
 
I must admit it's not so easy to score points these days. But some days you can get lucky if you pick the right questions.
 
7:05 PM
Sadly I don't have the time.
 
What you should do is wait for a new version of a language to come out and ask the right questions that correspond to it.
or better yet answer one of them :D
 
I tend to believe that it's easy for strong programmers to get points.
 
You've got <2k, so you can earn points by doing edits. There's always plenty of stuff that can be improved by an edit, and they don't take a huge amount of work. Of course, don't edit garbage that's going to get closed anyway. And if you do edit a post make sure you fix all the mistakes that you can (without conflicting with the author's intent, of course).
 
strong? maybe. I feel like most of the questions are super specific these days. Being a strong programmer doesn't help when most questions are "ML this isn't working because I trained y"
 
Thanks for the advice PM2Ring, rhubarb!
 
7:12 PM
There are a lots of question that are very specific, that's right. I can't deny it. But also, for a lot of question, I feel like being "good" could be enough to solve the question. And by strong, I mean : knows how to make a proper research - knows how to read documentations - knows programming in general.
 
friendly reminder, a strong programmer is someone who can google really well to get what they want.
 
It is what I meant by knows how to make a proper research.
But of course, luck plays its role too ! Like : you can answer a question really well and very deeply. If a high ranked user comes in the way... you might not get much light.
 
The secret is to treat SO as a learning experience. Sure it's nice to get the points, but ultimately we're all here because we want to learn, and we like to learn. So if you learn something new in the course of writing an answer, that's the main thing. Of course, if you get points too, that's even better. :)
As I said the other day:
May 26 at 14:16, by PM 2Ring
The best questions are the ones where the answerer learns more than the OP does. ;)
 
It can get frustrating to answer questions and see someone answering the same thing and getting all the glory.
But that's part of the game. :P
I agree on the learning thing though. As long as I learn, I'm ok with this.
But sometimes, I feel like people are just giving an answer, not particularly explaining why it failed and such. So people get their problem solved, but don't learn. :/
 
I've got a best-practice question: Using Django, I've overridden the save() method to one of my forms to create multiple objects, depending on how many options the user selected in the form. Part of the object is the URL of a file that is uploaded. Is it considered bad practice to do the uploading in the save() method instead of in the view itself?
 
7:27 PM
Sometimes a short late answer can get more points than a longer early answer, if there hasn't been much voting happening in the early phases, simply because the later answers appear closer to the top of the page if all answers have the same score of zero.
 
Got a question also : someone closed a question of mine as a dup and I got 3 points, why ?
 
I often lose out to people with <1000 rep because of that. It on;y annoys me if my code is technically superior to theirs. Not because I'm greedy for the points, but because I don't want readers to be misled into using poor code merely because it has more points attached.
@IMCoins You probably got a downvote and an upvote. The upvote gave you 5, the downvote took away 2.
 
Oh right, so I got downvoted without explanation. :'(
 
^ it'll happen in like 1/2 your questions
also being marked as duplicate without actually being a duplicate :v
 
Some people think dupe questions are bad, so they downvote. And others will give "sympathy votes" when they see undeserved downvotes, even though they wouldn't have upvoted otherwise.
 
wim
7:34 PM
And some people see downvotes and pile on more of them, because why not
 
Dupes aren't closed because they're bad, they're closed because they're dupes. They only deserve downvotes if it's such a common question that even a SO newbie should be able to find existing questions, since that shows lack of research.
 
wim
I don't think tehy even deserve downvote for that reason, PM
 
Well, just for my information : Did I deserve the downvote ? :p
https://stackoverflow.com/questions/50611539/np-nan-coupled-with-dataframe-changes-np-random-randint-behavior?noredirect=1#comment88233073_50611539
 
wim
poorly written questions do correlate strongly with users that don't know how to search, though.
 
Lack of research is a major downvote reason. Even the tooltip mentions it.
The reason they're closed is that we don't want duplicate_answers_ scattered all over the place. We want them to be concentrated in one place (or at least a small number of places) so they're easy to find, and more importantly so they can all compete with each other in the voting process. OTOH, when there are a bunch of old, obsolete high scoring answers it makes sense for a new "arena" to be created where the new non-obsolete answers can compete among each other.
 
wim
7:38 PM
Your question looks ok to me. You should probably more explicitly state the expected behaviour (that you thought the dtype should stay as int32)
Maybe even if you wrote that out you would have had a rubber duck moment and realised it didn't make much sense to have a float stored within an int32 array
 
Well, yea, I could have gotten the question better. I was really intrigued I must say at the time haha
I thought I had find a bug or something.
 
Of course, that relies on you you knowing that NaN is a float. After all, there's no reason why there couldn't be an integer NaN value, except that computer integers traditionally don't work like that.
 
wim
@PM2Ring you, as a voter, can't always tell the difference between a "lack of research effort" and a user that is just a bad researcher
 
I still haven't found how NaN's are programmed (I have only searched like 5 minutes, but we can't always get curious and not lazy). :'(
 
To the best of my knowledge, no CPU has ever had n integer NaN. OTOH, there have been some slightly odd architectures that had two zeroes: a positive zero and a negative zero!
@wim Very true. And I know that research is hard. Even if you've been honing your research skills for years, it can be difficult when researching a new field. The unfamiliar jargon can be misleading, and it can be hard to distinguish the good sources of info from the dodgy ones.
 
DSM
7:46 PM
@PM2Ring: I thought that just came standard with 754 floats.
Oh, wait, do you mean negative integer zero?
 
I mean. Back to low level computing. A number is just some binary code. And I'd like to know how the computer handles the fact that a number... is not a number (nan), but is still defined as a number.
 
@DSM Yes, normal zero and negative zero integers! See en.wikipedia.org/wiki/Ones%27_complement
 
DSM
@PM2Ring: cute!
 
recbg
 
7:51 PM
@IMCoins Nan is just a bit pattern. If you want to know the gory details, take a look at en.wikipedia.org/wiki/Double-precision_floating-point_format which are the kind of floats that Python and most other modern languages use. In Numpy they're float64. Don't feel obliged to memorize the fine details, but it's good to have some familiarity with the topic.
 
I'm reading :) thanks !
 
actually, numpy.nan is a regular python float
which is to say, it's still a 64-bit float but not numpy.float64
huh
>>> type(np.nan)
<class 'float'>
>>> type(np.float64(np.nan))
<class 'numpy.float64'>
 
I did use a couple of one's complement machines back in the day, but I didn't write any assembler or C on them, just Fortran, so I was insulated from those nitty gritty details, apart from the slightly different range of signed integer values.
 
I didn't know that ^^
 
import numpy as np
import pandas as pd

print type(np.nan) # <type 'float'>
print type(pd.DataFrame({'A' : [np.nan]})['A'][0]) # <type 'numpy.float64'>

We might have been confused by pandas
 
7:55 PM
@AndrasDeak Oh, ok. I neverbothered checking. Of course a Python float has a bit of extra baggage than a Numpy float, since a Numpy float is a machine-native float, but a Python float is an object, with methods.
 
@AndrasDeak isn't that because NaNs have to be included in the IEEE format by definition?
 
what is "that"?
 
Sorry, I meant why np.float64(np.nan) is still a np.float64.
 
wim
nan is a bug in ieee754 that we're unfortunately stuck with now
 
@miradulo I think it's more about the fact that np.nan is not np.float64_nan, perhaps similar to how np.int and np.float are accidents
from .umath import (multiply, invert, sin, UFUNC_BUFSIZE_DEFAULT,
                    ERR_IGNORE, ERR_WARN, ERR_RAISE, ERR_CALL, ERR_PRINT,
                    ERR_LOG, ERR_DEFAULT, PINF, NAN)
nan = NaN = NAN
wow, umath is scary
#nan = NPY_NANF, NPY_NAN#
// elsewhere:
PyModule_AddObject(m, "NAN", PyFloat_FromDouble(NPY_NAN));
OK so it's explicitly a vanilla python nan -> NPY_NAN -> NAN -> np.nan
that's a piece of information I'll never use for anything :D
 
8:08 PM
@wim Why is it a bug?
 
because haters gonna hate badgers gonna badge ;)
I suspect there are hints here
Dec 31 '15 at 9:44, by wim
I really think nan != nan is a questionable decision in IEEE 754
 
NaN can be useful in arithmetic pipelines, where you don't want to interrupt processing to raise an exception. Especially if they're implemented in hardware, where you may not have that option.
Anyway, I just noticed it's much later than I was expecting, so I better say rhubarb.
 
rbrb
 
wim
@PM2Ring because a number that is "not a number" is an oxymoron and a huge source of bugs in 3rd party code
special cases are not special enough to break the rules
 
8:27 PM
why do I get 2.4 docs...?
duckduckgo vs "python float" :/
 
wim
apistar vs hug, any opinions?
 
hug sounds nice and friendly, apistar sounds like something out of a cheap commercial. I hope that helps you make a decision.
 
Hi how is:
['C\t-2.53536725\t-1.914325\t-0.58073854\n', 'C\t-3.43317413\t-1.32442868\t-1.45947623\n', 'C\t-3.64856768\t0.07347281\t-1.4738059\n', 'C\t-2.96896243\t0.90783268\t-0.59420699\n', 'C\t-2.08589292\t0.32862404\t0.33787835\n', 'C\t-1.84457994\t-1.09635222\t0.34175614\n', 'C\t-0.84385431\t-1.37521982\t1.35614514\n', 'C\t-0.56701785\t-0.14180684\t2.06283593\n', 'C\t-1.20884717\t0.91947222\t1.35054064\n', 'H\t-3.98079729\t-1.9511925\t-2.16449833\n', 'H\t-4.35554075\t0.49839675\t-2.18695784\n', 'H\t-0.50741315\t-2.36404991\t1.65223742\n', 'H\t-2.36312985\t-2.99110389\t-0.59543073\n', 'H
 
wim
Is this a joke?
"when is an iterable not an iterable?"
 
writelines keep throwing: TypeError: writelines() requires an iterable argument
when I plug that in
 
8:33 PM
Huh, mulling over the ieee, I didn't realize this is undefined behavior like in C. Not sure what i expected instead.
In [219]: x = np.array(np.nan)

In [220]: x
Out[220]: array(nan)

In [221]: x.astype(np.int16)
Out[221]: array(0, dtype=int16)

In [222]: x.astype(np.int32)
Out[222]: array(-2147483648, dtype=int32)

In [223]: x.astype(np.int64)
Out[223]: array(-9223372036854775808)
 
neat
np.int16(np.nan) throws a ValueErorr, so perhaps this is a bug
 
wim
I would expect ValueError
 
@Secret Are you sure? Because it works on my PC
 
its weird, a minimal working example actually have it worked, but not when it is executed within a pile of scripts
with open ('test.com','w') as outfile:
    outfield.writelines(<insert big block of stuff>)
works
 
Sorry, thought Aran-Fey said that np.int16(np.nan) worked on his pc.
I need to call it a day. :p
 
8:39 PM
but somehow it does not work in the main code where the <insert big block of stuff> comes from return xyzzy where xyzzy is some list of list
 
Well, we can't help you with that. That's a debugging job.
 
wim
>>> np.int32(np.float64('nan'))
-2147483648
>>> np.int32(np.nan)
ValueError: cannot convert float NaN to integer
 
ugh, it's getting late/early 6:40, I am gonna go to sleep
 
rhubarb
@wim oh, right, I did the latter, sorry
 
Why haven't you slept already
 
8:45 PM
After I just rewrote 1200 lines of code that turned out to be silent overflow in numpy arrays, I'm glad to see this finally now finally being treated as a bug: github.com/numpy/numpy/issues/8987
 
ok europython ticket bought
@wim hmm :D
@wim even better like this ;)
>>> numpy.int32(np.float('nan'))
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ValueError: cannot convert float NaN to integer
>>> numpy.int32(np.float32('nan'))
-2147483648
 
don't do np.float :P
 
And Pandas uses a NaN-safe astype, calling np.isfinite first, which is interesting.
 
pandas really has to do missing values right
 
@AndrasDeak hint, there is no np.float
 
8:56 PM
exactly
 
17
Q: Should "Very Low Quality" flags be offloaded entirely to tag experts?

Tim PostSome of the Stack Overflow moderators were having (yet another) discussion about what makes "not an answer" fundamentally different from "very low quality", since the prior implies the latter in a significant number of cases. Since Stack Overflow can easily hover at close to a thousand pending fl...

 
Yeah, it makes sense. And NumPy doesn't want to endure that performance hit I guess.
 
wim
@roganjosh that "bug" has been open since 2012
 
@AnttiHaapala That's actually a sensible remedy to the neverending "why was my naa / vlq flag declined"
 
wim
I encountered it here
 
9:02 PM
Also, this is C overflow so you really cannot rely on the result being mod anything ;)
 
@wim but now it has the bug tag
This is now the second time I've been bitten by it, you actually answered the first time when I posted on SO and my question has 1000 views
This time, though, it was in the middle of a cost function for heuristics and my solution wouldn't converge. After a whole day of trying to debug the code, I threw the whole code base away, only to encounter the same issue in a full re-write. Luckily the second time I spotted it
One of ~ 20 criteria was overflowing, so I always got a positive solution cost, but that issue meant that I was always evaluating bad solutions as slightly better than good solutions, in the odd case it overflowed
 
overflow is dangerous. Use floats
 
It is, but it's so far removed from my experience with Python in general that I never suspected it, and instead thought I'd lost control of the flow somewhere else but couldn't pin it down. From general logic, there should have been no overflow, but it turned out there was a corner case and, thank god, I saw a negative result flash up
On the plus side, my new code base is built like some iron dome against any and every possible issue imaginable :P
 
Beware floating point error too though!
 
string is the new int
 
9:13 PM
In [265]: (2. ** 53 + 1) + 1 == 2. ** 53 + (1 + 1)
Out[265]: False
 
I'd say that was more testable than a loop that runs 50000 times and has a corner case of overflow though.
 
@miradulo I am getting confused when I read this.
 
wim
oh, you were the asker of that question. :o)
 
Wim, yes :P
Which makes it all the more painful that I encountered it yet again!
 
wim
my answer is better than accepted answer :P
np.arange = partial(np.arange, dtype=np.int64) is a horrible hack, don't accept that :P
you affect all other code which uses np.arange, whether they wanted int64 or not
 
9:18 PM
I had been programming for all of about a year, so I had no basis to judge what was better other than it covered the point of "this never happening again"
But I think the answer to that part of my question is "don't use Windows" rather than what was proposed
 
well long is 32-bit even in 32-bit linux.
 
@wim that's what I tell myself too sometimes. Helps me sleep well
 
apparently in tcsh, the prompt variable isn't an environment variable. Meaning, I can't access it via os.environ['prompt'] Any ideas on where to find it? I guess I could to os.system('echo $prompt')
 
Wim is possibly correct that it's the better answer
 
@roganjosh you should learn C, and then read the Appendix J.2. port70.net/~nsz/c/c11/n1570.html#J.2 :D
 
9:20 PM
@piRSquared in bash it's called $PS1 and $PS2 (the latter is line continuation I think
 
wim
you should specify the dtype of the accumulator, not change the dtype of the array
and certainly not monkeypatch the dtype of the np.arange 🤮
 
@AnttiHaapala There's no way there is a similar appendix for C++, is there?
 
@AndrasDeak I'm writing a python helper for a tcsh version of conda's activate. There is no PS1 in tcsh )-:
 
@miradulo I think in C++ it is called "part 2"</joking> :D
 
:P that'd be absolute torture to try and write
the C one is really impressive
 
9:23 PM
@piRSquared of course if it were easy it wouldn't be tcsh
 
@Wim specifying the accumulator doesn't work
import numpy as np
d = np.arange(200000).sum(dtype=np.int32)
That runs fine
 
dtype in sum? huh
 
It gives me -1474936480, which is obviously the correct answer :)
 
@roganjosh wim means that choose a type where the result fits
 
wim
you overflowed the accumulator duh
 
9:25 PM
do not change your input
 
Oh, I thought that you were specifying that if I set the dtype of the accumulator I would detect the overflow, since overflow is detected if you specify an int with a value that overflows
 
wim
my installation does the right thing by default anyway
>>> np.arange(200000, dtype=np.int32).sum(dtype=np.int32)
-1474936480
>>> np.arange(200000, dtype=np.int32).sum(dtype=np.int64)
19999900000
>>> np.arange(200000, dtype=np.int32).sum()
19999900000
 
Yes, that won't work in Windows 7
In any case, I'm glad it has the bug tag on github
6 years or so of it being open, maybe it can be resolved
 
no it cannot be resolved
actually it can
 
They seem to suggest it can, across the multiple issues
 
9:32 PM
but it cannot be done in C
@roganjosh linx or it didn't hap'n
 
I was too slow in typing; you commented in the meantime, I wasn't referring to whether it could be done in C
And I assume that the implementation in numpy would slow down the calculation if it could be caught]
but actually, that would be a nice feature if you could just turn it on for debugging IMO
 
ah ye
the thing is it would be possible to calculate much faster in assembler
for this specialized case
 
wim
you can say that about anything "this would be much faster in assembly" :P
 
@wim but you say "duh" on my misinterpretation of "accumulator" so I obviously misunderstand.
a = np.int32(2**55) will throw OverflowError
Why is accumulator not similar to doing that? The sum is already evaluated in whatever base the array was in, and then cast to the same type... well it obviously will be accepted because it already overflowed into a value that is acceptable by the accumulator
So what use is specifying the accumulator type at all?
 
@wim well could be trivially made much faster in assembly
 
9:43 PM
I should specify the array dtype before the calculation in the first place, rather than the accumulator?
 
You specify a bigger type in the accumulator. You could do this with a dict mapping types to accumulation types even, or maybe there's a magical function that does this I don't know about.
 
wim
@roganjosh no
consider overflow at 8
and it wraps around ... how do you know how many times you wrapped around?
if there is overflow, you lost information already
 
The use-case I can think of is a million values that can individually be represented in 32bit, but the sum will exceed that, so I should set the accumulator at 64 bit?
 
wim
you should know enough about the domain to know what to set the accumulator to
 
Yes, I understand that it wrapping around an indefinite number of times is an issue, but I don't know how specifying the dtype of an accumulator helps. It won't tell me that it wrapped around any times
 
wim
9:49 PM
no, it won't, and it's documented as such. that's numpy saying "you, as the developer, have to be careful enough not to overflow"
 
so, specifically, I'm trying to understand the use-case of setting the accumulator dtype rather than the array dtype. I assume it's because you want to save space on the array itself but the sum will exceed the dtype of the array, so you accumulate into something that can hold larger values. Is that correct?
 
wim
yes
setting the dtype of the array twice as large as it needs to be just to sum it is wasting 2x space
 
Ok, thanks. That makes sense.
 
10:01 PM
@roganjosh think about wallets.
 
I understand the concept of the accumulator
 
so everyone has got a small wallet with some cash in it .. :D and you've got a million customers...
 
I was struggling to understand its application in the overflow issue
 
huh, github comment histories are now public, nice
 
so by default the recipient has got a wallet equal in size to that of the customer.
 
10:03 PM
fun fact: accumulator is what we call rechargeable batteries
 
so if you receive $1 from 1000000 customer...
@AndrasDeak all civilized nations do
 
oh, good to know :P
 
At the end of the day, I just really hope numpy find some way to make the overflow known, at least even for testing purposes
 
akkumulaatori?
 
@AndrasDeak 2 t's
 
10:04 PM
hehe :D
 
well actually everyone calls it akku
 
like alko
 
no, Alko is a shop
 
I know
 
it is a brand, so completely different.
though, it was short for Oy Alkoholiliike Ab :D
 
10:06 PM
So I've got an Angular frontend (Ionic) running with a Django REST backend. In the frontend I have a multiple check box which is stored on the client side as a dictionary for example:
{'optionA': false, 'optionB': true, ... }
I'm wondering ... How would I go about storing a field with multiple items like this in django
 
Actually, my assertion is not correct: for testing, just compare numpy.sum() against sum() in Python... and expect the overflow as an issue more often
Which is always 32 Bit on Windows :P
 
@AndrasDeak there is a nice levidrome in Finnish: akkukauppias <=> saippuakukka - battery salesman <=> soap flower.
 
TIL levidrome, thank you
 
pfft someone has suggested a "proper" word for it: en.wiktionary.org/wiki/anadrome
 
Invented by a Canadian six-year-old, how did I miss this!
 
10:15 PM
@miradulo because you filter misinformation: interrobang.is/2018/02/… :D
 
:( that's a shame
 
"News orgs focussed on Levi’s new word at the expense of the broader context"
 
fake news!
 
BUZZFEED
 
This has just been used as a dupe target by Ignacio. Is the error in the first code block even possible for a start (where did ? come from?
The initial question is here
What is the canonical dupe in this case? The dupe is not correct, but it is definitely a dupe.
 
10:53 PM
took my old macbook out of the closet
> fractal-3:~ fractalesque$ python --version
> Python 2.6.1
to think that python was there all these years
 
git vulnerability complete with fix blogs.msdn.microsoft.com/devops/2018/05/29/…, upgrade to 2.17.1
6
 

« first day (2784 days earlier)      last day (2179 days later) »