« first day (2120 days earlier)      last day (2828 days later) » 

user559633
8:00 PM
get some
 
@JGreenwell Most assembly languages I knew in the 70's used ; for comments. I can't swear that there weren't any that used # though.
 
@Ffisegydd you need to install worms and stop Tristan from beating me up badly
 
So I had to reset my Android phone as it was being sent to be fixed. So I stored my backup codes for my Google Authenticator like a good person and such.
Got my phone back.
 
@clickhere did you get the message?
 
Reinstalled Authenticator, and everything works fine.
 
8:00 PM
@idjaw also, Linux is probably the one thing that isn't in Windows.
 
Except all of my application specific codes are missing, all I've got is my Google one.
Turns out the support docs I found somewhere WERE LYING when they said they'd be moved across.
 
@Ffisegydd ofc.
 
@AndrasDeak, I did, working with it now, I think my problem is more complicated but you've put me in the right direction
 
@WayneConrad I remember it for mode addressing but wikipedia say some used for comments
 
Meaning I've not lost 5-6 codes. Luckily I've got backups of some so I don't think I've actually lost any accounts.
The ones without backups I think I'll be able to contact them (AWS mostly)
 
8:02 PM
hmmm yeah
 
and wikipedia is reliable, right?
 
@Ffisegydd or you can stop paying them :P
 
I don't actually pay AWS anything atm
 
@JGreenwell immediate operands in C64 asm used #
 
8:04 PM
I haven't done assembler stuff in years (and only for class), fyi - so my memory could just be failing me
 
on gnu assembler it is not used, because it is common to use the C preprocessor for it too
 
user6568562
Hi everybody
 
I wasn't actually thinking of comments when I said hashtag in assembler or C btw: Tristan said "put hashtags in the language" and I was thinking of just the use of # in language :P ;)
 
user559633
and of course, microsoft messed it up (c#)
 
well....++C ;)
 
user6568562
8:11 PM
I spent the whole evening learning SQLite, it did clear a great amount of the fog that was weighing on my noob shoulder. Fiddling with other languages did help the process.
 
btw, which country has most medals from summer olympics per capita? :P
 
user6568562
@JGReenwell You were the one who advised me this dbms, I believe. Thank you [ :
 
user559633
@AnttiHaapala the proud nation of botswana
 
@tristan not quite
 
I advised "Don't touch ORACLE!"...but SQLite was one of options I pointed to sure :)
@AnttiHaapala Robonia!
 
user6568562
8:12 PM
You did well twice, then [ :
 
sqlite is ok, if you never need to use any other database with the code
@JGreenwell no
 
user559633
then i assume it's finland because you only bring up countries to mock america and brag about the moderate acheivements of finland
 
user6568562
For the time being, it's tip top
 
user559633
just spoil it for me because i honestly don't care
 
8:14 PM
My biggest advice was "look at what job offers list in your area and go by that" so if that was SQLite, then great
my favorite is PostgreSQL but I have sentimental reasons (and real ones but definitely biased)
 
postgresql isn't for embedded use, for sure
 
yep, that why I said favorite not my recommendation ;)
 
it is my favourite as well...
just a moment ago I needed to migrate a db that was written against sqlite to postgresql
didn't go too well...
sqlite doesn't exactly have strict typing...
 
here, for instance, I tell people to learn SQL Server (it hires well) and MySQL if they have time (it is listed as second a lot) and ORACLE if they really, really want a job at all costs and don't mind the daily eye bleeding from looking at ORACLE SQL
 
user6568562
Haha
 
8:19 PM
yeah, I had to learn SQLite for Android work once and it was okay (better than Access for instance) but definitely limited
 
@JGreenwell I think my memory is off a bit. I did a lot of x86 assembly using Borland's assembler, and some doing Intel, and those both used ; for comments. The other assembler I used, for Modcomp minis, used *. I had forgotten that. I don't remember any other assemblers I used, so don't know where I got the idea that "most" used ;
 
I do use it for teaching occasionally, its quick and small so I can work up workshops just to focus on teaching SQL and database design
 
user6568562
I can imagine so. Well, I'll see when I will be able to fully use SQLite in all its limitations.
 
user6568562
I mean I'll see what I should switch to next (while keeping your tips in mind)
 
user6568562
Run from Oracle unless enslavement is cool with you, join your environment's tide.
 
8:24 PM
I was forced to use Oracle at the last job. I still wake up with night terrors.
 
user6568562
Haha, I know the feeling. Basically all ISPs use their solutions for CRM and Technical assistance
 
you should ask a question about that on main
then post the answer to docs
 
user559633
goracle would be an amazing name for a metal band
 
Bah... wonder why I bothered answering this one now... their edit has just completely changed the ground rules
 
8:31 PM
-__-
those guys
 
speaking of which, I thought I was dreaming or ate something bad when I saw your last comment on SOD @AndrasDeak - being nice? What up wit' that?! ;)
 
Makes me wish for the close reason, "question changed such that existing, valid answers were suddenly invalid."
 
hey, I recognize that homework question
 
The old "two localized" reason would work fine.
 
>:-}
 
8:33 PM
I'm feeling ornery. Gonna cv that question.
 
@JGreenwell actually, my last comments were these:
@Nicol I've been grumping about SOD since the launch of public beta, so I don't disagree. I just thought I'd play devil's advocate for a change:D — Andras Deak 9 hours ago
Hey, we've been clearly told what topics and examples should be: whatever the community decides them to be:P — Andras Deak 9 hours ago
 
@Erwin, let's give the staff the benefit of the doubt (regardless of our personal beliefs:P). I'm pretty sure they saw that the reputation system is off; the hard part is rehashing it in a way that will fix it for good. Also, having a separate rep system is one among many suggestions that they received. — Andras Deak 21 hours ago
okay so not exactly last one
 
FWIW Erwin had a bit of an attitude which I found off-putting
 
@JGreenwell Oh?
I thought it was... but it looked genuine and the general question could be useful with a decent answer for others kind of thing
maybe I should just delete my answer
 
your answer is the correct "book" answer
 
8:37 PM
"book" answer?
 
or close enough but is also far enough away that I think someone would know it was off
answer key Jon
in the back of book
midterm review actually
I wouldn't mind if you left the answer
the actual question for the exam shouldn't be quite the same
also follow-up question is: Explain the code ;)
 
wim
it's friday cheer up
 
make the apple taste better
...
 
whisky does with a little honey
 
soon....soon.
 
wim
8:43 PM
there are starving kids in africa somewhere who would have that apple happily
 
.....dude. come on.
 
actually that makes me want a hot toddy
 
@wim that's offensive to vegans
 
wim
why aren't there more python 3.x questions
I've been 5 answers away from the silver python3 badge for ages now
 
Wow... even got a downvote on that answer... interesting
 
8:47 PM
@wim nice try:P
 
I would say you should keep a puck in your office to squeeze as a stress relief but the last Canadian I knew who did that....well, pucks are hard and move very fast when throw - so no more puck
 
You don't put a puck around a Canadian and expect things to stay peaceful long. Rookie mistake.
 
@wim Language perfection is attained, not when there are no more questions to add, but when there are none to take away.
 
wim
I downvoted you @JonClements
 
it was part of a set - we still haven't found the sticks
 
8:49 PM
@wim was the answer wrong/incorrect - or some other reason?
 
wim
I thought it was a conflict of interest to roll back his edit when you had an answer on it, and your comment about the edit sounds whiny
More appropriate would be to edit your answer , or delete it if you couldn't be bothered to edit it
 
the edit turns it into a full "give me code" homework question
 
wim
True
 
Anyone sensible would have rolled back that edit. I have done the same, including where I've answered.
 
without it is general so I agree with reasoning
 
wim
8:50 PM
but these questions can be safely ignored
 
I disagree....I think after receiving valid answers, and then realizing that the answers opened up the door to more questions because of a lack of understanding or a new bug, that should not invite editing a question to introduce your "next question"
 
@wim I'd have done the same whether I'd had an answer on the question or not
 
if instead of pool.map(func, iterable) I wanted to concurrently map multiple functions to a single object, is there a way of doing that?
 
@AndrasDeak, i was able to fix my issue. My problem was unbeknownst to me at the time different than I described. Your solution didn't work but it did give me an error that caught my attention and slowly allowed me to solve the problem, thanks!
 
@ZeroPiraeus I didn't think of that. I think that's a good approach, better than the punative CV I applied to it.
 
8:58 PM
@clickhere glad to hear that
 
wim
py.test is really nice
I'm never going to inherit unittest.TestCase again
I love the yield fixtures !
this is what python testing should always have looked like ...
 
There's now an entirely destructive edit on that Q from a brand new user with a similar name to OP awaiting rejection: stackoverflow.com/questions/38797001/…
 
Sigh.
 
rejected that garbage edit
 
wim
just ignore questions from users with 1 rep
then you don't have to deal with this kind of bullshit
 
9:01 PM
@wim I, too, love pytest
 
wim
in fact I wish SO had a feature just to never show me questions from users with 1 rep in the first place
they are always garbage
 
lol. Recently, I would agree with you
 
@wim just to be clear, you do know that voting is for content, not context?
 
I don't know if I can recall a good question form a single rep user in recent history
 
wim
I vote however I want
 
9:04 PM
sure:)
 
wim
if someone posts a good answer on a crap questions, sometimes I even downvote that
 
good for you
 
user559633
weird.
 
way to show them, man!
 
wim
lol
 
wim
The mouseover text for downvote says "This answer is not useful". imo it's not useful for the site for guys to add answers on crappy zero-effort questions.
 
I won't argue with that
 
user559633
eh, sometimes crappy questions can get good answers
 
user559633
but do what you want, i aint your real dad
 
wim
so I don't 100% agree that voting is for content not context
 
user6568562
9:12 PM
I know that I'm light years away of actually having to worry about this matter. But I wanted to know how developers deal with database migration from a system to another.
Say for example you have your db in Sqlite and you'd like to migrate it to Redis.
If you're supposed to not access your users' private data, how would you be able to verify the integrity of your destination database and that no data was altered or missing ?
 
user559633
by looking at data and tracking error rates
 
user559633
tests, etc
 
user6568562
You mean it isn't as delicate or risky as my noob's mind is imagining it.
 
user559633
no, it's generally okay. step 0 is backing up your data
 
user6568562
Oh yeah, lol. That should reduce the risk from a catastrophe to the probability of severe headaches. Fine with me.
 
user559633
9:17 PM
you also generally stop taking database writes before the migration starts as well
 
Yeah, backing up is always the thing to do. Typically what you'll do is start doing a hot backup (write to both locations), then eventually you'll start reading from the new source, and finally you'll cut off the old db
 
user6568562
I see. Thanks for the quick peep into man-machine harmony [ :
 
user559633
:) no worries
 
lol
all this hassle to get ionic app running and:
"unfortunately app has stopped"
 
I got excited. I read "ironic" at first....but no, it was ionic.
 
9:23 PM
closing Antti as no MCVE
 
intel x86_64 avd needs to have host gpu stuff enabled
 
oh I think I've seen something like that
maybe it was only "if you want your emulator to boot today, enable gpu" or something
 
9:37 PM
Have a great weekend everyone.
cheers
 
you too
 
Hi! I can't install pylibmc, I'm getting src/_pylibmcmodule.h:41:20: fatal error: Python.h: No such file or directory
 
Time for me to end my visit to the pleasant valley of Python goodness. Thanks for your hospitality, jokes, and general insanity. rbrb.
 
@VeeeneX have you installed the python-dev package?
 
Yes
 
9:42 PM
@WayneConrad rhubarb, see you some otter day
 
@AndrasDeak I like that. :) Thanks, seeya.
 
are you sure it's the proper dev package? Because if you have both python2 and 3 you'll need the dev packages for both (or whichever version you're trying to install pylibmc)
 
@WayneWerner pastie.org/10931495
 
I think it's fine, but It doesn't work You can try on your own :)
 
9:46 PM
giving it a shot
 
Maybe, it just doesn't know location of _pylibmcmodule.o
 
it says that it can't find Python.h, which is a python header file
 
Can I somehow change location?
 
This is awesome
3
Q: How can I make a lot of buttons at dynamic in kv language?

snowI want to make a lot of Buttons at dynamic in kv language. But now I cannot...... I will show now source under this. BoxLayout: orientation: 'vertical' pos: root.pos size: root.size GridLayout: rows: 2 spacing: 5 padding: 5 Button: ...

> I want to make like under code
@VeeeneX still installing/downloading/building the docker container
only 20 more things to install :P
 
I've tried to use smallest :D :P
 
9:56 PM
Hm. Well, I appear to be missing zlib.h right off the top
 
zlib-dev?
 
Welp, works for me
 
Ok, thanks!
I appreciate it very much
 
I used python3 -m pip install pylibmc, and it worked fine
 
10:41 PM
huh, apparently if you retract an example (to fix a minor spelling error) it locks up Chrome - fun
 
@JGreenwell is it a topic with a lot of examples?
because editing anything with a lot of examples might freeze your browser
 
It's still in review:/ It locked up before going through with the retract
 
week was way too long
 
shall I reject?
 
10:54 PM
yeah, but the fix was small anyway (just used inherent instead of inherit)
I'd approve and just fix after (cause I don't trust SOD) - likely just end up with broken link
 
wait, what?
so what did you want to retract?
 
slight grammar error so I was just going to edit it before people started voting
not worth it for this level of hassle
 
ah, so you wanted to retract to edit then repost
 
yep
 
> Rejected by J.J. Hakala
Other: Spelling mistakes such as inherent and arguement.
approved now btw
 
10:57 PM
thanks
 
I hope:D
1 reject, 2 approves
this used to mean approve
 
I got +2 so I think so
 
yup
 
anyway, that was enough effort to fix the old edit (look at old post and it didn't even cover inheritance) - if someone want to improve/move/delete from there - more power to them
I just don't like wrong information hanging around
 
yeah, I saw the improvement request
 
11:01 PM
don't upvote it though - will give +5 to like 5 people with no clue
 
I'm not sure I've upvoted anything on SOD so far...
 
didn't figure you had :) - me either
 
cbg, Marko
 
I have a pandas dataframe and I'd like to turn it into a list of objects where each object has the value corresponding to its id in each column
what method do I use?
 
11:10 PM
@Mosho cabbage
how about a dict?
as in df.to_dict()
 
tried, output is a dict of each column
like, if id's were [1, 2]
 
oh, you want the other way, cross-sections
 
object as in class?
 
yeah
JSON eventually
 
list(zip(df.values)), but I'm sure there's a better way
 
11:13 PM
newassets_dataframe.transpose().to_dict() seems to work too
I think
 
df.to_json(orient='values')
 
hmm, that crashed the server :P
 
or maybe df.to_dict(orient='records')
 
test server I hope
 
local
 
11:15 PM
I suggest playing around with dummy data:P
>>> import pandas as pd
>>> df = pd.DataFrame({'a':[1,3,5,7,4,5,6,4,7,8,9],
...                    'b':[3,5,6,2,4,6,7,8,7,8,9]})
>>> df
    a  b
0   1  3
1   3  5
2   5  6
3   7  2
4   4  4
5   5  6
6   6  7
7   4  8
8   7  7
9   8  8
10  9  9
>>> df.to_json(orient='values')
'[[1,3],[3,5],[5,6],[7,2],[4,4],[5,6],[6,7],[4,8],[7,7],[8,8],[9,9]]'
>>> df.to_dict(orient='records')
[{'b': 3, 'a': 1}, {'b': 5, 'a': 3}, {'b': 6, 'a': 5}, {'b': 2, 'a': 7}, {'b': 4, 'a': 4}, {'b': 6, 'a': 5}, {'b': 7, 'a': 6}, {'b': 8, 'a': 4}, {'b': 7, 'a': 7}, {'b': 8, 'a': 8}, {'b': 9, 'a': 9}]
that's as close as I can get without actually knowing pandas
 
should do it, thanks
 

« first day (2120 days earlier)      last day (2828 days later) »